/* ============================================
   EUROPEAN MEAT BOUTIQUE — Custom Styles
   Premium Dark Luxury Theme
   ============================================ */

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

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

body {
    overflow-x: hidden;
}

::selection {
    background: #C9A96E;
    color: #0D0D0D;
}

/* ---- Scrollbar ---- */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #0D0D0D;
}
::-webkit-scrollbar-thumb {
    background: #2A2520;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #C9A96E;
}

/* ---- Navbar ---- */
#navbar {
    background: transparent;
    transition: background 0.5s ease, box-shadow 0.5s ease, padding 0.5s ease;
}

#navbar.scrolled {
    background: rgba(13, 13, 13, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: 0 1px 0 rgba(201, 169, 110, 0.1);
}

/* ---- Mobile Menu ---- */
#mobile-menu.active {
    opacity: 1;
    pointer-events: all;
}

#mobile-menu:not(.active) {
    opacity: 0;
    pointer-events: none;
}

.menu-line {
    transition: transform 0.3s ease, opacity 0.3s ease;
}

#menu-btn.active .menu-line:first-child {
    transform: rotate(45deg) translate(3px, 3px);
}
#menu-btn.active .menu-line:nth-child(2) {
    opacity: 0;
}

.mobile-link {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

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

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

/* ---- Hero ---- */
#hero {
    position: relative;
}

.hero-content {
    opacity: 0;
    transform: translateY(40px);
    animation: heroReveal 1.2s ease forwards;
}

@keyframes heroReveal {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

#hero-img {
    animation: heroZoom 20s ease infinite alternate;
}

@keyframes heroZoom {
    from { transform: scale(1.05); }
    to { transform: scale(1.15); }
}

/* Scroll indicator */
@keyframes scrollIndicator {
    0% { top: -16px; opacity: 0; }
    20% { opacity: 1; }
    80% { opacity: 1; }
    100% { top: 48px; opacity: 0; }
}

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

/* ---- About Section ---- */
.about-image {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.about-image.visible {
    opacity: 1;
    transform: translateX(0);
}

.about-content {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.8s ease 0.2s, transform 0.8s ease 0.2s;
}

.about-content.visible {
    opacity: 1;
    transform: translateX(0);
}

/* ---- Products ---- */
.products-header {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.products-header.visible {
    opacity: 1;
    transform: translateY(0);
}

.product-card {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.product-card.visible {
    opacity: 1;
    transform: translateY(0);
}

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

/* ---- Craft Section ---- */
.craft-header {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.craft-header.visible {
    opacity: 1;
    transform: translateY(0);
}

.craft-feature {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.craft-feature.visible {
    opacity: 1;
    transform: translateY(0);
}

.craft-feature:nth-child(1) { transition-delay: 0s; }
.craft-feature:nth-child(2) { transition-delay: 0.1s; }
.craft-feature:nth-child(3) { transition-delay: 0.2s; }
.craft-feature:nth-child(4) { transition-delay: 0.3s; }

/* ---- Visit Section ---- */
.visit-content {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.visit-content.visible {
    opacity: 1;
    transform: translateX(0);
}

.visit-image {
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.8s ease 0.2s, transform 0.8s ease 0.2s;
}

.visit-image.visible {
    opacity: 1;
    transform: translateX(0);
}

/* ---- Contact ---- */
.contact-header {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.contact-header.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ---- Footer ---- */
footer > div > div:first-child > div > div {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

footer.visible > div > div:first-child > div > div:nth-child(1) { transition-delay: 0s; }
footer.visible > div > div:first-child > div > div:nth-child(2) { transition-delay: 0.1s; }
footer.visible > div > div:first-child > div > div:nth-child(3) { transition-delay: 0.2s; }

footer.visible > div > div:first-child > div > div {
    opacity: 1;
    transform: translateY(0);
}

/* ---- Responsive ---- */
@media (max-width: 768px) {
    .font-display {
        line-height: 1.1;
    }
    
    #hero h1 {
        font-size: 2.5rem;
    }
    
    #hero h1 br {
        display: none;
    }
}

/* ---- Reduced Motion ---- */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}
