/* --- Global Styles & Variables --- */
:root {
    --primary-color: #0d6efd;
    --primary-dark: #0a58ca;
    --secondary-color: #0dcaf0;
    --dark-color: #0f172a;
    --light-color: #f8fafc;
    --text-color: #334155;
    --border-color: #e2e8f0;
    --white: #ffffff;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-color);
    background-color: var(--white);
    line-height: 1.6;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

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

.mt-50 {
    margin-top: 50px;
}

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

ul {
    list-style: none;
}

/* --- Typography Helpers --- */
.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-subtitle {
    display: inline-block;
    color: var(--primary-color);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 10px;
    font-size: 0.9rem;
}

.section-title h2 {
    font-size: 2.1rem;
    color: var(--dark-color);
    margin-bottom: 15px;
}

.section-desc {
    max-width: 700px;
    margin: 0 auto;
    color: #64748b;
}

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
    text-align: center;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}


.btn-secondary:hover {
    background-color: var(--white);
    color: var(--primary-color);
    transform: translateY(-2px);
}


.btn-third {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}


.btn-third:hover {
    background-color: white;
    color: var(--primary-dark);
    border: 2px solid var(--primary-dark);
    transform: translateY(-2px);
}

.btn-block {
    display: block;
    width: 100%;
    margin-bottom: 15px;
}

/* --- Header & Navigation --- */
/* --- Header & Navigation --- */
header {
    background-color: rgba(255, 255, 255, 0.95);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    backdrop-filter: blur(5px);
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

header.scrolled {
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* --- Top Bar --- */
.top-bar {
    background-color: var(--primary-dark);
    color: var(--white);
    width: 100%;
}

.top-bar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 35px;
}

.top-social {
    display: flex;
    gap: 15px;
}

.top-social a {
    color: var(--white);
    transition: var(--transition);
    opacity: 0.8;
    font-size: 0.9rem;
}

.top-social a:hover {
    opacity: 1;
    transform: translateY(-2px);
}

.lang-switcher {
    display: flex;
    gap: 10px;
    align-items: center;
}

.lang-switcher a {
    display: inline-block;
    width: 22px;
    height: 15px;
    border-radius: 2px;
    overflow: hidden;
    opacity: 0.6;
    transition: var(--transition);
    box-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

.lang-switcher a:hover,
.lang-switcher a.active {
    opacity: 1;
    transform: scale(1.15);
}

.lang-switcher img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* --- Header & Navigation --- */
header {
    background-color: rgba(255, 255, 255, 0.95);
    position: sticky; /* Ļauj elementam "pielipt" augšai, kad līdz tam aizritina */
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    backdrop-filter: blur(5px);
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

header.scrolled {
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Nav Container adjustments */
.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
    transition: height 0.3s ease;
}

header.scrolled .nav-container {
    height: 70px; /* Ritinot lapu, izvēlne nedaudz saraujas smukumam */
}

/* Updated logo constraint */
.logo a img {
    max-height: 50px;
    display: block;
    transition: var(--transition);
}

header.scrolled .logo a img {
    max-height: 45px;
}

/* Updated logo constraint */
.logo a img {
    max-height: 50px;
    display: block;
}

.nav-links {
    display: flex;
}

.nav-links a {
    padding: 10px 20px;
    font-weight: 600;
    color: var(--dark-color);
    transition: var(--transition);
}

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

.menu-toggle {
    display: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    transition: var(--transition);
    background-color: var(--dark-color);
}

/* --- Hero Section --- */
.hero-section {
    position: relative;
    padding: 200px 0 120px 0;
    color: var(--white);
    overflow: hidden;
}

/* Video Background Rules */
.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

/* Perfekti aizpilda sākuma ekrāna fonu neatkarīgi no teksta garuma */
.video-background video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

/* Saglabā 16:9 proporciju YouTube video Ražošanas sadaļā */
.video-background iframe {
    width: 100vw;
    height: 56.25vw;
    min-height: 100vh;
    min-width: 177.77vh;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Blue Overlay over the video */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /*background: linear-gradient(135deg, rgba(15, 23, 42, 0.85) 0%, rgba(30, 58, 138, 0.85) 100%);*/
    z-index: 1;
}

.hero-content {
    max-width: 800px;
    text-align: center;
    position: relative;
    z-index: 2; /* Nodrošina, ka teksts ir virs overlay */
}

.hero-content h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 25px;
    font-weight: 700;
} 

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

.hero-buttons .btn {
    margin: 0 10px;
}

.hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    z-index: 2; /* Z-index lai vilnis būtu virs video */
}

.hero-wave svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 70px;
}

