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

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

body {
    background-color: #FDFBF7;
    color: #2A1F1A;
    font-family: 'Inter', system-ui, sans-serif;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

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

/* ========== GEOMETRIC SHAPES ========== */
.geometric-shapes {
    z-index: 0;
}

.shape-circle, .shape-triangle, .shape-square {
    position: absolute;
    opacity: 0.08;
    pointer-events: none;
}

.shape-circle {
    border-radius: 50%;
    background: #d4522a;
}

.shape-triangle {
    background: #d4522a;
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
}

.shape-square {
    background: #d4b364;
    transform: rotate(45deg);
}

.shape-1 {
    width: 300px;
    height: 300px;
    top: 15%;
    right: 5%;
}

.shape-2 {
    width: 200px;
    height: 200px;
    top: 40%;
    left: 3%;
}

.shape-3 {
    width: 150px;
    height: 150px;
    bottom: 20%;
    right: 10%;
}

.shape-4 {
    width: 100px;
    height: 100px;
    bottom: 35%;
    left: 8%;
}

.shape-5 {
    width: 80px;
    height: 80px;
    top: 60%;
    right: 25%;
}

/* ========== NAVBAR ========== */
.nav {
    background: rgba(253, 251, 247, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(42, 31, 26, 0.06);
}

.nav.scrolled {
    background: rgba(253, 251, 247, 0.95);
    box-shadow: 0 4px 30px rgba(42, 31, 26, 0.08);
}

.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: #d4522a;
    transition: width 0.3s ease;
}

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

/* Mobile menu */
.mobile-menu {
    background: rgba(253, 251, 247, 0.98);
    backdrop-filter: blur(20px);
}

.mobile-menu.open {
    translate: 0;
    opacity: 1;
    pointer-events: all;
}

.mobile-nav-link {
    position: relative;
}

/* ========== HERO ========== */
.hero {
    background: linear-gradient(160deg, #FDFBF7 0%, #F9DDD3 50%, #F4E9CC 100%);
    position: relative;
}

.hero-geo {
    transition: transform 0.6s ease;
}

.hero-geo-1 {
    animation: float1 8s ease-in-out infinite;
}

.hero-geo-2 {
    animation: float2 6s ease-in-out infinite;
}

.hero-geo-3 {
    animation: float3 10s ease-in-out infinite;
}

.hero-geo-4 {
    animation: float4 7s ease-in-out infinite;
}

@keyframes float1 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(20px, -30px) scale(1.05); }
}

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

@keyframes float3 {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(25px, 15px); }
}

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

.hero-badge {
    animation: fadeInDown 0.8s ease forwards;
}

.hero-title {
    animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-subtitle {
    animation: fadeInUp 0.8s ease 0.4s both;
}

.hero-ctas {
    animation: fadeInUp 0.8s ease 0.6s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.scroll-line {
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 0.4; height: 48px; }
    50% { opacity: 1; height: 60px; }
}

/* ========== SECTION LABELS ========== */
.section-label {
    animation: fadeInUp 0.6s ease both;
}

.section-title {
    animation: fadeInUp 0.6s ease 0.1s both;
}

.section-subtitle {
    animation: fadeInUp 0.6s ease 0.2s both;
}

/* ========== PRODUCT CARDS ========== */
.product-card {
    animation: fadeInUp 0.6s ease both;
}

.product-card:nth-child(1) { animation-delay: 0.1s; }
.product-card:nth-child(2) { animation-delay: 0.2s; }
.product-card:nth-child(3) { animation-delay: 0.3s; }
.product-card:nth-child(4) { animation-delay: 0.4s; }
.product-card:nth-child(5) { animation-delay: 0.5s; }
.product-card:nth-child(6) { animation-delay: 0.6s; }

.product-card-img {
    position: relative;
    overflow: hidden;
}

.product-card-img::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(42, 31, 26, 0.1) 0%, transparent 40%);
    pointer-events: none;
}

/* ========== ABOUT ========== */
.about {
    background: linear-gradient(180deg, #FDFBF7 0%, #F9DDD3 100%);
}

.about-geo {
    transition: transform 0.5s ease;
}

.about-geo-1 {
    animation: float1 8s ease-in-out infinite;
}

.about-geo-2 {
    animation: float2 6s ease-in-out infinite;
}

/* ========== VISIT CARDS ========== */
.visit-card {
    animation: fadeInUp 0.6s ease both;
}

.visit-card:nth-child(1) { animation-delay: 0.1s; }
.visit-card:nth-child(2) { animation-delay: 0.2s; }
.visit-card:nth-child(3) { animation-delay: 0.3s; }

/* ========== CTA BANNER ========== */
.cta-banner {
    background: linear-gradient(135deg, #d4522a 0%, #b83f1e 100%);
    position: relative;
}

.cta-geo {
    transition: transform 0.5s ease;
}

.cta-geo-1 {
    animation: float1 10s ease-in-out infinite;
}

.cta-geo-2 {
    animation: float3 8s ease-in-out infinite;
}

.cta-geo-3 {
    animation: float2 12s ease-in-out infinite;
}

.cta-geo-4 {
    animation: float4 6s ease-in-out infinite;
}

/* ========== FOOTER ========== */
.footer {
    background: #2A1F1A;
}

/* ========== SCROLL REVEAL (below fold only) ========== */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

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

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

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
    .shape-1 { width: 150px; height: 150px; }
    .shape-2 { width: 100px; height: 100px; }
    .shape-3 { width: 80px; height: 80px; }
    .shape-4 { width: 60px; height: 60px; }
    .shape-5 { width: 50px; height: 50px; }
    
    .hero-title {
        font-size: 2.75rem;
    }
    
    .hero-title br {
        display: none;
    }
    
    .hero-title span {
        display: inline;
    }
    
    .about-img-main {
        border-radius: 1.5rem;
    }
    
    .about-badge {
        left: 0 !important;
        bottom: 0 !important;
    }
    
    .about-geo {
        display: none;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.25rem;
    }
    
    .section-title {
        font-size: 2.25rem;
    }
}
