/* ==========================================================================
   WEDDING PLANNER TEMPLATE - PREMIUM CSS
   Romantic & Elegant Design with Blush Pink/Gold Theme
   ========================================================================== */

/* ==========================================================================
   CSS CUSTOM PROPERTIES (DESIGN TOKENS)
   ========================================================================== */

:root {
    /* Brand Colors - Romantic Blush & Gold */
    --color-blush-50: #fff5f7;
    --color-blush-100: #ffe3eb;
    --color-blush-200: #ffc7d6;
    --color-blush-300: #ff9eb8;
    --color-blush-400: #ff6b9d;
    --color-blush-500: #f43f7d;
    --color-blush-600: #e01e68;
    --color-blush-700: #bd1558;

    --color-gold-50: #fffbeb;
    --color-gold-100: #fef3c7;
    --color-gold-200: #fde68a;
    --color-gold-300: #fcd34d;
    --color-gold-400: #fbbf24;
    --color-gold-500: #d4a574;
    --color-gold-600: #b8860b;
    --color-gold-700: #92691d;

    /* Neutral Colors */
    --color-white: #ffffff;
    --color-neutral-50: #fafafa;
    --color-neutral-100: #f5f5f5;
    --color-neutral-200: #e5e5e5;
    --color-neutral-300: #d4d4d4;
    --color-neutral-400: #a3a3a3;
    --color-neutral-500: #737373;
    --color-neutral-600: #525252;
    --color-neutral-700: #404040;
    --color-neutral-800: #262626;
    --color-neutral-900: #171717;
    --color-black: #000000;

    /* Typography Scale */
    --text-hero: clamp(3rem, 8vw, 6rem);        /* 48-96px */
    --text-display: clamp(2.5rem, 5vw, 4rem);   /* 40-64px */
    --text-h1: clamp(2rem, 4vw, 3rem);          /* 32-48px */
    --text-h2: clamp(1.5rem, 3vw, 2.25rem);     /* 24-36px */
    --text-h3: clamp(1.25rem, 2vw, 1.5rem);     /* 20-24px */
    --text-h4: 1.125rem;                         /* 18px */
    --text-body: 1rem;                           /* 16px */
    --text-small: 0.875rem;                      /* 14px */
    --text-xs: 0.75rem;                          /* 12px */

    /* Font Weights */
    --font-light: 300;
    --font-normal: 400;
    --font-medium: 500;
    --font-semibold: 600;
    --font-bold: 700;

    /* Spacing Scale (8px base) */
    --space-1: 0.25rem;   /* 4px */
    --space-2: 0.5rem;    /* 8px */
    --space-3: 0.75rem;   /* 12px */
    --space-4: 1rem;      /* 16px */
    --space-5: 1.25rem;   /* 20px */
    --space-6: 1.5rem;    /* 24px */
    --space-8: 2rem;      /* 32px */
    --space-10: 2.5rem;   /* 40px */
    --space-12: 3rem;     /* 48px */
    --space-16: 4rem;     /* 64px */
    --space-20: 5rem;     /* 80px */
    --space-24: 6rem;     /* 96px */
    --space-32: 8rem;     /* 128px */

    /* Border Radius */
    --radius-sm: 0.25rem;   /* 4px */
    --radius-md: 0.5rem;    /* 8px */
    --radius-lg: 1rem;      /* 16px */
    --radius-xl: 1.5rem;    /* 24px */
    --radius-2xl: 2rem;     /* 32px */
    --radius-full: 9999px;

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --shadow-glow-blush: 0 0 60px rgba(244, 63, 125, 0.3);
    --shadow-glow-gold: 0 0 60px rgba(212, 165, 116, 0.3);

    /* Transitions */
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 300ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 500ms cubic-bezier(0.16, 1, 0.3, 1);
    --transition-bounce: 800ms cubic-bezier(0.34, 1.56, 0.64, 1);

    /* Z-Index Scale */
    --z-base: 0;
    --z-dropdown: 100;
    --z-sticky: 200;
    --z-fixed: 300;
    --z-modal-backdrop: 400;
    --z-modal: 500;
    --z-tooltip: 600;
}

