/* =========================================
   1. PREMIUM SPORTS VARIABLES (LIGHT THEME)
========================================= */
:root {
    --bg-glass: rgba(255, 255, 255, 0.65); /* Bright frosted glass */
    --bg-solid: #FFFFFF;
    --text-main: #0B132B; /* Deep, sharp navy/black for intense contrast */
    --text-muted: #5C677D;
    
    /* Turquoise-Blue Accent Palette */
    --accent: #00B4D8;                            /* Bright Turquoise-Blue */
    --accent-glow: rgba(0, 180, 216, 0.25);
    --turquoise-overlay: rgba(0, 119, 182, 0.35); /* Soft, non-bright Turquoise-Blue tint */
    --border-color: rgba(11, 19, 43, 0.1);
}

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

body {
    /* Transparent body so the bright video is visible everywhere */
    background-color: transparent; 
    color: var(--text-main);
    font-family: 'Montserrat', sans-serif;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;

    background-image: url(images/ice.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    background-attachment: fixed;
}

/* Premium Headings */
h1, h2, h3, h4, .bebas {
    font-family: 'Bebas Neue', sans-serif;
    letter-spacing: 2px;
    font-weight: 400;
    text-transform: uppercase;
}

/* =========================================
   2. BACKGROUND VIDEO & GLOBAL HELPERS
========================================= */
.bg-video {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    object-fit: cover;
    z-index: -1;
    filter: brightness(1.1) contrast(1.05);
}

.container {
    width: 90%;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
}

.section-padding {
    padding: 120px 0;
}

.tech-text {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.75rem;
    font-weight: 900;
    letter-spacing: 3px;
    color: var(--accent);
    text-transform: uppercase;
    display: block;
    margin-bottom: 10px;
}

.section-header {
    margin-bottom: 60px;
}

.section-title {
    font-size: 4rem;
    line-height: 1;
    color: var(--text-main);
}

/* Side HUD Text */
.side-hud {
    position: fixed;
    left: 20px;
    top: 50%;
    transform: translateY(-50%) rotate(-90deg);
    transform-origin: left center;
    font-size: 0.7rem;
    font-weight: 900;
    letter-spacing: 5px;
    color: rgba(11, 19, 43, 0.3);
    z-index: 100;
    pointer-events: none;
}

/* =========================================
   3. HEADER
========================================= */
header {
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 999;
    padding: 20px 0; 
    background: linear-gradient(to bottom, rgba(255,255,255,0.95) 0%, transparent 100%);
    /* Pievieno šo rindu gludai animācijai: */
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Kad lapa tiek rullēta uz leju */
header.scrolled {
    background: rgba(255, 255, 255, 0.60); /* Balts, 90% necaurspīdīgs */
    backdrop-filter: blur(15px); /* Premium stikla efekts */
    padding: 10px 0; /* Padara galveni nedaudz plānāku, lai neaizņemtu vietu */
    box-shadow: 0 4px 20px rgba(11, 19, 43, 0.08); /* Viegla ēna, kas atdala no satura */
}

/* Jaunie logo stili */
.logo a {
    display: block;
}

.logo img {
    max-height: 60px; /* Pielāgo šo izmēru, ja tavs logo ir pārāk liels vai mazs */
    width: auto;
    display: block;
    transition: transform 0.3s ease;
}

.logo img:hover {
    transform: scale(1.05); /* Viegls efekts, uzbraucot ar peli */
}

.main-nav ul {
    list-style: none;
    display: flex;
    gap: 40px;
}

.main-nav a {
    color: var(--text-main);
    text-decoration: none;
    font-weight: 900;
    font-size: 0.85rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    position: relative;
    padding-bottom: 5px;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 0%;
    height: 2px;
    background: var(--accent);
    transition: width 0.3s ease;
}

.main-nav a:hover::after, .main-nav a.active::after {
    width: 100%;
}

.social-icons a {
    color: var(--text-main);
    margin-left: 20px;
    font-size: 1.2rem;
    transition: color 0.3s;
}

.social-icons a:hover {
    color: var(--accent);
}



/* =========================================
   3.1. DROPDOWN MENU (Galvenā Navigācija)
========================================= */
.dropdown {
    position: relative;
}

/* Bultiņas stils pie "Pakalpojumi" */
.dropdown > a i {
    font-size: 0.7em;
    margin-left: 5px;
    transition: transform 0.3s ease;
}

/* Uzbraucot ar peli, bultiņa apgriežas */
.dropdown:hover > a i {
    transform: rotate(180deg);
    color: var(--accent);
}

/* Izkrītošās izvēlnes fons un animācija */
.dropdown-menu {
    position: absolute;
    top: 260%!important; /* Sākotnēji nedaudz zemāk 130%*/
    left: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(15px);
    min-width: 220px;
    box-shadow: 0 15px 35px rgba(11, 19, 43, 0.1);
    border-top: 4px solid var(--accent);
    border-radius: 0 0 4px 4px;
    display: flex;
    flex-direction: column;
    gap: 0!important;
    
    /* Animācijas pamats (neredzams) */
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    z-index: 1000;
}

/* Parāda izvēlni, kad uzbrauc uz "Pakalpojumi" */
.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    top: 100%; /* Pielīp tieši pie apakšas */
}

/* Izslēdz apakšsvītru efektiem iekš dropdown */
.dropdown-menu a::after {
    display: none; 
}

/* Dropdown elementu dizains */
.dropdown-menu a {
    padding: 15px;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-main);
    text-transform: uppercase;
    display: block;
    transition: all 0.3s ease;
}

