/* --- VISPĀRĪGIE IESTATĪJUMI --- */
html { scroll-behavior: smooth; }
:root {
    --dark-bg: #FFFFFF; --dark-secondary: #F8F8F8;
    --yellow-accent: #DEB841; --purple-footer: #6a1b9a; --purple-table: #5e35b1;
    --text-light: #222222; --text-grey: #444444; --text-dark: #FFFFFF;
    --offer-grey: #37323E; --offer-yellow: #DEB841;
    --price-blue-light: #61A5E3; --price-blue-dark: #014F86;
}

body { margin: 0; padding: 0; font-family: 'Poppins', sans-serif; background-color: var(--dark-bg); color: var(--text-light); line-height: 1.6; overflow-x: hidden; }
html, body {
  overflow-x: hidden;
  overflow-y: auto;
}
h1, h2, h3, h4 { margin: 0 0 15px 0; font-weight: 700; text-transform: uppercase; }
p { margin: 0 0 20px 0; color: var(--text-grey); font-size: 16px; font-weight: 400; }
ul { padding-left: 20px; margin: 0 0 25px 0; }
li { margin-bottom: 10px; color: var(--text-grey); }
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; transition: 0.3s; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* Pogas */
.btn { display: inline-block; padding: 12px 30px; border: 2px solid var(--yellow-accent); color: var(--text-light); font-weight: bold; text-transform: uppercase; font-size: 14px; letter-spacing: 1px; }
.bg-dark .btn:hover { background: var(--yellow-accent); color: var(--text-dark); }
.bg-yellow .btn { border-color: var(--text-light); color: var(--text-light); }
.bg-yellow .btn:hover { background: var(--text-light); color: var(--yellow-accent); }