/* Dark Mode Variables */
.dark {
    --color-bg-primary: #0a0a0a;
    --color-bg-secondary: #171717;
    --color-bg-tertiary: #262626;
    --color-text-primary: #ffffff;
    --color-text-secondary: #d4d4d4;
    --color-text-tertiary: #a3a3a3;
    --color-border: #404040;
}

/* Light Mode Variables */
:root {
    --color-bg-primary: #ffffff;
    --color-bg-secondary: #fafafa;
    --color-bg-tertiary: #f5f5f5;
    --color-text-primary: #171717;
    --color-text-secondary: #525252;
    --color-text-tertiary: #737373;
    --color-border: #e5e5e5;
}

/* ==========================================================================
   RESET & BASE STYLES
   ========================================================================== */

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'Josefin Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: var(--text-body);
    line-height: 1.7;
    color: var(--color-text-primary);
    background: var(--color-bg-primary);
    transition: background-color var(--transition-base), color var(--transition-base);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Cormorant Garamond', serif;
    font-weight: var(--font-semibold);
    line-height: 1.2;
    color: var(--color-text-primary);
}

h1 { font-size: var(--text-h1); }
h2 { font-size: var(--text-h2); }
h3 { font-size: var(--text-h3); }
h4 { font-size: var(--text-h4); }

p {
    margin-bottom: var(--space-4);
    color: var(--color-text-secondary);
}

a {
    color: var(--color-blush-600);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--color-blush-700);
}

.dark a {
    color: var(--color-blush-400);
}

.dark a:hover {
    color: var(--color-blush-300);
}

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

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

/* ==========================================================================
   UTILITY CLASSES
   ========================================================================== */

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--space-6);
}

.text-center { text-align: center; }
.text-gradient {
    background: linear-gradient(135deg, var(--color-blush-500) 0%, var(--color-gold-500) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Screen Reader Only */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

.sr-only:focus {
    position: static;
    width: auto;
    height: auto;
    padding: var(--space-2) var(--space-4);
    margin: 0;
    overflow: visible;
    clip: auto;
    white-space: normal;
    background: var(--color-blush-500);
    color: white;
    z-index: var(--z-tooltip);
}

/* ==========================================================================
   NAVIGATION
   ========================================================================== */

nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: var(--z-fixed);
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--color-border);
    transition: all var(--transition-base);
}

.dark nav {
    background: rgba(10, 10, 10, 0.8);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.logo {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.75rem;
    font-weight: var(--font-bold);
    color: var(--color-text-primary);
    display: flex;
    align-items: center;
    gap: var(--space-2);
}

.logo svg {
    width: 32px;
    height: 32px;
    color: var(--color-blush-500);
}

.nav-links {
    display: none;
    gap: var(--space-8);
    list-style: none;
}

.nav-links a {
    color: var(--color-text-secondary);
    font-weight: var(--font-medium);
    transition: color var(--transition-fast);
}

.nav-links a:hover {
    color: var(--color-blush-500);
}

.nav-right {
    display: flex;
    align-items: center;
    gap: var(--space-4);
}

#theme-toggle {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color var(--transition-fast);
}

#theme-toggle:hover {
    background: var(--color-bg-tertiary);
}

#theme-toggle svg {
    width: 20px;
    height: 20px;
    color: var(--color-text-secondary);
}

.cta-button {
    padding: var(--space-3) var(--space-6);
    background: linear-gradient(135deg, var(--color-blush-500), var(--color-gold-500));
    color: white;
    border-radius: var(--radius-full);
    font-weight: var(--font-semibold);
    font-size: var(--text-small);
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
    white-space: nowrap;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow-blush);
}

#mobile-menu-button {
    width: 40px;
    height: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

#mobile-menu-button span {
    width: 24px;
    height: 2px;
    background: var(--color-text-primary);
    transition: all var(--transition-base);
}

#mobile-menu-button.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

#mobile-menu-button.active span:nth-child(2) {
    opacity: 0;
}

#mobile-menu-button.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Mobile Menu */
#mobile-menu {
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    background: var(--color-bg-primary);
    border-bottom: 1px solid var(--color-border);
    padding: var(--space-6);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
    box-shadow: var(--shadow-xl);
}

#mobile-menu.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

#mobile-menu ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}

#mobile-menu a {
    display: block;
    padding: var(--space-3) 0;
    color: var(--color-text-primary);
    font-weight: var(--font-medium);
    font-size: 1.125rem;
}