/* Stilīgs nobīdes efekts, uzbraucot uz apakšpunkta */
.dropdown-menu a:hover {
    color: var(--accent);
    background: rgba(11, 19, 43, 0.02);
    padding-left: 32px; 
}


/* Mobilās pogas pamatstils (Paslēpts uz datoriem) */
.mobile-menu-btn {
    display: none;
    font-size: 2rem;
    color: var(--text-main);
    cursor: pointer;
    transition: color 0.3s ease;
}

.mobile-menu-btn:hover {
    color: var(--accent);
}


/* =========================================
   MOBILE NAVIGATION FIX (Add at end of style.css)
========================================= */
@media (max-width: 768px) {
    /* 1. Show hamburger button on mobile */
    .mobile-menu-btn {
        display: block;
    }

    /* 2. Hide desktop nav by default on mobile */
    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--text-main); /* Dark navy background */
        padding: 25px 20px;
        box-shadow: 0 10px 25px rgba(0,0,0,0.3);
    }

    /* 3. Show menu when JS adds .open class */
    .main-nav.open {
        display: block;
    }

    /* 4. Stack menu items vertically with white text */
    .main-nav > ul {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .main-nav a {
        color: var(--bg-solid);
    }

    /* 5. Mobile dropdown fix for Pakalpojumi */
    .dropdown-menu {
        position: static;
        box-shadow: none;
        border-top: none;
        background: transparent;
        padding-top: 10px;
    }

    .dropdown-menu.mobile-open {
        display: block !important;
        opacity: 1 !important;
        visibility: visible !important;
    }

    .dropdown-menu a {
        color: rgba(255, 255, 255, 0.7);
        text-align: center;
    }
}

/* =========================================
   4. HERO SECTION
========================================= */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
}

.hero-overlay {
    position: absolute;
    inset: 0;
}

.hero-content {
    max-width: 800px;
    z-index: 10;
}

.hero h1 {
    font-size: 7rem;
    line-height: 0.9;
    margin: 10px 0 30px;
    color: var(--text-main);
    text-shadow: 4px 4px 0px var(--accent-glow);
}

.hero p {
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--text-main);
    margin-bottom: 40px;
    max-width: 500px;
    text-transform: uppercase;
}

.btn {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.5rem;
    padding: 15px 40px;
    letter-spacing: 2px;
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    position: relative;
    transform: skewX(-15deg);
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 15px;
}

.btn i {
    transform: skewX(15deg);
}

.btn-primary {
    background: var(--accent);
    color: var(--bg-solid);
}

.btn-primary:hover {
    background: var(--text-main);
    color: var(--bg-solid);
    box-shadow: -5px 5px 0px var(--accent-glow);
}

/* =========================================
   X. MISSION SECTION (Asymmetrical / Overlay Collage)
========================================= */
.mission-split {
    display: grid;
    grid-template-columns: 1fr 1.2fr; /* Lielāks uzsvars uz teksta daļu */
    gap: 80px;
    align-items: stretch; 
    background: var(--bg-glass);
    backdrop-filter: blur(15px);
    border-top: 5px solid var(--accent); 
    padding: 80px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.05);
}

/* Kreisā Puse (Teksts + Bilžu Kompozīcija) */
.mission-left {
    display: flex;
    flex-direction: column;
    gap: 50px; 
}

.mission-left .section-title {
    font-size: 5rem;
    margin-bottom: 20px;
    line-height: 0.9;
}

