/* ===== CUSTOM PROPERTIES ===== */
:root {
    --burgundy: #781F37;
    --burgundy-dark: #5A1630;
    --blush: #FADADD;
    --blush-mid: #E8B4B8;
    --cream: #FDF8F6;
    --dark: #1A1A1A;
    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'Outfit', sans-serif;
}

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

body {
    font-family: var(--font-body);
    background-color: var(--cream);
    color: var(--dark);
    overflow-x: hidden;
}

.font-display {
    font-family: var(--font-display);
}

.font-body {
    font-family: var(--font-body);
}

/* ===== HERO BACKGROUND PATTERN ===== */
.hero-bg-pattern {
    background-image:
        radial-gradient(circle at 20% 80%, rgba(250, 221, 221, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(232, 180, 184, 0.2) 0%, transparent 50%);
}

/* ===== BUTTONS ===== */
.btn-primary {
    display: inline-flex;
    align-items: center;
    background: var(--blush);
    color: var(--burgundy);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.9rem;
    padding: 0.875rem 1.75rem;
    border-radius: 9999px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid var(--blush);
}

.btn-primary:hover {
    background: transparent;
    color: var(--blush);
    border-color: var(--blush);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(120, 31, 55, 0.3);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    background: transparent;
    color: var(--blush);
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 0.9rem;
    padding: 0.875rem 1.75rem;
    border-radius: 9999px;
    text-decoration: none;
    border: 2px solid rgba(250, 221, 221, 0.4);
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    border-color: var(--blush);
    background: rgba(250, 221, 221, 0.1);
    transform: translateY(-2px);
}

/* ===== HERO SECTION ===== */
.hero-section {
    position: relative;
}

/* ===== SCROLL REVEAL ===== */
.reveal-section {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

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

/* Staggered delays */
.reveal-section:nth-child(1) { transition-delay: 0.05s; }
.reveal-section:nth-child(2) { transition-delay: 0.15s; }
.reveal-section:nth-child(3) { transition-delay: 0.25s; }
.reveal-section:nth-child(4) { transition-delay: 0.35s; }
.reveal-section:nth-child(5) { transition-delay: 0.45s; }
.reveal-section:nth-child(6) { transition-delay: 0.55s; }

/* ===== SERVICE CARDS ===== */
.service-card {
    transition: all 0.4s ease;
}

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

/* ===== PRODUCT CARDS ===== */
.product-card {
    transition: all 0.4s ease;
}

.product-card:hover {
    transform: translateY(-4px);
}

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

.testimonial-card:hover {
    transform: translateY(-4px);
}

/* ===== MOBILE MENU ===== */
.mobile-menu {
    position: fixed;
    top: 0;
    right: 0;
    width: 280px;
    height: 100vh;
    z-index: 50;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 40;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

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

.mobile-link {
    display: block;
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: white;
    text-decoration: none;
    padding: 0.5rem 0;
    transition: color 0.3s ease;
}

/* ===== NAV BAR SCROLLED STATE ===== */
.nav-bar {
    transition: background 0.4s ease, padding 0.4s ease, box-shadow 0.4s ease;
}

/* ===== ANIMATED GEOMETRIC SHAPES ===== */
.hero-geo-1,
.hero-geo-2,
.hero-geo-3,
.hero-geo-4,
.hero-geo-5 {
    animation: float 6s ease-in-out infinite;
}

.hero-geo-2 {
    animation-delay: 1s;
    animation-duration: 8s;
}

.hero-geo-3 {
    animation-delay: 2s;
    animation-duration: 7s;
}

.hero-geo-4 {
    animation-delay: 0.5s;
    animation-duration: 5s;
}

.hero-geo-5 {
    animation-delay: 3s;
    animation-duration: 10s;
}

@keyframes float {
    0%, 100% { transform: rotate(12deg) translateY(0); }
    50% { transform: rotate(12deg) translateY(-15px); }
}

.hero-geo-2 {
    animation-name: float2;
}

@keyframes float2 {
    0%, 100% { transform: rotate(-6deg) translate(0, 0); }
    50% { transform: rotate(-6deg) translate(0, -12px); }
}

.hero-geo-3 {
    animation-name: float3;
}

@keyframes float3 {
    0%, 100% { transform: rotate(18deg) translate(0, 0); }
    50% { transform: rotate(18deg) translate(0, -10px); }
}

.hero-geo-4 {
    animation-name: float4;
}

@keyframes float4 {
    0%, 100% { transform: rotate(12deg) translate(0, 0); }
    50% { transform: rotate(12deg) translate(0, -8px); }
}

.hero-geo-5 {
    animation-name: float5;
}

@keyframes float5 {
    0%, 100% { transform: rotate(-6deg) translate(0, 0); }
    50% { transform: rotate(-6deg) translate(0, -20px); }
}

/* ===== INPUT FOCUS STYLES ===== */
input:focus,
textarea:focus {
    outline: none;
}

/* ===== 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-section {
        opacity: 1;
        transform: none;
    }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 767px) {
    .hero-section {
        min-height: auto;
        padding: 80px 0 60px;
    }

    h1 {
        font-size: 2.25rem !important;
    }

    h1.br-mobile {
        font-size: 2rem;
    }

    .about-geo-1,
    .about-geo-2,
    .services-geo-1,
    .services-geo-2,
    .products-geo-1,
    .products-geo-2,
    .testimonials-geo-1,
    .testimonials-geo-2,
    .cta-geo-1,
    .cta-geo-2,
    .contact-geo-1,
    .contact-geo-2 {
        display: none;
    }
}

@media (min-width: 768px) and (max-width: 1023px) {
    .about-geo-1,
    .about-geo-2,
    .services-geo-1,
    .services-geo-2,
    .products-geo-1,
    .products-geo-2,
    .testimonials-geo-1,
    .testimonials-geo-2,
    .cta-geo-1,
    .cta-geo-2,
    .contact-geo-1,
    .contact-geo-2 {
        display: none;
    }
}