@media (min-width: 768px) {
    .nav-links {
        display: flex;
    }

    #mobile-menu-button {
        display: none;
    }
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 245, 247, 0.5) 0%, rgba(255, 251, 235, 0.5) 100%);
    border-radius: 0 0 0 50%;
    z-index: -1;
}

.dark .hero::before {
    background: linear-gradient(135deg, rgba(244, 63, 125, 0.05) 0%, rgba(212, 165, 116, 0.05) 100%);
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-12);
    align-items: center;
    padding: var(--space-20) 0;
}

.hero-text h1 {
    font-size: var(--text-hero);
    margin-bottom: var(--space-6);
    line-height: 1.1;
}

.hero-text p {
    font-size: 1.25rem;
    color: var(--color-text-secondary);
    margin-bottom: var(--space-8);
    max-width: 600px;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-4);
}

.btn-primary {
    padding: var(--space-4) var(--space-8);
    background: linear-gradient(135deg, var(--color-blush-500), var(--color-gold-500));
    color: white;
    border-radius: var(--radius-full);
    font-weight: var(--font-semibold);
    font-size: 1.125rem;
    transition: all var(--transition-base);
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
}

.btn-primary:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow-blush);
}

.btn-secondary {
    padding: var(--space-4) var(--space-8);
    background: transparent;
    color: var(--color-text-primary);
    border: 2px solid var(--color-border);
    border-radius: var(--radius-full);
    font-weight: var(--font-semibold);
    font-size: 1.125rem;
    transition: all var(--transition-base);
}

.btn-secondary:hover {
    border-color: var(--color-blush-500);
    color: var(--color-blush-500);
    transform: translateY(-2px);
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-8);
    margin-top: var(--space-12);
    padding-top: var(--space-12);
    border-top: 1px solid var(--color-border);
}

.stat h3 {
    font-size: var(--text-display);
    background: linear-gradient(135deg, var(--color-blush-500), var(--color-gold-500));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: var(--space-2);
}

.stat p {
    font-size: var(--text-small);
    color: var(--color-text-tertiary);
    margin: 0;
}

.hero-image {
    position: relative;
}

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-2xl);
}

@media (min-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr 1fr;
    }
}

/* ==========================================================================
   SECTION HEADERS
   ========================================================================== */

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto var(--space-16);
}

.section-label {
    display: inline-block;
    padding: var(--space-2) var(--space-4);
    background: linear-gradient(135deg, rgba(244, 63, 125, 0.1), rgba(212, 165, 116, 0.1));
    color: var(--color-blush-600);
    border-radius: var(--radius-full);
    font-size: var(--text-small);
    font-weight: var(--font-semibold);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: var(--space-4);
}

.section-header h2 {
    font-size: var(--text-display);
    margin-bottom: var(--space-4);
}

.section-header p {
    font-size: 1.125rem;
    color: var(--color-text-secondary);
}

/* ==========================================================================
   SERVICES SECTION
   ========================================================================== */

.services {
    padding: var(--space-24) 0;
    background: var(--color-bg-secondary);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-8);
}

.service-card {
    padding: var(--space-8);
    background: var(--color-bg-primary);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    transition: all var(--transition-base);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--color-blush-300);
}

.service-icon {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-xl);
    background: linear-gradient(135deg, var(--color-blush-100), var(--color-gold-100));
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-6);
}

.dark .service-icon {
    background: linear-gradient(135deg, rgba(244, 63, 125, 0.2), rgba(212, 165, 116, 0.2));
}

.service-icon svg {
    width: 32px;
    height: 32px;
    color: var(--color-blush-600);
}

.service-card h3 {
    font-size: var(--text-h3);
    margin-bottom: var(--space-3);
}

.service-card p {
    color: var(--color-text-secondary);
    margin: 0;
}

/* ==========================================================================
   PORTFOLIO GALLERY
   ========================================================================== */

.portfolio {
    padding: var(--space-24) 0;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-6);
}

.portfolio-item {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 4/3;
}

.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.portfolio-item:hover img {
    transform: scale(1.1);
}

