/* VAM informacijas sekciju un indikatoru stili. */

/* ===== ANIMĀCIJAS ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.intro-section,
.merki-card,
.saturs-card,
.norise-card,
.nometne-card,
.partneris-card,
.pasniedzejs-card,
.iespeja-card,
.kontakti-box {
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
}

.intro-section { animation-delay: 0.1s; }

.merki-card:nth-child(1) { animation-delay: 0.15s; }
.merki-card:nth-child(2) { animation-delay: 0.2s; }
.merki-card:nth-child(3) { animation-delay: 0.25s; }
.merki-card:nth-child(4) { animation-delay: 0.3s; }

.saturs-card:nth-child(1) { animation-delay: 0.35s; }
.saturs-card:nth-child(2) { animation-delay: 0.4s; }

.norise-card:nth-child(1) { animation-delay: 0.45s; }
.norise-card:nth-child(2) { animation-delay: 0.5s; }
.norise-card:nth-child(3) { animation-delay: 0.55s; }
.norise-card:nth-child(4) { animation-delay: 0.6s; }

.nometne-card { animation-delay: 0.65s; }

.partneris-card:nth-child(1) { animation-delay: 0.7s; }
.partneris-card:nth-child(2) { animation-delay: 0.75s; }
.partneris-card:nth-child(3) { animation-delay: 0.8s; }
.partneris-card:nth-child(4) { animation-delay: 0.85s; }

.pasniedzejs-card:nth-child(1) { animation-delay: 0.9s; }
.pasniedzejs-card:nth-child(2) { animation-delay: 0.95s; }
.pasniedzejs-card:nth-child(3) { animation-delay: 1s; }

.iespeja-card:nth-child(1) { animation-delay: 1.0s; }
.iespeja-card:nth-child(2) { animation-delay: 1.05s; }
.iespeja-card:nth-child(3) { animation-delay: 1.1s; }
.iespeja-card:nth-child(4) { animation-delay: 1.15s; }

.kontakti-box { animation-delay: 1.2s; }

/* ===== VALSTS AIZSARDZĪBAS MĀCĪBAS LAPA ===== */
.vam-page {
    padding: 60px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    min-height: 100vh;
    position: relative;
}

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

/* Atpakaļ saite */
.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #520505;
    text-decoration: none;
    font-weight: 500;
    margin-bottom: 30px;
    transition: all 0.2s;
    background: white;
    padding: 10px 20px;
    border-radius: 30px;
    border: 1px solid #520505;
    box-shadow: 0 2px 8px rgba(82,5,5,0.1);
    position: relative;
    z-index: 3;
}

.back-link:hover {
    background: #520505;
    color: white;
    transform: translateX(-5px);
}

.page-header {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
    z-index: 3;
}

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

.page-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;
}

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

.section-heading {
    font-size: 2rem;
    font-weight: 700;
    color: #520505;
    margin-bottom: 40px;
    text-align: center;
    position: relative;
}

.section-heading::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: #ffcc00;
    border-radius: 2px;
}

/* ===== IEVADA SEKCIJA ===== */
.intro-section {
    background: white;
    border-radius: 30px;
    padding: 40px;
    margin-bottom: 40px;
    box-shadow: 0 15px 35px rgba(82,5,5,0.1);
    border: 1px solid rgba(82,5,5,0.1);
    position: relative;
    overflow: hidden;
    z-index: 3;
}

.intro-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: linear-gradient(180deg, #520505, #ffcc00);
}

.intro-content {
    display: flex;
    align-items: center;
    gap: 40px;
}

.intro-icon {
    width: 100px;
    height: 100px;
    background: #520505;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    flex-shrink: 0;
    box-shadow: 0 15px 30px rgba(82,5,5,0.2);
}

.intro-text {
    flex: 1;
}

.intro-text h2 {
    font-size: 1.8rem;
    font-weight: 600;
    color: #520505;
    margin-bottom: 15px;
}

.intro-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #2d3748;
}

/* ===== PROGRAMMAS MĒRĶI - BORDO KARTES ===== */
.merki-section {
    margin-bottom: 50px;
    position: relative;
    z-index: 3;
}

.merki-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.merki-card {
    background: #520505;
    border-radius: 20px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 15px 35px rgba(82,5,5,0.25);
    border: 2px solid #ffcc00;
    transition: none;
    position: relative;
    overflow: hidden;
}

.merki-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,204,0,0.1) 0%, transparent 70%);
    opacity: 0.35;
}

.merki-icon {
    width: 60px;
    height: 60px;
    background: #ffcc00;
    color: #520505;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-size: 1.8rem;
    transition: all 0.3s;
}


.merki-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: white;
    margin-bottom: 8px;
}

.merki-card p {
    color: rgba(255,255,255,0.9);
    line-height: 1.5;
    font-size: 0.9rem;
}

