/* ============================================
   TUTUN PREMIUM — style.css
   Theme: Clean Minimal · Serif Elegant · Burgundy
   ============================================ */

/* ----------------------
   1. CSS Variables
   ---------------------- */
:root {
    --cream:       #FAF8F5;
    --cream-dark:  #F0EDE8;
    --charcoal:    #1C1C1C;
    --charcoal-mid:#4A4A4A;
    --burgundy:    #8B1A2F;
    --burgundy-dk: #6B1224;
    --taupe:       #C4A882;
    --taupe-light: #E8DDD0;
    --white:       #FFFFFF;
    --border:      #E0D9D0;

    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body:    'Lato', sans-serif;

    --nav-height: 80px;
    --promo-height: 36px;

    --shadow-sm: 0 2px 12px rgba(28, 28, 28, 0.06);
    --shadow-md: 0 6px 30px rgba(28, 28, 28, 0.10);

    --radius: 2px;
    --transition: 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--cream);
    color: var(--charcoal);
    font-family: var(--font-body);
    font-weight: 400;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

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

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* ----------------------
   3. Promo Bar
   ---------------------- */
.promo-bar {
    height: var(--promo-height);
    background-color: var(--burgundy);
    color: var(--white);
    overflow: hidden;
    display: flex;
    align-items: center;
}

.promo-track {
    display: flex;
    white-space: nowrap;
    animation: marquee 28s linear infinite;
}

.promo-text {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding-right: 2rem;
    flex-shrink: 0;
}

@keyframes marquee {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

/* ----------------------
   4. Header & Nav
   ---------------------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background-color: var(--cream);
    border-bottom: 1px solid var(--border);
    transition: box-shadow var(--transition);
}

.site-header.scrolled {
    box-shadow: var(--shadow-sm);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    height: var(--nav-height);
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
}

/* Left links */
.nav-links {
    display: flex;
    gap: 2.5rem;
}

.nav-links--left {
    justify-content: flex-end;
}

.nav-links--right {
    justify-content: flex-start;
}

.nav-links a {
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--charcoal-mid);
    position: relative;
    padding-bottom: 2px;
    transition: color var(--transition);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--burgundy);
    transition: width var(--transition);
}

.nav-links a:hover {
    color: var(--burgundy);
}

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

/* Center logo */
.nav-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 1;
    gap: 2px;
    padding: 0 2rem;
}

.logo-main {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 0.25em;
    color: var(--charcoal);
    transition: color var(--transition);
}

.logo-sub {
    font-family: var(--font-body);
    font-size: 0.55rem;
    font-weight: 700;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    color: var(--burgundy);
}

.nav-logo:hover .logo-main {
    color: var(--burgundy);
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    grid-column: 3;
    justify-self: end;
}

.hamburger span {
    display: block;
    width: 22px;
    height: 1.5px;
    background-color: var(--charcoal);
    transition: transform var(--transition), opacity var(--transition);
}

/* Mobile menu drawer */
.mobile-menu {
    display: none;
    background-color: var(--cream);
    border-top: 1px solid var(--border);
    padding: 1.5rem 2rem;
}

.mobile-menu ul {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.mobile-menu a {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--charcoal-mid);
    transition: color var(--transition);
}

.mobile-menu a:hover {
    color: var(--burgundy);
}

.mobile-menu.open {
    display: block;
}

/* ----------------------
   5. Hero Section
   ---------------------- */
.hero {
    position: relative;
    height: calc(100vh - var(--nav-height) - var(--promo-height));
    min-height: 520px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

#hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(250, 248, 245, 0.35) 0%,
        rgba(28, 28, 28, 0.55) 100%
    );
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 0 1.5rem;
    animation: fadeUp 1.1s ease both;
}

.hero-content h1 {
    font-family: var(--font-heading);
    font-size: clamp(2.8rem, 7vw, 6rem);
    font-weight: 700;
    color: var(--white);
    letter-spacing: 0.04em;
    line-height: 1.1;
    margin-bottom: 1rem;
}

.hero-content .subtitle {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 300;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.8);
    margin-bottom: 2.5rem;
}

.btn-hero-cta {
    display: inline-block;
    padding: 0.9rem 2.8rem;
    border: 1px solid var(--white);
    color: var(--white);
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    transition: background-color var(--transition), color var(--transition);
}

.btn-hero-cta:hover {
    background-color: var(--white);
    color: var(--charcoal);
}

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

/* ----------------------
   6. Features Section
   ---------------------- */
.features-section {
    background-color: var(--white);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 3rem 2rem;
}

