/* Premium Editorial Override */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700&display=swap');

:root {
    --primary-gold: #b38b5d;
    --dark-gold: #8c6a43;
    --black: #111111;
    --cream: #fcfcfb;
    --white: #ffffff;
    --body-bg: #fcfcfb;
    --section-bg: #ffffff;
    --font-body: 'Playfair Display', serif;
}

body, html {
    font-family: var(--font-body) !important;
    background-color: var(--body-bg) !important;
    color: var(--black) !important;
    font-weight: 400; /* Increased from 300 for better visibility */
    line-height: 1.8;
    -webkit-font-smoothing: antialiased;
    letter-spacing: 0.2px;
}

/* Sections */
.services, .about, .gallery, .testimonials, .booking, .shop, section {
    background-color: var(--body-bg) !important;
}
.services:nth-child(even), .about:nth-child(even) {
    background-color: var(--section-bg) !important;
}

/* Typography Overrides */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif !important;
    font-weight: 500 !important; /* Increased for better legibility */
    letter-spacing: -0.5px !important;
    color: var(--black) !important;
}
.section-title {
    font-size: clamp(2.5rem, 4vw, 3.5rem) !important;
    margin-bottom: 0.5rem !important;
}
.section-subtitle {
    font-family: var(--font-body) !important;
    font-size: 0.85rem !important; /* Increased from 0.75rem */
    letter-spacing: 3px !important;
    color: var(--primary-gold) !important;
    font-weight: 600 !important; /* Increased for visibility */
    margin-bottom: 1.5rem !important;
}

/* Navigation Overrides */
.navbar, .navbar.scrolled, .navbar.solid {
    background: rgba(252, 252, 251, 0.95) !important;
    backdrop-filter: blur(15px) !important;
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.05) !important;
    padding: 1.2rem 0 !important;
}
.nav-link {
    font-family: 'Playfair Display', serif !important;
    color: var(--black) !important;
    font-size: 0.9rem !important; /* Adjusted for serif */
    letter-spacing: 1px !important;
    font-weight: 500 !important; /* Increased from 400 */
    text-transform: uppercase !important;
}
.nav-link::after {
    background: var(--primary-gold) !important;
    height: 1px !important;
}
.logo h1 {
    color: var(--black) !important;
}
.logo span {
    color: var(--primary-gold) !important;
}

/* Buttons */
.btn, .btn-primary, .btn-secondary, .btn-book {
    border-radius: 2px !important;
    font-family: var(--font-body) !important;
    font-size: 0.85rem !important; /* Increased from 0.75rem */
    letter-spacing: 2px !important;
    text-transform: uppercase !important;
    font-weight: 500 !important; /* Increased for visibility */
    box-shadow: none !important;
    transition: all 0.4s ease !important;
}
.btn-primary, .btn-book {
    background: var(--black) !important;
    color: var(--white) !important;
    border: 1px solid var(--black) !important;
    padding: 1rem 2.5rem !important;
}
.btn-primary:hover, .btn-book:hover {
    background: var(--white) !important;
    color: var(--black) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06) !important;
}
.btn-secondary {
    border: 1px solid var(--black) !important;
    color: var(--black) !important;
}
.btn-secondary:hover {
    background: var(--black) !important;
    color: var(--white) !important;
}

/* Cards & Layout */
.service-card, .testimonial-card, .gallery-item {
    border-radius: 4px !important;
    box-shadow: 0 10px 40px rgba(0,0,0,0.03) !important;
    border: 1px solid rgba(0,0,0,0.02) !important;
    background: var(--white) !important;
    overflow: hidden !important;
}
.service-card:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 20px 50px rgba(0,0,0,0.06) !important;
}

/* Hero Sections adjustments */
.hero-title, .page-header h1 {
    text-shadow: none !important;
}
.hero-subtitle {
    letter-spacing: 4px !important;
    font-size: 1.5rem !important;
    text-shadow: none !important;
}
.hero-overlay {
    background: linear-gradient(90deg, rgba(17, 17, 17, 0.85) 0%, rgba(17, 17, 17, 0.6) 50%, rgba(17, 17, 17, 0.85) 100%) !important;
}

/* Footer Overrides */
.footer {
    background: #111 !important;
    color: #fff !important;
}
.footer p, .footer li {
    color: rgba(255,255,255,0.7) !important;
    font-weight: 300 !important;
}
.footer h3 {
    color: #fff !important;
    letter-spacing: 2px !important;
    font-size: 0.9rem !important;
}

/* Shop Overrides */
.shop-hero {
    background: #111 !important; /* Elegant charcoal */
    min-height: 40vh !important;
}
.shop-hero::before {
    background: transparent !important; /* Remove wave SVG */
    opacity: 0 !important;
}
.shop-hero .hero-title,
.shop-hero .hero-subtitle {
    color: var(--white) !important;
}
.product-categories {
    border-bottom: 1px solid rgba(0,0,0,0.05) !important;
    box-shadow: none !important;
}
.category-btn {
    border-radius: 2px !important; 
    font-family: var(--font-body) !important;
    font-size: 0.8rem !important;
    letter-spacing: 1.5px !important;
    font-weight: 400 !important;
    text-transform: uppercase !important;
    border: 1px solid var(--black) !important;
    color: var(--black) !important;
    background: transparent !important;
    box-shadow: none !important;
}
.category-btn.active, .category-btn:hover {
    background: var(--black) !important;
    color: var(--white) !important;
    transform: none !important;
    box-shadow: none !important;
}

