/* Sakumlapas sekciju un kartisu stili. */

/* ===== VISPĀRĒJIE STILI ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #520505;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, #ffcc00, #ffd700);
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #666;
    max-width: 800px;
    margin: 0 auto;
}

.section-footer {
    text-align: center;
    margin-top: 3rem;
}

.btn {
    display: inline-block;
    background: #520505;
    color: white;
    padding: 12px 28px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn:hover {
    background: #7a0f0f;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(82, 5, 5, 0.2);
}

/* ===== SLIDESHOW SEKCUJA ===== */
.slideshow-section {
    position: relative;
    height: 80vh;
    min-height: 600px;
    overflow: hidden;
}

.slideshow-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    pointer-events: none;
}

.slide.active {
    opacity: 1;
    pointer-events: auto;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide-content {
    text-align: center;
    color: white;
    max-width: 800px;
    padding: 0 20px;
}

.slide-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.slide-description {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.slide-btn {
    display: inline-block;
    background: #520505; 
    color: white;
    padding: 14px 32px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 700;
    font-size: 18px;
    transition: all 0.3s ease;
}

.slide-btn:hover {
    background: #7a0f0f; 
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(82, 5, 5, 0.2); 
}

.slide-btn.prev-btn,
.slide-btn.next-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: none;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.slide-btn.prev-btn:hover,
.slide-btn.next-btn:hover {
    background: rgba(255, 255, 255, 0.3);
}

.slide-btn.prev-btn {
    left: 20px;
}

.slide-btn.next-btn {
    right: 20px;
}

.slide-indicators {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    background: #ffcc00;
    transform: scale(1.2);
}

/* ===== SVARĪGO PAZIŅOJUMU SEKCUJA - GRADIENTS ===== */
.announcements-section {
    padding: 20px 0 30px;
    background: linear-gradient(135deg, #520505 0%, #7a0f0f 100%);
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(82,5,5,0.3);
}

/* Dekoratīvie apļi - 4 apļi */
.announcements-section .circle-1 {
    content: '';
    position: absolute;
    top: -80px;
    right: -80px;
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    z-index: 0;
}

.announcements-section .circle-2 {
    content: '';
    position: absolute;
    bottom: -100px;
    left: -100px;
    width: 500px;
    height: 500px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    z-index: 0;
}

.announcements-section .circle-3 {
    content: '';
    position: absolute;
    top: 30%;
    right: 10%;
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    z-index: 0;
}

.announcements-section .circle-4 {
    content: '';
    position: absolute;
    bottom: 20%;
    left: 5%;
    width: 250px;
    height: 250px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 50%;
    z-index: 0;
}

.announcements-section .container {
    position: relative;
    z-index: 10;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Virsraksts - vienā līnijā */
.announcements-section .section-header {
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 50;
    text-align: center;
}

/* ===== PAZIŅOJUMI AR BULTIŅĀM ===== */
.announcements-wrapper {
    position: relative;
    width: 100vw;
    left: 50%;
    transform: translateX(-50%);
    margin-top: 0;
    z-index: 20;
}

/* Bultiņas */
.announcements-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid white;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    z-index: 100;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.announcements-arrow-left {
    left: 20px;
}

.announcements-arrow-right {
    right: 20px;
}

.announcements-arrow:not(:disabled) {
    background: #ffcc00;
    border-color: #ffcc00;
    color: #520505;
}

.announcements-arrow:not(:disabled):hover {
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

.announcements-arrow:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    pointer-events: none;
}

.announcements-arrow i {
    font-size: 1.2rem;
}

/* Karuseļa konteiners */
.announcements-carousel-container {
    width: 100%;
    overflow: hidden;
    padding: 5px 70px 5px;
    position: relative;
    z-index: 30;
    box-sizing: border-box;
}

.announcements-track {
    display: flex;
    transition: transform 0.4s ease;
    gap: 20px;
}

.announcement-card {
    flex: 0 0 calc(25% - 15px);
    background: white;
    border-radius: 14px;
    padding: 14px 16px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 240px;
    position: relative;
    z-index: 40;
    transform-origin: center center;
}

.announcement-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    z-index: 40;
}

.announcement-icon {
    background: #520505;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(82,5,5,0.25);
}

.announcement-icon i {
    font-size: 1.1rem;
    color: white;
}

.announcement-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #520505;
    margin: 0;
    line-height: 1.4;
    flex: 1;
    display: block;
    white-space: normal;
    word-wrap: break-word;
}

.announcement-link {
    background: #520505;
    color: white;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s;
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(82,5,5,0.25);
}

.announcement-link:hover {
    background: #7a0f0f;
    transform: scale(1.1);
}

.announcement-link i {
    font-size: 1rem;
}

/* Responsīvais dizains */
@media (max-width: 1400px) {
    .announcements-carousel-container {
        padding: 5px 60px 5px;
    }
    .announcement-card {
        min-width: 220px;
    }
}

@media (max-width: 1200px) {
    .announcement-card {
        flex: 0 0 calc(33.333% - 15px);
        min-width: 210px;
    }
    .announcements-carousel-container {
        padding: 5px 55px 5px;
    }
    .announcement-title {
        font-size: 1.05rem;
    }
}

@media (max-width: 992px) {
    .announcement-card {
        flex: 0 0 calc(50% - 15px);
        min-width: 200px;
    }
    .announcements-carousel-container {
        padding: 5px 50px 5px;
    }
    .announcement-title {
        font-size: 1rem;
    }
    .announcement-icon {
        width: 36px;
        height: 36px;
    }
    .announcement-link {
        width: 32px;
        height: 32px;
    }
    
    .announcements-section .circle-1 { width: 300px; height: 300px; top: -50px; right: -50px; }
    .announcements-section .circle-2 { width: 400px; height: 400px; bottom: -70px; left: -70px; }
    .announcements-section .circle-3 { width: 150px; height: 150px; }
    .announcements-section .circle-4 { width: 200px; height: 200px; }
}

@media (max-width: 768px) {
    .announcements-section {
        padding: 15px 0 25px;
    }
    .announcements-arrow {
        width: 38px;
        height: 38px;
    }
    .announcements-carousel-container {
        padding: 5px 45px 5px;
    }
    .announcement-card {
        min-width: 180px;
        padding: 12px 14px;
    }
    .announcement-title {
        font-size: 0.98rem;
    }
    .announcements-section .circle-1 { width: 250px; height: 250px; }
    .announcements-section .circle-2 { width: 300px; height: 300px; }
    .announcements-section .circle-3 { width: 120px; height: 120px; }
    .announcements-section .circle-4 { width: 150px; height: 150px; }
}

@media (max-width: 576px) {
    .announcement-card {
        flex: 0 0 calc(100% - 15px);
        min-width: auto;
        padding: 12px 15px;
    }
    .announcements-arrow {
        width: 35px;
        height: 35px;
    }
    .announcements-carousel-container {
        padding: 5px 40px 5px;
    }
    .announcement-title {
        font-size: 1rem;
    }
    
    .announcements-section .circle-1 { width: 200px; height: 200px; top: -30px; right: -30px; }
    .announcements-section .circle-2 { width: 250px; height: 250px; bottom: -50px; left: -50px; }
    .announcements-section .circle-3 { width: 100px; height: 100px; top: 25%; }
    .announcements-section .circle-4 { width: 120px; height: 120px; bottom: 15%; }
}


/* ===== JAUNUMU SEKCUJA ===== */
.news-section {
    padding: 80px 0;
    background: linear-gradient(180deg, #ffffff 0%, #fffaf9 100%);
    border-bottom: 1px solid rgba(82, 5, 5, 0.12);
}

/* ===== JAUNUMU IZVĒLNU STILI (HOME LAPAI) ===== */
#jaunumi-container-home {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 30px;
}

#jaunumi-container-home .jaunuma-izvelne {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(82,5,5,0.05);
    border: 1px solid rgba(82,5,5,0.1);
    overflow: hidden;
}

#jaunumi-container-home .jaunuma-izvelne-header {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    cursor: pointer;
    background: white;
    transition: background 0.2s;
}

