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

html {
    scroll-behavior: smooth;
    -webkit-tap-highlight-color: transparent;
}

body {
    min-height: 100vh;
    overflow-x: hidden;
}

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

/* ===== NAVBAR ===== */
.nav {
    background: rgba(254, 249, 238, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(123, 45, 91, 0.08);
    transition: background 0.4s ease, box-shadow 0.4s ease;
}

.nav.scrolled {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 4px 30px rgba(123, 45, 91, 0.08);
}

.nav-link {
    position: relative;
}

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

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

.nav-link:hover {
    color: #7B2D5B !important;
}

/* Mobile menu */
.mobile-menu {
    animation: slideDown 0.3s ease;
}

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

.mobile-link {
    display: block;
}

/* ===== HERO ===== */
.hero {
    background: linear-gradient(135deg, #fef9ee 0%, #fdf0d5 50%, #fce7ef 100%);
    position: relative;
}

.hero-pattern {
    background-image: radial-gradient(circle at 1px 1px, rgba(123, 45, 91, 0.15) 1px, transparent 0);
    background-size: 32px 32px;
}

.hero-gradient {
    background: linear-gradient(180deg, transparent 0%, rgba(123, 45, 91, 0.05) 100%);
}

.hero-img-main {
    animation: floatMain 6s ease-in-out infinite;
}

.hero-img-float {
    animation: floatFloat 5s ease-in-out infinite;
}

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

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

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

@keyframes badgeFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

/* Scroll indicator */
.scroll-indicator {
    opacity: 0.6;
}

/* ===== BUTTONS ===== */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #7B2D5B;
    color: #fff;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 14px 28px;
    border-radius: 60px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(123, 45, 91, 0.25);
}

.btn-primary:hover {
    background: #951d40;
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(123, 45, 91, 0.35);
}

.btn-arrow {
    transition: transform 0.3s ease;
}

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

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    color: #7B2D5B;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 14px 28px;
    border-radius: 60px;
    text-decoration: none;
    border: 2px solid rgba(123, 45, 91, 0.3);
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    border-color: #7B2D5B;
    background: rgba(123, 45, 91, 0.05);
    transform: translateY(-2px);
}

/* CTA buttons */
.btn-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    color: #7B2D5B;
    font-weight: 700;
    font-size: 1rem;
    padding: 16px 32px;
    border-radius: 60px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.btn-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

.btn-arrow-light {
    transition: transform 0.3s ease;
}

.btn-cta:hover .btn-arrow-light {
    transform: translateX(4px);
}

.btn-cta-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    font-weight: 600;
    font-size: 1rem;
    padding: 16px 32px;
    border-radius: 60px;
    text-decoration: none;
    border: 2px solid rgba(255, 255, 255, 0.4);
    transition: all 0.3s ease;
}

.btn-cta-secondary:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: #fff;
    transform: translateY(-2px);
}

/* ===== PRODUCT CARDS ===== */
.product-card {
    background: #fff;
    border-radius: 1.5rem;
    overflow: hidden;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 60px rgba(123, 45, 91, 0.12);
}

/* ===== CRAFT SECTION ===== */
.craft-pattern {
    background-image: radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.3) 1px, transparent 0);
    background-size: 24px 24px;
}

.craft-card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1.5rem;
    padding: 2rem;
    transition: all 0.4s ease;
}

.craft-card:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-4px);
}

.craft-icon {
    transition: transform 0.4s ease;
}

.craft-card:hover .craft-icon {
    transform: scale(1.1) rotate(5deg);
}

/* ===== TESTIMONIAL CARDS ===== */
.testimonial-card {
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 50px rgba(123, 45, 91, 0.1);
}

/* ===== VISIT SECTION ===== */
.visit-info {
    transition: box-shadow 0.4s ease;
}

.visit-info:hover {
    box-shadow: 0 16px 50px rgba(123, 45, 91, 0.1);
}

/* ===== SCROLL REVEAL (progressive enhancement) ===== */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.7s ease, transform 0.7s ease;
    }

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

    .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; }
}

/* ===== FOCUS STYLES ===== */
a:focus-visible, button:focus-visible {
    outline: 3px solid #D4883A;
    outline-offset: 2px;
    border-radius: 4px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .hero {
        min-height: auto;
        padding: 6rem 0 4rem;
    }

    .hero h1 {
        font-size: 2.8rem;
    }

    .hero-img-float {
        position: relative;
        bottom: auto;
        left: auto;
        width: 70%;
        margin-top: -2rem;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-badge-float {
        position: relative;
        top: auto;
        right: auto;
        display: inline-flex;
        margin-top: 1rem;
    }

    .about-badge {
        position: relative !important;
        bottom: auto !important;
        right: auto !important;
        margin-top: 1rem;
    }
}

/* ===== UTILITY ===== */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}
