/* ============================================
   CAKE UP EGYPT - Custom & Wedding Cakes
   Brand: Coral Pink, Soft Pink, Gold
   Style: Playful, Elegant, Celebratory
   Based on Sweet Spiral structure with pink palette
   ============================================ */

/* === VARIABLES === */
:root {
    /* Fonts */
    --font-display: 'Playfair Display', 'Georgia', serif;
    --font-body: 'Poppins', -apple-system, sans-serif;

    /* Primary - Coral Pink */
    --color-primary: #FF6B8A;
    --color-primary-light: #FF8FA3;
    --color-primary-dark: #E5567A;

    /* Secondary - Soft Pink */
    --color-secondary: #FFD1DC;
    --color-secondary-light: #FFE4EC;
    --color-secondary-dark: #F5B8C8;

    /* Accent - Gold */
    --color-accent: #F5D78E;
    --color-accent-light: #FBE8B3;
    --color-accent-dark: #E5C56A;

    /* Neutral */
    --color-cream: #FFF9F5;
    --color-white: #FFFFFF;

    /* Glow Colors */
    --color-glow-primary: rgba(255, 107, 138, 0.4);
    --color-glow-secondary: rgba(245, 215, 142, 0.4);

    /* Backgrounds */
    --color-bg: #FF6B8A;
    --color-bg-light: #FFF0F3;
    --color-bg-white: #FFFFFF;
    --color-bg-dark: #E5567A;
    --color-bg-elevated: #E5567A;      /* For shared components */
    --color-bg-card: #D04A6A;          /* Card backgrounds */

    /* Text */
    --color-text: #FFFFFF;
    --color-text-dark: #2D1F24;
    --color-text-secondary: rgba(255, 255, 255, 0.9);
    --color-text-dim: rgba(255, 255, 255, 0.75);
    --color-text-muted: rgba(255, 255, 255, 0.6);

    /* Borders */
    --border-subtle: rgba(255, 255, 255, 0.15);
    --border-default: rgba(255, 255, 255, 0.25);
    --border-accent: rgba(245, 215, 142, 0.5);

    /* Radius */
    --radius: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --radius-full: 50px;

    /* Transitions */
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

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

body {
    font-family: var(--font-body);
    background: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    overflow-x: hidden;
}

::selection {
    background: var(--color-accent);
    color: var(--color-text-dark);
}

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

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

/* === PAGE LOADER === */
.page-loader {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: var(--color-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

.page-loader.loaded {
    opacity: 0;
    visibility: hidden;
}

.loader-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.loader-icon {
    font-size: 56px;
    animation: loaderBounce 1s ease-in-out infinite;
}

@keyframes loaderBounce {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-12px) scale(1.05); }
}

.loader-text {
    font-family: var(--font-display);
    font-size: 20px;
    color: var(--color-white);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    animation: loaderPulse 1.5s ease-in-out infinite;
}

@keyframes loaderPulse {
    0%, 100% { opacity: 0.7; }
    50% { opacity: 1; }
}

/* === PROGRESS BAR === */
.progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 4px;
    background: linear-gradient(90deg, var(--color-accent), var(--color-secondary), var(--color-accent));
    z-index: 1000;
    transition: width 0.1s linear;
    box-shadow: 0 0 10px var(--color-glow-secondary);
}

/* === NAVIGATION === */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 48px;
    transition: all 0.4s var(--ease-out);
}

.nav.scrolled {
    padding: 14px 48px;
    background: rgba(255, 107, 138, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.15);
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    transition: transform 0.3s var(--ease-out);
}

.nav-logo:hover {
    transform: scale(1.03);
}

