/* ==========================================================================
   1. GLOBĀLIE MAINĪGIE & BĀZES STILI
   ========================================================================== */
:root {
    --dark-green: #2C5F2D;    /* Herb Green */
    --light-green: #97A926;   /* Birch Leaf Green */
    --sand-bg: #F2F1F0;       /* Birch Sap White */
    --accent-orange: #B67233; /* Rustic Orange */
    
    --white: #ffffff;
    --text-dark: #2a332d;
    
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Montserrat', sans-serif;
    
    --site-padding: 3%;
    --transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    
    --shadow-soft: 0 25px 50px rgba(44, 95, 45, 0.05), 0 8px 16px rgba(0, 0, 0, 0.03);
    --shadow-deep: 0 35px 70px rgba(44, 95, 45, 0.1), 0 12px 24px rgba(0, 0, 0, 0.05);
    --border-smooth: 1px solid rgba(44, 95, 45, 0.08);
}

* { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
}

html { 
    scroll-behavior: smooth; 
    overflow-x: hidden; 
    scroll-padding-top: 100px; 
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    background-color: var(--sand-bg);
    line-height: 1.7;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { font-family: var(--font-heading); color: var(--dark-green); font-weight: 700; }
h1 { font-size: 3.5rem; line-height: 1.1; font-weight: 900; }
h2 { font-size: 3.5rem; line-height: 1.2; }
h3 { font-size: 1.8rem; margin-bottom: 15px; }
h4 { font-size: 1.4rem; margin-bottom: 10px; }


/* ==========================================================================
   2. PALĪGKLASES UN PAMATSTRUKTŪRA (Utility & Layout)
   ========================================================================== */
.white-text { color: var(--white) !important; }
.text-center { text-align: center; }
.mt-2 { margin-top: 2rem; }
.mb-3 { margin-bottom: 1.5rem !important; }
.w-100 { width: 100%; }
.opacity-80 { opacity: 0.8; }

.container { max-width: 1400px; margin: 0 auto; padding: 0 var(--site-padding); }
.section-padding { padding: 100px 0; }
.bg-light { background-color: #ffffff; }
.bg-dark-layer { background-color: #122b1e; }
.relative-z { position: relative; z-index: 2; }

.texture-bg { position: relative; }
.texture-bg::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.05'/%3E%3C/svg%3E");
    pointer-events: none; z-index: 0;
}
.texture-bg > .container { position: relative; z-index: 1; }

.section-header { margin-bottom: 4rem; }
.section-header h2 { margin-bottom: 12px; }
.section-header h1 { margin-bottom: 15px; }
.section-header p { font-size: 1.2rem; color: #555; max-width: 800px; margin: 0 auto; font-weight: 300; }
.large-text { font-size: 1.25rem; font-weight: 400; line-height: 1.8; }

.premium-box {
    background: var(--white);
    border-radius: 24px;
    box-shadow: var(--shadow-soft);
    border: var(--border-smooth);
    transition: var(--transition);
}


/* ==========================================================================
   3. POGAS, SAITES & KARUSEĻA VADĪBA (Buttons & Links)
   ========================================================================== */
.btn {
    display: inline-block; padding: 16px 36px; border-radius: 50px;
    text-decoration: none; font-weight: 600; text-transform: uppercase; letter-spacing: 0px;
    font-size: 0.95rem; transition: var(--transition); cursor: pointer; border: 2px solid transparent; text-align: center;
    box-shadow: 0 10px 20px rgba(44, 95, 45, 0.08);
    font-family: var(--font-body);
}
.btn-primary { background-color: var(--dark-green); color: var(--white) !important; }
.btn-primary:hover { background-color: var(--light-green); transform: translateY(-4px); box-shadow: var(--shadow-deep); }
.btn-secondary { background-color: transparent; border-color: var(--dark-green); color: var(--dark-green); box-shadow: none; }
.btn-secondary:hover { background-color: var(--dark-green); color: var(--white) !important; transform: translateY(-4px); box-shadow: var(--shadow-soft); }
.btn-small { padding: 12px 28px; font-size: 0.85rem; }
.btn-large { padding: 20px 48px; font-size: 1.1rem; }

.text-link { color: var(--light-green); text-decoration: none; font-weight: 400; margin-left: 5px; transition: color 0.3s ease; }
.text-link:hover { color: var(--white); }
.text-link-dark { color: var(--dark-green); text-decoration: none; font-weight: 600; margin-left: 5px; transition: color 0.3s ease; }
.text-link-dark:hover { color: var(--light-green); }
.text-link-light { color: var(--light-green); text-decoration: none; font-weight: 600; margin-left: 5px; transition: color 0.3s ease; }
.text-link-light:hover { color: var(--sand-bg); }

/* Karuseļa un sistēmas klases */
.nav-hidden { opacity: 0 !important; visibility: hidden !important; pointer-events: none !important; }
.gallery-nav, .program-nav, .hl-nav { display: none; }


/* ==========================================================================
   4. GALVENĀS SEKCIJAS (Komponentes)
   ========================================================================== */

/* --- HEADER --- */
.sticky-header {
    position: fixed; top: 0; left: 0; right: 0;
    background: rgba(242, 241, 240, 0.95); backdrop-filter: blur(12px);
    padding: 15px var(--site-padding); 
    display: flex; justify-content: space-between; align-items: center;
    z-index: 1000; border-bottom: 2px solid var(--dark-green);
}
.sticky-header .logo { display: flex; align-items: center; text-decoration: none; }
.sticky-header nav { display: flex; align-items: center; }
.sticky-header nav a { text-decoration: none; color: var(--dark-green); margin-right: 30px; font-weight: 500; font-size: 1rem; transition: var(--transition); }
.sticky-header nav a:hover:not(.header-cta) { color: var(--light-green); }
.sticky-header .header-cta { margin-right: 0; color: var(--white) !important; box-shadow: none; }

/* --- HERO --- */
.hero {
    position: relative; min-height: 100vh;
    padding-top: 100px; padding-bottom: 40px;
    display: flex; align-items: center; justify-content: center;
    background: url('./heroimg.jpg') center/cover no-repeat;
    background-color: var(--sand-bg);
}
.hero-content { position: relative; z-index: 2; text-align: center; width: 100%; max-width: 1300px; padding: 0 var(--site-padding); }
.hero-divider { height: 1.5px; background-color: var(--dark-green); width: 140px; margin: 25px auto; opacity: 0.8; }
.hero .tagline { font-size: 1.5rem; font-weight: 400; margin-bottom: 40px; color: var(--text-dark); }
.hero-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 25px; position: relative; margin-bottom: 50px; }
.hero-gallery .img-wrapper { overflow: hidden; border-radius: 16px; box-shadow: var(--shadow-deep); height: 340px; border: var(--border-smooth); }
.hero-gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s ease; }
.hero-gallery .img-wrapper:hover img { transform: scale(1.05); }
.hero-date-banner {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    background-color: var(--dark-green); color: var(--white); padding: 20px 45px;
    font-family: var(--font-heading); font-size: 1.8rem; font-weight: 600; letter-spacing: 1px;
    white-space: nowrap; z-index: 10; border-radius: 8px; box-shadow: 0 20px 40px rgba(44,95,45,0.4);
}
.hero-actions { display: flex; gap: 25px; justify-content: center; }

/* --- COUNTDOWN (TAIMERIS) --- */
.countdown-section { padding: 60px 0; }
.countdown-section .timer-title { color: var(--light-green); font-size: 1.8rem; margin-bottom: 30px; }
.timer-container { display: flex; justify-content: center; gap: 30px; }
.timer-box { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); padding: 20px 30px; border-radius: 16px; min-width: 130px; backdrop-filter: blur(5px); box-shadow: inset 0 1px 2px rgba(255,255,255,0.05); }
.timer-box span { font-size: 4rem; font-family: var(--font-heading); color: var(--white); font-weight: 700; line-height: 1; display: block; }
.timer-box p { font-size: 0.9rem; text-transform: uppercase; letter-spacing: 1.5px; color: var(--light-green); margin-top: 10px; }

