/* --- BĀZES STILI UN KRĀSAS --- */
        :root {
            --primary-green: #2d5a27;
            --light-green: #4a7c43;
            --dark-gray: #333333;
            --light-gray: #f4f4f4;
            --white: #ffffff;
            --font-main: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
        }

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

        html {
            scroll-behavior: smooth;
        }

        body {
            font-family: var(--font-main);
            color: var(--dark-gray);
            line-height: 1.6;
            background-color: var(--white);
        }

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

        /* --- GALVENE (HEADER) --- */
        header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 20px 5%;
            background-color: var(--white);
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);
            position: sticky;
            top: 0;
            z-index: 1000;
        }

        /* Logo stili attēlam */
        .logo {
            display: flex;
            align-items: center;
        }

        .logo img {
            height: 90px; /* Datora versijas logo augstums PALIELINĀTS */
            width: auto;
            max-width: 100%;
            transition: transform 0.3s ease;
        }
        
        .logo:hover img {
            transform: scale(1.05);
        }

        nav ul {
            display: flex;
            list-style: none;
            gap: 25px;
        }

        nav a {
            font-weight: 600;
            transition: color 0.3s ease;
        }

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

        /* Labās puses bloks (Kontakti + Valoda) */
        .header-right {
            display: flex;
            align-items: center;
            gap: 20px;
        }

        .contact-info-header {
            font-size: 14px;
            display: flex;
            gap: 15px;
        }
        .nav-socials {
            display: flex;
            align-items: center;
            gap: 12px;
            border-left: 1px solid #ddd;
            padding-left: 15px;
            margin-left: -10px;
        }

        .nav-socials a {
            display: flex;
            align-items: center;
        }
        /* --- VALODU IZVĒLNE (CSS Dropdown) --- */
        .lang-dropdown {
            position: relative;
            display: inline-block;
        }

        .current-lang {
            padding: 6px 12px;
            border: 1px solid var(--primary-green);
            border-radius: 4px;
            background-color: var(--white);
            color: var(--primary-green);
            font-weight: bold;
            font-family: var(--font-main);
            font-size: 14px;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .lang-dropdown:hover .current-lang {
            background-color: var(--primary-green);
            color: var(--white);
        }

        /* Izvēlnes saturs (paslēpts pēc noklusējuma) */
        .lang-dropdown-content {
            display: none; 
            position: absolute;
            right: 0;
            top: 100%;
            background-color: var(--white);
            min-width: 100%;
            box-shadow: 0 4px 8px rgba(0,0,0,0.1);
            border-radius: 4px;
            overflow: hidden;
            z-index: 1001;
        }

        .lang-dropdown-content a {
            color: var(--dark-gray);
            padding: 8px 12px;
            text-decoration: none;
            display: block;
            font-weight: bold;
            font-size: 14px;
            text-align: center;
            border-bottom: 1px solid var(--light-gray);
            transition: background 0.3s ease;
        }

        .lang-dropdown-content a:last-child {
            border-bottom: none;
        }

        .lang-dropdown-content a:hover {
            background-color: var(--light-gray);
            color: var(--primary-green);
        }

        /* Parāda izvēlni, kad uzbrauc ar peli */
        .lang-dropdown:hover .lang-dropdown-content {
            display: block;
        }


        /* --- HERO SADAĻA (VIDEO BGR) --- */
        .hero {
            position: relative;
            height: 90vh;
            display: flex;
            align-items: center;
            justify-content: center;
            text-align: center;
            color: var(--white);
            overflow: hidden;
            background-color: var(--dark-gray); 
        }

        .hero video {
            position: absolute;
            top: 50%;
            left: 50%;
            min-width: 100%;
            min-height: 100%;
            width: auto;
            height: auto;
            transform: translateX(-50%) translateY(-50%);
            z-index: 1; 
            object-fit: cover;
        }

        .hero-overlay {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.4);
            z-index: 2; 
        }

        .hero-content {
            position: relative;
            z-index: 3; 
        }

        .hero-content h1 {
            font-size: 48px;
            margin-bottom: 20px;
            text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
        }

        .hero-content p {
            font-size: 20px;
            margin-bottom: 30px;
            max-width: 700px;
            margin-left: auto;
            margin-right: auto;
            text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
        }

        .btn {
            display: inline-block;
            padding: 15px 30px;
            font-size: 16px;
            font-weight: bold;
            border-radius: 5px;
            cursor: pointer;
            transition: all 0.3s ease;
        }

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

        .btn-primary:hover {
            background-color: var(--light-green);
            border-color: var(--light-green);
        }

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

        .btn-secondary:hover {
            background-color: var(--white);
            color: var(--dark-gray);
        }

        /* --- SADAĻU PAMATSTILI --- */
        section {
            padding: 80px 5%;
        }

        .section-title {
            text-align: center;
            font-size: 36px;
            margin-bottom: 50px;
            color: var(--primary-green);
        }

        /* --- ZIG-ZAG Izkārtojums --- */
        .zigzag-row {
            display: flex;
            align-items: center;
            gap: 40px;
            margin-bottom: 60px;
        }

        .zigzag-row:nth-child(even) {
            flex-direction: row-reverse;
        }

        .zigzag-text, .zigzag-img {
            flex: 1;
        }

        .zigzag-text h3 {
            font-size: 28px;
            margin-bottom: 20px;
            color: var(--primary-green);
        }

        .zigzag-img img {
            width: 100%;
            border-radius: 10px;
            box-shadow: 0 4px 15px rgba(0,0,0,0.1);
        }

        /* --- CENU KARTĪTES --- */
        .pricing-grid {
            display: flex;
            gap: 30px;
            justify-content: center;
            flex-wrap: wrap;
        }

        .price-card {
            background: var(--light-gray);
            padding: 40px;
            border-radius: 10px;
            flex: 1;
            min-width: 300px;
            max-width: 450px;
            box-shadow: 0 4px 10px rgba(0,0,0,0.05);
        }

        .price-card h3 {
            font-size: 24px;
            color: var(--primary-green);
            border-bottom: 2px solid var(--primary-green);
            padding-bottom: 10px;
            margin-bottom: 20px;
        }

        .price-card ul {
            list-style: none;
            margin-bottom: 20px;
        }

        .price-card li {
            margin-bottom: 10px;
            padding-left: 20px;
            position: relative;
        }

        .price-card li::before {
            content: '✓';
            color: var(--primary-green);
            position: absolute;
            left: 0;
            font-weight: bold;
        }

        /* --- CSS GRID GALERIJA --- */
        .gallery-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 15px;
            justify-content: center;
        }

        .gallery-grid img {
            width: 100%;
            height: 250px;
            object-fit: cover;
            border-radius: 8px;
            transition: transform 0.3s ease;
            cursor: zoom-in;
        }

        .gallery-grid img:hover {
            transform: scale(1.02);
        }

        .gallery-grid img.video-thumb {
            cursor: pointer;
            border: 2px solid rgba(255, 255, 255, 0.12);
        }

        .lightbox-overlay {
            position: fixed;
            inset: 0;
            display: none;
            align-items: center;
            justify-content: center;
            background: rgba(0, 0, 0, 0.85);
            padding: 24px;
            z-index: 9999;
        }

        .lightbox-overlay img,
        .lightbox-overlay video {
            max-width: 100%;
            max-height: 100%;
            border-radius: 12px;
            box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
        }

        .lightbox-caption {
            margin-top: 14px;
            color: #fff;
            text-align: center;
            font-size: 0.95rem;
            max-width: 90%;
        }

        .lightbox-close {
            position: absolute;
            top: 18px;
            right: 18px;
            width: 42px;
            height: 42px;
            border: none;
            background: rgba(255, 255, 255, 0.08);
            color: #fff;
            font-size: 1.8rem;
            border-radius: 50%;
            cursor: pointer;
        }

        .lightbox-close:hover {
            background: rgba(255, 255, 255, 0.18);
        }

        /* --- ATSAUKSME --- */
        .testimonial-box {
            text-align: center;
            max-width: 600px;
            margin: 0 auto;
            font-style: italic;
            background: var(--light-gray);
            padding: 30px;
            border-radius: 10px;
        }

        .stars {
            color: #FFD700;
            font-size: 24px;
            margin-bottom: 10px;
        }

        /* --- KARTE UN KĀJENE --- */
        .map-and-footer-container {
            position: relative; 
            height: 350px; 
            overflow: hidden;
            padding: 0;
            margin: 0;
        }

        #karte {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            padding: 0;
            z-index: 1; 
        }

        #karte iframe {
            width: 100%;
            height: 100%;
            border: 0;
            display: block;
        }

        .map-overlay {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.5); 
            z-index: 2; 
            pointer-events: none; 
        }

        footer {
            position: absolute; 
            bottom: 0;
            left: 0;
            width: 100%;
            background-color: transparent; 
            color: var(--white);
            text-align: center;
            padding: 30px 5%;
            z-index: 3; 
        }

        .footer-info {
            margin-bottom: 15px;
            text-shadow: 1px 1px 3px rgba(0,0,0,0.8); 
        }

        .social-links a {
            margin: 0 10px;
            font-size: 18px;
            text-shadow: 1px 1px 3px rgba(0,0,0,0.8);
        }

        /* --- RESPONZĪVAIS DIZAINS (MOBILIE TELEFONI) --- */
        @media (max-width: 768px) {
            header { 
                flex-direction: column; 
                gap: 10px; 
                text-align: center; 
                position: static; 
                padding: 15px 5%;
            }
            
            .logo img {
                height: 55px; /* Telefona versijas logo augstums */
            }

            /* Augšējais bloks telefonam - lai logo un valodas slēdzis būtu blakus */
            .header-top-mobile {
                display: flex;
                width: 100%;
                justify-content: space-between;
                align-items: center;
            }

            .header-right {
                flex-direction: column;
            }

            .contact-info-header {
                display: none; /* Paslēpj kontaktus telefonā galvenē */
            }

            .current-lang {
                padding: 4px 8px; /* Nedaudz mazāka poga telefonā */
            }

            nav ul { 
                flex-direction: row; 
                flex-wrap: wrap; 
                justify-content: center;
                gap: 15px; 
                font-size: 14px; 
                margin-top: 10px;
            }
            
            /* Paslēpj video un iestata fona bildi telefonā */
            .hero video { display: none; }
            .hero { 
                background-image: url('index_bildes/650258029_906054905391352_2581423031043260464_n.jpg'); 
                background-position: center;
                background-size: cover;
            }
            .hero-content h1 { font-size: 36px; }

            .zigzag-row, .zigzag-row:nth-child(even) { flex-direction: column; }
            .btn-secondary { margin-left: 0; margin-top: 15px; display: block; }
            
            .map-and-footer-container { height: 400px; } 
        }