#jaunumi-container-home .jaunuma-izvelne-header:hover {
    background: rgba(82,5,5,0.02);
}

#jaunumi-container-home .jaunuma-izvelne-attels {
    width: 120px;
    height: 120px;
    flex-shrink: 0;
    border-radius: 12px;
    overflow: hidden;
    background: #f0f0f0;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(82,5,5,0.15);
}

#jaunumi-container-home .jaunuma-izvelne-attels:hover {
    opacity: 0.9;
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(82,5,5,0.3);
}

#jaunumi-container-home .jaunuma-izvelne-attels img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease;
}

#jaunumi-container-home .jaunuma-izvelne-attels-fallback {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(82,5,5,0.1);
    color: #520505;
    font-size: 2rem;
    transition: all 0.3s ease;
}

#jaunumi-container-home .jaunuma-izvelne-attels-fallback:hover {
    background: rgba(82,5,5,0.2);
    color: #7a0f0f;
}

#jaunumi-container-home .jaunuma-izvelne-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

#jaunumi-container-home .jaunuma-izvelne-virsraksts {
    font-size: 1.2rem;
    font-weight: 600;
    color: #520505;
    margin-bottom: 5px;
    line-height: 1.4;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

#jaunumi-container-home .jaunuma-izvelne-datums {
    font-size: 0.9rem;
    color: #666;
    display: flex;
    align-items: center;
    gap: 5px;
}