.mission-statement {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* PREMIUM BILŽU KOMPOZĪCIJA */
.mission-visuals {
    position: relative;
    width: 100%;
    flex-grow: 1;
    min-height: 400px;
}

/* Lielā bilde fonā (augšējais labais stūris) */
.img-large {
    position: absolute;
    top: 0;
    right: 0;
    width: 80%;
    height: 75%;
    border-radius: 4px;
    overflow: hidden;
    z-index: 1;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

/* Mazā bilde priekšplānā (apakšējais kreisais stūris) */
.img-small {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60%;
    height: 60%;
    border-radius: 4px;
    overflow: hidden;
    z-index: 3; /* Atrodas virs lielās bildes */
    border: 5px solid var(--bg-solid); /* Balts vai stikla rāmis, lai izceltos */
    box-shadow: 0 15px 35px rgba(0, 51, 255, 0.15); /* Zilgans ēnas glow efekts */
}

/* Tehnisks rāmis dizainam */
.accent-frame {
    position: absolute;
    bottom: -15px;
    left: -15px;
    width: 60%;
    height: 60%;
    border: 3px solid var(--accent);
    z-index: 0; /* Aiz visām bildēm */
    border-radius: 4px;
}

.mission-visuals img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s ease;
}

.mission-visuals:hover img {
    filter: contrast(1.1);
    transform: scale(1.05);
}

/* Labā Puse - Rindas */
.mission-right {
    display: flex;
    flex-direction: column;
    justify-content: center; 
}

.mission-row {
    display: flex;
    align-items: flex-start;
    padding: 35px 0;
    border-bottom: 1px solid var(--border-color);
    transition: all 0.4s ease;
}

.mission-row:first-child { padding-top: 0; }
.mission-row:last-child { border-bottom: none; padding-bottom: 0; }

.mission-num {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 3.5rem;
    line-height: 0.8;
    color: var(--text-muted);
    opacity: 0.2;
    width: 80px;
    flex-shrink: 0;
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.mission-row p {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-main);
    line-height: 1.6;
    transition: transform 0.4s ease, color 0.4s ease;
}

/* Hover Efekti Rindām */
.mission-row:hover { border-bottom-color: var(--accent); }
.mission-row:hover .mission-num { color: var(--accent); opacity: 1; transform: scale(1.1); }
.mission-row:hover p { transform: translateX(15px); }

/* Mobilā Versija */
@media (max-width: 992px) {
    .mission-split {
        grid-template-columns: 1fr;
        padding: 50px 30px;
        gap: 40px;
    }
    .mission-left .section-title { font-size: 4rem; }
    
    .mission-visuals {
        min-height: 350px;
    }
    
    .mission-row { padding: 25px 0; }
}



/* =========================================
   5. SERVICES (Horizontal Expanding Accordion)
========================================= */
.grid-services {
    display: flex;
    flex-direction: row;
    gap: 15px;
    height: 550px;
    width: 100%;
}

/* Fona bildes stili */
.service-bg {
    position: absolute;
    inset: 0; 
    background-size: cover;
    background-position: center;
    z-index: 0; 
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.6s ease;
    opacity: 0.3;
}

/* Bildes pievilkšanas (zoom) un parādīšanās efekts */
.service-block:hover .service-bg {
    transform: scale(1.05);
    opacity: 1;
}

.service-block {
    flex: 1; 
    position: relative;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border-radius: 10px;
    border: 1px solid var(--border-color); 
    transition: flex 0.6s cubic-bezier(0.25, 1, 0.5, 1), border-color 0.3s ease;
}

/* ŠĪ DAĻA TEV TRŪKA! Liek blokam izplesties platumā */
.service-block:hover {
    flex: 3.5;
    border-color: var(--accent);
}

/* Zilganais tonis pirms hover - nomainīts uz Royal Blue */
.service-block::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(10, 61, 145, 0.5); /* Royal Blue plīvurs */
    z-index: 1;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.service-block:hover::after {
    opacity: 0; /* Atklāj tīro, dabisko bildi uz hover */
}

/* Apakšējais informācijas bloks ar zilo gradientu */
.service-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    min-width: 320px; 
    padding: 40px 30px;
    z-index: 2;
    /* Tumši zils gradients, kas atbilst treneru vizītkartēm */
    background: linear-gradient(to top, #0A3D91 0%, rgba(21, 101, 192, 0.8) 55%, transparent 100%);
}

/* Teksta krāsas nomainītas uz baltu, lai kontrastētu ar zilo fonu */
.service-block h3 {
    font-size: 2.2rem;
    margin-bottom: 10px;
    color: var(--bg-solid); /* Tīri balts */
    white-space: nowrap; 
}

.service-block p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.85); /* Nedaudz caurspīdīgs balts */
    font-weight: 700;
    margin-bottom: 15px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease;
    display: block;
}

.explore {
    font-family: 'Bebas Neue', sans-serif;
    color: var(--accent); /* Saglabā elektriski zilo (cyan) akcentu */
    font-size: 1.2rem;
    letter-spacing: 2px;
    margin-bottom: 0;
}

.service-block:hover p,
.service-block:hover .explore {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.2s; 
}

@media (max-width: 992px) {
    .grid-services {
        flex-direction: column; 
        height: auto;
    }
    .service-block {
        height: 250px;
        flex: auto !important; 
    }
    .service-content {
        min-width: 100%;
    }
    .service-block p,
    .service-block .explore {
        opacity: 1;
        transform: none;
    }
}

/* =========================================
   7. COACHES (Clean Premium Roster)
========================================= */
.roster-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center; /* Šis iecentrēs otrās rindas 4 trenerus! */
    gap: 20px;
}

.roster-card {
    /* MAINĪTS: Tagad aizņem 20% no platuma (5 kartītes rindā) */
    flex: 0 1 calc(20% - 20px); 
    min-width: 220px; /* Samazināts, lai 5 satilptu blakus */
    max-width: 270px; /* Samazināts maksimālais platums */
    background: var(--bg-glass); 
    border: 1px solid var(--border-color);
    border-radius: 10px;
    position: relative;
    /* Pielāgota proporcija un augstums nedaudz šaurākai kartītei */
    padding-bottom: 30%; 
    height: 340px; 
    overflow: hidden;
    cursor: pointer;
    transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

/* IZŅEMTS tirkīza krāsas plīvurs treneriem */

.roster-card:hover {
    border-color: var(--accent);
    transform: translateY(-5px);
    box-shadow: 0 15px 30px var(--accent-glow);
}

.roster-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* IZŅEMTS kontrasta filtrs, atstājot dabiskas treneru bildes */
    transition: transform 0.5s ease;
}

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