/* --- KATEGORIJU KARTĪTES --- */
.category-card {
    position: relative;
    cursor: pointer;
    border-radius: 8px;
    overflow: hidden;
}

.category-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.category-card:hover img {
    transform: scale(1.05);
}

.category-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
    transition: background 0.3s ease;
}

.category-card:hover .category-overlay {
    background: rgba(0, 0, 0, 0.2);
}

/* --- GALERIJAS ATPAKAĻ POGA --- */
.btn-back {
    background-color: var(--primary-green);
    color: var(--white);
    border: none;
    padding: 10px 20px;
    margin-bottom: 25px;
    border-radius: 4px;
    font-weight: bold;
    font-family: var(--font-main);
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn-back:hover {
    background-color: var(--light-green);
}
/* --- APAKŠKATEGORIJU TABI (POGAS) --- */
.subcategory-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 25px;
    flex-wrap: wrap;
    justify-content: center;
}

.subcat-tab {
    padding: 8px 20px;
    background-color: var(--light-gray);
    border: 2px solid var(--primary-green);
    color: var(--primary-green);
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    font-family: var(--font-main);
    font-size: 14px;
    transition: all 0.3s ease;
}

.subcat-tab.active, .subcat-tab:hover {
    background-color: var(--primary-green);
    color: var(--white);
}