#jaunumi-container-home .jaunuma-izvelne-datums i {
    color: #ffcc00;
    font-size: 0.8rem;
}

#jaunumi-container-home .jaunuma-izvelne-arrow {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #520505;
}

#jaunumi-container-home .jaunuma-izvelne-arrow i {
    transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

#jaunumi-container-home .jaunuma-izvelne.active .jaunuma-izvelne-arrow i {
    transform: rotate(180deg);
}

#jaunumi-container-home .jaunuma-izvelne-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    background: #f9f9f9;
    border-top: 0 solid rgba(82,5,5,0.05);
    word-wrap: break-word;
    overflow-wrap: break-word;
}

#jaunumi-container-home .jaunuma-izvelne.active .jaunuma-izvelne-content {
    max-height: 2000px;
    border-top-width: 1px;
}

#jaunumi-container-home .jaunuma-izvelne-apraksts {
    color: #555;
    line-height: 1.6;
    font-size: 0.95rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
    word-break: break-word;
    padding: 20px;
    margin: 0;
}

#jaunumi-container-home .jaunuma-izvelne-apraksts p {
    margin-bottom: 1rem;
}

/* ===== ATTĒLU LIGHTBOX ===== */
.lightbox-overlay {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    justify-content: center;
    align-items: center;
}

.lightbox-overlay.active {
    display: flex;
}

.lightbox-content {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-content img {
    max-width: 95vw;
    max-height: 95vh;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 4px;
    box-shadow: 0 0 30px rgba(0,0,0,0.5);
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(82,5,5,0.7);
    color: white;
    border: 2px solid #ffcc00;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10001;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background: #ffcc00;
    color: #520505;
    transform: translateY(-50%) scale(1.1);
    border-color: white;
}

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}

.lightbox-caption {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    text-align: center;
    padding: 8px 16px;
    font-size: 16px;
    background-color: rgba(82,5,5,0.8);
    border-radius: 30px;
    z-index: 10000;
    font-weight: 500;
    border: 2px solid rgba(255,255,255,0.2);
}

.lightbox-caption h3 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: #ffcc00;
}

.lightbox-caption p {
    font-size: 0.9rem;
    opacity: 0.9;
}

.lightbox-close {
    position: fixed;
    top: 20px;
    right: 20px;
    color: white;
    cursor: pointer;
    background: rgba(82,5,5,0.6);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    z-index: 10000;
    border: 2px solid rgba(255,255,255,0.2);
    font-size: 28px;
    line-height: 1;
    font-family: Arial, Helvetica, sans-serif;
}

.lightbox-close:hover {
    background: #7a0f0f;
    transform: scale(1.1);
    border-color: white;
}

.lightbox-close::before {
    content: "×";
    display: block;
    line-height: 1;
    margin-top: -1px;
}

.zoom-controls {
    position: fixed;
    bottom: 100px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 10002;
    background: rgba(82,5,5,0.8);
    padding: 8px;
    border-radius: 50px;
    backdrop-filter: blur(5px);
}