/* --- PROGRAMMAS KARTIŅAS --- */
.program-section { position: relative; overflow: hidden; }
.program-cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.program-card {
    position: relative; border-radius: 20px; overflow: hidden;
    aspect-ratio: 3 / 4; min-height: 480px; background-size: cover; background-position: center;
    display: flex; align-items: flex-end; padding: 35px 30px;
    box-shadow: var(--shadow-soft); transition: var(--transition);
}
.program-card-badge {
    position: absolute; top: 20px; left: 20px; background-color: #000000ad; 
    color: var(--white); padding: 8px 18px; border-radius: 30px; font-size: 0.85rem; font-weight: 700;
    letter-spacing: 0.5px; z-index: 5; box-shadow: 0 4px 10px rgba(0,0,0,0.4); border: 2px solid #adadad
}
.program-card:hover { transform: translateY(-8px); box-shadow: 0 15px 40px rgba(151,169,38,0.3); }
.program-card-overlay {
    position: absolute; top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.453) 40%, rgba(0, 0, 0, 0.1) 100%);
    z-index: 1;
}
.program-card-content { position: relative; z-index: 2; width: 100%; text-align: left; }
.program-card-content .program-card-title { color: var(--white); font-family: var(--font-heading); font-size: 1.65rem; font-weight: 700; text-transform: none; margin-bottom: 15px; line-height: 1.2; }
.program-card-content p { color: rgba(255, 255, 255, 0.9); font-size: 1.05rem; margin-bottom: 25px; line-height: 1.5; }