.roster-info {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    /* Deep royal blue gradient matching the news images */
    background: linear-gradient(135deg, #1565C0 0%, #0A3D91 100%);
    backdrop-filter: blur(5px);
    padding: 15px;
    border-left: 4px solid var(--accent); /* Keeps the bright electric cyan pop */
    box-shadow: 0 8px 20px rgba(10, 61, 145, 0.4); /* Blue-tinted shadow */
    z-index: 2;
}

.roster-info .role {
    font-size: 0.7rem;
    font-weight: 900;
    /* Soft icy white so it doesn't overpower the name */
    color: rgba(255, 255, 255, 0.7); 
    letter-spacing: 2px;
}

.roster-info h4 {
    font-size: 1.8rem;
    line-height: 1;
    margin-top: 5px;
    /* Pure white for maximum contrast against the dark blue */
    color: var(--bg-solid); 
}



/* =========================================
   8. NEWS WITH PHOTOS (Visual Editorial Cards)
========================================= */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.news-card-photo {
    display: flex;
    flex-direction: column;
    background: var(--bg-glass);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    text-decoration: none;
    color: var(--text-main);
    overflow: hidden;
    transition: all 0.3s ease;
}

.news-card-photo:hover {
    transform: translateY(-8px);
    border-color: var(--accent);
    box-shadow: 0 15px 30px rgba(0,0,0,0.08);
}

.news-img {
    height: 300px;
    overflow: hidden;
    position: relative;
}

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

.news-card-photo:hover .news-img img {
    transform: scale(1.08);
}

.news-content {
    padding: 30px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    justify-content: space-between;
}

.news-date {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.5rem;
    color: var(--accent);
    margin-bottom: 10px;
}

.news-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2rem;
    line-height: 1.1;
    margin-bottom: 25px;
}

.news-action {
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;
    font-size: 0.8rem;
    letter-spacing: 2px;
    color: var(--accent);
    display: flex;
    align-items: center;
    gap: 10px;
}

.news-card-photo:hover .news-action i {
    transform: translateX(6px);
    transition: transform 0.3s ease;
}



/* =========================================
   X. REVIEWS SECTION (PREMIUM LOOPING SLIDER)
========================================= */
.reviews {
    overflow: hidden;
}

.reviews-slider-container {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    padding: 40px 0 60px; /* Vairāk vietas ēnām */
}

.reviews-slider-track {
    display: flex;
    gap: 40px; 
    width: max-content;
    animation: scrollReviews 40s linear infinite; 
}

.reviews-slider-track:hover {
    animation-play-state: paused;
}

@keyframes scrollReviews {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-50% - 20px)); } 
}

.review-card {
    width: 450px; /* Platāks un ērtāks lasīšanai */
    flex-shrink: 0; 
    background: rgba(255, 255, 255, 0.95); /* Gandrīz pilnībā ciets, spilgts fons */
    backdrop-filter: blur(10px);
    border: none;
    border-bottom: 6px solid var(--accent); /* Agresīva, bieza apakšējā līnija */
    border-radius: 4px;
    padding: 45px 40px;
    position: relative;
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.4s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    white-space: normal;
    box-shadow: 0 10px 20px rgba(11, 19, 43, 0.05);
}

.review-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 25px 50px var(--accent-glow);
    background: var(--bg-solid);
}

/* Masīvas pēdiņas */
.quote-mark {
    position: absolute;
    top: -20px;
    right: 20px;
    font-size: 8rem;
    line-height: 1;
    color: var(--accent);
    opacity: 0.15;
    z-index: 0;
    transition: transform 0.4s ease, opacity 0.4s ease;
}

.review-card:hover .quote-mark {
    transform: scale(1.1) rotate(10deg);
    opacity: 0.25;
}

.review-stars {
    color: #FFD700; /* Zelta zvaigznes */
    font-size: 1.1rem;
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
}

.review-text {
    font-size: 1.15rem;
    line-height: 1.7;
    color: var(--text-main);
    font-weight: 700;
    font-style: italic;
    margin-bottom: 30px;
    position: relative;
    z-index: 2;
}

.review-author {
    display: flex;
    align-items: center;
    gap: 20px;
    border-top: 2px dashed rgba(11, 19, 43, 0.1);
    padding-top: 25px;
    margin-top: auto;
    position: relative;
    z-index: 2;
}

/* Sportisks 'Royal Blue' iniciāļu aplis */
.author-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1565C0 0%, #0A3D91 100%);
    color: var(--bg-solid);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2.2rem;
    flex-shrink: 0;
    box-shadow: 0 5px 15px rgba(10, 61, 145, 0.3);
}

.author-details {
    display: flex;
    flex-direction: column;
}

.author-details h4 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.8rem;
    color: var(--text-main);
    letter-spacing: 1px;
    margin-bottom: 2px;
}

.author-title {
    font-weight: 900;
    color: var(--accent);
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 1px;
    margin-bottom: 3px;
}

.author-context {
    font-weight: 700;
    color: var(--text-muted);
    font-size: 0.75rem;
}

@media (max-width: 768px) {
    .review-card {
        width: 320px;
        padding: 30px;
    }
    .quote-mark {
        font-size: 6rem;
    }
}

/* =========================================
   10. FOOTER
========================================= */
.site-footer {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(15px);
    border-top: 1px solid var(--border-color);
    padding: 100px 0 50px;
    text-align: center;
}

.footer-huge-text {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 12vw;
    line-height: 0.8;
    color: rgba(11, 19, 43, 0.04);
    margin-bottom: 50px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--border-color);
    padding-top: 30px;
}

.copyright {
    font-weight: 700;
    font-size: 0.8rem;
    color: var(--text-muted);
    letter-spacing: 2px;
}