.zoom-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: white;
    border: none;
    color: #520505;
    cursor: pointer;
    font-size: 1.2rem;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.zoom-btn:hover {
    background: #ffcc00;
    transform: scale(1.1);
}

#lightbox-img-home {
    max-width: 95vw;
    max-height: 85vh;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 4px;
    box-shadow: 0 0 30px rgba(0,0,0,0.5);
    transition: transform 0.2s ease;
    cursor: default;
}

/* ===== SKATĪT VISUS JAUNUMUS POGA ===== */
.view-all-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #520505; 
    color: white;
    padding: 12px 28px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
}

.view-all-btn:hover {
    background: #7a0f0f; 
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(82, 5, 5, 0.2); 
}

.view-all-btn i {
    font-size: 0.9rem;
    transition: transform 0.3s;
}

.view-all-btn:hover i {
    transform: translateX(3px);
}


/* ===== PASĀKUMU SEKCIJA ===== */
.pasakumi-kartes-section {
    padding: 60px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    overflow: hidden;
    border-top: 4px solid rgba(82, 5, 5, 0.35);
    box-shadow: inset 0 18px 24px -24px rgba(82, 5, 5, 0.45);
}

.pasakumi-kartes-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-top: 2rem;
}

.pasakuma-karte {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(82,5,5,0.08);
    border: 1px solid rgba(82,5,5,0.1);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.pasakuma-karte:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(82,5,5,0.15);
}

.pasakuma-karte-attels {
    width: 100%;
    height: 200px;
    overflow: hidden;
    position: relative;
}

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

.pasakuma-karte:hover .pasakuma-karte-attels img {
    transform: scale(1.1);
}

.pasakuma-karte-attels-fallback {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #520505, #7a0f0f);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 3rem;
}

.pasakuma-karte-datums {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #520505;
    color: white;
    padding: 5px 12px;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid #ffcc00;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.pasakuma-karte-content {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.pasakuma-karte-virsraksts {
    font-size: 1.2rem;
    font-weight: 600;
    color: #520505;
    margin-bottom: 8px;
    line-height: 1.4;
}

.pasakuma-karte-meta {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 12px;
}

.pasakuma-karte-meta i {
    color: #ffcc00;
    font-size: 0.8rem;
}

.pasakuma-karte-teksts {
    color: #555;
    line-height: 1.5;
    font-size: 0.9rem;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.pasakuma-karte-saite {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #520505;
    font-weight: 600;
    text-decoration: none;
    transition: gap 0.2s;
    margin-top: auto;
    align-self: flex-end;
}

.pasakuma-karte-saite:hover {
    gap: 8px;
    color: #7a0f0f;
}

.pasakuma-karte-saite i {
    font-size: 0.9rem;
}

/* ===== RESPONSĪVAIS DIZAINS ===== */
@media (max-width: 992px) {
    .pasakumi-kartes-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .pasakumi-kartes-grid {
        grid-template-columns: 1fr;
    }
    
    .pasakuma-karte-attels {
        height: 180px;
    }
}

/* ===== GALERIJAS SEKCUJA ===== */
.gallery-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #520505 0%, #7a0f0f 100%);
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(82,5,5,0.3);
}

.gallery-section .circle-1 {
    content: '';
    position: absolute;
    top: -80px;
    right: -80px;
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    z-index: 0;
}

.gallery-section .circle-2 {
    content: '';
    position: absolute;
    bottom: -100px;
    left: -100px;
    width: 500px;
    height: 500px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    z-index: 0;
}

.gallery-section .circle-3 {
    content: '';
    position: absolute;
    top: 30%;
    right: 10%;
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    z-index: 0;
}

.gallery-section .circle-4 {
    content: '';
    position: absolute;
    bottom: 20%;
    left: 5%;
    width: 250px;
    height: 250px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 50%;
    z-index: 0;
}

.gallery-section .circle-5 {
    content: '';
    position: absolute;
    top: 12%;
    left: 22%;
    width: 140px;
    height: 140px;
    background: rgba(255, 255, 255, 0.07);
    border-radius: 50%;
    z-index: 0;
}

.gallery-section .circle-6 {
    content: '';
    position: absolute;
    bottom: 10%;
    right: 18%;
    width: 170px;
    height: 170px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    z-index: 0;
}