.logo-icon {
    font-size: 32px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.logo-text {
    font-family: var(--font-display);
    font-size: 26px;
    font-weight: 700;
    color: var(--color-white);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 36px;
}

.nav-link {
    font-size: 15px;
    font-weight: 500;
    color: var(--color-text-secondary);
    letter-spacing: 0.02em;
    position: relative;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 0%;
    height: 3px;
    background: var(--color-white);
    border-radius: 3px;
    transition: width 0.3s var(--ease-out);
}

.nav-link:hover {
    color: var(--color-white);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-cta {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.03em;
    color: var(--color-primary);
    background: var(--color-white);
    border-radius: var(--radius-full);
    transition: all 0.3s var(--ease-out);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.nav-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
    background: var(--color-cream);
}

.nav-cta svg {
    transition: transform 0.3s var(--ease-out);
}

.nav-cta:hover svg {
    transform: translateX(4px);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    padding: 8px;
    background: transparent;
    border: none;
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    width: 26px;
    height: 3px;
    background: var(--color-white);
    border-radius: 3px;
    transition: all 0.3s var(--ease-out);
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 99;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 28px;
    background: var(--color-primary);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s var(--ease-out);
}

.mobile-menu.active {
    opacity: 1;
    pointer-events: auto;
}

.mobile-link {
    font-family: var(--font-display);
    font-size: 32px;
    color: var(--color-text-secondary);
    transition: all 0.3s ease;
}

.mobile-link:hover,
.mobile-link.cta {
    color: var(--color-white);
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
}

@media (max-width: 768px) {
    .nav {
        padding: 14px 20px;
    }

    .nav-links,
    .nav-cta {
        display: none;
    }

    .nav-toggle {
        display: flex;
    }

    .mobile-menu {
        display: flex;
    }
}

/* === HERO SECTION === */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 48px 80px;
    overflow: hidden;
    background: var(--color-bg);
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.hero-image {
    position: absolute;
    inset: 0;
    background: url('https://images.unsplash.com/photo-1578985545062-69928b1d9587?w=1920&q=80') center/cover no-repeat;
    opacity: 0.22;
    filter: grayscale(30%) contrast(1.1);
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg,
            rgba(255, 107, 138, 0.85) 0%,
            rgba(255, 107, 138, 0.7) 50%,
            rgba(255, 107, 138, 0.95) 100%),
        radial-gradient(ellipse at 70% 20%, rgba(255, 255, 255, 0.2) 0%, transparent 50%),
        radial-gradient(ellipse at 30% 80%, rgba(245, 215, 142, 0.15) 0%, transparent 40%);
}

.hero-pattern {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 25% 25%, rgba(255, 255, 255, 0.1) 2px, transparent 2px),
        radial-gradient(circle at 75% 75%, rgba(255, 255, 255, 0.1) 2px, transparent 2px);
    background-size: 50px 50px;
}

/* Floating decorations */
.hero-floats {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    overflow: hidden;
}

.float-shape {
    position: absolute;
    left: var(--x);
    top: var(--y);
    width: 100px;
    height: 100px;
    border: 3px solid rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    animation: floatShape 15s ease-in-out infinite;
    animation-delay: var(--delay);
}

.float-shape::before {
    content: '';
    position: absolute;
    inset: 15px;
    border: 3px solid rgba(245, 215, 142, 0.2);
    border-radius: 50%;
}

@keyframes floatShape {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    50% {
        transform: translate(25px, -35px) rotate(180deg);
    }
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 800px;
    text-align: center;
}

/* Hero Badge */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--radius-full);
    margin-bottom: 32px;
    opacity: 0;
    animation: fadeInUp 0.8s var(--ease-out) 0.3s forwards;
    backdrop-filter: blur(10px);
}

.badge-icon {
    color: var(--color-accent);
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.badge-text {
    font-size: 14px;
    font-weight: 600;
    color: var(--color-white);
    letter-spacing: 0.03em;
}

/* Hero Title */
.hero-title {
    font-family: var(--font-display);
    font-size: clamp(42px, 9vw, 80px);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 24px;
    opacity: 0;
    animation: fadeInUp 0.8s var(--ease-out) 0.5s forwards;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.title-line {
    display: block;
}

.title-line.accent {
    color: var(--color-accent);
    text-shadow:
        0 0 40px rgba(245, 215, 142, 0.5),
        0 4px 20px rgba(0, 0, 0, 0.2);
}

.hero-desc {
    font-size: 18px;
    line-height: 1.7;
    color: var(--color-text-secondary);
    max-width: 500px;
    margin: 0 auto 40px;
    opacity: 0;
    animation: fadeInUp 0.8s var(--ease-out) 0.7s forwards;
}

.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    opacity: 0;
    animation: fadeInUp 0.8s var(--ease-out) 0.9s forwards;
}

/* Buttons */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 18px 36px;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: var(--color-primary);
    background: var(--color-white);
    border: none;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: all 0.4s var(--ease-out);
    box-shadow: 0 6px 30px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 107, 138, 0.1), transparent);
    transition: left 0.5s ease;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
}