.socials a {
    color: var(--text-main);
    text-decoration: none;
    font-weight: 900;
    font-size: 0.8rem;
    letter-spacing: 2px;
    margin-left: 30px;
    transition: color 0.3s;
}

.socials a:hover {
    color: var(--accent);
}


/* =========================================
   8. FOOTER & PARTNERS (Static Grid)
========================================= */
.site-footer {
    position: relative;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(15px);
    border-top: 1px solid var(--border-color);
    padding: 80px 0 40px;
    text-align: center;
    overflow: hidden; /* Neļauj fona tekstam "izkāpt" ārpus kājenes */
}

/* Ūdenszīmes (Watermark) efekts */
.footer-huge-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: 'Bebas Neue', sans-serif;
    font-size: 15vw; /* Ļoti liels, aizņem lielāko daļu platuma */
    line-height: 0.8;
    color: rgba(11, 19, 43, 0.03); /* Ļoti bāls/caurspīdīgs */
    white-space: nowrap;
    z-index: 0;
    pointer-events: none; /* Neļauj tekstam bloķēt klikšķus uz logo */
}

.footer-content {
    position: relative;
    z-index: 1; /* Paceļ saturu un logo VIRS ūdenszīmes */
    display: flex;
    flex-direction: column;
    gap: 60px;
}

/* PARTNERU REŽĢIS (Vienmērīgs izkārtojums) */
.footer-partners-grid {
    display: flex;
    justify-content: space-between; /* Izlīdzina atstarpes visā platumā */
    align-items: center;            /* Centrē visus logo vertikāli */
    flex-wrap: wrap;                /* Ļauj smuki pārkrist nākamajā rindā uz mobilajiem */
    gap: 30px;
    width: 100%;
    margin-top: 30px;
}

/* Katra logo iepakojuma kaste */
.footer-partner-logo {
    flex: 1 1 120px;               /* Dod katram logo vienādu elastīgo platumu */
    display: flex;
    align-items: center;
    justify-content: center;
    height: 60px;                  /* Fiksēts augstuma rāmis visu logo līmeņošanai */
}

/* Paši attēli un logo */
.footer-partner-logo img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;          /* Saglabā bildes proporcijas un neizstiepj */
    filter: grayscale(20%);       /* Pēc izvēles: nedaudz nomierina krāsas šikam tēlam */
    transition: filter 0.3s ease, transform 0.3s ease;
}

.footer-partner-logo img:hover {
    filter: grayscale(0%);
    transform: scale(1.05);
}

/* Kājene Apakša */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--border-color);
    padding-top: 30px;
}

.copyright {
    font-weight: 700;
    font-size: 0.8rem;
    color: var(--text-muted);
    letter-spacing: 2px;
}

.privacy a {
    color: var(--text-main);
    text-decoration: none;
    font-weight: 900;
    font-size: 0.8rem;
    letter-spacing: 2px;
    margin-left: 30px;
    transition: color 0.3s;
    text-transform: uppercase;
}

.privacy a:hover {
    color: var(--accent);
}

/* Mobilā pielāgošanās */
@media (max-width: 768px) {
    .footer-partners-grid {
        grid-template-columns: repeat(2, 1fr); /* Uz telefoniem pa 2 logo vienā rindā */
        gap: 30px;
    }
}



/* =========================================
   BACK TO TOP POGA
========================================= */
.back-to-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: rgba(11, 19, 43, 0.9);
    backdrop-filter: blur(10px);
    color: var(--accent);
    border: 2px solid var(--accent);
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(20px);
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
}

.back-to-top-btn.visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

.back-to-top-btn:hover {
    background: var(--accent);
    color: var(--bg-solid);
    box-shadow: 0 0 20px var(--accent-glow);
    transform: translateY(-5px);
}


/* =========================================
   11. RESPONSIVE MEDIA QUERIES
========================================= */
@media (max-width: 768px) {
    .main-nav, .header-container .social-icons, .side-hud {
        display: none;
    }
    
    .hero h1 { 
        font-size: 4rem; 
    }
    
    .roster-card {
        flex: 0 1 100%;
    }
    
    .footer-bottom { 
        flex-direction: column; 
        gap: 20px; 
        text-align: center; 
    }
    
    .privacy a { 
        margin: 0 15px; 
    }
}

@media (max-width: 768px) {
    /* Paslēpj lielo izvēlni un sociālos tīklus telefonā */
    .main-nav, .header-container .social-icons, .side-hud {
        display: none;
    }
    
    /* Parāda hamburgera pogu telefonā */
    .mobile-menu-btn {
        display: block;
    }
}