.hero-wave .shape-fill {
    fill: #ffffff;
}


/* --- Tikai Krievu versijas Hero sadaļai --- */
.hero-ru .hero-content {
    max-width: 1050px;
}

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


/* --- Highlights Section --- */
.highlights {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    position: relative;
    z-index: 10;
    margin-bottom: 80px;
}

.highlight-card {
    background-color: var(--white);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    text-align: center;
    border-top: 4px solid var(--secondary-color);
    transition: var(--transition);
}

.highlight-card:hover {
    transform: translateY(-5px);
}

.highlight-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.highlight-card h3 {
    margin-bottom: 15px;
    color: var(--dark-color);
}


/* --- About Section --- */
.about-section {
    padding: 100px 0;
    background-image: url(images/zale.jpg);
    background-position: center;
    overflow: hidden; /* Novērš horizontālo ritināšanu */
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Atgriežamies pie 2 kolonnām */
    gap: 40px;
    align-items: center;
    position: relative; /* Enkurs absolūtajai pozīcijai attēlam */
}

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--dark-color);
}

.about-text p {
    margin-bottom: 20px;
    color: var(--text-color);
}

/* Attēla pārklāšanās efekts */
.about-image {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-35%, -50%); /* Nocentrē tieši starp kolonnām */
    z-index: 10;
    width: 280px; /* Bildes platums - varat pielāgot pēc vajadzības */
    pointer-events: none; /* Ļauj lietotājam iezīmēt tekstu, kas atrodas zem bildes */
}

.about-image img {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 15px 25px rgba(0,0,0,0.15)); /* Smuka ēna ap pudelēm */
}

/* Pievienojam iekšējās atkāpes, lai bilde pilnībā neaizsegtu tekstu */
.about-text {
    padding-right: 140px;
}

.about-stats {
    padding-left: 140px;
}

.awards-badge {
    background-color: var(--white);
    padding: 20px;
    border-left: 4px solid var(--primary-color);
    border-radius: 0 8px 8px 0;
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
    margin-top: 30px;
}

.awards-badge h4 {
    color: var(--dark-color);
    margin-bottom: 8px;
}

.about-stats {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.stat-box {
    background-color: var(--white);
    padding: 25px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.stat-label {
    font-size: 0.9rem;
    color: #64748b;
}

/* --- Production Section --- */
.production-section {
    padding: 100px 0;
}

.production-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.prod-card {
    padding: 40px 30px;
    background-color: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    transition: var(--transition);
}

.prod-card:hover {
    box-shadow: 0 15px 30px rgba(13, 110, 253, 0.08);
    border-color: var(--primary-color);
}

.prod-icon {
    width: 60px;
    height: 60px;
    background-color: rgba(13, 110, 253, 0.1);
    color: var(--primary-color);
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 25px;
}

.prod-card h3 {
    margin-bottom: 15px;
    color: var(--dark-color);
}


/* --- Production Video Section --- */
.production-video-section {
    position: relative;
    padding: 180px 0;
    text-align: center;
    color: var(--white);
    overflow: hidden;
}

/* Fona video konteiners izmanto to pašu .video-background klasi no Hero sadaļas, 
tāpēc mums šeit nav jāraksta jauni izmēru parametri videoklipam! */

/* Tumšs pārklājums virs video */
.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.65); /* Zilgani melns caurspīdīgs fons */
    z-index: 1;
}