.btn-primary svg {
    transition: transform 0.3s var(--ease-out);
}

.btn-primary:hover svg {
    transform: translateX(4px);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 18px 32px;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: var(--color-white);
    background: rgba(255, 255, 255, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: all 0.3s var(--ease-out);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: var(--color-white);
    transform: translateY(-3px);
}

/* Hero Scroll */
.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: var(--color-text-dim);
    opacity: 0;
    animation: fadeInUp 0.8s var(--ease-out) 1.2s forwards;
    cursor: pointer;
    transition: color 0.3s ease;
}

.hero-scroll:hover {
    color: var(--color-white);
}

.hero-scroll span {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.hero-scroll svg {
    animation: bounce 2s ease-in-out infinite;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(35px);
        filter: blur(6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0);
    }
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(8px); }
}

@media (max-width: 768px) {
    .hero {
        padding: 100px 24px 60px;
    }

    .hero-floats {
        display: none;
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        justify-content: center;
    }
}

/* === MARQUEE BANNER === */
.marquee-banner {
    padding: 20px 0;
    overflow: hidden;
    background: var(--color-primary-dark);
    position: relative;
}

.marquee-banner::before,
.marquee-banner::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100px;
    z-index: 2;
    pointer-events: none;
}

.marquee-banner::before {
    left: 0;
    background: linear-gradient(90deg, var(--color-primary-dark) 0%, transparent 100%);
}

.marquee-banner::after {
    right: 0;
    background: linear-gradient(90deg, transparent 0%, var(--color-primary-dark) 100%);
}

.marquee-track {
    display: flex;
    gap: 50px;
    animation: marqueeScroll 35s linear infinite;
    white-space: nowrap;
    width: max-content;
}

.marquee-item {
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.15em;
    color: var(--color-white);
    flex-shrink: 0;
}

.marquee-divider {
    width: 8px;
    height: 8px;
    background: var(--color-accent);
    border-radius: 50%;
    flex-shrink: 0;
    align-self: center;
}

@keyframes marqueeScroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* === SECTIONS === */
.section {
    padding: 100px 48px;
    position: relative;
}

.section-light {
    background: var(--color-bg-light);
    color: var(--color-text-dark);
}

.section-white {
    position: relative;
    background: var(--color-white);
    color: var(--color-text-dark);
    overflow: hidden;
}

/* Collections section background - 3-layer pattern */
#collections.section-white::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('https://images.unsplash.com/photo-1562440499-64c9a111f713?w=1920&q=80') center/cover no-repeat;
    opacity: 0.06;
    filter: grayscale(100%) contrast(1.1);
    z-index: 0;
    mask-image: linear-gradient(to bottom, transparent 0%, black 15%, black 85%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 15%, black 85%, transparent 100%);
}

#collections.section-white::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 20%, rgba(255, 107, 138, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 80%, rgba(245, 215, 142, 0.1) 0%, transparent 50%);
    z-index: 1;
    pointer-events: none;
}

/* About section background - 3-layer pattern */
#about.section-light::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('https://images.unsplash.com/photo-1621303837174-89787a7d4729?w=1920&q=80') center/cover no-repeat;
    opacity: 0.08;
    filter: grayscale(100%) contrast(1.1);
    z-index: 0;
    mask-image: linear-gradient(to bottom, transparent 0%, black 15%, black 85%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 15%, black 85%, transparent 100%);
}

#about.section-light::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 30% 50%, rgba(255, 107, 138, 0.12) 0%, transparent 40%),
        radial-gradient(ellipse at 70% 80%, rgba(245, 215, 142, 0.1) 0%, transparent 40%);
    z-index: 1;
    pointer-events: none;
}

/* Gallery section background - 3-layer pattern */
#gallery.section-white::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('https://images.unsplash.com/photo-1558301211-0d8c8ddee6ec?w=1920&q=80') center/cover no-repeat;
    opacity: 0.07;
    filter: grayscale(100%) contrast(1.1);
    z-index: 0;
    mask-image: linear-gradient(to bottom, transparent 0%, black 15%, black 85%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 15%, black 85%, transparent 100%);
}