/* =========================================
   11. RESPONSIVE MEDIA QUERIES
========================================= */
@media (max-width: 768px) {
    /* 1. Paslēpj oriģinālos elementus */
    .header-container .social-icons, .side-hud {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
        z-index: 1001;
    }

    /* 2. Galvenā mobilā navigācija (Tumšs fons, kā ekrānuzņēmumā) */
    .main-nav {
        display: none;
        position: absolute;
        top: 100%; 
        left: 0;
        width: 100%;
        background: var(--text-main); /* Nomainīts uz tumšu, lai balti burti būtu redzami */
        padding: 30px 20px;
        box-shadow: 0 10px 20px rgba(11, 19, 43, 0.3);
        border-top: 1px solid var(--accent);
    }

    /* 3. Show menu when JS adds .open class */
    .main-nav.open {
        display: block !important;
    }

    /* LABOJUMS: Zīme ">" nodrošina, ka šis ietekmē tikai galveno sarakstu, nevis dropdown */
    .main-nav > ul {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 25px;
    }

    .main-nav a {
        font-size: 1.2rem; 
        color: var(--bg-solid); /* Balti burti */
    }

    /* 3. Mobilais Dropdown pielāgojums */
    /* Pievienojot .main-nav priekšā, mēs garantējam, ka šis noteikums uzvar! */
    .main-nav .dropdown-menu {
        display: none; /* Tagad šis reāli strādās un paslēps sarakstu */
        position: relative; 
        top: 0 !important;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border-top: none;
        background: transparent;
        padding: 15px 0 0 0;
        width: 100%;
        flex-direction: column;
        align-items: center;
        gap: 15px !important;
    }

    /* Klase, ko ieslēdz JavaScript klikšķis */
    .main-nav .dropdown-menu.mobile-open {
        display: flex;
    }

    .main-nav .dropdown-menu a {
        font-size: 1rem;
        color: rgba(255, 255, 255, 0.6); /* Gaiši pelēcīgi apakšpunkti labākam kontrastam */
        padding: 5px;
    }
    
    .main-nav .dropdown-menu a:hover {
        padding-left: 5px; 
        color: var(--accent);
    }

    /* 4. Pārējie mobilie stili (Kājene, Hero, uc.) */
    .hero h1 { 
        font-size: 4rem; 
    }
    
    .roster-card {
        flex: 0 1 100%;
    }
    
    .footer-bottom { 
        flex-direction: column; 
        gap: 20px; 
        text-align: center; 
    }
    
    .privacy a { 
        margin: 0 15px; 
    }
    
    .footer-partners-grid { 
        grid-template-columns: repeat(2, 1fr); 
        gap: 30px; 
    }
}




/* =========================================
   MŪSU MĒRĶIS (HIGH-TECH BULLSEYE)
========================================= */
.target-mission-section {
    position: relative;
    overflow: hidden;
}

.bullseye-container {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding: 80px 40px;
    background: var(--bg-glass);
    backdrop-filter: blur(15px);
    border-radius: 20px;
    border: 1px solid var(--border-color);
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
    z-index: 1;
}

/* Vizuālā mērķa zīmēšana */
.bullseye-graphic {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    z-index: -1; /* Novieto aiz teksta */
    opacity: 0.15; /* Diskrēts fons */
    pointer-events: none;
}

.ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    border: 2px solid var(--accent);
}

.ring-outer {
    width: 100%;
    height: 100%;
    border-style: dashed;
    animation: rotateSlow 40s linear infinite;
}

.ring-middle {
    width: 65%;
    height: 65%;
    border-width: 4px;
    opacity: 0.5;
}

.ring-inner {
    width: 30%;
    height: 30%;
    background: rgba(0, 180, 216, 0.1);
    box-shadow: 0 0 40px var(--accent-glow);
}

.bullseye-dot {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    background: var(--accent);
    border-radius: 50%;
    box-shadow: 0 0 20px var(--accent);
}

.crosshair-v, .crosshair-h {
    position: absolute;
    background: var(--accent);
    opacity: 0.5;
}

.crosshair-v { top: 0; left: 50%; width: 2px; height: 100%; transform: translateX(-50%); }
.crosshair-h { top: 50%; left: 0; width: 100%; height: 2px; transform: translateY(-50%); }