.gallery-section .container {
    position: relative;
    z-index: 10;
}

.gallery-section .section-title {
    color: white;
}

.gallery-section .section-subtitle {
    text-align: right !important;
    margin-left: 230px !important;
    max-width: 600px;
    display: block;
    color: rgba(255, 255, 255, 0.9);
}

.gallery-container {
    position: relative;
}

.gallery-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 20px;
}

.gallery-title-container {
    flex: 1;
    min-width: 300px;
}

.gallery-btn-container {
    margin-top: 0;
}

.gallery-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: transparent;
    color: #ffcc00;
    padding: 12px 28px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    white-space: nowrap;
    box-shadow: none;
    border: 2px solid #ffcc00;
}

.gallery-btn:hover {
    background: #fecb003c;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(255, 204, 0, 0.3);
}

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

.gallery-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    height: 250px;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

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

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

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: white;
    padding: 20px;
    opacity: 1;
    transform: translateY(0);
    transition: all 0.3s ease;
}

.gallery-caption {
    font-weight: 600;
    font-size: 1.1rem;
}

/* Galerijas poga augšējā labajā stūrī */
.gallery-btn-top-right {
    position: absolute;
    top: 0;
    right: 0;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #ffcc00;
    color: #004080;
    padding: 12px 28px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    z-index: 2;
}

.gallery-btn-top-right:hover {
    background: #ffd633;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(255, 204, 0, 0.3);
}

@media (max-width: 992px) {
    .gallery-section .circle-1 { width: 300px; height: 300px; top: -50px; right: -50px; }
    .gallery-section .circle-2 { width: 400px; height: 400px; bottom: -70px; left: -70px; }
    .gallery-section .circle-3 { width: 150px; height: 150px; }
    .gallery-section .circle-4 { width: 200px; height: 200px; }
    .gallery-section .circle-5 { width: 110px; height: 110px; left: 18%; }
    .gallery-section .circle-6 { width: 130px; height: 130px; right: 14%; }
}

@media (max-width: 768px) {
    .gallery-section .circle-1 { width: 250px; height: 250px; }
    .gallery-section .circle-2 { width: 300px; height: 300px; }
    .gallery-section .circle-3 { width: 120px; height: 120px; }
    .gallery-section .circle-4 { width: 150px; height: 150px; }
    .gallery-section .circle-5 { width: 90px; height: 90px; top: 16%; left: 14%; }
    .gallery-section .circle-6 { width: 100px; height: 100px; bottom: 12%; right: 10%; }
}

@media (max-width: 576px) {
    .gallery-section .circle-1 { width: 200px; height: 200px; top: -30px; right: -30px; }
    .gallery-section .circle-2 { width: 250px; height: 250px; bottom: -50px; left: -50px; }
    .gallery-section .circle-3 { width: 100px; height: 100px; top: 25%; }
    .gallery-section .circle-4 { width: 120px; height: 120px; bottom: 15%; }
    .gallery-section .circle-5 { width: 70px; height: 70px; top: 18%; left: 10%; }
    .gallery-section .circle-6 { width: 80px; height: 80px; bottom: 10%; right: 8%; }
}

/* ===== BUJ SEKCUJA (divās kolonnās) ===== */
.faq-section {
    padding: 80px 0;
    background: white;
}

.faq-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 1200px;
}

.faq-column {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.faq-item {
    background: #f8f9fa;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: #520505;
    box-shadow: 0 5px 15px rgba(82, 5, 5, 0.1);
}

.faq-question {
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    background: #f8f9fa;
    transition: background 0.3s ease;
    position: relative;
}

.faq-question:hover {
    background: #e6f0ff;
}

.faq-question h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #520505;
    margin: 0;
    flex-grow: 1;
    padding-right: 20px;
}

.faq-question i {
    color: #520505;
    font-size: 1.2rem;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    background: white;
}

.faq-item.active .faq-answer {
    padding: 20px;
    max-height: 500px;
}

.faq-answer p {
    color: #555;
    line-height: 1.6;
    margin: 0;
}

/* ===== RESPONSIVE DIZAINS ===== */
@media (max-width: 1200px) {
    .slide-title {
        font-size: 3rem;
    }
    
    .slide-description {
        font-size: 1.3rem;
    }
}