#gallery.section-white::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 10% 30%, rgba(255, 107, 138, 0.15) 0%, transparent 45%),
        radial-gradient(ellipse at 90% 70%, rgba(245, 215, 142, 0.12) 0%, transparent 40%);
    z-index: 1;
    pointer-events: none;
}

/* Contact section background - 3-layer pattern */
.section-contact {
    background: var(--color-bg);
    color: var(--color-white);
}

.contact-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.contact-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('https://images.unsplash.com/photo-1535254973040-607b474cb50d?w=1920&q=80') center/cover no-repeat;
    opacity: 0.15;
    filter: grayscale(100%) contrast(1.1);
    mask-image: linear-gradient(to bottom, transparent 0%, black 15%, black 85%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 15%, black 85%, transparent 100%);
}

.contact-gradient {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg,
            rgba(255, 107, 138, 0.92) 0%,
            rgba(255, 107, 138, 0.75) 30%,
            rgba(255, 107, 138, 0.75) 70%,
            rgba(255, 107, 138, 0.92) 100%),
        radial-gradient(ellipse at 20% 30%, rgba(255, 255, 255, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 70%, rgba(245, 215, 142, 0.12) 0%, transparent 40%);
}

.section-white .section-content,
.section-light .section-content {
    position: relative;
    z-index: 2;
}

.section-content {
    max-width: 1100px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-label {
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-primary);
    margin-bottom: 16px;
    padding: 8px 20px;
    background: rgba(255, 107, 138, 0.1);
    border-radius: var(--radius-full);
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 700;
    color: var(--color-text-dark);
    margin-bottom: 16px;
}

.section-title em {
    font-style: italic;
    color: var(--color-primary);
}

.section-desc {
    font-size: 17px;
    color: #6A4F55;
    max-width: 500px;
    margin: 0 auto;
    line-height: 1.7;
}

@media (max-width: 768px) {
    .section {
        padding: 70px 24px;
    }
}

/* === COLLECTIONS SECTION === */
.collections-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.collection-card {
    position: relative;
    height: 400px;
    border-radius: var(--radius-xl);
    overflow: hidden;
    background: var(--color-bg-light);
    border: 1px solid rgba(255, 107, 138, 0.1);
    transition: all 0.5s var(--ease-out);
    box-shadow: 0 4px 20px rgba(255, 107, 138, 0.08);
}

.collection-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-accent), var(--color-primary-light));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s var(--ease-out);
    z-index: 3;
}

.collection-card-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform 0.6s var(--ease-out);
}

.collection-card-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
        rgba(45, 31, 36, 0.2) 0%,
        rgba(45, 31, 36, 0.5) 50%,
        rgba(45, 31, 36, 0.92) 100%);
}

.collection-card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 32px;
    z-index: 2;
}

.collection-card-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 107, 138, 0.15);
    border: 1px solid rgba(255, 107, 138, 0.3);
    border-radius: var(--radius);
    margin-bottom: 20px;
    font-size: 24px;
    transition: all 0.3s var(--ease-out);
}

.collection-card-title {
    font-family: var(--font-display);
    font-size: 1.7rem;
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 12px;
}

.collection-card-desc {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.65;
    margin-bottom: 20px;
}

.collection-card-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--color-accent);
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s var(--ease-out);
}

.collection-card-link svg {
    transition: transform 0.3s var(--ease-out);
}

@media (hover: hover) {
    .collection-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 20px 50px rgba(255, 107, 138, 0.2);
        border-color: rgba(255, 107, 138, 0.3);
    }

    .collection-card:hover::before {
        transform: scaleX(1);
    }

    .collection-card:hover .collection-card-bg {
        transform: scale(1.05);
    }

    .collection-card:hover .collection-card-icon {
        background: var(--color-primary);
    }

    .collection-card:hover .collection-card-link {
        opacity: 1;
        transform: translateY(0);
    }

    .collection-card:hover .collection-card-link svg {
        transform: translateX(4px);
    }
}

/* Mobile active state */
.collection-card.mobile-active {
    border-color: rgba(255, 107, 138, 0.3) !important;
}

.collection-card.mobile-active::before {
    transform: scaleX(1) !important;
}