.features-grid {
    max-width: 900px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    text-align: center;
}

.feature-item i {
    font-size: 1.4rem;
    color: var(--burgundy);
    margin-bottom: 0.75rem;
}

.feature-item h3 {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 0.35rem;
    color: var(--charcoal);
}

.feature-item p {
    font-size: 0.82rem;
    color: var(--charcoal-mid);
    letter-spacing: 0.02em;
}

/* ----------------------
   7. Section Titles
   ---------------------- */
.section-title {
    font-family: var(--font-heading);
    font-size: clamp(1.6rem, 3.5vw, 2.4rem);
    font-weight: 600;
    color: var(--charcoal);
    text-align: center;
    margin-bottom: 0.6rem;
    letter-spacing: 0.02em;
}

.section-subtitle {
    font-size: 0.9rem;
    color: var(--charcoal-mid);
    text-align: center;
    max-width: 560px;
    margin: 0 auto 3rem;
    line-height: 1.8;
}

.section-divider {
    display: block;
    width: 40px;
    height: 1px;
    background-color: var(--burgundy);
    margin: 0.75rem auto 3rem;
}

/* ----------------------
   8. Products Preview (Homepage)
   ---------------------- */
.products-preview-section {
    padding: 5rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* ----------------------
   9. Product Grid & Cards
   ---------------------- */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 2rem;
}

.product-card {
    background-color: var(--white);
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    transition: box-shadow var(--transition), transform var(--transition);
}

.product-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

.product-image-container {
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background-color: var(--cream-dark);
}

.product-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .product-image-container img {
    transform: scale(1.04);
}

.product-title {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    color: var(--charcoal);
    padding: 1rem 1.2rem 0.25rem;
}

.product-price {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: var(--burgundy);
    padding: 0 1.2rem 0.4rem;
}

.product-description {
    font-size: 0.8rem;
    color: var(--charcoal-mid);
    padding: 0 1.2rem 0.75rem;
    flex-grow: 1;
}

.btn-call {
    display: block;
    margin: 0 1.2rem 1.2rem;
    padding: 0.7rem;
    background-color: var(--burgundy);
    color: var(--white);
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    text-align: center;
    border: 1px solid var(--burgundy);
    transition: background-color var(--transition), color var(--transition);
}

.btn-call:hover {
    background-color: transparent;
    color: var(--burgundy);
}

/* ----------------------
   10. About / Stats Section
   ---------------------- */
.about-section {
    background-color: var(--cream-dark);
    padding: 5rem 2rem;
    text-align: center;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 700px;
    margin: 0 auto;
}

.stat-item i {
    font-size: 1.3rem;
    color: var(--taupe);
    margin-bottom: 0.6rem;
}

.stat-item h3 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--burgundy);
    margin-bottom: 0.25rem;
}

.stat-item p {
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--charcoal-mid);
}

/* ----------------------
   11. Testimonials
   ---------------------- */
.testimonials-section {
    padding: 5rem 2rem;
    max-width: 860px;
    margin: 0 auto;
}

.testimonial-slider {
    padding-bottom: 3rem !important;
}

.testimonial-card {
    background-color: var(--white);
    border: 1px solid var(--border);
    padding: 2.5rem 2rem;
    text-align: center;
}

.stars {
    color: var(--taupe);
    font-size: 1rem;
    letter-spacing: 0.15em;
    margin-bottom: 1rem;
}

.testimonial-card .quote {
    font-family: var(--font-heading);
    font-style: italic;
    font-size: 1.05rem;
    color: var(--charcoal);
    line-height: 1.7;
    margin-bottom: 1.25rem;
}

.testimonial-card footer {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--burgundy);
}

.swiper-pagination-bullet-active {
    background-color: var(--burgundy) !important;
}

/* ----------------------
   12. Newsletter
   ---------------------- */
.newsletter-section {
    background-color: var(--charcoal);
    padding: 4.5rem 2rem;
    text-align: center;
}

.newsletter-title {
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 3vw, 2rem);
    color: var(--white);
    margin-bottom: 0.6rem;
}

.newsletter-section p {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.55);
    letter-spacing: 0.08em;
    margin-bottom: 2rem;
}

.newsletter-form {
    display: flex;
    justify-content: center;
    gap: 0;
    max-width: 440px;
    margin: 0 auto;
}

.newsletter-form input {
    flex: 1;
    padding: 0.85rem 1.2rem;
    border: 1px solid rgba(255,255,255,0.2);
    background-color: rgba(255,255,255,0.07);
    color: var(--white);
    font-family: var(--font-body);
    font-size: 0.85rem;
    outline: none;
    transition: border-color var(--transition);
}

