/* ===== CSS Custom Properties ===== */
:root {
    --burgundy-50: #fdf2f4;
    --burgundy-100: #fce7eb;
    --burgundy-500: #db3a6c;
    --burgundy-700: #a01644;
    --burgundy-800: #84143b;
    --burgundy-900: #6f1437;
    --burgundy-950: #3f071c;
    --blush-300: #ffb3c4;
    --blush-400: #ff80a1;
    --blush-500: #ff4d7e;
    --cream: #FFF8F5;
    --sand: #F5E6E0;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--cream);
    color: var(--burgundy-950);
    overflow-x: hidden;
}

/* ===== Fixed Background Geometric Elements ===== */
.geo-circle {
    position: fixed;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}

.geo-circle--1 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(220, 58, 108, 0.06) 0%, transparent 70%);
    top: 10%;
    right: -100px;
}

.geo-circle--2 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 77, 126, 0.05) 0%, transparent 70%);
    bottom: 20%;
    left: -80px;
}

.geo-circle--3 {
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(160, 22, 68, 0.05) 0%, transparent 70%);
    top: 50%;
    left: 30%;
}

.geo-triangle {
    position: fixed;
    width: 0;
    height: 0;
    pointer-events: none;
    z-index: 0;
}

.geo-triangle--1 {
    border-left: 60px solid transparent;
    border-right: 60px solid transparent;
    border-bottom: 100px solid rgba(255, 179, 196, 0.08);
    top: 30%;
    right: 5%;
    transform: rotate(15deg);
}

.geo-diamond {
    position: fixed;
    pointer-events: none;
    z-index: 0;
}

.geo-diamond--1 {
    width: 80px;
    height: 80px;
    background: rgba(220, 58, 108, 0.04);
    top: 60%;
    left: 8%;
    transform: rotate(45deg);
    border-radius: 4px;
}

/* ===== Hero Geometric Elements ===== */
.hero-geo {
    position: absolute;
    pointer-events: none;
}

.hero-geo--circle1 {
    width: 500px;
    height: 500px;
    border: 2px solid rgba(255, 179, 196, 0.15);
    border-radius: 50%;
    top: -100px;
    right: -150px;
}

.hero-geo--circle2 {
    width: 300px;
    height: 300px;
    border: 2px solid rgba(255, 128, 161, 0.1);
    border-radius: 50%;
    bottom: 10%;
    left: -80px;
}

.hero-geo--triangle {
    width: 0;
    height: 0;
    border-left: 80px solid transparent;
    border-right: 80px solid transparent;
    border-bottom: 140px solid rgba(255, 179, 196, 0.08);
    top: 20%;
    left: 10%;
    transform: rotate(-10deg);
}

.hero-geo--rect {
    width: 120px;
    height: 120px;
    border: 2px solid rgba(255, 128, 161, 0.12);
    bottom: 15%;
    right: 15%;
    transform: rotate(25deg);
    border-radius: 8px;
}

/* ===== Navbar ===== */
#navbar {
    background: rgba(255, 248, 245, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(111, 20, 55, 0.08);
}

#navbar.scrolled {
    box-shadow: 0 4px 30px rgba(111, 20, 55, 0.1);
}

/* ===== Mobile Menu ===== */
.mobile-nav-link {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.mobile-menu-open .mobile-nav-link {
    opacity: 1;
    transform: translateY(0);
}

.mobile-menu-open .mobile-nav-link:nth-child(1) { transition-delay: 0.1s; }
.mobile-menu-open .mobile-nav-link:nth-child(2) { transition-delay: 0.15s; }
.mobile-menu-open .mobile-nav-link:nth-child(3) { transition-delay: 0.2s; }
.mobile-menu-open .mobile-nav-link:nth-child(4) { transition-delay: 0.25s; }

/* ===== Service Cards ===== */
.service-card {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover {
    transform: translateY(-8px);
}

/* ===== Gallery ===== */
.gallery-item {
    cursor: pointer;
    transition: all 0.4s ease;
}

.gallery-item:hover {
    transform: scale(1.02);
    box-shadow: 0 20px 60px rgba(111, 20, 55, 0.2);
}

/* ===== Testimonial Cards ===== */
.testimonial-card {
    transition: all 0.4s ease;
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(111, 20, 55, 0.15);
}

/* ===== Scroll Reveal Animations ===== */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.hidden-reveal {
    opacity: 0;
    transform: translateY(40px);
}

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

/* ===== Button Hover Effects ===== */
a, button {
    transition: all 0.3s ease;
}

/* ===== Custom Scrollbar ===== */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--cream);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(to bottom, var(--burgundy-700), var(--blush-500));
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(to bottom, var(--burgundy-800), var(--blush-600));
}

/* ===== Focus Styles ===== */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
    outline: 3px solid var(--burgundy-500);
    outline-offset: 2px;
    border-radius: 4px;
}

/* ===== Reduced Motion ===== */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
    
    .reveal.hidden-reveal {
        opacity: 1;
        transform: none;
    }
}

/* ===== Mobile Responsive ===== */
@media (max-width: 768px) {
    .geo-circle--1 {
        width: 200px;
        height: 200px;
    }
    
    .geo-circle--2 {
        width: 150px;
        height: 150px;
    }
    
    .hero-geo--circle1 {
        width: 250px;
        height: 250px;
    }
    
    .hero-geo--circle2 {
        width: 150px;
        height: 150px;
    }
}