@media (max-width: 992px) {
    .slideshow-section {
        height: 70vh;
        min-height: 500px;
    }
    
    .slide-title {
        font-size: 2.5rem;
    }
    
    .slide-description {
        font-size: 1.2rem;
    }

    .section-title {
        font-size: 2.2rem;
    }
    
    .faq-container {
        grid-template-columns: 1fr;
        gap: 20px;
        max-width: 800px;
    }
    
    .faq-column {
        gap: 15px;
    }
}

@media (max-width: 768px) {
    .slideshow-section {
        height: 60vh;
        min-height: 400px;
    }
    
    .slide-title {
        font-size: 2rem;
    }
    
    .slide-description {
        font-size: 1.1rem;
    }
    
    .slide-btn {
        padding: 12px 24px;
        font-size: 16px;
    }
    
    .slide-btn.prev-btn,
    .slide-btn.next-btn {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .news-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
    
    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .gallery-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .gallery-btn {
        align-self: flex-start;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .gallery-section .section-subtitle {
        text-align: center !important;
        margin-left: 0 !important;
        margin: 0 auto !important;
    }

    .lightbox-prev,
    .lightbox-next {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }

    .lightbox-prev {
        left: 10px;
    }

    .lightbox-next {
        right: 10px;
    }
}

@media (max-width: 576px) {
    .slideshow-section {
        height: 50vh;
        min-height: 300px;
    }
    
    .slide-title {
        font-size: 1.8rem;
    }
    
    .slide-description {
        font-size: 1rem;
    }
    
    .news-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .faq-question h3 {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-item {
        height: 200px;
    }
    
    .faq-question h3 {
        font-size: 1rem;
    }
    
    .faq-question {
        padding: 15px;
    }
    
    .faq-item.active .faq-answer {
        padding: 15px;
    }
}

/* ===== MOBILĀ VERSIJA JAUNUMI ===== */
@media (max-width: 768px) {
    #jaunumi-container-home .jaunuma-izvelne-header {
        padding: 15px;
        gap: 15px;
    }
    #jaunumi-container-home .jaunuma-izvelne-attels {
        width: 60px;
        height: 60px;
    }
    #jaunumi-container-home .jaunuma-izvelne-virsraksts {
        font-size: 1.1rem;
    }
    #jaunumi-container-home .jaunuma-izvelne-datums {
        font-size: 0.8rem;
    }
}

@media (max-width: 576px) {
    #jaunumi-container-home .jaunuma-izvelne {
        position: relative;
    }
    #jaunumi-container-home .jaunuma-izvelne-header {
        flex-direction: column;
        align-items: flex-start;
        padding: 0;
        gap: 0;
        background: transparent;
    }
    #jaunumi-container-home .jaunuma-izvelne-attels {
        width: 100%;
        height: 150px;
        border-radius: 12px 12px 0 0;
    }
    #jaunumi-container-home .jaunuma-izvelne-info {
        width: 100%;
        padding: 20px 20px 50px 20px;
    }
    #jaunumi-container-home .jaunuma-izvelne-arrow {
        position: absolute;
        bottom: 15px;
        right: 20px;
        top: auto;
        z-index: 10;
        background: rgba(82,5,5,0.1);
        border-radius: 50%;
        width: 36px;
        height: 36px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    #jaunumi-container-home .jaunuma-izvelne-arrow i {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    #jaunumi-container-home .jaunuma-izvelne-apraksts {
        padding: 15px;
    }
    #jaunumi-container-home .jaunuma-izvelne-info {
        padding: 15px 15px 45px 15px;
    }
    #jaunumi-container-home .jaunuma-izvelne-arrow {
        bottom: 10px;
        right: 15px;
        width: 32px;
        height: 32px;
    }
}

@media (max-width: 768px) {
    .lightbox-close {
        top: 20px;
        right: 25px;
        font-size: 40px;
    }

    .zoom-controls {
        bottom: 80px;
        right: 15px;
        gap: 8px;
        padding: 6px;
    }

    .zoom-btn {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }

    #lightbox-img-home {
        max-width: 90vw;
        max-height: 80vh;
    }
}