.video-content {
    position: relative;
    z-index: 2; /* Nodrošina, ka teksts ir virs tumšā pārklājuma */
}

.video-content h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--white);
}

.video-content p {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* --- Products Showcase Section Updates --- */
.products-section {
    padding: 100px 0;
    background-color: var(--light-color);
}

.product-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 50px;
}

.filter-btn {
    background-color: var(--white);
    border: 1px solid var(--border-color);
    padding: 10px 24px;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    color: var(--text-color);
}

.filter-btn:hover, .filter-btn.active {
    background-color: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

/* Strict 4 Column Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.product-card {
    background-color: var(--white);
    border-radius: 16px;
    padding: 25px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.02);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    border: 1px solid transparent;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.07);
    border-color: rgba(13, 110, 253, 0.2);
}

/* Updated Image Placeholder for Actual Photos */
.product-img-placeholder {
    height: 220px; /* Taller to accommodate bottle proportions */
    background: #ffffff; /* Clean white background for product photos */
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    margin-bottom: 20px;
    padding: 15px; /* Adds breathing room around the image */
}

/* Image scaling inside the container */
.product-img-placeholder img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain; /* Prevents stretching and ensures the whole bottle fits */
    transition: transform 0.3s ease;
}

.product-card:hover .product-img-placeholder img {
    transform: scale(1.05); /* Slight zoom effect on hover */
}

.badge {
    position: absolute;
    top: 10px;
    left: 10px;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
    text-transform: uppercase;
    z-index: 2; /* Ensures badge stays above the image */
}