.portfolio-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: var(--space-6);
    opacity: 0;
    transition: opacity var(--transition-base);
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-overlay h3 {
    color: white;
    font-size: var(--text-h3);
    margin-bottom: var(--space-2);
}

.portfolio-overlay p {
    color: rgba(255, 255, 255, 0.8);
    font-size: var(--text-small);
    margin: 0;
}

/* Lightbox */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: var(--z-modal);
    display: none;
    align-items: center;
    justify-content: center;
    padding: var(--space-6);
}

.lightbox.active {
    display: flex;
}

.lightbox-content {
    max-width: 90vw;
    max-height: 90vh;
    position: relative;
}

.lightbox-content img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: var(--radius-lg);
}

.lightbox-close {
    position: absolute;
    top: var(--space-4);
    right: var(--space-4);
    width: 48px;
    height: 48px;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background var(--transition-fast);
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

.lightbox-close svg {
    width: 24px;
    height: 24px;
    color: white;
}

/* ==========================================================================
   PACKAGES SECTION
   ========================================================================== */

.packages {
    padding: var(--space-24) 0;
    background: var(--color-bg-secondary);
}

.packages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--space-8);
    max-width: 1200px;
    margin: 0 auto;
}

.package-card {
    padding: var(--space-10);
    background: var(--color-bg-primary);
    border: 2px solid var(--color-border);
    border-radius: var(--radius-2xl);
    text-align: center;
    transition: all var(--transition-base);
    position: relative;
}

.package-card.featured {
    border-color: var(--color-blush-500);
    transform: scale(1.05);
    box-shadow: var(--shadow-glow-blush);
}

.package-badge {
    position: absolute;
    top: -16px;
    left: 50%;
    transform: translateX(-50%);
    padding: var(--space-2) var(--space-6);
    background: linear-gradient(135deg, var(--color-blush-500), var(--color-gold-500));
    color: white;
    border-radius: var(--radius-full);
    font-size: var(--text-small);
    font-weight: var(--font-semibold);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.package-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.package-card.featured:hover {
    transform: translateY(-8px) scale(1.05);
}

.package-name {
    font-size: var(--text-h3);
    margin-bottom: var(--space-4);
}

.package-price {
    font-size: var(--text-display);
    font-family: 'Cormorant Garamond', serif;
    font-weight: var(--font-bold);
    background: linear-gradient(135deg, var(--color-blush-500), var(--color-gold-500));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: var(--space-2);
}

.package-duration {
    color: var(--color-text-tertiary);
    font-size: var(--text-small);
    margin-bottom: var(--space-8);
}

.package-features {
    list-style: none;
    margin-bottom: var(--space-8);
    text-align: left;
}

.package-features li {
    padding: var(--space-3) 0;
    display: flex;
    align-items: flex-start;
    gap: var(--space-3);
    color: var(--color-text-secondary);
}

.package-features svg {
    width: 20px;
    height: 20px;
    color: var(--color-blush-500);
    flex-shrink: 0;
    margin-top: 2px;
}

.package-button {
    width: 100%;
    padding: var(--space-4) var(--space-6);
    background: linear-gradient(135deg, var(--color-blush-500), var(--color-gold-500));
    color: white;
    border-radius: var(--radius-full);
    font-weight: var(--font-semibold);
    transition: all var(--transition-base);
}

.package-button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow-blush);
}

/* ==========================================================================
   TESTIMONIALS SECTION
   ========================================================================== */

.testimonials {
    padding: var(--space-24) 0;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-8);
}

.testimonial-card {
    padding: var(--space-8);
    background: var(--color-bg-secondary);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    position: relative;
}

.quote-icon {
    width: 48px;
    height: 48px;
    color: var(--color-blush-200);
    margin-bottom: var(--space-4);
}

.dark .quote-icon {
    color: var(--color-blush-900);
}

.testimonial-text {
    font-size: 1.125rem;
    font-style: italic;
    color: var(--color-text-primary);
    margin-bottom: var(--space-6);
    line-height: 1.8;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: var(--space-4);
}

.author-image {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-full);
    overflow: hidden;
    border: 3px solid var(--color-blush-200);
}

.dark .author-image {
    border-color: var(--color-blush-900);
}

.author-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-info h4 {
    font-size: var(--text-body);
    font-weight: var(--font-semibold);
    margin-bottom: var(--space-1);
}