.newsletter-form input::placeholder {
    color: rgba(255,255,255,0.35);
}

.newsletter-form input:focus {
    border-color: var(--burgundy);
}

.btn-subscribe {
    padding: 0.85rem 1.6rem;
    background-color: var(--burgundy);
    color: var(--white);
    border: 1px solid var(--burgundy);
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background-color var(--transition);
    white-space: nowrap;
}

.btn-subscribe:hover {
    background-color: var(--burgundy-dk);
}

/* ----------------------
   13. Product Pages (galeata / punga)
   ---------------------- */
.page-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3.5rem 2rem 5rem;
}

.page-title {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 600;
    color: var(--charcoal);
    margin-bottom: 0.5rem;
    letter-spacing: 0.02em;
}

.page-title-rule {
    display: block;
    width: 48px;
    height: 1px;
    background-color: var(--burgundy);
    margin-bottom: 2.5rem;
}

/* ----------------------
   14. Filter Section
   ---------------------- */
.filter-section {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    padding: 1.75rem 2rem;
    background-color: var(--white);
    border: 1px solid var(--border);
    margin-bottom: 2.5rem;
}

.price-filter,
.brand-filter {
    flex: 1;
    min-width: 220px;
}

.price-filter h3,
.brand-filter h3 {
    font-family: var(--font-body);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--charcoal-mid);
    margin-bottom: 1rem;
}

/* noUiSlider overrides */
#price-slider {
    margin: 0.75rem 0.5rem 1rem;
}

.noUi-connect {
    background: var(--burgundy) !important;
}

.noUi-handle {
    border-radius: 0 !important;
    box-shadow: none !important;
    border: 2px solid var(--burgundy) !important;
    background: var(--white) !important;
    cursor: pointer;
}

.noUi-handle::before,
.noUi-handle::after {
    display: none !important;
}

.noUi-target {
    background: var(--border) !important;
    border: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    height: 3px !important;
}

#slider-values {
    font-size: 0.8rem;
    color: var(--charcoal-mid);
    margin-top: 0.5rem;
}

#slider-values #min-value,
#slider-values #max-value {
    font-weight: 700;
    color: var(--burgundy);
}

/* Brand buttons */
.brand-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.brand-btn {
    padding: 0.4rem 1rem;
    border: 1px solid var(--border);
    background: transparent;
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--charcoal-mid);
    cursor: pointer;
    transition: border-color var(--transition), color var(--transition), background-color var(--transition);
}

.brand-btn:hover {
    border-color: var(--burgundy);
    color: var(--burgundy);
}

.brand-btn.active {
    background-color: var(--burgundy);
    border-color: var(--burgundy);
    color: var(--white);
}

/* ----------------------
   15. Footer
   ---------------------- */
.site-footer {
    background-color: var(--charcoal);
    color: rgba(255,255,255,0.65);
}

.footer-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 4rem 2rem 2.5rem;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 3rem;
}

.footer-brand .logo-main {
    color: var(--white);
    font-size: 1.3rem;
}

.footer-brand .logo-sub {
    color: var(--burgundy);
}

.footer-brand p {
    margin-top: 0.75rem;
    font-size: 0.8rem;
    line-height: 1.7;
    color: rgba(255,255,255,0.45);
}

.footer-col h4 {
    font-family: var(--font-body);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--white);
    margin-bottom: 1rem;
}

.footer-col p {
    font-size: 0.82rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-col i {
    color: var(--burgundy);
    width: 14px;
    flex-shrink: 0;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 1.25rem 2rem;
    text-align: center;
    font-size: 0.72rem;
    color: rgba(255,255,255,0.25);
    letter-spacing: 0.06em;
}

/* ----------------------
   16. Responsive
   ---------------------- */
@media (max-width: 768px) {

    :root {
        --nav-height: 64px;
    }

    /* Nav: hide desktop links, show hamburger */
    .nav-links {
        display: none;
    }

    .nav-container {
        grid-template-columns: 1fr auto 1fr;
    }

    .hamburger {
        display: flex;
    }

    /* Hero */
    .hero {
        height: 75vh;
        min-height: 400px;
    }

    /* Features */
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    /* Products */
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    /* Stats */
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    /* Filter */
    .filter-section {
        flex-direction: column;
        gap: 1.5rem;
    }

    /* Footer */
    .footer-inner {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    /* Newsletter */
    .newsletter-form {
        flex-direction: column;
    }

    .btn-subscribe {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .product-grid {
        grid-template-columns: 1fr;
    }
}