@keyframes rotateSlow {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

.bullseye-content {
    text-align: center;
    position: relative;
    z-index: 2;
}

.bullseye-text {
    font-size: 1.4rem;
    font-weight: 700;
    line-height: 1.8;
    color: var(--text-main);
    max-width: 700px;
    margin: 0 auto;
}

/* =========================================
   KO MĒS DARĀM (PLAYBOOK / TAKTIKAS DĒLIS)
========================================= */
.playbook-wrapper {
    max-width: 1000px;
    margin: 0 auto;
}

.playbook-header {
    text-align: center;
    margin-bottom: 60px;
}

.playbook-intro {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-main);
    max-width: 700px;
    margin: 0 auto;
    padding: 20px;
    background: var(--bg-glass);
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.playbook-track {
    position: relative;
    padding-left: 50px;
}

/* Vertikālā ledus slidojuma līnija */
.playbook-track::before {
    content: '';
    position: absolute;
    top: 0;
    left: 24px; /* Centrēts pret ripu */
    width: 2px;
    height: 100%;
    background: linear-gradient(to bottom, var(--accent) 0%, rgba(0, 180, 216, 0.2) 100%);
}

.playbook-item {
    position: relative;
    margin-bottom: 40px;
    background: var(--bg-glass);
    backdrop-filter: blur(15px);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.playbook-item:last-child {
    margin-bottom: 0;
}

.playbook-item:hover {
    transform: translateX(10px);
    border-color: var(--accent);
}

/* 3D Hokeja Ripas dizains */
.puck-node {
    position: absolute;
    top: 35px;
    left: -50px; /* Izbīdīts ārpus kastes uz līnijas */
    width: 48px;
    height: 48px;
    background: #111; /* Ripas pamata krāsa */
    border-radius: 50%;
    box-shadow: 
        inset 0 -5px 10px rgba(0,0,0,0.8), /* Ēna apakšā */
        0 5px 10px rgba(0,0,0,0.3), /* Ēna uz ledus */
        0 0 15px var(--accent-glow); /* Zils starojums ap ripu */
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

/* Ripas augšējā plakne */
.puck-top {
    width: 36px;
    height: 36px;
    background: #222;
    border-radius: 50%;
    border: 1px solid #333;
    position: relative;
}

.puck-top::after {
    content: '';
    position: absolute;
    top: 2px; left: 2px;
    width: 30px; height: 30px;
    border-radius: 50%;
    border-top: 1px solid rgba(255,255,255,0.2); /* Atspīdums (highlight) */
}

.playbook-text h3 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2rem;
    color: var(--text-main);
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.playbook-text p {
    font-size: 1.05rem;
    font-weight: 500;
    line-height: 1.6;
    color: var(--text-muted);
    margin: 0;
}

/* Responsīvais dizains */
@media (max-width: 768px) {
    .bullseye-container { padding: 40px 20px; }
    .bullseye-text { font-size: 1.1rem; }
    .bullseye-graphic { width: 400px; height: 400px; }
    
    .playbook-track { padding-left: 30px; }
    .playbook-track::before { left: 14px; }
    .puck-node { left: -30px; width: 32px; height: 32px; top: 25px; }
    .puck-top { width: 24px; height: 24px; }
    .puck-top::after { width: 18px; height: 18px; }
}


/* =========================================
   PREMIUM CONTACT PAGE
========================================= */
.contact-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

/* Info Kartītes (Kreisā puse) */
.contact-cards-wrap {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.glass-contact-card {
    display: flex;
    align-items: center;
    gap: 25px;
    background: var(--bg-glass);
    backdrop-filter: blur(15px);
    padding: 25px 30px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    border-left: 5px solid var(--accent);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.glass-contact-card:hover {
    transform: translateX(10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.08);
}

.card-icon {
    width: 60px;
    height: 60px;
    background: var(--text-main);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-size: 1.5rem;
    flex-shrink: 0;
    box-shadow: 0 5px 15px rgba(11, 19, 43, 0.2);
}

.card-info h4 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.8rem;
    color: var(--text-main);
    margin-bottom: 2px;
    letter-spacing: 1px;
}

.card-info p {
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-muted);
}

/* Tumšā Premium Forma (Labā puse) */
.premium-form-box {
    background: linear-gradient(135deg, #0B132B 0%, #0A3D91 100%);
    padding: 50px;
    border-radius: 12px;
    box-shadow: 0 25px 50px rgba(10, 61, 145, 0.3);
    position: relative;
    overflow: hidden;
}

/* Dekoratīvs fona elements formai */
.premium-form-box::after {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background: var(--accent);
    filter: blur(100px);
    opacity: 0.3;
    z-index: 0;
    pointer-events: none;
}

.contact-form {
    position: relative;
    z-index: 1;
}

.contact-form .form-group {
    margin-bottom: 25px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 18px 25px;
    background: rgba(255, 255, 255, 0.05); /* Ļoti viegls caurspīdīgums */
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--bg-solid);
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--accent);
    box-shadow: 0 0 20px var(--accent-glow);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

/* Responsīvais */
@media (max-width: 992px) {
    .contact-split {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    .premium-form-box {
        padding: 40px 30px;
    }
}


/* Tumši zils (Dark Blue) stils Google Kartes iframe */
.map-section iframe {
    display: block;
    width: 100%;
    height: 450px;
    border: none;
    
    /* Maģiskā CSS filtru kombinācija tumši zilam tonim */
    filter: invert(90%) hue-rotate(180deg) contrast(110%) saturate(160%) brightness(85%);
    
    /* Gluda pāreja, ja uzbrauc ar peli */
    transition: filter 0.3s ease;
}

/* Izvēles efekts: uzbraucot ar peli, karte kļūst nedaudz gaišāka */
.map-section iframe:hover {
    filter: invert(90%) hue-rotate(180deg) contrast(110%) saturate(160%) brightness(95%);
}

/* =========================================
   REKVIZĪTU UN KARTE STILI
========================================= */
.legal-info-box {
    margin-top: 60px;
    background: var(--bg-glass);
    backdrop-filter: blur(15px);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.legal-info-box h3 {
    font-size: 2rem;
    color: var(--text-main);
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.legal-info-box h3 i {
    color: var(--accent);
}

.legal-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.legal-label {
    font-size: 0.75rem;
    font-weight: 900;
    color: var(--accent);
    letter-spacing: 1px;
    display: block;
    margin-bottom: 5px;
}

.legal-grid p {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-main);
    margin: 0;
}

/* Kartes sekcija */
.map-section {
    line-height: 0;
    border-top: 4px solid var(--accent);
    border-bottom: 1px solid var(--border-color);
}

@media (max-width: 768px) {
    .legal-info-box {
        padding: 25px;
    }
    .legal-grid {
        grid-template-columns: 1fr;
    }
}




/* =========================================
   PAGINATION (Jaunumu / Bloga lapai)
========================================= */
.pagination-wrap {
    display: flex;
    justify-content: center;
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid var(--border-color);
}

.pagination-wrap .btn i {
    transition: transform 0.4s ease;
}

.pagination-wrap .btn:hover i {
    transform: skewX(15deg) rotate(180deg);
}


/* =========================================
   GALLERY PAGE (Foto / Video Toggle)
========================================= */

/* Pārslēdzēja (Toggle) dizains */
.gallery-toggle-wrap {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.gallery-toggle {
    position: relative;
    display: inline-flex;
    background: var(--bg-glass);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    border-radius: 50px;
    padding: 5px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.toggle-btn {
    position: relative;
    z-index: 2;
    background: transparent;
    border: none;
    padding: 12px 30px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;
    font-size: 0.9rem;
    color: var(--text-main);
    cursor: pointer;
    border-radius: 50px;
    transition: color 0.3s ease;
    letter-spacing: 1px;
}

.toggle-btn.active {
    color: var(--bg-solid);
}

/* Animētais fons aiz pogām */
.toggle-indicator {
    position: absolute;
    top: 5px;
    left: 5px;
    height: calc(100% - 10px);
    width: calc(50% - 5px);
    background: var(--accent);
    border-radius: 50px;
    z-index: 1;
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Galerijas režģis */
.gallery-grid {
    display: none; /* Paslēpts pēc noklusējuma */
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
    animation: fadeIn 0.5s ease;
}

.gallery-grid.active {
    display: grid; /* Parāda tikai aktīvo sadaļu */
}

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

/* Fotogrāfiju kartītes */
.gallery-item {
    position: relative;
    padding-bottom: 75%; /* 4:3 proporcija bildēm */
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

.gallery-item img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* Video kartītes */
.video-item {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 proporcija YouTube video */
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    background: #000;
}

.video-item iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* YouTube Poga */
.youtube-cta-wrap {
    grid-column: 1 / -1; /* Poga aizņem visu režģa platumu */
    display: flex;
    justify-content: center;
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid var(--border-color);
}

.yt-btn {
    background: #FF0000; /* Klasiskais YouTube Sarkanais */
    color: #FFF;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.5rem;
    padding: 15px 40px;
}

.yt-btn:hover {
    background: var(--text-main);
    box-shadow: -5px 5px 0px rgba(255, 0, 0, 0.3);
}

.yt-btn i {
    font-size: 1.2rem;
}





/* =========================================
   PAKALPOJUMI UN PASĀKUMI (pasakumi.html)
========================================= */

.service-split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: stretch;
    margin-bottom: 80px;
}

/* Apgriežam secību otrajam blokam (Teksts labajā pusē uz datora) */
.service-split-layout.reverse-layout {
    grid-template-columns: 1fr 1fr;
}

/* Teksta paneļa stils */
.glass-panel {
    background: var(--bg-glass);
    backdrop-filter: blur(15px);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 50px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.05);
}

.service-heading {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 3.5rem;
    color: var(--text-main);
    margin-bottom: 20px;
    line-height: 1;
    text-shadow: 2px 2px 0px rgba(0, 180, 216, 0.15);
}

.service-desc {
    font-size: 1.1rem;
    font-weight: 500;
    line-height: 1.7;
    color: var(--text-main);
    margin-bottom: 30px;
}

.program-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem;
    font-weight: 900;
    color: var(--accent);
    margin-bottom: 15px;
    letter-spacing: 1px;
}

/* Programmas saraksts */
.program-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.program-list li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-muted);
    line-height: 1.5;
}

.program-list li i {
    color: var(--accent);
    margin-top: 4px;
    font-size: 1.1rem;
}


.service-gallery-collage {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 2fr 1fr; /* Lielāka augšējā rinda */
    gap: 15px;
    height: 100%;
    min-height: 500px;
}

.collage-img {
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    border: 2px solid rgba(255,255,255,0.1);
}

.collage-img img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.collage-img:hover img {
    transform: scale(1.08);
}

/* Izmēru pozīcijas režģī */
.img-large {
    grid-column: 1 / 3;
    grid-row: 1 / 2;
}

.img-small-1 {
    grid-column: 1 / 2;
    grid-row: 2 / 3;
}

.img-small-2 {
    grid-column: 2 / 3;
    grid-row: 2 / 3;
}

/* Responsīvais izkārtojums viedtālruņiem */
@media (max-width: 992px) {
    .service-split-layout, 
    .service-split-layout.reverse-layout {
        grid-template-columns: 1fr; /* Sakārto vienā kolonnā */
        gap: 40px;
    }
    
    .glass-panel {
        padding: 30px;
    }
    
    .service-gallery-collage {
        min-height: 400px;
    }
    
    /* Lai uz telefoniem bilde vienmēr būtu virs teksta otrajam blokam */
    .reverse-layout .service-gallery-collage {
        order: -1;
    }
}

/* =========================================
   KATEGORIJU FILTRI (Nometnēm)
========================================= */
.category-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 40px;
    justify-content: center;
}

.filter-btn {
    background: var(--bg-glass);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    color: var(--text-main);
    padding: 10px 25px;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.2rem;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 4px;
}

.filter-btn:hover, 
.filter-btn.active {
    background: var(--accent);
    color: var(--bg-solid);
    border-color: var(--accent);
    box-shadow: 0 5px 15px var(--accent-glow);
}


#developer {
    color: lightgray;
    text-decoration: none;
}

#developer:hover {
    transition: 0.5s;
    color: grey;
    text-decoration: underline;
}