/* ===== PROGRAMMAS SATURS ===== */
.saturs-section {
    margin-bottom: 50px;
    position: relative;
    z-index: 3;
}

.saturs-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

.saturs-card {
    background: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 25px rgba(82,5,5,0.05);
    border: 1px solid rgba(82,5,5,0.1);
    transition: none;
    position: relative;
    overflow: hidden;
}

/* Gradienta līnija kreisajā pusē - no dzeltenas uz bordo */
.saturs-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: linear-gradient(180deg, #520505, #ffcc00);
}


.saturs-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #520505;
    margin-bottom: 20px;
}

.saturs-card ul {
    list-style: none;
    padding: 0;
}

.saturs-card li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #2d3748;
    margin-bottom: 10px;
}

.saturs-card i {
    color: #ffcc00;
    width: 20px;
}

/* ===== MĀCĪBU NORISE - BORDO KARTES ===== */
.norise-section {
    margin-bottom: 50px;
    position: relative;
    z-index: 3;
}

.norise-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.norise-card {
    background: #520505;
    border-radius: 20px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 15px 35px rgba(82,5,5,0.25);
    border: 2px solid #ffcc00;
    transition: none;
    position: relative;
    overflow: hidden;
}

.norise-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,204,0,0.1) 0%, transparent 70%);
    opacity: 0.35;
}

.norise-card i {
    font-size: 2rem;
    color: #ffcc00;
    margin-bottom: 10px;
    transition: all 0.3s;
}


.norise-card h3 {
    font-size: 1rem;
    font-weight: 600;
    color: white;
    margin-bottom: 8px;
}

.norise-card p {
    color: rgba(255,255,255,0.9);
    font-size: 0.9rem;
}

/* ===== MĀCĪBU NOMETNE ===== */
.nometne-section {
    margin-bottom: 50px;
    position: relative;
    z-index: 3;
}

.nometne-card {
    background: white;
    border-radius: 30px;
    padding: 40px;
    box-shadow: 0 15px 35px rgba(82,5,5,0.1);
    border: 1px solid rgba(82,5,5,0.1);
    display: flex;
    align-items: center;
    gap: 40px;
    position: relative;
    overflow: hidden;
}

.nometne-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: linear-gradient(180deg, #520505, #ffcc00);
}

.nometne-icon {
    width: 120px;
    height: 120px;
    background: #520505;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.5rem;
    flex-shrink: 0;
    border: 5px solid #ffcc00;
}

.nometne-content {
    flex: 1;
}

.nometne-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #520505;
    margin-bottom: 10px;
}

.nometne-content p {
    color: #2d3748;
    line-height: 1.7;
    margin-bottom: 15px;
}

.nometne-content ul {
    list-style: none;
    padding: 0;
    margin-bottom: 15px;
}

.nometne-content li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #2d3748;
    margin-bottom: 8px;
}

.nometne-content i {
    color: #ffcc00;
}

.nometne-laiks {
    font-weight: 600;
    color: #520505;
    font-size: 1.1rem;
}

/* ===== SADARBĪBAS PARTNERI - BORDO KARTES ===== */
.partneri-section {
    margin-bottom: 50px;
    position: relative;
    z-index: 3;
}

.partneri-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.partneris-card {
    background: #520505;
    border-radius: 20px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 15px 35px rgba(82,5,5,0.25);
    border: 2px solid #ffcc00;
    transition: none;
    position: relative;
    overflow: hidden;
}

.partneris-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,204,0,0.1) 0%, transparent 70%);
    opacity: 0.35;
}

.partneris-card i {
    font-size: 2rem;
    color: #ffcc00;
    margin-bottom: 10px;
    transition: all 0.3s;
}


.partneris-card h3 {
    font-size: 1rem;
    font-weight: 600;
    color: white;
    margin-bottom: 8px;
}

.partneris-card p {
    color: rgba(255,255,255,0.9);
    font-size: 0.9rem;
}

/* ===== PASNIEDZĒJI ===== */
.pasniedzeji-section {
    margin-bottom: 50px;
    position: relative;
    z-index: 3;
}

.pasniedzeji-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.pasniedzeji-grid--two {
    grid-template-columns: repeat(2, minmax(280px, 360px));
    justify-content: center;
}

.pasniedzejs-card {
    background: white;
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 10px 25px rgba(82,5,5,0.05);
    border: 1px solid rgba(82,5,5,0.1);
    transition: none;
    position: relative;
    overflow: hidden;
}

.pasniedzejs-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: linear-gradient(180deg, #520505, #ffcc00);
}

.pasniedzejs-foto {
    width: 80px;
    height: 80px;
    background: #520505;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    margin: 0 auto 15px;
    border: 3px solid #ffcc00;
    transition: all 0.3s;
}