/* --- HEADER & MENU --- */
.site-header{
  background-color: var(--offer-grey);
  padding: 15px 0;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 3000;
  border-bottom: none;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
.nav-container { display: flex; justify-content: space-between; align-items: center; }
.logo img { height: 40px; }
.main-menu a { color: #ffffff; margin-left: 25px; font-weight: 600; font-size: 14px; text-transform: uppercase; }
.main-menu a:hover { color: var(--yellow-accent); }
.main-menu a.current { color: var(--yellow-accent); border-bottom: 2px solid var(--yellow-accent); }

/* --- MOBILĀ IZVĒLNE (Hamburger) --- */
.mobile-menu-toggle {
    display: none; /* Rādās tikai mobilajā */
    background: none;
    border: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: var(--yellow-accent);
    padding: 10px;
    z-index: 1001;
}


/* --- HERO SECTION --- */
.hero { 
    position: relative; 
    background: url('pro-video-podkasta-studija-industrials-fons-led-ekrans-riga.webp') center/cover no-repeat; 
    height: 80vh; 
    display: flex; 
    align-items: flex-end; 
    justify-content: center; 
    padding-bottom: 40px;
}
.hero-overlay { 
    background: rgba(0, 0, 0, 0.65); 
    padding: 15px 40px; 
    border-radius: 8px; 
    text-align: center; 
    width: auto; 
    max-width: 90%; 
    margin-bottom: 0;
    white-space: nowrap; 
}
.hero-overlay h1 { 
    color: #fff; 
    font-size: 24px; 
    margin-bottom: 5px; 
    text-transform: uppercase; 
    letter-spacing: 0.5px; 
    line-height: 1.2;
}
.hero-overlay p { 
    color: #f0f0f0; 
    font-size: 13px; 
    line-height: 1.3; 
    margin-bottom: 0; 
    font-weight: 400; 
    white-space: normal; 
}

/* ===== KĀPĒC IZVĒLĒTIES MŪS (Jaunā šaurā josla) ===== */
.why-us-section {
    padding: 40px 0; 
    background-color: var(--price-blue-dark); 
    color: #fff;
    text-align: center;
}
.why-us-title { margin-bottom: 25px; font-size: 28px; color: var(--yellow-accent); }

.why-us-grid {
    display: flex; 
    justify-content: space-around; 
    align-items: flex-start;
    flex-wrap: wrap; 
    gap: 20px;
}

.why-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    flex: 1; 
    min-width: 100px; 
}

.why-item i {
    font-size: 24px; 
    color: var(--yellow-accent);
    background: rgba(255,255,255,0.1);
    padding: 10px;
    border-radius: 50%;
    margin-bottom: 0;
}

.why-item p {
    color: #f0f0f0;
    font-size: 14px; 
    line-height: 1.3;
    max-width: 100%;
    margin: 0;
}

/* ===== PIEDĀVĀJUMU SADAĻAS ===== */
.offers { margin: 0; padding: 0; }

.offer-section {
    display: flex; flex-direction: column; justify-content: center;
    padding: 80px 0;
    transition: transform 0.6s ease; transform: translateY(50px); opacity: 1;
}
.offer-section.show { transform: translateY(0); }

.offer-container {
    display: flex;
    align-items: center; 
    justify-content: center;
    gap: 60px; 
    width: 100%;
}

.offer-container.reverse { flex-direction: row-reverse; }

.offer-text { flex: 1; min-width: 300px; }
.offer-visuals { flex: 1; min-width: 300px; display: flex; flex-direction: column; align-items: center; }

.offer-visuals img {
    width: 100%; height: auto; max-height: 500px; object-fit: cover;
    border-radius: 20px; box-shadow: 0 10px 30px rgba(0,0,0,0.15); margin-bottom: 25px;
}

.visual-actions { text-align: center; width: 100%; }
.small-note {
    font-size: 13px !important; margin-top: 15px; font-style: italic; opacity: 0.8; line-height: 1.4 !important;
}
.highlight { font-weight: 600; margin-bottom: 5px; }

.min-time { 
    font-weight: 800; 
    margin-bottom: 20px; 
    font-size: 16px; 
    color: #007bff; 
    text-transform: none; 
}
.offer-section.bg-grey .min-time { color: #61A5E3; }
.offer-section.bg-yellow .min-time { color: #014F86; }

.text-box {
    padding: 30px; border-radius: 16px;
    background-color: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(5px);
}
.offer-section.bg-yellow .text-box { background-color: rgba(0, 0, 0, 0.08); border-color: rgba(0, 0, 0, 0.1); }

.offer-section h2 { margin: 0 0 10px 0; font-family: 'Bebas Neue', sans-serif; font-size: 64px; letter-spacing: 2px; text-transform: uppercase; line-height: 1; }
.offer-price { display: block; font-size: 32px; font-weight: 800; margin-bottom: 5px; }
.offer-section .offer-text p { font-size: 17px; line-height: 1.7; margin-bottom: 20px; font-weight: 500; }

.tech-list { list-style-type: none; padding-left: 0; }
.tech-list li { display: flex; gap: 10px; align-items: flex-start; }

.offer-section.bg-grey { background-color: var(--offer-grey); color: #FFFFFF; }
.offer-section.bg-grey h2 { color: var(--yellow-accent); }
.offer-section.bg-grey p, .offer-section.bg-grey .small-note { color: #f0f0f0; }
.offer-section.bg-grey li, .offer-section.bg-grey li i { color: #f0f0f0; }
.offer-section.bg-grey .offer-price { color: var(--price-blue-light); }
.offer-section.bg-grey .offer-btn { border-color: var(--offer-yellow); color: var(--offer-yellow); }
.offer-section.bg-grey .offer-btn:hover { background-color: var(--offer-yellow); color: var(--offer-grey); }

.offer-section.bg-yellow { background-color: var(--offer-yellow); color: var(--offer-grey); }
.offer-section.bg-yellow p, .offer-section.bg-yellow .small-note { color: #2d2d2d; }
.offer-section.bg-yellow li, .offer-section.bg-yellow li i { color: #2d2d2d; }
.offer-section.bg-yellow .offer-price { color: var(--price-blue-dark); }
.offer-section.bg-yellow .offer-btn { border-color: var(--offer-grey); color: var(--offer-grey); }
.offer-section.bg-yellow .offer-btn:hover { background-color: var(--offer-grey); color: var(--offer-yellow); }

.offer-btn {
    border: 2px solid currentColor; padding: 12px 30px;
    text-transform: uppercase; font-size: 14px; font-weight: 700;
    transition: background 0.3s, color 0.3s; display: inline-block; text-decoration: none;
}
.offer-btn:hover { background: currentColor; color: var(--offer-grey); }

/* --- FAQ SECTION --- */
.faq-section { background-color: var(--offer-grey); color: var(--offer-yellow); padding: 80px 0; }
.faq-section .section-heading { color: var(--offer-yellow); margin-bottom: 40px; }
.faq-items { max-width: 800px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid rgba(255, 255, 255, 0.2); padding: 0; }
.faq-question { width: 100%; background: none; border: none; color: inherit; text-align: left; padding: 20px 0; font-size: 18px; font-weight: bold; display: flex; justify-content: space-between; align-items: center; cursor: pointer; }
.faq-icon { display: inline-block; width: 12px; height: 12px; border-left: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(-45deg); transition: transform 0.3s; margin-left: 10px; }
.faq-item.open .faq-icon { transform: rotate(135deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.35s ease; }
.faq-answer p { margin: 0 0 20px; padding-left: 5px; font-size: 16px; color: #e0e0e0; font-weight: 400; }

/* --- CENU TABULAS --- */
.rental-section { 
    background-color: var(--offer-grey); 
    padding: 80px 0; 
}
.rental-section .section-title { 
    color: var(--yellow-accent); 
    font-size: 32px; 
    letter-spacing: 2px; 
    margin-bottom: 20px; 
    text-align: center; /* Centrēts virsraksts */
}
.rental-section p { color: #f0f0f0; }

.tabs-container { display: flex; justify-content: center; flex-wrap: wrap; gap: 15px; margin-bottom: 40px; }
.tab-btn { 
    background: #555; 
    color: var(--price-blue-light); 
    border: 2px solid #555; 
    padding: 10px 25px; font-size: 14px; text-transform: uppercase; font-weight: bold; cursor: pointer; transition: 0.3s; 
}
.tab-btn:hover, .tab-btn.active { background-color: #777; color: #fff; border-color: #777; }

.tab-content { display: none; animation: fadeIn 0.5s; }
.tab-content.active-content { display: block; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

.bg-purple-table { 
    background-color: var(--yellow-accent); 
    padding: 30px; border-radius: 8px; 
}
.rent-table-container h4 { 
    display: flex; justify-content: space-between; font-size: 16px; 
    color: var(--offer-grey); 
    padding-bottom: 10px; border-bottom: 2px solid var(--offer-grey); margin-bottom: 15px; 
}
.table-row { 
    display: flex; justify-content: space-between; padding: 12px 15px; 
    border-bottom: 1px solid rgba(0, 0, 0, 0.1); 
    color: var(--offer-grey); 
    font-weight: 500; transition: background-color 0.2s; margin: 0 -15px; 
}
.table-row:hover { background-color: rgba(0, 0, 0, 0.05); }
.price-right { color: var(--price-blue-dark); font-weight: bold; }
.last-row { border-bottom: none; }

.extra-info-block { margin-top: 30px; text-align: center; }
.setup-text { 
    color: var(--yellow-accent) !important; 
    font-size: 18px; 
    font-weight: bold; 
    margin-top: 20px; 
}

.green-screen-gallery { display: flex; justify-content: center; gap: 30px; flex-wrap: wrap; margin-bottom: 20px; }
.green-screen-gallery img { max-width: 45%; min-width: 300px; border-radius: 20px; box-shadow: 0 10px 20px rgba(0,0,0,0.1); }
.green-screen-text h3, .green-screen-text p { color: #000000; }
.green-screen-text { margin-top: 20px; }
/* --- SUBLEVEL NOMAS PROMO BLOKS --- */
.sublevel-rent-promo {
    text-align: center;
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.15); /* Viegla līnija atdalīšanai */
}

.sublevel-rent-promo p {
    font-size: 18px;
    color: #ffffff;
    font-weight: 600;
    margin-bottom: 25px;
    letter-spacing: 0.5px;
}

/* Pielāgojums pogai šajā konkrētajā blokā, ja vēlies to izcelt */
.sublevel-rent-promo .btn {
    background-color: transparent;
    border-color: var(--yellow-accent);
    color: #ffffff;
    transition: all 0.3s ease;
}

.sublevel-rent-promo .btn:hover {
    background-color: var(--yellow-accent);
    color: var(--offer-grey);
    transform: translateY(-2px); /* Neliels pacelšanās efekts */
}

/* --- GALERIJA --- */
.gallery-section { 
    padding: 80px 0; 
    background-color: var(--yellow-accent); 
    text-align: center; 
}
.gallery-title { margin-bottom: 50px; color: var(--offer-grey); font-size: 48px; }

.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 200px; gap: 20px; padding: 0 10px; grid-auto-flow: dense; }
.gallery-item { cursor: pointer; overflow: hidden; height: 100%; border-radius: 15px; }
.gallery-grid img { object-fit: cover; width: 100%; height: 100%; transition: transform 0.5s; }
.gallery-item:hover img { transform: scale(1.03); }
.g-wide { grid-column: span 2; }
.g-tall { grid-row: span 2; }

/* Lightbox */
/* Lightbox */
.lightbox {
    position: fixed;
    inset: 0; /* top:0; right:0; bottom:0; left:0; */
    z-index: 6000; /* above header/nav */
    background-color: rgba(0, 0, 0, 0.95);

    /* Center image both horizontally & vertically */
    display: none;       /* will be set to flex via JS */
    justify-content: center;
    align-items: center;

    /* a bit of padding so image doesn’t kiss the edges */
    padding: 40px 20px;
    box-sizing: border-box;
}

/* This is the WRAPPER div around the img */
.lightbox-content {
    max-width: 100%;
    max-height: 100%;
}

/* Actual fullscreen image styling */
.lightbox-content img {
    display: block;
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain; /* fit inside, no cropping */
}

/* Close button – moved a bit below nav bar height */
.close {
    position: fixed;
    top: 80px;           /* move below the fixed header area */
    right: 25px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 6100;       /* make extra sure it’s on top */
}

/* Navigation arrows */
.prev,
.next {
    cursor: pointer;
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    padding: 16px;
    color: white;
    font-weight: bold;
    font-size: 30px;
    user-select: none;
    background: rgba(0, 0, 0, 0.3);
    z-index: 6050;
}

.next { right: 0; }
.prev { left: 0; }

.prev:hover,
.next:hover {
    background-color: var(--yellow-accent);
    color: black;
}

/* Mobile tweaks to keep things comfy */
@media (max-width: 768px) {
    .lightbox {
        padding: 60px 10px 30px; /* a bit more room for close button on top */
    }

    .close {
        top: 70px;      /* adjust if you want even lower on mobile */
        right: 15px;
        font-size: 32px;
    }

    .prev,
    .next {
        font-size: 24px;
        padding: 10px;
    }
}

/* --- AUDIO PIEMĒRI --- */
.audio-examples-section { background-color: var(--dark-secondary); padding: 80px 0; }
.audio-examples-section .section-heading { color: var(--text-light); margin-bottom: 30px; }
.audio-examples-section .section-description { max-width: 700px; margin: 0 auto 40px; text-align: center; color: var(--text-grey); font-size: 17px; }
.audio-examples-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; }
.audio-examples-grid .example-item img { width: 100%; height: 100%; object-fit: cover; border-radius: 8px; transition: transform 0.3s; }
.audio-examples-grid .example-item img:hover { transform: scale(1.05); }

/* --- KONTAKTU (FOOTER) --- */
.contact-section {
    background-color: var(--price-blue-dark); 
    color: #fff;
    padding: 80px 0 0 0; 
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    padding-bottom: 80px;
}

.contact-map-wrapper, .contact-info-wrapper {
    height: 100%; 
    display: flex;
    flex-direction: column;
}

.contact-map-wrapper h2 {
    color: #fff;
    font-size: 36px;
    margin-bottom: 10px;
}

.parking-note { 
    color: #fceea7; 
    font-weight: 800; 
    margin-bottom: 20px; 
    font-size: 20px;
    text-shadow: 0 0 10px rgba(255, 255, 0, 0.6); 
}

.map-container {
    width: 100%;
    flex-grow: 1; 
    min-height: 400px; 
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    margin-bottom: 20px;
}

.nav-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: auto; 
}

.app-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 15px;
    border: none;
    color: #fff;
    transition: transform 0.2s, opacity 0.2s;
}
.app-btn:hover { transform: translateY(-3px); opacity: 0.9; }
.waze-btn { background-color: #33ccff; }
.whatsapp-btn { background-color: #25D366; }

.contact-info-wrapper {
    gap: 20px;
    justify-content: space-between; 
}

.contact-card {
    background-color: rgba(255, 255, 255, 0.1); 
    border-radius: 12px;
    padding: 25px;
    display: flex;
    align-items: flex-start;
    gap: 25px;
    transition: transform 0.3s;
    flex-grow: 1; 
}

.contact-card:hover { transform: translateX(5px); background-color: rgba(255, 255, 255, 0.15); }

.icon-box {
    background-color: #fff;
    width: 50px;
    height: 50px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.icon-box i { color: var(--price-blue-dark); font-size: 24px; }

.info-content h4 { margin: 0 0 5px 0; color: #fff; font-size: 18px; font-weight: 800; letter-spacing: 0.5px; }
.info-content p { margin: 0; color: #e0e0e0; font-size: 15px; line-height: 1.5; }
.info-content .note { display: block; margin-top: 8px; font-size: 12px; color: #aaa; font-style: italic; }

.copyright-bar { background-color: rgba(0, 0, 0, 0.2); padding: 20px 0; border-top: 1px solid rgba(255, 255, 255, 0.1); }
.copyright-content { display: flex; justify-content: space-between; align-items: center; }
.copyright-content p { margin: 0; font-size: 13px; color: #aaa; }
.social-icons a { color: #fff; margin-left: 20px; font-size: 18px; transition: color 0.3s; }
.social-icons a:hover { color: var(--yellow-accent); }

/* RESPONSIVE */
@media (max-width: 992px) {
    .contact-container { grid-template-columns: 1fr; gap: 50px; }
    .offer-container, .offer-container.reverse { flex-direction: column; gap: 30px; }
    .offer-text, .offer-visuals { width: 100%; min-width: auto; text-align: center; }
    .offer-section h2 { font-size: 42px; }
    .offer-visuals img { max-height: 350px; }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
    .g-wide { grid-column: span 1; }
    .g-tall { grid-row: span 1; }
    .green-screen-gallery img { max-width: 100%; }
    .hero-overlay { max-width: 90%; white-space: normal; } 
    .map-container { height: 300px; }
    
    .why-us-grid {
        flex-wrap: wrap; 
    }
    .why-item {
        min-width: 45%; 
        margin-bottom: 20px;
    }
	.offer-text .text-box {
        text-align: left;
    }
}

@media (max-width: 768px) {
    /* Header: logo + hamburger vienā rindā, izvēlne atveras nolaižamajā sarakstā */
    .nav-container { flex-direction: row; gap: 0; position: relative; }
    .mobile-menu-toggle { display: block;  z-index: 3600;}

    .main-menu {
        display: none; /* Slēpts pēc noklusējuma */
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--offer-grey); /* tāds pats pelēkais kā lapā */
        flex-direction: column;
        box-shadow: 0 10px 15px rgba(0,0,0,0.25);
        padding: 12px 0;
        text-align: center;
        z-index: 3500;
    }
    .main-menu.open {
  display: flex !important;
}

    .main-menu a {
        margin: 0;
        display: block;
        padding: 14px 15px;
        width: 100%;
        border-bottom: 1px solid rgba(255,255,255,0.15);
        color: var(--yellow-accent); /* burti dzelteni */
    }
    .main-menu a:last-child { border-bottom: none; }
    .main-menu a:hover { color: #ffffff; }

    /* Vispārējs mobilais "ietilpst ekrānā" */
    .hero { height: 70vh; padding-bottom: 25px; }
    .hero-overlay { padding: 14px 18px; max-width: 92%; }
    .hero-overlay h1 { font-size: 20px; }
    .hero-overlay p { font-size: 12px; }

    .offer-section { padding: 55px 0; }
    .text-box { padding: 22px; }
    .offer-section .offer-text p { font-size: 16px; }
    .offer-section h2 { font-size: 40px; }
    .offer-visuals img { max-height: 320px; }

    /* "Kāpēc izvēlēties mūs" — 2 ikonas vienā rindā */
    .why-us-grid { justify-content: center; }
    .why-item {
        min-width: auto;
        flex: 0 0 calc(50% - 20px);
        margin-bottom: 10px;
    }
    .why-item p { font-size: 13px; }

    /* Bloga kartītes — 1 kolonna (lai 300px min-width neizspiež ārā) */
    .blog-grid { grid-template-columns: 1fr !important; }

    /* Green Screen bildes — bez min-width overflow */
    .green-screen-gallery img { max-width: 100%; min-width: 0; width: 100%; }

    .contact-card { padding: 20px; gap: 15px; }
    .copyright-content { flex-direction: column; gap: 15px; text-align: center; }
    .social-icons a { margin: 0 10px; }
	
  /* 2) Mobile-only box sizing, lai padding/border neuzpūš platumus */
  *, *::before, *::after {
    box-sizing: border-box;
  }

  /* 3) Konteineri nekad nepārsniedz ekrāna platumu */
  .container,
  .offer-container,
  .offer-text,
  .offer-visuals,
  .text-box {
    max-width: 100%;
  }

  /* 4) Flex bērniem ļaujam reāli sarauties (tas bieži ir galvenais fix) */
  .offer-text,
  .offer-visuals {
    min-width: 0 !important;
  }

  /* 5) Bildes un pogas 100% platumā + nekad neiziet ārpus rāmja */
  .offer-visuals img {
    width: 100%;
    max-width: 100%;
    height: auto;
  }

  .offer-btn,
  .btn {
    max-width: 100%;
    white-space: normal;        /* lai garas frāzes nelauž layout */
    overflow-wrap: anywhere;    /* ja gadās super garš gabals bez atstarpēm */
    word-break: break-word;
  }

  /* 6) Teksts un saraksti: lai nekas neizspiež ārā pa labi */
  .offer-section .offer-text p,
  .offer-section .offer-text li,
  .tech-list,
  .tech-list li {
    max-width: 100%;
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  /* (Optional, bet parasti palīdz) nedaudz mazāks “gap”, lai viss elpo */
  .offer-container {
    gap: 24px;
  }
    /* Papildaprīkojuma un personāla cenas */
  .rental-section .section-title {
    font-size: 24px;
    line-height: 1.25;
    margin-bottom: 16px;
    letter-spacing: 1px;
  }

  /* Apskati mūsu studiju */
  .gallery-section .gallery-title {
    font-size: 26px;
    line-height: 1.2;
    margin-bottom: 28px;
  }
    .site-header  {
    position: sticky;
    top: 0;
    z-index: 1000;
  }
}
/* --- SADAĻA: Studija pie jums (Izbraukuma) --- */
.offer-section.bg-blue-custom {
    background-color: var(--price-blue-dark); /* Tumši zilais fons */
    color: #FFFFFF;
}

.offer-section.bg-blue-custom h2 {
    color: var(--yellow-accent); /* Dzeltens virsraksts */
}

.offer-section.bg-blue-custom .offer-price {
    color: var(--yellow-accent); /* Dzeltena cena/teksts */
}

.offer-section.bg-blue-custom p, 
.offer-section.bg-blue-custom li, 
.offer-section.bg-blue-custom i {
    color: #f0f0f0; /* Balts teksts un ikonas */
}

/* Teksta bloka fons */
.offer-section.bg-blue-custom .text-box {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.15);
}

/* Pogu stils uz zilā fona */
.offer-section.bg-blue-custom .offer-btn {
    border-color: #fff;
    color: #fff;
    width: 100%; /* Lai pogas būtu vienāda platuma, ja vēlies (vai noņem šo rindu) */
    max-width: 350px; /* Ierobežots platums, lai nav pa visu ekrānu */
    text-align: center;
}

.offer-section.bg-blue-custom .offer-btn:hover {
    background-color: #fff;
    color: var(--price-blue-dark);
}

/* Pogu izkārtojums viena zem otras */
.vertical-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px; /* Atstarpe starp pogām */
    margin-top: 25px;
}

.offer-section.bg-blue-custom .secondary-btn {
    background-color: var(--yellow-accent);
    border-color: var(--yellow-accent);
    color: var(--offer-grey);
}

.offer-section.bg-blue-custom .secondary-btn:hover {
    background-color: #fff;
    border-color: #fff;
    color: var(--price-blue-dark);
}

/* --- BLOG SECTION (Jaunā sadaļa) --- */
.blog-section {
    padding: 80px 0;
    background-color: #f9f9f9;
}
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}
.blog-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}
.blog-card:hover {
    transform: translateY(-5px);
}
.blog-image {
    height: 200px;
    width: 100%;
    object-fit: cover;
    background-color: #ddd; /* Placeholder krāsa */
}
.blog-content {
    padding: 25px;
}
.blog-date {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 10px;
    display: block;
}
.blog-card h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #333;
    line-height: 1.3;
}
.blog-card p {
    color: #555;
    line-height: 1.6;
    margin-bottom: 20px;
    font-size: 1rem;
}
.read-more {
    color: var(--purple-footer); 
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem;
    transition: color 0.3s;
}
.read-more:hover {
    color: var(--purple-table); 
}

@media (max-width: 480px) {
    /* Cenu tabulas: lai teksti neiziet ārpus ekrāna */
    .rent-table-container h4 { flex-direction: column; align-items: flex-start; gap: 6px; }
    .table-row { flex-direction: column; align-items: flex-start; gap: 6px; }
    .price-right { align-self: flex-end; }
}
/* ===== BLOGA ARHĪVA VIRSRKSTS ===== */
.blog-archive h1 {
  white-space: nowrap;     /* “Visi bloga raksti” vienā rindā */
  margin-bottom: 8px;
}

.blog-archive .archive-header .container {
  padding-top: 0;
  padding-bottom: 0;
}

.blog-archive .archive-title {
  white-space: nowrap;
  margin-bottom: 8px;
}

/* Mobilajā – vēl kompaktāk */
@media (max-width: 768px) {
  .blog-archive h1 {
    font-size: 26px;
  }
 .blog-archive .archive-header {
    padding: 18px 0 10px;   /* pelēkais bloks mazāks */
  }

  .blog-archive .archive-header .container {
    padding-top: 0;
    padding-bottom: 0;
  }

  .blog-archive .archive-title {
    font-size: 26px;
    white-space: nowrap;
    margin-bottom: 8px;
  }
   .site-header {
        position: fixed !important; /* Piespiež fiksēto pozīciju mobilajā versijā */
        top: 0;
        width: 100%;
    }
    
    /* Nodrošina, ka Hero sadaļa nesākas zem galvenes */
    body {
        padding-top: 70px; /* Pielāgojiet atkarībā no jūsu header augstuma */
    }
}