/* ============================================================
   SOULCRAFT.EU — VIENOTAIS STILS
   Fonts: Google Fonts (Merriweather + Montserrat)
   Icons: Font Awesome 6
   Lightbox: SimpleLightbox (galerija)
   ============================================================ */

/* --- MAINĪGIE --- */
:root {
    --primary-color: #2F4F4F;
    --primary-hover: #1e3333;
    --secondary-color: #8FBC8F;
    --accent-color: #D2B48C;
    --accent-hover: #c19b6c;
    --text-dark: #2c3e50;
    --text-light: #F9F9F9;
    --bg-light: #F4F7F6;
    --white: #ffffff;
    --font-heading: 'Merriweather', serif;
    --font-body: 'Montserrat', sans-serif;
    --spacing-unit: 1rem;
    --border-radius: 6px;
    --shadow-card: 0 4px 20px rgba(0,0,0,0.08);
}

/* --- RESET UN PAMATS --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); line-height: 1.6; color: var(--text-dark); background-color: var(--bg-light); overflow-x: hidden; }
h1, h2, h3, h4 { font-family: var(--font-heading); color: var(--primary-color); margin-bottom: var(--spacing-unit); line-height: 1.3; }
p { margin-bottom: var(--spacing-unit); }
a { text-decoration: none; color: inherit; transition: all 0.3s ease; }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* --- POGAS --- */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    cursor: pointer;
    border: 2px solid transparent;
    text-align: center;
    transition: all 0.3s ease;
}
.btn-primary { background-color: var(--accent-color); color: var(--white); }
.btn-primary:hover { background-color: var(--accent-hover); transform: translateY(-2px); }
.btn-secondary { background-color: var(--primary-color); color: var(--white); }
.btn-secondary:hover { background-color: var(--primary-hover); }
.btn-outline { border-color: var(--white); color: var(--white); background: transparent; }
.btn-outline:hover { background: rgba(255,255,255,0.15); }
.btn-outline.dark { border-color: var(--primary-color); color: var(--primary-color); background: transparent; }
.btn-outline.dark:hover { background-color: var(--primary-color); color: var(--white); }
.full-width { width: 100%; display: block; }