/* --- 9 TAKAS (Accordion) --- */
.takas-row { display: flex; gap: 30px; margin-bottom: 50px; align-items: stretch; }
.takas-col { flex: 1; display: flex; flex-direction: column; justify-content: center; }
.takas-image { width: 100%; height: 100%; object-fit: cover; border-radius: 24px; }

.accordion { width: 100%; }
.accordion-item { margin-bottom: 18px; overflow: hidden; border-radius: 12px; }
.accordion-header { width: 100%; text-align: left; padding: 22px 30px; background: transparent; border: none; font-weight: 600; font-size: 1.25rem; font-family: var(--font-body); color: var(--dark-green); cursor: pointer; display: flex; justify-content: space-between; align-items: center; transition: var(--transition); }
.accordion-header::after { content: '+'; font-size: 1.6rem; color: var(--light-green); font-family: var(--font-heading); }
.accordion-header.active { color: var(--light-green); }
.accordion-header.active::after { content: '−'; }
.accordion-content { padding: 0 30px; max-height: 0; overflow: hidden; transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1); }
.accordion-content p { padding-bottom: 20px; font-size: 1.05rem; }

.faq-cta-link { width: 100%; text-align: left; padding: 22px 30px; background: transparent; border: none; font-weight: 600; font-size: 1.25rem; font-family: var(--font-body); color: var(--dark-green); display: flex; justify-content: space-between; align-items: center; transition: var(--transition); text-decoration: none; }
.faq-cta-link::after { content: '→'; font-size: 1.6rem; color: var(--light-green); font-family: var(--font-heading); }
.faq-cta-link:hover { color: var(--light-green); }

/* --- GALVENIE NOTIKUMI --- */
.highlights-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.hl-item { 
    position: relative; aspect-ratio: 3 / 4; border-radius: 16px; overflow: hidden;
    background-size: cover; background-position: center; display: flex; align-items: flex-end; padding: 25px; 
}
.hl-overlay { position: absolute; top:0; left:0; width:100%; height:100%; background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0,0,0,0) 60%); }
.hl-content { position: relative; z-index: 2; text-align: left; }
.hl-content h3 { color: var(--white); margin-bottom: 5px; font-size: 1.8rem; line-height: 1.1; }
.hl-content p { color: rgba(255,255,255,0.85); font-size: 1.05rem; margin: 0; line-height: 1.3; }