.badge-blue { background-color: var(--primary-color); color: var(--white); }
.badge-cyan { background-color: var(--secondary-color); color: var(--dark-color); }
.badge-orange { background-color: #ea580c; color: var(--white); }
.badge-green { background-color: #16a34a; color: var(--white); }
.badge-yellow { background-color: #ca8a04; color: var(--white); }
.badge-red { background-color: #dc2626; color: var(--white); }
.badge-purple { background-color: #9333ea; color: var(--white); }

.product-card h3 {
    font-size: 1.15rem;
    color: var(--dark-color);
    margin-bottom: 10px;
}

.product-card p {
    font-size: 0.9rem;
    color: #64748b;
    margin-bottom: 15px;
    flex-grow: 1;
}

.product-spec {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary-color);
    border-top: 1px solid var(--border-color);
    padding-top: 10px;
}

/* Custom Bottom Banner for Personal Label */
.custom-label-banner {
    background: linear-gradient(white, white) padding-box, linear-gradient(135deg, var(--primary-color), var(--secondary-color)) border-box;
    border: 2px solid transparent;
    border-radius: 16px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(13, 110, 253, 0.1);
    transition: var(--transition);
}

.custom-label-banner:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(13, 110, 253, 0.15);
}

.custom-label-content h3 {
    font-size: 1.4rem;
    color: var(--dark-color);
    margin: 0;
}

.custom-label-content i {
    color: var(--primary-color);
    margin-right: 10px;
}

/* --- Delivery Section --- */


.delivery-section {
    padding: 100px 0;
    background-color: var(--white);
}

.delivery-wrapper {
    max-width: 1100px;
    margin: 0 auto;
}

.text-left {
    text-align: left;
    margin-bottom: 40px;
}

.text-left h2 {
    margin-bottom: 0;
}

.delivery-content {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    align-items: stretch;
}

/* Kāršu režģis kreisajā pusē */
.delivery-features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.delivery-card {
    background-color: var(--light-color);
    border: 1px solid var(--border-color);
    padding: 25px 20px;
    border-radius: 12px;
    display: flex;
    align-items: flex-start;
    gap: 15px;
    transition: var(--transition);
}

.delivery-card:hover {
    background-color: var(--white);
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    border-color: rgba(13, 110, 253, 0.3);
    transform: translateY(-3px);
}

.del-icon {
    background-color: rgba(13, 110, 253, 0.1);
    color: var(--primary-color);
    width: 45px;
    height: 45px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.delivery-card h4 {
    color: var(--dark-color);
    margin-bottom: 6px;
    font-size: 1.05rem;
}

.delivery-card p {
    font-size: 0.9rem;
    color: #64748b;
    margin: 0;
    line-height: 1.5;
}

/* Tumšais CTA bloks labajā pusē */
.delivery-cta-box {
    background: linear-gradient(135deg, var(--dark-color) 0%, #1e293b 100%);
    color: var(--white);
    padding: 40px;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-shadow: 0 15px 30px rgba(15, 23, 42, 0.15);
}

.delivery-cta-box h3 {
    color: var(--white);
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.delivery-cta-box p {
    color: #94a3b8;
    margin-bottom: 30px;
    font-size: 0.95rem;
}

/* Jaunā btn-third klase */
.btn-third {
    background-color: transparent;
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-third:hover {
    background-color: var(--white);
    color: var(--dark-color);
    border-color: var(--white);
}






/* --- Footer (Zilā tēma) --- */
/* --- Footer (Zilā tēma) --- */
.site-footer {
    position: relative; /* Svarīgi, lai vilnis turētos savā vietā */
    background-color: #f0f8ff; /* Ļoti gaiši zils fons */
    color: #334155;
    padding-top: 100px; /* Nedaudz palielināts padding, lai vilnim būtu vieta */
    /* border-top ir noņemts, jo to tagad aizstāj vilnis */
}

/* Kājnes viļņa stili */
.footer-wave {
    position: absolute;
    top: -1px; /* -1px paslēpj jebkādas mikroskopiskas šķirbas starp sadaļām */
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    transform: rotate(180deg); /* Apgriežam vilni otrādi, lai tas būtu augšpusē */
}

.footer-wave svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 60px; /* Viļņa augstums */
}

.footer-wave .shape-fill {
    fill: #ffffff; /* Baltā krāsa saplūst ar iepriekšējās sadaļas fonu */
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr 1fr;
    gap: 50px;
    padding-bottom: 50px;
    position: relative;
    z-index: 2; /* Nodrošina, ka saturs ir virs viļņa (ja tas pārklājas) */
}

.footer-col p {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
    color: #1e293b;
}

.footer-logo {
    max-width: 180px;
    margin-bottom: 20px;
    display: block;
}

.eraf-logo-img {
    max-width: 100%;
    height: auto;
    margin-top: 15px;
}

.footer-contact p {
    margin-bottom: 15px;
}

.contact-links {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-bottom: 20px;
}

/* Saites iekrāsotas zilas */
.contact-links a, .blog-link {
    color: var(--primary-dark);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
}

.contact-links a:hover, .blog-link:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

.footer-social {
    display: flex;
    gap: 12px;
    margin-bottom: 15px;
}

/* Ikonas tagad ir zilas ar baltu iekšu */
.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    background-color: var(--primary-dark);
    color: var(--white);
    border-radius: 50%;
    text-decoration: none;
    font-size: 1.1rem;
    transition: var(--transition);
}

.footer-social a:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(13, 110, 253, 0.3);
}

/* Apakšējā josla galvenajā zilajā krāsā */
.footer-bottom {
    background-color: var(--primary-dark);
    color: var(--white);
    padding: 15px 0;
    font-size: 0.85rem;
}

.footer-bottom p {
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
}


/* --- Scroll To Top Button --- */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: var(--primary-color);
    color: var(--white);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition);
    z-index: 999;
}

.scroll-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-to-top:hover {
    background-color: var(--primary-dark);
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(13, 110, 253, 0.4);
}



/* --- Responsive Media Queries --- */
@media (max-width: 1024px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .product-card.highlight-product {
        grid-column: auto;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        position: absolute;
        top: 80px;
        left: 0;
        background-color: var(--white);
        box-shadow: 0 10px 10px rgba(0,0,0,0.05);
        padding: 20px 0;
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .menu-toggle {
        display: block;
    }
    
    #mobile-menu.is-active .bar:nth-child(2) { opacity: 0; }
    #mobile-menu.is-active .bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    #mobile-menu.is-active .bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

    .hero-content h1 { font-size: 2.3rem; }
    .highlights, .about-grid, .production-grid, .products-grid, .delivery-grid, .footer-content {
        grid-template-columns: 1fr;
    }
    
    .highlights {
        margin-top: 20px;
    }

    .delivery-content {
        grid-template-columns: 1fr;
    }
    .delivery-features-grid {
        grid-template-columns: 1fr;
    }


#developer {
    color: rgba(255,255,255,0.3);
    text-decoration: none;
}


/* --- Responsive Media Queries --- */

@media (max-width: 1024px) {
    
    
    .hero-section {
        padding: 100px 0 80px 0; /* Samazina milzīgo atstarpi telefonos */
    }
    
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .product-card.highlight-product {
        grid-column: auto;
    }
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
/* --- Navigācija mobilajiem --- */
    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        position: absolute;
        top: 100%; /* Sākas tieši zem baltās galvenes */
        left: 0;
        background-color: var(--white);
        box-shadow: 0 10px 15px rgba(0,0,0,0.1);
        padding: 0; /* Noņemam veco ārējo atstarpi */
    }
    
    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        width: 100%;
    }

    .nav-links a {
        display: block; /* Padara visu rindu klikšķināmu, nevis tikai tekstu */
        padding: 20px; /* Liels klikšķa laukums (touch target) pirkstam */
        font-size: 1.1rem;
        text-align: center; /* Iecentrēts teksts izskatās modernāk telefonos */
        border-bottom: 1px solid var(--border-color); /* Smuka atdalošā līnija starp pogām */
    }

    .nav-links li:last-child a {
        border-bottom: none; /* Pēdējai pogai līniju nevajag */
    }

    .nav-links a:hover, 
    .nav-links a:active {
        background-color: var(--light-color); /* Viegls fons uzspiežot */
        color: var(--primary-color);
    }
    
    .menu-toggle {
        display: block;
    }
    
    #mobile-menu.is-active .bar:nth-child(2) { opacity: 0; }
    #mobile-menu.is-active .bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    #mobile-menu.is-active .bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

    /* --- Pamata sadaļu režģi --- */
    .hero-content h1 { font-size: 2.3rem; }
    .highlights, .about-grid, .production-grid, .products-grid, .delivery-grid, .delivery-features-grid, .delivery-content {
        grid-template-columns: 1fr;
    }
    
    .highlights {
        margin-top: 20px;
    }

/* --- "Par Mums" sadaļas mobilais labojums --- */
    .about-section {
        background-image: none; /* Noņemam lielo zāles fonu no visas sadaļas */
    }

    .about-grid {
        text-align: center;
    }
    
    .about-text {
        padding-right: 0;
    }
    
    .about-stats {
        padding-left: 0;
    }
    
    .about-image {
        position: relative;
        top: 0;
        transform: translateX(-50%); /* Iecentrē un izvelk no konteinera */
        margin: 40px 0;
        width: 100%; /* Piespiež aizņemt pilnu ekrāna platumu */
        max-width: none;
        background-image: url('images/zale.jpg'); 
        background-size: cover;
        background-position: center;
        padding: 50px 0; /* Atstarpe virs un zem pudelēm */
        border-radius: 0; /* Noņemam noapaļojumu */
        box-shadow: none; /* Noņemam ēnu */ 
    }

    .about-image img {
        width: 100%;
        max-width: 250px; /* Pudeļu izmērs */
        margin: 0 auto;
        display: block;
    }

    /* --- Kājene (Footer) --- */
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .footer-logo {
        margin: 0 auto 20px auto;
    }
    .contact-links {
        align-items: center;
    }
    .footer-social {
        justify-content: center;
    }

    /* --- Uz augšu poga --- */
    .scroll-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
    
    
    .production-video-section {
        padding: 100px 0; /* Nedaudz samazina augstumu telefonos */
    }
    .video-content h2 {
        font-size: 2rem;
    }
}