/* --- HEADER --- */
.main-header {
    background: var(--white);
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}
.header-content { display: flex; justify-content: space-between; align-items: center; }
.logo { font-family: var(--font-heading); font-size: 1.5rem; font-weight: 700; color: var(--primary-color); letter-spacing: -0.5px; }
.logo span { color: var(--accent-color); }
.desktop-nav { display: flex; gap: 25px; }
.desktop-nav a { font-weight: 500; font-size: 0.95rem; position: relative; }
.desktop-nav a:hover { color: var(--accent-color); }
.desktop-nav a.active { color: var(--accent-color); }
.desktop-nav a.active::after { content: ''; position: absolute; bottom: -3px; left: 0; right: 0; height: 2px; background: var(--accent-color); }
.header-actions { display: flex; align-items: center; gap: 20px; }
.lang-switch { font-size: 0.9rem; color: #888; }
.lang-switch .active { font-weight: 700; color: var(--primary-color); }
.mobile-toggle { display: none; font-size: 1.5rem; color: var(--primary-color); cursor: pointer; }

/* --- MOBILĀ IZVĒLNE --- */
.mobile-menu-overlay {
    position: fixed; top: 0; right: 0; width: 100%; height: 100%;
    background-color: rgba(0,0,0,0.5); z-index: 1999;
    opacity: 0; visibility: hidden; transition: 0.3s;
}
.mobile-menu-container {
    position: fixed; top: 0; right: 0; width: 280px; height: 100%;
    background-color: var(--white); z-index: 2000;
    box-shadow: -5px 0 20px rgba(0,0,0,0.1);
    transform: translateX(100%); transition: transform 0.3s ease-in-out;
    display: flex; flex-direction: column;
}
body.mobile-menu-open .mobile-menu-container { transform: translateX(0); }
body.mobile-menu-open .mobile-menu-overlay { opacity: 1; visibility: visible; }
body.mobile-menu-open { overflow: hidden; }
.mobile-menu-header { padding: 20px; display: flex; justify-content: flex-end; border-bottom: 1px solid #eee; }
.close-menu-btn { font-size: 1.5rem; cursor: pointer; color: var(--text-dark); }
.mobile-links { padding: 20px; display: flex; flex-direction: column; gap: 20px; }
.mobile-links a { font-size: 1.1rem; font-weight: 600; color: var(--primary-color); }
.mobile-actions-wrapper { margin-top: auto; background-color: var(--bg-light); padding: 30px 20px; border-top: 2px solid #eee; text-align: center; }
.mobile-lang-switch { margin-bottom: 20px; font-size: 1rem; }
.mobile-lang-switch span { font-weight: 700; color: var(--primary-color); border-bottom: 2px solid var(--accent-color); }

/* --- HERO (SĀKUMLAPA) --- */
.hero-section {
    height: 85vh; min-height: 600px;
    background-image: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.4)),
        url('https://images.unsplash.com/photo-1472214103451-9374bd1c798e?ixlib=rb-1.2.1&auto=format&fit=crop&w=1950&q=80');
    background-size: cover; background-position: center;
    display: flex; align-items: center; text-align: center; color: var(--white);
}
.hero-content { max-width: 800px; animation: fadeIn 1s ease-out; }
.hero-content h1 { font-size: 3rem; color: var(--white); margin-bottom: 20px; text-shadow: 0 2px 4px rgba(0,0,0,0.3); }
.hero-content p { font-size: 1.2rem; margin-bottom: 40px; opacity: 0.9; }
.hero-buttons { display: flex; justify-content: center; gap: 20px; }

/* --- IEKŠLAPU HERO (PAGE HERO) --- */
.page-hero {
    height: 40vh; min-height: 300px;
    background-size: cover; background-position: center;
    display: flex; align-items: center; justify-content: center;
    color: var(--white); text-align: center; margin-bottom: 50px;
    background-color: var(--primary-color); /* fallback */
}
.hero-text h1 { font-size: 2.5rem; color: var(--white); margin-bottom: 10px; line-height: 1.2; }
.breadcrumbs { font-size: 0.9rem; opacity: 0.8; margin-bottom: 0; }
.breadcrumbs a:hover { text-decoration: underline; color: inherit; }

/* --- ANIMĀCIJA --- */
@keyframes fadeIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

/* --- VISPĀRĪGAS SADAĻAS --- */
section { padding: 80px 0; }
.bg-white { background-color: var(--white); }
.section-header { text-align: center; max-width: 700px; margin: 0 auto 60px auto; }
.grid-2-col { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.link-arrow { font-weight: 600; color: var(--primary-color); display: inline-flex; align-items: center; gap: 10px; margin-top: 10px; }
.link-arrow:hover { color: var(--accent-color); gap: 15px; }
.image-content img { border-radius: var(--border-radius); box-shadow: var(--shadow-card); }

/* --- PASĀKUMU KARTĪTES (events-grid) --- */
.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}
.event-card {
    background: var(--white); border-radius: var(--border-radius); overflow: hidden;
    box-shadow: var(--shadow-card); transition: transform 0.3s ease;
    display: flex; flex-direction: column;
}
.event-card:hover { box-shadow: 0 10px 30px rgba(0,0,0,0.12); }
.event-image { height: 220px; background-size: cover; background-position: center; position: relative; }
.event-badge { position: absolute; top: 15px; right: 15px; background: rgba(255,255,255,0.95); color: #d9534f; padding: 6px 12px; border-radius: 20px; font-size: 0.75rem; font-weight: 700; box-shadow: 0 2px 5px rgba(0,0,0,0.1); }
.event-details { padding: 25px; flex-grow: 1; display: flex; flex-direction: column; }
.event-meta { font-size: 0.85rem; color: #777; margin-bottom: 15px; display: flex; justify-content: space-between; }
.event-meta i { color: var(--accent-color); margin-right: 5px; }
.event-card h3 { font-size: 1.4rem; margin-bottom: 10px; color: var(--primary-color); }
.price-tag { margin-top: auto; margin-bottom: 20px; padding-top: 15px; border-top: 1px solid #eee; }
.price-main { font-size: 1.5rem; font-weight: 700; color: var(--primary-color); }
.price-sub { display: block; font-size: 0.8rem; color: #888; margin-top: 2px; }

/* Pasākumu lapas kartītes (ar card- klasi) */
.card-image-wrapper { position: relative; height: 240px; overflow: hidden; }
.card-img { width: 100%; height: 100%; object-fit: cover; transition: filter 0.3s ease, transform 0.5s ease; }
.card-category { position: absolute; top: 15px; left: 15px; background: rgba(47,79,79,0.9); color: var(--white); padding: 5px 12px; border-radius: 4px; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.5px; }
.card-status { position: absolute; top: 15px; right: 15px; background: var(--accent-color); color: var(--white); padding: 5px 12px; border-radius: 20px; font-size: 0.75rem; font-weight: 700; }
.card-status.alert { background: #d9534f; }
.card-status.ended { background: #999; }
.card-content { padding: 25px; display: flex; flex-direction: column; flex-grow: 1; }
.card-meta-row { display: flex; justify-content: space-between; font-size: 0.85rem; color: #888; margin-bottom: 15px; border-bottom: 1px solid #f0f0f0; padding-bottom: 15px; }
.card-meta-row span { display: flex; align-items: center; gap: 6px; }
.card-meta-row i { color: var(--accent-color); }
.card-title { font-size: 1.4rem; margin-bottom: 10px; color: var(--primary-color); }
.card-title a { color: inherit; }
.card-title a:hover { color: var(--accent-color); }
.card-excerpt { font-size: 0.95rem; color: #555; margin-bottom: 20px; line-height: 1.5; }
.card-tags { margin-bottom: 20px; display: flex; gap: 10px; flex-wrap: wrap; }
.mini-tag { font-size: 0.75rem; background: var(--bg-light); padding: 4px 10px; border-radius: 4px; color: #666; }
.card-footer { margin-top: auto; display: flex; justify-content: space-between; align-items: center; padding-top: 20px; border-top: 1px solid #f0f0f0; }
.card-price { display: flex; flex-direction: column; }
.price-label { font-size: 0.75rem; color: #999; }
.price-val { font-size: 1.3rem; font-weight: 700; color: var(--primary-color); }

/* Pagājušie pasākumi */
.event-card.past-event { opacity: 0.85; border: 1px solid #eee; }
.event-card.past-event:hover { opacity: 1; box-shadow: 0 10px 30px rgba(0,0,0,0.12); }
.event-card.past-event .card-img { filter: grayscale(100%); }
.event-card.past-event:hover .card-img { filter: grayscale(0%); }
.past-event .card-price { opacity: 0.6; text-decoration: line-through; }

/* --- FILTRI --- */
.filters-container { display: flex; justify-content: center; gap: 15px; margin-bottom: 40px; flex-wrap: wrap; }
.filter-btn { padding: 8px 20px; border: 1px solid #ddd; border-radius: 20px; background: transparent; cursor: pointer; font-family: var(--font-body); font-weight: 500; color: #666; transition: 0.3s; }
.filter-btn:hover, .filter-btn.active { background: var(--primary-color); color: var(--white); border-color: var(--primary-color); }

/* --- ATSAUKSMES --- */
.testimonials-section {
    background-color: var(--primary-color); color: var(--white); text-align: center; padding: 100px 0;
    background-image: url('https://www.transparenttextures.com/patterns/cubes.png');
}
.testimonials-section h2 { color: var(--white); }
.testimonial-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 40px; }
.testimonial-item { background: rgba(255,255,255,0.05); padding: 30px; border-radius: var(--border-radius); text-align: left; }
.quote-icon { font-size: 2rem; color: var(--accent-color); opacity: 0.6; margin-bottom: 15px; }
.testimonial-author { margin-top: 20px; font-weight: 600; font-family: var(--font-heading); color: var(--accent-color); }

/* ============================================================
   BUJ / FAQ — VIENOTAIS STILS (izmantots visur)
   ============================================================ */
.faq-section { background-color: var(--white); }
.faq-container { max-width: 800px; margin: 0 auto; }

/* Kategorijas virsraksts (BUJ lapa) */
.faq-category { margin-bottom: 40px; }
.faq-category h3 { font-size: 1.5rem; margin-bottom: 20px; border-bottom: 2px solid var(--accent-color); padding-bottom: 10px; display: inline-block; }

/* --- VIENOTAIS AKORDEONA ELEMENTS (gan <details>, gan .accordion-item) --- */

/* HTML5 <details> stils (index.html, pasakums.html) */
.faq-item {
    background: var(--bg-light);
    margin-bottom: 15px;
    border-radius: var(--border-radius);
    border: 1px solid #eee;
    overflow: hidden;
    transition: all 0.3s ease;
}
.faq-item[open] { border-color: var(--accent-color); background: var(--white); box-shadow: var(--shadow-card); }
.faq-item summary {
    padding: 20px 25px;
    cursor: pointer;
    font-weight: 600;
    font-family: var(--font-heading);
    color: var(--primary-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary i { color: var(--accent-color); transition: transform 0.3s ease; }
.faq-item[open] summary i { transform: rotate(45deg); }
.faq-content { padding: 0 25px 25px 25px; color: #555; animation: fadeIn 0.4s ease; }
.faq-content p:last-child { margin-bottom: 0; }

/* JS akordeons (.accordion-item, izmantots buj.html) */
.accordion-item {
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-card);
    margin-bottom: 15px;
    overflow: hidden;
    border: 1px solid #eee;
    transition: border-color 0.3s ease;
}
.accordion-item.active { border-color: var(--accent-color); }
.accordion-header {
    padding: 20px 25px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s;
    user-select: none;
}
.accordion-header:hover { background-color: var(--bg-light); }
.accordion-title {
    font-weight: 600;
    color: var(--primary-color);
    font-family: var(--font-heading);
    font-size: 1rem;
    margin-bottom: 0;
}
.accordion-icon { color: var(--accent-color); font-size: 1.1rem; transition: transform 0.32s ease; flex-shrink: 0; }
.accordion-item.active .accordion-icon { transform: rotate(45deg); }
/* accordion-body animācija kontrolēta caur JS inline styles */
.accordion-body {
    padding: 0 25px;
    color: #555;
    font-size: 0.95rem;
    line-height: 1.7;
}
.accordion-body p:last-child { margin-bottom: 0; }

/* "Vēl jautājumi?" bloks */
.still-questions { text-align: center; background-color: var(--bg-light); padding: 40px; border-radius: var(--border-radius); border: 1px solid #eee; margin-top: 60px; }

/* Mini FAQ (pasakums.html) */
.faq-mini details { margin-bottom: 10px; border-bottom: 1px solid #eee; padding-bottom: 10px; }
.faq-mini summary { cursor: pointer; font-weight: 600; color: var(--primary-color); padding: 5px 0; }
.faq-mini details p { margin-top: 10px; margin-bottom: 0; color: #555; font-size: 0.95rem; }

/* --- KONTAKTU SADAĻA (index.html) --- */
.contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; background: var(--white); padding: 50px; border-radius: var(--border-radius); box-shadow: var(--shadow-card); }
.contact-info-list li { margin-bottom: 20px; display: flex; align-items: center; gap: 15px; font-size: 1.1rem; }
.contact-info-list i { width: 40px; height: 40px; background: var(--bg-light); color: var(--primary-color); display: flex; align-items: center; justify-content: center; border-radius: 50%; }
.social-icons { margin-top: 30px; }
.social-icons a { display: inline-flex; width: 40px; height: 40px; background: var(--primary-color); color: var(--white); align-items: center; justify-content: center; border-radius: 50%; margin-right: 10px; }
.social-icons a:hover { background: var(--accent-color); }
.contact-form input, .contact-form textarea { width: 100%; padding: 15px; margin-bottom: 20px; border: 1px solid #ddd; border-radius: var(--border-radius); background-color: #fafafa; font-family: inherit; transition: border-color 0.3s; }
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--primary-color); background: var(--white); }

/* --- KONTAKTU LAPA (kontakti.html) --- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; margin-bottom: 80px; }
.contact-details h3 { font-size: 1.8rem; margin-bottom: 30px; }
.contact-item { display: flex; align-items: flex-start; gap: 20px; margin-bottom: 30px; }
.contact-icon-box { width: 50px; height: 50px; background-color: var(--bg-light); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; color: var(--primary-color); flex-shrink: 0; transition: 0.3s; }
.contact-item:hover .contact-icon-box { background-color: var(--primary-color); color: var(--white); }
.contact-text h4 { margin-bottom: 5px; font-size: 1.1rem; color: var(--text-dark); }
.contact-text p, .contact-text a { color: #666; margin-bottom: 0; }
.contact-text a:hover { color: var(--accent-color); }
.social-section { margin-top: 40px; padding-top: 30px; border-top: 1px solid #eee; }
.social-buttons { display: flex; gap: 15px; margin-top: 15px; }
.social-btn { width: 45px; height: 45px; border: 1px solid #ddd; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--primary-color); font-size: 1.2rem; transition: 0.3s; }
.social-btn:hover { background-color: var(--primary-color); color: var(--white); border-color: var(--primary-color); }
.form-container { background: var(--white); padding: 40px; border-radius: var(--border-radius); box-shadow: var(--shadow-card); border-top: 5px solid var(--accent-color); }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; margin-bottom: 8px; font-weight: 600; font-size: 0.9rem; }
.form-group input, .form-group textarea, .form-group select { width: 100%; padding: 12px 15px; border: 1px solid #ddd; border-radius: 4px; font-family: inherit; background-color: #fafafa; transition: 0.3s; }
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { outline: none; border-color: var(--primary-color); background-color: var(--white); }
.map-section { width: 100%; height: 450px; background-color: #eee; margin-bottom: -5px; }
.map-frame { width: 100%; height: 100%; border: 0; }

/* --- PASĀKUMA DETAĻLAPA (pasakums.html) --- */
.event-layout { display: grid; grid-template-columns: 2fr 1fr; gap: 50px; margin-bottom: 80px; }
.event-main-content h3 { margin-top: 30px; font-size: 1.5rem; border-bottom: 2px solid var(--accent-color); padding-bottom: 10px; display: inline-block; }
.schedule-list { list-style: none; margin-top: 20px; border-left: 3px solid var(--bg-light); padding-left: 20px; }
.schedule-item { position: relative; margin-bottom: 25px; }
.schedule-item::before { content: ''; position: absolute; left: -28px; top: 5px; width: 14px; height: 14px; background: var(--secondary-color); border-radius: 50%; border: 3px solid var(--white); }
.time { font-weight: 700; color: var(--primary-color); display: block; }
.guide-card { display: flex; gap: 20px; background: var(--white); padding: 20px; border-radius: var(--border-radius); box-shadow: 0 2px 10px rgba(0,0,0,0.05); align-items: center; }
.guide-img { width: 80px; height: 80px; border-radius: 50%; object-fit: cover; }
.sidebar-wrapper { display: flex; flex-direction: column; gap: 30px; }
.sidebar-card { background: var(--white); padding: 30px; border-radius: var(--border-radius); box-shadow: var(--shadow-card); border-top: 5px solid var(--primary-color); }
.info-list { list-style: none; }
.info-list li { display: flex; align-items: center; gap: 15px; margin-bottom: 15px; font-size: 1.1rem; color: var(--text-dark); }
.info-list li:last-child { margin-bottom: 0; }
.info-list i { width: 40px; height: 40px; background: var(--bg-light); color: var(--primary-color); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; }
.info-text strong { display: block; font-size: 0.8rem; color: #888; text-transform: uppercase; letter-spacing: 0.5px; }
.action-card { position: sticky; top: 100px; }
.price-display { text-align: center; margin-bottom: 20px; }
.total-price { font-size: 2.2rem; font-weight: 700; color: var(--primary-color); }
.deposit-info { font-size: 0.9rem; color: #777; background: #f0f0f0; padding: 5px 10px; border-radius: 4px; display: inline-block; margin-top: 5px; }
.spots-container { margin-bottom: 25px; }
.spots-label { display: flex; justify-content: space-between; font-size: 0.85rem; margin-bottom: 5px; font-weight: 600; }
.progress-bar { width: 100%; height: 8px; background: #eee; border-radius: 4px; overflow: hidden; }
.progress-fill { height: 100%; background: var(--secondary-color); }
.spots-alert { color: #d9534f; font-size: 0.8rem; margin-top: 5px; display: block; text-align: right; }
.security-note { font-size: 0.8rem; color: #999; text-align: center; margin-top: 15px; display: block; }
.security-note i { margin-right: 5px; }

/* --- PAR MUMS (parmums.html) --- */
.content-section { padding: 60px 0; }
.text-block { max-width: 800px; margin: 0 auto 40px auto; }
.founder-grid { display: grid; grid-template-columns: 1fr 2fr; gap: 40px; align-items: start; margin-bottom: 60px; }
.founder-img { border-radius: var(--border-radius); box-shadow: var(--shadow-card); width: 100%; }
.venue-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; background: var(--white); padding: 40px; border-radius: var(--border-radius); box-shadow: var(--shadow-card); }
.venue-text h3 { margin-top: 0; }
.partners-section { text-align: center; padding: 40px 0; background-color: var(--white); border-top: 1px solid #eee; }
.partners-logos { display: flex; justify-content: center; align-items: center; gap: 50px; flex-wrap: wrap; margin-top: 30px; opacity: 0.7; }
.partner-logo { max-height: 60px; filter: grayscale(100%); transition: filter 0.3s; }
.partner-logo:hover { filter: grayscale(0%); }

/* --- PUBLICITĀTE (publicitate.html) --- */
.media-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 30px; margin-bottom: 80px; }
.media-card { background: var(--white); border-radius: var(--border-radius); overflow: hidden; box-shadow: var(--shadow-card); transition: transform 0.3s ease, box-shadow 0.3s ease; display: flex; flex-direction: column; height: 100%; position: relative; }
.media-card:hover { transform: translateY(-5px); box-shadow: 0 10px 25px rgba(0,0,0,0.1); }
.card-img-wrap { position: relative; height: 220px; overflow: hidden; display: block; }
a.card-img-wrap { text-decoration: none; color: inherit; }
a.card-img-wrap .card-img { transition: transform 0.5s ease; }
a.card-img-wrap:hover .card-img { transform: scale(1.05); }
.media-card .card-img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.media-card:hover .card-img { transform: scale(1.05); }
.play-overlay { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 50px; height: 50px; background: rgba(0,0,0,0.6); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: white; font-size: 1.2rem; opacity: 0.8; transition: 0.3s; }
.media-card:hover .play-overlay { opacity: 1; transform: translate(-50%, -50%) scale(1.1); background: var(--accent-color); }
.media-tag { position: absolute; top: 15px; left: 15px; padding: 5px 12px; font-size: 0.7rem; font-weight: 700; text-transform: uppercase; border-radius: 4px; color: var(--white); z-index: 2; }
.tag-article { background-color: var(--primary-color); }
.tag-video { background-color: #d9534f; }
.tag-audio { background-color: #f0ad4e; }
.card-date { font-size: 0.8rem; color: #999; margin-bottom: 10px; display: block; text-transform: uppercase; letter-spacing: 0.5px; }

/* --- PUBLICITĀTE ATVĒRUMS (publicitate-atverums.html) --- */
.article-container { max-width: 800px; margin: 0 auto; padding: 0 20px 60px 20px; }
.article-lead { font-size: 1.25rem; font-weight: 400; color: #222; margin-bottom: 40px; line-height: 1.6; font-family: var(--font-heading); }
.article-body { margin-bottom: 40px; font-size: 1.1rem; line-height: 1.8; color: #333; }
.article-body h2 { font-size: 1.8rem; margin-top: 50px; margin-bottom: 20px; color: var(--primary-color); }
.article-body p { margin-bottom: 25px; }
.article-body blockquote { font-family: var(--font-heading); font-style: italic; font-size: 1.5rem; line-height: 1.4; border-left: 4px solid var(--accent-color); padding-left: 25px; margin: 40px 0; color: var(--primary-color); }
.article-body ul { margin-bottom: 25px; padding-left: 20px; list-style: disc; }
.article-body li { margin-bottom: 10px; }
.media-embed-container { position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; border-radius: var(--border-radius); box-shadow: 0 10px 30px rgba(0,0,0,0.15); margin-top: 40px; margin-bottom: 10px; background: #000; }
.media-embed-container.spotify { padding-bottom: 152px; }
.media-embed-container iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: 0; }
.media-caption { font-size: 0.85rem; color: #777; text-align: center; margin-bottom: 50px; display: block; }
.article-meta-footer { margin-top: 40px; padding-top: 20px; border-top: 1px solid #eee; color: #777; font-size: 0.9rem; display: flex; align-items: center; justify-content: center; gap: 20px; flex-wrap: wrap; }
.article-meta-footer strong { color: var(--primary-color); font-weight: 700; margin-right: 5px; }
.event-cta-section { background-color: var(--primary-color); background-image: linear-gradient(135deg, var(--primary-color), #1a3030); padding: 60px 0; margin-top: 80px; color: var(--white); border-top: 4px solid var(--accent-color); }
.cta-wrapper { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.cta-text h3 { color: var(--accent-color); font-size: 2rem; margin-bottom: 10px; }
.cta-text p { color: rgba(255,255,255,0.9); font-size: 1.15rem; margin-bottom: 0; max-width: 600px; }
.cta-btn { background-color: var(--accent-color); color: var(--white); padding: 18px 40px; font-weight: 700; border-radius: var(--border-radius); white-space: nowrap; transition: 0.3s; box-shadow: 0 4px 15px rgba(0,0,0,0.2); text-transform: uppercase; font-size: 0.9rem; letter-spacing: 0.5px; display: inline-block; }
.cta-btn:hover { background-color: var(--accent-hover); transform: translateY(-3px); color: var(--white); box-shadow: 0 8px 20px rgba(0,0,0,0.3); }

/* --- GALERIJA (galerija.html) --- */
.gallery-wrapper { margin-bottom: 80px; }
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.gallery-item { position: relative; display: block; border-radius: var(--border-radius); overflow: hidden; box-shadow: var(--shadow-card); background: #000; aspect-ratio: 4/3; cursor: pointer; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease, opacity 0.3s ease; opacity: 0.9; }
.gallery-item:hover img { transform: scale(1.08); opacity: 1; }
.gallery-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(47,79,79,0.4); display: flex; align-items: center; justify-content: center; opacity: 0; transition: 0.3s ease; }
.gallery-item:hover .gallery-overlay { opacity: 1; }
.overlay-icon { color: var(--white); font-size: 2rem; transform: translateY(20px); transition: 0.3s ease; }
.gallery-item:hover .overlay-icon { transform: translateY(0); }

/* Par Mums galerija (mazāks variants) */
.gallery-item-sm { height: 250px; border-radius: var(--border-radius); overflow: hidden; cursor: pointer; transition: transform 0.3s ease; aspect-ratio: auto; }
.gallery-item-sm:hover { transform: scale(1.02); }
.gallery-item-sm img { width: 100%; height: 100%; object-fit: cover; }

/* --- FOOTER --- */
footer { background: #202020; color: #888; padding: 40px 0; font-size: 0.9rem; border-top: 5px solid var(--accent-color); }
.footer-flex { display: flex; justify-content: space-between; align-items: center; }
.footer-links a { margin-left: 20px; color: #aaa; }
.footer-links a:hover { color: var(--accent-color); }

/* --- SCROLL ANIMĀCIJA --- */
.animate-on-scroll { opacity: 0; transform: translateY(15px); transition: opacity 0.5s ease, transform 0.5s ease; }
.animate-on-scroll.visible { opacity: 1; transform: translateY(0); }

/* --- WHATSAPP POGA --- */
.float-chat-btn { position: fixed; bottom: 30px; right: 30px; width: 60px; height: 60px; background-color: #25D366; color: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 30px; box-shadow: 0 4px 15px rgba(0,0,0,0.3); z-index: 9999; transition: transform 0.3s ease; }
.float-chat-btn:hover { transform: scale(1.1); }

/* ============================================================
   RESPONSĪVAIS DIZAINS
   ============================================================ */
@media (max-width: 900px) {
    .desktop-nav { display: none; }
    .header-actions .btn, .header-actions .lang-switch { display: none; }
    .mobile-toggle { display: block; }

    .hero-content h1 { font-size: 2.5rem; }
    .grid-2-col, .contact-layout, .contact-grid, .venue-grid { grid-template-columns: 1fr; gap: 40px; }
    .contact-layout, .form-container { padding: 30px; }
    .founder-grid { grid-template-columns: 1fr; }
    .event-layout { grid-template-columns: 1fr; }
    .sidebar-wrapper { order: -1; }
    .action-card { position: static; }
    .events-grid { grid-template-columns: 1fr; justify-items: center; }
    .event-card { max-width: 100%; }
    .media-grid { grid-template-columns: 1fr; }
    .gallery-grid { grid-template-columns: repeat(auto-fill, minmax(100%, 1fr)); gap: 15px; }
    .cta-wrapper { flex-direction: column; text-align: center; }
    .cta-btn { width: 100%; display: block; text-align: center; }
    .hero-text h1 { font-size: 2.2rem; }
    .article-lead { font-size: 1.1rem; }
}

@media (max-width: 600px) {
    .hero-content h1 { font-size: 2rem; }
    .hero-text h1 { font-size: 2rem; }
    .hero-buttons { flex-direction: column; align-items: center; }
    .footer-flex { flex-direction: column; gap: 20px; text-align: center; }
    .footer-links a { margin: 0 10px; }
    .contact-layout { padding: 20px; }
}

/* --- VENUE SLAIDERIS (parmums.html) --- */
.venue-slider {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 4/3;
}
.vs-track { position: relative; width: 100%; height: 100%; }
.vs-slide {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.5s ease;
    border-radius: 8px;
}
.vs-slide.active { opacity: 1; }
.vs-btn {
    position: absolute; top: 50%; transform: translateY(-50%);
    background: rgba(0,0,0,0.45); color: #fff;
    border: none; cursor: pointer; font-size: 1.8rem; line-height: 1;
    padding: 6px 14px; border-radius: 4px;
    transition: background 0.2s;
    z-index: 2;
}
.vs-btn:hover { background: rgba(0,0,0,0.7); }
.vs-prev { left: 10px; }
.vs-next { right: 10px; }
.vs-dots {
    position: absolute; bottom: 12px; left: 50%; transform: translateX(-50%);
    display: flex; gap: 7px; z-index: 2;
}
.vs-dot {
    width: 8px; height: 8px; border-radius: 50%;
    background: rgba(255,255,255,0.5); cursor: pointer;
    transition: background 0.3s;
}
.vs-dot.active { background: #fff; }