.collection-card.mobile-active .collection-card-link {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

@media (max-width: 768px) {
    .collections-grid {
        grid-template-columns: 1fr;
    }

    .collection-card {
        height: 350px;
    }
}

/* === ABOUT SECTION === */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: center;
}

.about-content .section-label {
    display: inline-block;
}

.about-content .section-title {
    text-align: left;
    margin-bottom: 24px;
}

.about-quote {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-style: italic;
    line-height: 1.4;
    color: var(--color-text-dark);
    margin-bottom: 24px;
    padding-left: 24px;
    border-left: 3px solid var(--color-primary);
}

.about-text p {
    font-size: 16px;
    line-height: 1.85;
    color: #6A4F55;
    margin-bottom: 16px;
}

.about-text strong {
    color: var(--color-primary);
    font-weight: 600;
}

.about-visual {
    position: relative;
}

.about-image {
    position: relative;
    aspect-ratio: 4/5;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(255, 107, 138, 0.2);
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease-out);
}

.about-image:hover img {
    transform: scale(1.05);
}

.about-accent {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 110px;
    height: 110px;
    background: linear-gradient(135deg, var(--color-accent), var(--color-accent-dark));
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    box-shadow: 0 8px 30px rgba(245, 215, 142, 0.4);
}

.about-accent-text {
    font-family: var(--font-display);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: var(--color-text-dark);
    text-align: center;
    line-height: 1.3;
    text-transform: uppercase;
}

@media (max-width: 900px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-content .section-title {
        text-align: center;
    }

    .about-content .section-label {
        text-align: center;
        display: block;
    }

    .about-quote {
        text-align: center;
        border-left: none;
        padding-left: 0;
        border-top: 3px solid var(--color-primary);
        padding-top: 20px;
    }

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

    .about-accent {
        right: 20px;
        bottom: -16px;
        width: 90px;
        height: 90px;
    }
}