.pasniedzejs-foto-trigger {
    border: none;
    padding: 0;
    cursor: zoom-in;
}

.pasniedzejs-foto-trigger img {
    transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
}

@media (hover: hover) {
    .pasniedzejs-foto-trigger:hover img {
        transform: scale(1.06);
        filter: brightness(1.05);
        box-shadow: 0 0 0 4px rgba(82, 5, 5, 0.25);
    }
}

.pasniedzejs-foto-trigger:focus-visible {
    outline: 3px solid #ffcc00;
    outline-offset: 3px;
}


.pasniedzejs-card h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #520505;
    margin-bottom: 5px;
}

.pasniedzejs-amats {
    font-size: 0.95rem;
    color: #ffcc00;
    font-weight: 500;
    margin-bottom: 8px;
}

.pasniedzejs-card p {
    color: #2d3748;
    margin-bottom: 5px;
}

.pasniedzejs-card p i {
    color: #ffcc00;
    width: 18px;
}

.pasniedzejs-foto i {
    width: auto;
    line-height: 1;
    display: block;
}

@media (max-width: 1024px) {
    .pasniedzeji-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.pasniedzejs-card a {
    color: #520505;
    text-decoration: none;
}

.pasniedzejs-card a:hover {
    text-decoration: underline;
}

/* ===== IESPĒJAS PĒC PROGRAMMAS - BORDO KARTES ===== */
.iespejas-section {
    margin-bottom: 50px;
    position: relative;
    z-index: 3;
}

.iespejas-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.iespeja-card {
    background: #520505;
    border-radius: 20px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 15px 35px rgba(82,5,5,0.25);
    border: 2px solid #ffcc00;
    transition: none;
    position: relative;
    overflow: hidden;
}

.iespeja-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,204,0,0.1) 0%, transparent 70%);
    opacity: 0.35;
}

.iespeja-card i {
    font-size: 2rem;
    color: #ffcc00;
    margin-bottom: 10px;
    transition: all 0.3s;
}


.iespeja-card h3 {
    font-size: 1rem;
    font-weight: 600;
    color: white;
    margin-bottom: 8px;
}

.iespeja-card p {
    color: rgba(255,255,255,0.9);
    font-size: 0.9rem;
}

/* ===== KONTAKTINFORMĀCIJA ===== */
.kontakti-section {
    margin-bottom: 40px;
    position: relative;
    z-index: 3;
}

.kontakti-box {
    background: white;
    border-radius: 20px;
    padding: 30px;
    border-left: 5px solid #ffcc00;
    box-shadow: 0 10px 25px rgba(82,5,5,0.1);
    transition: none;
    position: relative;
    overflow: hidden;
}

.kontakti-box::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(255,204,0,0.1) 0%, transparent 70%);
}

.kontakti-box h3 {
    font-size: 1.3rem;
    color: #520505;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.kontakti-box p {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #2d3748;
    margin-bottom: 8px;
}

.kontakti-box i {
    color: #ffcc00;
    width: 20px;
}

.kontakti-box a {
    color: #520505;
    text-decoration: none;
}

.kontakti-box a:hover {
    text-decoration: underline;
}

/* ===== RESPONSĪVAIS DIZAINS ===== */
@media (max-width: 992px) {
    .page-title {
        font-size: 2.2rem;
    }
    
    .intro-content {
        flex-direction: column;
        text-align: center;
    }
    
    .merki-grid,
    .norise-grid,
    .partneri-grid,
    .iespejas-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .nometne-card {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .page-title {
        font-size: 2rem;
    }
    
    .section-heading {
        font-size: 1.8rem;
    }
    
    .intro-section {
        padding: 25px;
    }
    
    .intro-icon {
        width: 80px;
        height: 80px;
        font-size: 2.5rem;
    }
    
    .intro-text h2 {
        font-size: 1.5rem;
    }
    
    .intro-text p {
        font-size: 1rem;
    }
    
    .saturs-grid {
        grid-template-columns: 1fr;
    }
    
    .pasniedzeji-grid {
        grid-template-columns: 1fr;
    }
    
    .nometne-card {
        padding: 25px;
    }
    
    .nometne-icon {
        width: 100px;
        height: 100px;
        font-size: 3rem;
    }
    
    .nometne-content h3 {
        font-size: 1.3rem;
    }
}

@media (max-width: 576px) {
    .page-title {
        font-size: 1.8rem;
    }
    
    .page-subtitle {
        font-size: 1rem;
    }
    
    .section-heading {
        font-size: 1.6rem;
    }
    
    .merki-grid,
    .norise-grid,
    .partneri-grid,
    .iespejas-grid {
        grid-template-columns: 1fr;
    }
    
    .kontakti-box {
        padding: 20px;
    }
}