.author-info p {
    font-size: var(--text-small);
    color: var(--color-text-tertiary);
    margin: 0;
}

/* ==========================================================================
   CTA SECTION
   ========================================================================== */

.cta-section {
    padding: var(--space-24) 0;
    background: linear-gradient(135deg, var(--color-blush-50), var(--color-gold-50));
    position: relative;
    overflow: hidden;
}

.dark .cta-section {
    background: linear-gradient(135deg, rgba(244, 63, 125, 0.1), rgba(212, 165, 116, 0.1));
}

.cta-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.cta-content h2 {
    font-size: var(--text-display);
    margin-bottom: var(--space-6);
}

.cta-content p {
    font-size: 1.25rem;
    color: var(--color-text-secondary);
    margin-bottom: var(--space-8);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

footer {
    padding: var(--space-16) 0 var(--space-8);
    background: var(--color-bg-secondary);
    border-top: 1px solid var(--color-border);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-12);
    margin-bottom: var(--space-12);
}

.footer-brand h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.75rem;
    margin-bottom: var(--space-4);
}

.footer-brand p {
    color: var(--color-text-secondary);
    margin-bottom: var(--space-6);
}

.social-links {
    display: flex;
    gap: var(--space-3);
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-full);
    background: var(--color-bg-tertiary);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
}

.social-link:hover {
    background: var(--color-blush-500);
    transform: translateY(-3px);
}

.social-link svg {
    width: 20px;
    height: 20px;
    color: var(--color-text-secondary);
}

.social-link:hover svg {
    color: white;
}

.footer-links h4 {
    font-size: var(--text-h4);
    margin-bottom: var(--space-4);
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: var(--space-3);
}

.footer-links a {
    color: var(--color-text-secondary);
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: var(--color-blush-500);
}

.footer-bottom {
    padding-top: var(--space-8);
    border-top: 1px solid var(--color-border);
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
    text-align: center;
}

.footer-bottom p {
    color: var(--color-text-tertiary);
    font-size: var(--text-small);
    margin: 0;
}

.footer-links-inline {
    display: flex;
    justify-content: center;
    gap: var(--space-6);
    flex-wrap: wrap;
}

.footer-links-inline a {
    color: var(--color-text-tertiary);
    font-size: var(--text-small);
}

@media (min-width: 768px) {
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
}

/* ==========================================================================
   SCROLL REVEAL ANIMATIONS
   ========================================================================== */

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-left.active {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(40px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-right.active {
    opacity: 1;
    transform: translateX(0);
}

.reveal-scale {
    opacity: 0;
    transform: scale(0.9);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-scale.active {
    opacity: 1;
    transform: scale(1);
}

.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }
.stagger-5 { transition-delay: 0.5s; }
.stagger-6 { transition-delay: 0.6s; }

/* ==========================================================================
   CONTINUOUS ANIMATIONS
   ========================================================================== */

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

.animate-float {
    animation: float 6s ease-in-out infinite;
}

@keyframes pulse-ring {
    0% { transform: scale(1); opacity: 0.5; }
    100% { transform: scale(1.5); opacity: 0; }
}

.pulse-ring {
    animation: pulse-ring 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* ==========================================================================
   REDUCED MOTION
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .reveal, .reveal-left, .reveal-right, .reveal-scale {
        opacity: 1;
        transform: none;
    }
}

/* ==========================================================================
   SELECTION & SCROLLBAR
   ========================================================================== */

::selection {
    background: var(--color-blush-200);
    color: var(--color-neutral-900);
}

.dark ::selection {
    background: var(--color-blush-600);
    color: white;
}

::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: var(--color-bg-secondary);
}

::-webkit-scrollbar-thumb {
    background: var(--color-border);
    border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--color-blush-400);
}

/* ==========================================================================
   PRINT STYLES
   ========================================================================== */

@media print {
    nav, footer, #theme-toggle, .cta-button {
        display: none;
    }

    body {
        background: white;
        color: black;
    }
}

/* ==========================================================================
   PERFORMANCE OPTIMIZATIONS
   ========================================================================== */

section {
    content-visibility: auto;
    contain-intrinsic-size: 0 500px;
}

.hover-lift,
.portfolio-item img,
.package-card {
    will-change: transform;
}