/* === GALLERY SECTION === */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.gallery-item {
    position: relative;
    aspect-ratio: 1;
    border-radius: var(--radius-lg);
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(255, 107, 138, 0.1);
    border: 1px solid rgba(255, 107, 138, 0.08);
    transition: all 0.4s var(--ease-out);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
    transition: all 0.5s var(--ease-out);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(255, 107, 138, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-overlay svg {
    color: #FFFFFF;
    width: 32px;
    height: 32px;
}

@media (hover: hover) {
    .gallery-item:hover {
        transform: translateY(-6px);
        box-shadow: 0 15px 40px rgba(255, 107, 138, 0.2);
        border-color: rgba(255, 107, 138, 0.3);
    }

    .gallery-item:hover img {
        filter: grayscale(0%);
        transform: scale(1.1);
    }

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

/* Instagram CTA */
.gallery-item.gallery-cta {
    background: linear-gradient(135deg, #833AB4, #E1306C, #F77737);
}

.gallery-follow {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: white;
    transition: all 0.3s var(--ease-out);
}

.gallery-follow span {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.gallery-item.gallery-cta:hover .gallery-follow {
    transform: scale(1.1);
}

.gallery-cta-btn {
    text-align: center;
    margin-top: 48px;
}

@media (max-width: 900px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* === CONTACT SECTION === */
.section-contact .section-content {
    position: relative;
    z-index: 2;
}

.section-contact .section-label {
    background: rgba(255, 255, 255, 0.15);
    color: var(--color-white);
}

.section-contact .section-title {
    color: var(--color-white);
}

.section-contact .section-title em {
    color: var(--color-accent);
}

.section-contact .section-desc {
    color: var(--color-text-secondary);
}

.contact-cta {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 20px 48px;
    background: var(--color-white);
    color: var(--color-primary);
    font-size: 1.15rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    margin-bottom: 48px;
    transition: all 0.3s var(--ease-out);
    box-shadow: 0 6px 30px rgba(0, 0, 0, 0.2);
}

.contact-cta:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.contact-info {
    display: flex;
    justify-content: center;
    gap: 48px;
    flex-wrap: wrap;
}

.contact-info-item {
    text-align: center;
}

.contact-info-label {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-text-dim);
    margin-bottom: 8px;
}

.contact-info-value {
    font-size: 1.05rem;
    color: var(--color-white);
}

.contact-info-value a {
    color: var(--color-accent);
    transition: color 0.3s ease;
}

.contact-info-value a:hover {
    color: var(--color-accent-light);
}

/* === FOOTER === */
.footer {
    position: relative;
    background: var(--color-primary-dark);
    color: var(--color-white);
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('https://images.unsplash.com/photo-1578985545062-69928b1d9587?w=1920&q=80') center/cover no-repeat;
    opacity: 0.06;
    filter: grayscale(100%) brightness(0.5);
    mask-image: linear-gradient(to bottom, transparent 0%, black 15%, black 85%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 15%, black 85%, transparent 100%);
}

.footer::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 10% 90%, rgba(245, 215, 142, 0.1) 0%, transparent 40%),
        radial-gradient(ellipse at 90% 10%, rgba(255, 255, 255, 0.06) 0%, transparent 40%);
    pointer-events: none;
}

.footer-main {
    position: relative;
    z-index: 1;
    padding: 60px 48px 50px;
    max-width: 1100px;
    margin: 0 auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 50px;
}

.footer-col.footer-brand {
    padding-right: 30px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

.footer-logo .logo-icon {
    font-size: 28px;
}

.footer-logo .logo-text {
    font-size: 22px;
}

.footer-tagline {
    font-size: 14px;
    line-height: 1.7;
    color: var(--color-text-dim);
    margin-bottom: 20px;
}

.footer-social {
    display: flex;
    gap: 10px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius);
    color: var(--color-text-dim);
    transition: all 0.3s var(--ease-out);
}

.social-link:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: var(--color-white);
    color: var(--color-white);
    transform: translateY(-3px);
}

.footer-heading {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 20px;
}

.footer-nav {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-nav a {
    font-size: 14px;
    color: var(--color-text-dim);
    transition: all 0.2s ease;
}

.footer-nav a:hover {
    color: var(--color-white);
    padding-left: 6px;
}

.footer-contact-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 14px;
}

.footer-contact-item strong {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-text-dim);
}

.footer-contact-item span,
.footer-contact-item a {
    font-size: 14px;
    color: var(--color-text-secondary);
}

.footer-contact-item a:hover {
    color: var(--color-accent);
}

.footer-bottom {
    position: relative;
    z-index: 1;
    padding: 20px 48px;
    background: rgba(0, 0, 0, 0.15);
}

.footer-bottom-content {
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
}

.footer-copy {
    font-size: 13px;
    color: var(--color-text-muted);
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 36px;
    }

    .footer-col.footer-brand {
        grid-column: span 2;
        padding-right: 0;
        text-align: center;
    }

    .footer-logo {
        justify-content: center;
    }

    .footer-social {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .footer-main {
        padding: 50px 24px 40px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-col.footer-brand {
        grid-column: span 1;
    }

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

    .footer-nav {
        align-items: center;
    }

    .footer-nav a:hover {
        padding-left: 0;
    }

    .footer-bottom {
        padding: 18px 24px;
    }
}

/* === DEMO ATTRIBUTION BANNER (Theme: Pink) === */


.demo-banner-text {
    display: flex;
    align-items: center;
    gap: 12px;
}

.demo-tag {
    padding: 6px 12px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.15em;
    color: var(--color-text-dark);
    background: var(--color-primary);
    border-radius: 4px;
}

.demo-message {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
}

.demo-banner-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: linear-gradient(135deg, rgba(255, 107, 138, 0.15), rgba(255, 107, 138, 0.05));
    border: 1px solid rgba(255, 107, 138, 0.4);
    border-radius: 6px;
    transition: all 0.3s var(--ease-out);
}

.demo-banner-cta:hover {
    background: linear-gradient(135deg, rgba(255, 107, 138, 0.25), rgba(255, 107, 138, 0.1));
    border-color: var(--color-primary);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 138, 0.25);
}

.demo-brand {
    font-family: 'Orbitron', sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: var(--color-text);
}

.demo-banner-cta svg {
    color: var(--color-primary);
    transition: transform 0.3s var(--ease-out);
}

.demo-banner-cta:hover svg {
    transform: translate(3px, -3px);
}


