/* ===================================
   CSS RESET
   Base styles to normalize browser defaults
   =================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
        'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
        sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

ul, ol {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button {
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
}

input, textarea, select {
    font-family: inherit;
    font-size: inherit;
}

/* ===================================
   COLOR PALETTE
   CSS Custom Properties for theming
   =================================== */
:root {
    /* Background Colors */
    --bg-primary: #ffffff;
    --bg-secondary: #f8f9fa;
    --bg-ghost: #f5f5f5;
    
    /* Text Colors */
    --text-primary: #1a1a1a;
    --text-secondary: #4a4a4a;
    --text-muted: #6a6a6a;
    
    /* Primary Colors (Red - Soft/Muted) */
    --primary: #d63447;
    --primary-hover: #c22a3d;
    --primary-light: #e85d6f;
    
    /* Icon Color */
    --icon-color: #1a1a1a;
    
    /* Profile Image URL - Replace with your own photo */
    --profile-image: url('../assets/profilephoto.jpg');
    
    /* Border Colors */
    --border-light: #e0e0e0;
    --border-medium: #cccccc;
    
    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.12);
    
    /* Spacing Scale */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-2xl: 3rem;
    
    /* Border Radius Scale */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    
    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* ===================================
   GLOBAL STYLES
   =================================== */
body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
}

/* ===================================
   PROJECT TAG COMPONENT
   =================================== */
.project-tag {
    display: inline-block;
    padding: 5px;
    background-color: var(--bg-ghost);
    color: var(--text-primary);
    font-size: 0.875rem;
    border-radius: var(--radius-sm);
    font-weight: 500;
    transition: background-color var(--transition-base);
}

.project-tag:hover {
    background-color: #ebebeb;
}

/* ===================================
   UTILITY CLASSES
   Reusable helper classes
   =================================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}

.section-spacing {
    padding: var(--spacing-2xl) 0;
}

.text-center {
    text-align: center;
}

.text-primary {
    color: var(--primary);
}

.text-muted {
    color: var(--text-muted);
}

section {
    scroll-margin-top: 100px;
}

/* Flexbox Utilities */
.flex {
    display: flex;
}

.flex-center {
    display: flex;
    justify-content: center;
    align-items: center;
}

.flex-between {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.flex-column {
    display: flex;
    flex-direction: column;
}

.gap-sm {
    gap: var(--spacing-sm);
}

.gap-md {
    gap: var(--spacing-md);
}

.gap-lg {
    gap: var(--spacing-lg);
}

/* ===================================
   RESPONSIVE BREAKPOINTS
   Mobile: < 768px
   Tablet: 768px - 1024px
   Desktop: > 1024px
   =================================== */

@media (max-width: 768px) {
    :root {
        font-size: 14px;
    }
    
    .container {
        padding: 0 var(--spacing-md);
    }
}