/* --- VIDEO BLOKI --- */
.video-section { padding: 0 !important; margin: 0 !important; border-bottom: 2px solid var(--dark-green); }
.video-full-width { width: 100%; max-height: 45vh; overflow: hidden; position: relative; display: flex; align-items: center; justify-content: center; }
.bg-video { width: 100%; height: 100%; object-fit: cover; display: block; }
.video-content-text-center { position: absolute; z-index: 2; text-align: center; padding: 20px; pointer-events: none; }
.video-content-text-center h2 { color: var(--white); font-size: 4rem; text-shadow: 0 5px 15px rgba(0,0,0,0.5); margin: 0; }
.video-section-tall { padding: 0 !important; margin: 0 !important; }
.tall-video { max-height: 85vh; box-shadow: var(--shadow-deep); }

/* --- GALERIJA --- */
.gallery-polaroid-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.polaroid { background: var(--white); padding: 12px 12px 40px 12px; border-radius: 4px; box-shadow: 0 10px 20px rgba(0,0,0,0.06); border: 1px solid #eaeaea; }
.polaroid img { width: 100%; height: 350px; object-fit: cover; display: block; border-radius: 2px; }
.gallery-wrapper { position: relative; }
.gallery-polaroid-grid .polaroid.hidden-desktop { display: none; }
.gallery-polaroid-grid.show-all .polaroid.hidden-desktop { display: block; animation: fadeInGallery 0.5s ease-in; }
@keyframes fadeInGallery { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

/* --- BIĻETES --- */
.tickets-info { margin-top: 20px; font-size: 1.1rem !important; line-height: 1.6; color: #444; }
.tickets-flex { display: flex; justify-content: center; gap: 40px; margin-bottom: 50px; }
.ticket-card { flex: 1; max-width: 450px; text-align: center; position: relative; padding: 60px 40px; border: 2px solid transparent; }
.ticket-card.premium { padding-top: 80px !important; border-color: var(--light-green); transform: scale(1.04); background: linear-gradient(to bottom, var(--white), #f9faf9); }
.ticket-card.premium:hover { transform: scale(1.04) translateY(-10px); }
.ticket-card .badge { position: absolute; top: -18px; left: 50%; transform: translateX(-50%); background: var(--dark-green); color: var(--white); padding: 6px 20px; border-radius: 50px; font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; box-shadow: 0 5px 10px rgba(0,0,0,0.1); }
.ticket-card .badge-top { position: absolute; top: 25px; left: 50%; transform: translateX(-50%); background: var(--light-green); color: var(--white); padding: 6px 20px; border-radius: 50px; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; }
.ticket-card .price { font-size: 3.8rem; font-family: var(--font-heading); color: var(--dark-green); margin: 25px 0 10px 0; line-height: 1; font-weight: 900; }
.ticket-desc { color: #666; margin-bottom: 30px; font-size: 1.1rem; }

/* --- SOCIAL PROOF (Sajūtu video/Features) --- */
.social-proof { position: relative; border-bottom: 2px solid var(--dark-green); overflow: hidden; }
.video-bg-wrapper { position: absolute; top:0; left:0; width:100%; height:100%; z-index:0; } 
.video-bg-wrapper .bg-video { width: 100%; height: 100%; object-fit: cover; }
.video-overlay-dark { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.4); z-index: 1; }
.split-layout { display: flex; align-items: center; gap: 60px; }
.split-left { flex: 1; }
.split-right { flex: 1.5; }
.feature-list { display: grid; grid-template-columns: 1fr 1fr; gap: 25px; }
.feature-item.glass-card { 
    display: flex; align-items: center; gap: 15px; background: rgba(255, 255, 255, 0.1); 
    padding: 20px; border-radius: 16px; box-shadow: var(--shadow-soft); font-weight: 600; font-size: 1.1rem;
    border: 1px solid rgba(255, 255, 255, 0.15); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.check-icon { width: 32px; height: 32px; flex-shrink: 0; border-radius: 50%; box-shadow: 0 4px 10px rgba(151,169,38,0.3); }

/* --- PRAKTISKI (Svarīgi zināt) --- */
.practical-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.prac-item { padding: 40px 30px; text-align: left; display: flex; flex-direction: column; justify-content: flex-start; align-items: flex-start; }
.prac-icon { width: 48px; height: 48px; color: var(--accent-orange); margin-bottom: 20px; }
.prac-item p { font-size: 0.95rem; color: #555; margin-bottom: 25px; flex-grow: 1; }

/* --- FINAL CTA & FOOTER --- */
.final-cta { background: url('./beigasfons.jpg') center/cover fixed; position: relative; }
.final-cta::before { content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0, 0, 0, 0.5); }
.final-cta .container { position: relative; z-index: 2; color: var(--white); }
.final-cta h2 { margin-bottom: 20px; }
.final-cta p { margin-bottom: 25px; font-size: 1.2rem; }

footer { background: #122b1e; color: #8a9c92; padding: 50px 0; font-size: 0.95rem; border-top: 1px solid rgba(255,255,255,0.05); }
.social-links { display: flex; justify-content: center; gap: 20px; margin-bottom: 20px; }
.social-links a img { width: 50px; height: 50px; transition: var(--transition); }
.social-links a:hover img { transform: translateY(-5px); opacity: 0.8; }


/* ==========================================================================
   5. UI ELEMENTI & ANIMĀCIJAS
   ========================================================================== */
.slide-up { opacity: 0; transform: translateY(50px); transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1); }
.slide-in-left { opacity: 0; transform: translateX(-60px); transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1); }
.slide-in-right { opacity: 0; transform: translateX(60px); transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1); }
.slide-up.visible, .slide-in-left.visible, .slide-in-right.visible { opacity: 1; transform: translate(0); }

.mobile-sticky-cta { display: none; }

.back-to-top {
    position: fixed; bottom: 30px; right: 5%; width: 55px; height: 55px;
    background-color: var(--white); color: var(--dark-green);
    display: flex; align-items: center; justify-content: center; border-radius: 50%;
    text-decoration: none; box-shadow: 0 4px 15px rgba(0,0,0,0.15); z-index: 998;
    opacity: 0; visibility: hidden; transition: var(--transition); border: 1px solid var(--border-smooth);
}
.back-to-top.visible { opacity: 1; visibility: visible; }
.back-to-top:hover { background-color: var(--dark-green); color: var(--white); transform: translateY(-5px); }


/* ==========================================================================
   6. MEDIA QUERIES (Responzīvais Dizains) 
   ========================================================================== */

/* --- 4K EKRĀNI --- */
@media (min-width: 2560px) {
    .container { max-width: 1800px; }
    h1 { font-size: 6rem; }
    h2 { font-size: 4rem; }
    p.large-text { font-size: 1.5rem; max-width: 1000px; }
    .hero-gallery .img-wrapper { height: 450px; }
    .polaroid img { height: 500px; }
}

/* --- LAPTOP (līdz 1200px) --- */
@media (max-width: 1200px) {
    .program-cards-grid { grid-template-columns: repeat(3, 1fr) !important; gap: 15px; }
    .program-card { min-height: 400px; padding: 25px 20px; aspect-ratio: auto; }
    .program-card-badge { padding: 6px 12px; font-size: 0.75rem; }
}

/* --- LAPTOP / TABLET HORIZONTAL (līdz 1024px) --- */
@media (max-width: 1024px) {
    h1 { font-size: 2.8rem !important; }
    h2 { font-size: 2.5rem; }
    .hero .tagline, .section-header p { font-size: 1.2rem; }

    .hero { height: auto; padding-top: 130px; padding-bottom: 70px; }
    .section-padding { padding: 80px 0; }
    
    /* Social Proof */
    .split-layout { flex-direction: column; text-align: left; gap: 40px; }
    .split-left .hero-divider { margin: 20px 0 !important; } 
    .feature-list { grid-template-columns: repeat(2, 1fr); max-width: 700px; margin: 0 auto; text-align: left; }
    
    .highlights-grid, .gallery-polaroid-grid { grid-template-columns: repeat(2, 1fr); }
    
    /* Biļetes */
    .tickets-flex { gap: 25px; } 
    .ticket-card { padding: 40px 25px; } 
    .ticket-card .price { font-size: 3rem; }
    .ticket-card.premium { transform: none; }
    .ticket-card.premium:hover { transform: translateY(-10px); }
    
    .hero-gallery { grid-template-columns: 1fr; gap: 15px; }
    .hero-gallery .img-wrapper { height: 250px; }
    .hero-date-banner { position: relative; transform: none; top: 0; left: 0; margin-top: -20px; display: inline-block; }
    .polaroid img { height: auto; aspect-ratio: 4/3; }

    /* Programmas Karuselis */
    .program-cards-grid {
        display: flex !important; flex-wrap: nowrap; overflow-x: auto;
        scroll-snap-type: x mandatory; scroll-behavior: smooth; gap: 20px;
        padding: 15px 0 25px 0; margin: 0 -var(--site-padding); 
        padding-left: var(--site-padding); padding-right: var(--site-padding);
        -ms-overflow-style: none; scrollbar-width: none;
        cursor: grab; -webkit-user-select: none; user-select: none;
    }
    .program-cards-grid::-webkit-scrollbar { display: none; }
    .program-cards-grid.active { cursor: grabbing; }

    .program-card { flex: 0 0 58%; scroll-snap-align: center; min-height: 420px; aspect-ratio: auto; padding: 25px 20px; }
    .program-card-badge { padding: 6px 12px; font-size: 0.75rem; }

    .program-nav {
        display: flex; align-items: center; justify-content: center; position: absolute; top: 50%; transform: translateY(-50%);
        width: 45px; height: 45px; background: rgba(255, 255, 255, 0.9); border: 1px solid #e5e5e5; border-radius: 50%;
        color: var(--dark-green); font-size: 1.2rem; box-shadow: 0 5px 15px rgba(0,0,0,0.15); cursor: pointer; z-index: 10; transition: background 0.3s ease;
    }
    .program-nav:active { background: #f0f0f0; }
    .prev-btn-prog { left: -5px; } 
    .next-btn-prog { right: -5px; }
    
    /* Praktiski */
    .practical-grid { grid-template-columns: repeat(2, 1fr); gap: 25px; }
}

/* --- TABLET PORTRAIT / LIELI TELEFONI (līdz 768px) --- */
@media (max-width: 768px) {
    .takas-row { flex-direction: column !important; }
    .hero { padding-top: 180px; } 
    
    h1 { font-size: 2.5rem !important; }
    h2 { font-size: 2.2rem; }
    .video-content-text-center h2 { font-size: 2rem; }

    .mobile-sticky-cta { 
        display: block; position: fixed; bottom: 0; left: 0; width: 100%; 
        padding: 15px 20px; background: rgba(255,255,255,0.95); backdrop-filter: blur(10px);
        z-index: 1000; border-top: 1px solid #eee;
    }
    body { padding-bottom: 80px; }
    
    .sticky-header { flex-direction: column; padding: 15px; gap: 10px; }
    .sticky-header nav { margin-top: 5px; flex-wrap: wrap; justify-content: center; gap: 12px; }
    .sticky-header nav a { margin: 0; }
    .sticky-header .header-cta { display: none; }
    
    .practical-grid { grid-template-columns: 1fr; }
    .program-card { flex: 0 0 75%; }

    /* Biļetes uz vienu kolonnu */
    .tickets-flex { flex-direction: column; align-items: center; gap: 40px; }
    .ticket-card { width: 100%; padding: 50px 30px; }

    /* Galerijas un Notikumu Karuseļi */
    .gallery-actions { display: none !important; }
    .gallery-polaroid-grid, .highlights-grid {
        display: flex !important; flex-wrap: nowrap; overflow-x: auto;
        scroll-snap-type: x mandatory; scroll-behavior: smooth; gap: 20px;
        padding: 15px 0 25px 0; margin: 0 -var(--site-padding); 
        padding-left: var(--site-padding); padding-right: var(--site-padding);
        -ms-overflow-style: none; scrollbar-width: none;
        cursor: grab; -webkit-user-select: none; user-select: none;
    }
    .gallery-polaroid-grid::-webkit-scrollbar, .highlights-grid::-webkit-scrollbar { display: none; }
    .gallery-polaroid-grid.active, .highlights-grid.active { cursor: grabbing; }
    .gallery-polaroid-grid .polaroid img { pointer-events: none; }
    
    .gallery-polaroid-grid .polaroid { flex: 0 0 75%; scroll-snap-align: center; display: block !important; }
    .hl-item { flex: 0 0 75%; scroll-snap-align: center; display: flex; align-items: flex-end; }

    /* Karuseļu Pogas */
    .gallery-nav, .hl-nav {
        display: flex; align-items: center; justify-content: center; position: absolute; top: 50%; transform: translateY(-50%);
        width: 45px; height: 45px; background: rgba(255, 255, 255, 0.9); border: 1px solid #e5e5e5; border-radius: 50%;
        color: var(--dark-green); font-size: 1.2rem; box-shadow: 0 5px 15px rgba(0,0,0,0.15); cursor: pointer; z-index: 10; transition: background 0.3s ease;
    }
    .gallery-nav:active, .hl-nav:active { background: #f0f0f0; }
    .prev-btn { left: 0px; } .next-btn { right: 0px; }
    .prev-btn-hl { left: -5px; } .next-btn-hl { right: -5px; }
    
    /* Social Proof */
    p.large-text { font-size: 1.1rem !important; }

    /* Back To Top poga */
    .back-to-top { bottom: 90px; right: 20px; width: 45px; height: 45px; }
}

/* --- Taimera Salauzums (680px) --- */
@media (max-width: 680px) {
    .timer-container { 
        display: grid !important; grid-template-columns: repeat(2, 1fr) !important; 
        gap: 15px; max-width: 360px; margin: 0 auto;  
    }
    .timer-box { width: 100%; min-width: auto; padding: 15px 10px; border-radius: 12px; }
    .timer-box span { font-size: 2.4rem !important; } 
    .timer-box p { font-size: 0.8rem !important; letter-spacing: 1px; margin-top: 5px; }
    .countdown-section .timer-title { font-size: 1.6rem !important; margin-bottom: 20px; }
}

/* --- MOBILIE TELEFONI (līdz 500px) --- */
@media (max-width: 500px) {
    .program-card { flex: 0 0 85%; min-height: 360px; padding: 20px 15px; }
    .program-card-content .program-card-title { font-size: 1.4rem; margin-bottom: 10px; }
    .program-card-content p { font-size: 0.9rem !important; margin-bottom: 20px; }
    .program-card-content .btn { padding: 10px 15px; font-size: 0.8rem; }

    .hl-item { flex: 0 0 85%; }
    .hl-content h3 { font-size: 1.4rem; margin-bottom: 8px; }
    .hl-content p { font-size: 0.9rem !important; }

    /* Biļetes */
    .tickets-info { font-size: 0.95rem !important; }
    .ticket-card { padding: 35px 20px; }
    .ticket-card h3 { font-size: 1.5rem; margin-bottom: 5px; }
    .ticket-card .price { font-size: 2.5rem; margin: 15px 0 10px 0; }
    .ticket-desc { font-size: 0.95rem; margin-bottom: 25px; }
    .ticket-card .badge { padding: 6px 18px; font-size: 0.75rem; top: -14px; }

    .hero-date-banner {
        font-size: 1.2rem !important; padding: 15px 20px; width: 100%; max-width: 300px; 
        margin: 0 auto 25px auto !important; display: block; white-space: normal; 
    }
    .hero-actions { flex-direction: column; gap: 15px; align-items: center; width: 100%; }
    .hero-actions .btn { width: 100%; max-width: 300px; margin: 0 auto; }
    
    /* Social Proof */
    .split-layout { text-align: center; }
    .split-left .hero-divider { margin: 20px auto !important; }
    p.large-text { font-size: 1rem !important; }
    .feature-list { grid-template-columns: 1fr; gap: 15px; max-width: 350px; margin: 0 auto; }
}

/* --- SUPER MAZI TELEFONI (līdz 320px) --- */
@media (max-width: 320px) {
    .hero-date-banner { font-size: 1.05rem !important; padding: 12px 10px; letter-spacing: 0.5px; }
    .hero-actions .btn { font-size: 0.85rem; padding: 12px 15px; }
    .timer-box span { font-size: 1.8rem !important; }
    .timer-box p { font-size: 0.65rem !important; }
    .timer-container { gap: 8px; }
}