/* === PROCESS SECTION === */
#process.section-white::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('https://images.unsplash.com/photo-1486427944299-d1955d23e34d?w=1920&q=80') center/cover no-repeat;
    opacity: 0.05;
    filter: grayscale(100%) contrast(1.1);
    z-index: 0;
    mask-image: linear-gradient(to bottom, transparent 0%, black 15%, black 85%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 15%, black 85%, transparent 100%);
}

#process.section-white::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 15% 30%, rgba(255, 107, 138, 0.12) 0%, transparent 50%),
        radial-gradient(ellipse at 85% 70%, rgba(245, 215, 142, 0.1) 0%, transparent 45%);
    z-index: 1;
    pointer-events: none;
}

.process-grid {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
    flex-wrap: wrap;
}

.process-step {
    flex: 1;
    min-width: 200px;
    max-width: 250px;
    text-align: center;
    padding: 32px 20px;
    position: relative;
}

.process-number {
    font-family: var(--font-display);
    font-size: 48px;
    font-weight: 700;
    color: rgba(255, 107, 138, 0.15);
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    line-height: 1;
    z-index: 0;
}

.process-icon {
    position: relative;
    z-index: 1;
    width: 72px;
    height: 72px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
    border-radius: 50%;
    color: white;
    box-shadow: 0 8px 30px rgba(255, 107, 138, 0.35);
    transition: all 0.4s var(--ease-out);
}

.process-step:hover .process-icon {
    transform: scale(1.1) translateY(-5px);
    box-shadow: 0 15px 40px rgba(255, 107, 138, 0.45);
}

.process-title {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-text-dark);
    margin-bottom: 12px;
}

.process-desc {
    font-size: 0.9rem;
    color: #6A4F55;
    line-height: 1.65;
}

.process-connector {
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
    margin-top: 68px;
    opacity: 0.4;
}

@media (max-width: 900px) {
    .process-grid {
        flex-direction: column;
        align-items: center;
        gap: 16px;
    }

    .process-connector {
        width: 2px;
        height: 40px;
        background: linear-gradient(180deg, var(--color-primary), var(--color-accent));
        margin-top: 0;
    }

    .process-step {
        max-width: 100%;
    }
}

/* === TESTIMONIALS SECTION === */
#testimonials.section-white::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('https://images.unsplash.com/photo-1464349095431-e9a21285b5f3?w=1920&q=80') center/cover no-repeat;
    opacity: 0.06;
    filter: grayscale(100%) contrast(1.1);
    z-index: 0;
    mask-image: linear-gradient(to bottom, transparent 0%, black 15%, black 85%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 15%, black 85%, transparent 100%);
}

#testimonials.section-white::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 5% 50%, rgba(255, 107, 138, 0.15) 0%, transparent 45%),
        radial-gradient(ellipse at 95% 50%, rgba(245, 215, 142, 0.12) 0%, transparent 45%);
    z-index: 1;
    pointer-events: none;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.testimonial-card {
    padding: 32px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(255, 240, 243, 0.9));
    border: 1px solid rgba(255, 107, 138, 0.12);
    border-radius: var(--radius-xl);
    transition: all 0.5s var(--ease-out);
    box-shadow: 0 4px 20px rgba(255, 107, 138, 0.08);
    position: relative;
    overflow: hidden;
}

.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-accent), var(--color-primary-light));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s var(--ease-out);
}

@media (hover: hover) {
    .testimonial-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 20px 50px rgba(255, 107, 138, 0.18);
        border-color: rgba(255, 107, 138, 0.25);
    }

    .testimonial-card:hover::before {
        transform: scaleX(1);
    }
}

.testimonial-stars {
    display: flex;
    gap: 4px;
    margin-bottom: 20px;
}

.testimonial-stars svg {
    color: var(--color-accent-dark);
}

.testimonial-text {
    font-size: 1rem;
    font-style: italic;
    color: #5A4348;
    line-height: 1.75;
    margin-bottom: 24px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 14px;
}

.testimonial-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    color: white;
}

.testimonial-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.testimonial-name {
    font-weight: 600;
    color: var(--color-text-dark);
    font-size: 0.95rem;
}

.testimonial-event {
    font-size: 0.8rem;
    color: #8A6A70;
}

@media (max-width: 900px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }
}

/* === CINEMATIC SCROLL REVEAL === */