/* ===================================
   PREMIUM RESPONSIVE OPTIMIZATION
   =================================== */
@media (max-width: 968px) {
    .section-title {
        font-size: clamp(2.2rem, 5vw, 3rem) !important;
    }
    .hero-title, .page-header h1 {
        font-size: clamp(2.8rem, 6vw, 3.8rem) !important;
    }
}

@media (max-width: 768px) {
    /* Base typography adjustments for smaller screens */
    body, html {
        font-size: 15px !important;
    }
    
    /* Elegant Spacing */
    .services, .about, .gallery, .testimonials, .booking, .shop, section {
        padding: 4rem 1.5rem !important; /* Condense padding on mobile */
    }

    /* Typography Scaling */
    .section-title {
        font-size: clamp(2rem, 6vw, 2.5rem) !important;
        margin-bottom: 0.8rem !important;
    }
    
    .section-subtitle {
        font-size: 0.75rem !important;
        letter-spacing: 2px !important;
        margin-bottom: 1rem !important;
    }

    /* Hero adjustments */
    .hero {
        min-height: auto !important;
        height: auto !important;
        padding-top: 140px !important; 
        padding-bottom: 3rem !important;
        align-items: flex-start !important; /* Prevent logo cutting off by pinning to top */
    }
    
    .hero-title, .page-header h1 {
        font-size: clamp(2.2rem, 8vw, 2.8rem) !important;
        line-height: 1.1 !important;
    }
    .hero-subtitle {
        font-size: 1.1rem !important;
        letter-spacing: 2px !important;
    }

    /* Button adjustments */
    .btn, .btn-primary, .btn-secondary, .btn-book {
        padding: 0.8rem 1.5rem !important;
        font-size: 0.8rem !important;
        width: 100% !important; /* Full width on mobile */
        text-align: center !important;
        margin-top: 0.5rem !important;
    }

    /* Navbar & Header */
    .navbar, .navbar.solid, .navbar.scrolled {
        padding: 0.8rem 1rem !important;
        background: var(--white) !important; /* Force solid white on mobile *always* to prevent bleed-through */
        z-index: 10000 !important;
    }
    
    .nav-menu {
        z-index: 9999 !important;
        height: calc(100vh - 65px) !important; /* Full height menu */
        overflow-y: auto !important;
        background: var(--white) !important; /* Solid background */
    }
    
    .nav-menu.active {
        background: var(--white) !important;
        backdrop-filter: none !important;
        border-bottom: none !important;
    }
    
    .nav-link {
        font-size: 0.9rem !important;
        padding: 1rem 0 !important;
    }
    
    .mobile-menu-btn {
        color: var(--black) !important; /* Ensure hamburger menu is clearly visible */
    }

    /* Logo scaling optimizations */
    .hero-logo {
        height: auto !important;
        max-height: 180px !important;
        width: 100% !important;
        max-width: 250px !important;
        margin-bottom: 1rem !important;
    }

    .vejic-credit .credit-logo-img {
        height: clamp(35px, 8vw, 50px) !important;
    }

    /* Scrollytelling Video Text Restructuring */
    #overlays h2 {
        font-size: clamp(2rem, 8vw, 2.5rem) !important;
        -webkit-text-stroke: 1px rgba(255,255,255,0.95) !important;
        text-shadow: 0 4px 20px rgba(0,0,0,0.8) !important;
    }
    
    #overlays p {
        font-size: 1rem !important;
        letter-spacing: 0.5px !important;
    }
    
    /* Stop overlays from clipping */
    #overlay-2, #overlay-3 {
        left: 5% !important;
        right: 5% !important;
        text-align: center !important;
        max-width: 90% !important;
    }

    /* Feature Cards */
    .service-card, .testimonial-card, .gallery-item {
        margin-bottom: 1rem !important;
    }

    /* Shop category buttons */
    .category-filters {
        flex-direction: column !important;
        width: 100% !important;
        padding: 0 1rem !important;
    }
    
    .category-btn {
        width: 100% !important;
        margin-bottom: 0.5rem !important;
        padding: 0.8rem !important;
    }
}

/* ===================================
   FOOTER CREDIT - VEJIC STUDIO
   =================================== */
.vejic-credit {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 15px !important;
    font-family: 'Poppins', sans-serif !important;
    margin-top: 10px !important;
}

.vejic-credit .credit-text {
    font-weight: 600 !important;
    font-size: 0.95rem !important;
    letter-spacing: 0.5px !important;
}

.vejic-credit .credit-logo {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-end !important;
    position: relative !important;
}

.vejic-credit .credit-logo-img {
    height: 60px !important;
    width: auto !important;
    object-fit: contain !important;
    vertical-align: middle !important;
    mix-blend-mode: screen !important;
}

