/* ========== Base & Utilities ========== */
*, *::before, *::after {
    box-sizing: border-box;
}

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

body {
    overflow-x: hidden;
}

::selection {
    background: #C0603A;
    color: #FDF8F0;
}

/* ========== Navbar ========== */
.nav {
    background: rgba(253, 248, 240, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(94, 43, 28, 0.06);
}

.nav.scrolled {
    background: rgba(253, 248, 240, 0.95);
    box-shadow: 0 4px 30px rgba(94, 43, 28, 0.08);
}

/* ========== Mobile Menu ========== */
.mobile-link {
    position: relative;
}

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

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

/* ========== Hero Animations ========== */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-12px); }
}

@keyframes blob-move {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(8px, -8px) scale(1.05); }
    66% { transform: translate(-5px, 5px) scale(0.95); }
}

.hero-float-card {
    animation: float 4s ease-in-out infinite;
}

.hero-blob-1 {
    animation: blob-move 6s ease-in-out infinite;
}

.hero-blob-2 {
    animation: blob-move 8s ease-in-out infinite reverse;
}

@keyframes scroll-indicator {
    0% { transform: translateY(-100%); }
    100% { transform: translateY(400%); }
}

.animate-scroll-indicator {
    animation: scroll-indicator 1.5s ease-in-out infinite;
}

/* ========== Scroll Reveal ========== */
[data-animate],
.reveal-up,
.reveal-left,
.reveal-right {
    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-left {
    transform: translateX(-40px);
}

.reveal-right {
    transform: translateX(40px);
}

.is-visible {
    opacity: 1;
    transform: translate(0, 0);
}

/* Staggered delays */
.reveal-up:nth-child(2) { transition-delay: 100ms; }
.reveal-up:nth-child(3) { transition-delay: 200ms; }
.reveal-up:nth-child(4) { transition-delay: 300ms; }
.reveal-up:nth-child(5) { transition-delay: 400ms; }
.reveal-up:nth-child(6) { transition-delay: 500ms; }

/* ========== Product Cards ========== */
.group:hover .group-hover\:scale-105 {
    transform: scale(1.05);
}

/* ========== Form Styles ========== */
input:focus,
select:focus,
textarea:focus {
    border-color: #C0603A !important;
    box-shadow: 0 0 0 4px rgba(192, 96, 58, 0.1) !important;
}

/* ========== Smooth transitions for all interactive ========== */
a, button {
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ========== Responsive tweaks ========== */
@media (max-width: 768px) {
    html {
        scroll-padding-top: 70px;
    }

    .nav {
        background: rgba(253, 248, 240, 0.95);
    }
}

/* ========== Focus visible for accessibility ========== */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid #C0603A;
    outline-offset: 2px;
    border-radius: 4px;
}

/* ========== Print styles ========== */
@media print {
    .nav, .mobile-menu, #menu-btn {
        display: none !important;
    }
    body {
        background: white !important;
        color: black !important;
    }
}