/* Base transition for all cinematic elements */
.cinematic-reveal {
    --reveal-duration: 1.4s;
    --reveal-delay: 0s;
    --reveal-ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* Collection Cards - Dramatic tilt + scale */
.collection-card {
    opacity: 0;
    transform: perspective(1000px) rotateX(15deg) translateY(80px) scale(0.92);
    filter: blur(8px);
    transition:
        opacity var(--reveal-duration, 1.4s) var(--reveal-ease, cubic-bezier(0.16, 1, 0.3, 1)),
        transform var(--reveal-duration, 1.4s) var(--reveal-ease, cubic-bezier(0.16, 1, 0.3, 1)),
        filter 1s var(--reveal-ease, cubic-bezier(0.16, 1, 0.3, 1));
}

.collection-card.revealed {
    opacity: 1;
    transform: perspective(1000px) rotateX(0deg) translateY(0) scale(1);
    filter: blur(0);
}

/* Gallery Items - Zoom + fade from different directions */
.gallery-item {
    opacity: 0;
    transform: scale(0.8) translateY(60px);
    filter: blur(10px);
    transition:
        opacity 1.2s var(--ease-out),
        transform 1.2s var(--ease-out),
        filter 0.9s var(--ease-out);
}

.gallery-item:nth-child(odd) {
    transform: scale(0.8) translateY(60px) rotate(-3deg);
}

.gallery-item:nth-child(even) {
    transform: scale(0.8) translateY(60px) rotate(3deg);
}

.gallery-item.revealed {
    opacity: 1;
    transform: scale(1) translateY(0) rotate(0deg);
    filter: blur(0);
}

/* Process Steps - Slide from sides with stagger */
.process-step {
    opacity: 0;
    transform: translateY(60px) scale(0.9);
    filter: blur(6px);
    transition:
        opacity 1s var(--ease-out),
        transform 1s var(--ease-out),
        filter 0.8s var(--ease-out);
}

.process-step.revealed {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
}

.process-connector {
    opacity: 0;
    transform: scaleX(0);
    transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
    transition-delay: 0.3s;
}

.process-connector.revealed {
    opacity: 0.4;
    transform: scaleX(1);
}

/* Testimonial Cards - Dramatic slide up with perspective */
.testimonial-card {
    opacity: 0;
    transform: perspective(800px) rotateX(20deg) translateY(100px) scale(0.9);
    filter: blur(12px);
    transition:
        opacity 1.3s var(--ease-out),
        transform 1.3s var(--ease-out),
        filter 1s var(--ease-out);
}

.testimonial-card.revealed {
    opacity: 1;
    transform: perspective(800px) rotateX(0deg) translateY(0) scale(1);
    filter: blur(0);
}

/* About Grid - Split reveal */
.about-grid {
    opacity: 0;
    transform: translateY(50px);
    filter: blur(6px);
    transition:
        opacity 1.4s var(--ease-out),
        transform 1.4s var(--ease-out),
        filter 1.1s var(--ease-out);
}

.about-grid.revealed {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
}

/* Section Headers - Elegant fade with subtle lift */
.section-header {
    opacity: 0;
    transform: translateY(40px);
    filter: blur(4px);
    transition:
        opacity 1.2s var(--ease-out),
        transform 1.2s var(--ease-out),
        filter 0.9s var(--ease-out);
}

.section-header.revealed {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
}

/* Section Label - Slide from left */
.section-header .section-label {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.8s var(--ease-out) 0.2s, transform 0.8s var(--ease-out) 0.2s;
}

.section-header.revealed .section-label {
    opacity: 1;
    transform: translateX(0);
}

/* Section Title - Scale up elegantly */
.section-header .section-title {
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.9s var(--ease-out) 0.3s, transform 0.9s var(--ease-out) 0.3s;
}

.section-header.revealed .section-title {
    opacity: 1;
    transform: scale(1);
}

/* Section Description - Fade up last */
.section-header .section-desc {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s var(--ease-out) 0.5s, transform 0.8s var(--ease-out) 0.5s;
}

.section-header.revealed .section-desc {
    opacity: 1;
    transform: translateY(0);
}

/* Tablet */
@media (max-width: 900px) {
    

    

    

    

    
}

/* Mobile */
@media (max-width: 680px) {
    

    

    

    

    

    

    

    
}

/* Small Mobile */
@media (max-width: 380px) {
    

    

    
}

