/* Kontaktinformacijas (adrese, sazina) stili. */

/* ===== KONTAKTINFORMĀCIJAS LAPA ===== */
.kontakti-page {
    padding: 60px 0;
    background: #f8f9fa;
    min-height: 100vh;
}

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

/* 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);
}

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

.page-header {
    text-align: center;
    margin-bottom: 34px;
}

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

/* ===== KONTAKTU REŽĢIS ===== */
.kontakti-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}

.info-card--full {
    grid-column: 1 / -1;
}

.info-column {
    display: grid;
    gap: 20px;
}

.info-card {
    background: linear-gradient(135deg, #520505 0%, #6a0b0b 100%);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 14px 34px rgba(82,5,5,0.18);
    border: 1px solid rgba(255,204,0,0.18);
    transition: all 0.3s;
    display: flex;
    align-items: flex-start;
    gap: 20px;
    min-height: 100%;
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 40px rgba(82,5,5,0.24);
    border-color: #ffcc00;
}

.card-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #ffcc00, #ffd84d);
    color: #520505;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
    box-shadow: 0 10px 20px rgba(0,0,0,0.16);
}

.card-content {
    flex: 1;
}

.card-content h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #fff7d6;
    margin-bottom: 15px;
}

.card-content p {
    color: rgba(255,255,255,0.9);
    line-height: 1.7;
    margin-bottom: 5px;
}

.contact-lines p + p,
.detail-stack p + p {
    margin-top: 4px;
}

.contact-list {
    display: grid;
    gap: 10px;
}

.contact-row {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: center;
    padding: 10px 12px;
    border-radius: 12px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.14);
    white-space: nowrap;
}

.contact-meta {
    font-size: 0.92rem;
    color: rgba(255,255,255,0.72);
    font-weight: 600;
}

.contact-link {
    color: #ffdc6b;
    text-decoration: none;
    font-weight: 700;
    transition: color 0.2s;
}

.contact-link:hover {
    color: #fff3c0;
    text-decoration: underline;
}

.action-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #ffdc6b;
    text-decoration: none;
    font-weight: 700;
    margin-top: 14px;
    transition: all 0.2s;
}

.action-link:hover {
    color: #fff3c0;
    transform: translateX(5px);
}

.primary-link {
    color: #ffdc6b;
}

.social-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-top: 8px;
    width: 100%;
}

.social-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 18px;
    border-radius: 14px;
    text-decoration: none;
    color: rgba(255,255,255,0.92);
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.14);
    transition: all 0.2s;
    width: 100%;
}

.social-item i {
    width: 22px;
    color: #ffdc6b;
    text-align: center;
}

.social-item span {
    font-weight: 600;
}

.social-item:hover {
    transform: translateX(4px);
    border-color: rgba(255,204,0,0.32);
    background: rgba(255,255,255,0.12);
}

/* Darba laiki */
.darba-laiki {
    margin-bottom: 15px;
}

.dienas-rinda {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px dashed rgba(82,5,5,0.1);
}

.diena {
    font-weight: 500;
    color: rgba(255,255,255,0.82);
}

.laiks {
    color: #ffdc6b;
    font-weight: 600;
}

.piezime {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.78);
    margin-top: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.piezime i {
    color: #ffcc00;
}

/* ===== KARTE ===== */
.map-section {
    margin-bottom: 60px;
}

.map-container {
    background: white;
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(82,5,5,0.1);
    border: 1px solid rgba(82,5,5,0.1);
    overflow: hidden;
}

.map-container iframe {
    border-radius: 12px;
    width: 100%;
    height: 450px;
}

.map-actions {
    display: flex;
    justify-content: center;
    margin-top: 18px;
}

/* ===== KONTAKTU FORMA ===== */
.contact-form-section {
    margin-bottom: 60px;
}

.form-container {
    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);
}

.form-intro {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 28px;
}

.form-intro h3 {
    color: #520505;
    font-size: 1.35rem;
    margin-bottom: 8px;
    font-weight: 700;
}

.form-intro p {
    color: #66707a;
    line-height: 1.7;
}

.contact-form {
    max-width: 800px;
    margin: 0 auto;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 0.95rem;
    font-weight: 600;
    color: #520505;
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s;
    background: white;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #ffcc00;
    box-shadow: 0 0 0 3px rgba(255,204,0,0.2);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-submit {
    text-align: center;
    margin-top: 30px;
}

.form-note {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #66707a;
    font-size: 0.92rem;
    margin-bottom: 16px;
}

.form-note i {
    color: #ffcc00;
}

.submit-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #520505;
    color: white;
    padding: 15px 40px;
    border-radius: 50px;
    border: none;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.submit-btn:hover {
    background: #7a0f0f;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(82,5,5,0.2);
}

.submit-btn i {
    transition: transform 0.3s;
}

.submit-btn:hover i {
    transform: translateX(5px);
}


/* ===== RESPONSĪVAIS DIZAINS ===== */
@media (max-width: 992px) {
    .page-title {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    .kontakti-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .page-title {
        font-size: 2rem;
    }
    
    .section-heading {
        font-size: 1.8rem;
    }
    
    .info-card {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
        padding: 25px;
    }
    
    .card-icon {
        margin-bottom: 10px;
    }

    .contact-row {
        flex-direction: row;
        align-items: center;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .form-container {
        padding: 25px;
    }
    
    .map-container iframe {
        height: 350px;
    }
}

@media (max-width: 576px) {
    .page-title {
        font-size: 1.8rem;
    }
    
    .page-subtitle {
        font-size: 1rem;
    }
    
    .section-heading {
        font-size: 1.6rem;
    }
    
    .info-card {
        padding: 20px;
    }

    .social-list {
        grid-template-columns: 1fr;
    }
    
    .dienas-rinda {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }

    .submit-btn {
        width: 100%;
        justify-content: center;
    }
    
    .form-container {
        padding: 20px;
    }
    
    .map-container iframe {
        height: 300px;
    }
}

/* Animācijas */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translate3d(0, 24px, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

.info-card,
.map-container {
    opacity: 0;
    animation: fadeInUp 0.65s ease-out forwards;
    will-change: transform, opacity;
}

.info-column .info-card:nth-child(1) { animation-delay: 0.12s; }
.info-column .info-card:nth-child(2) { animation-delay: 0.2s; }
.info-column .info-card:nth-child(3) { animation-delay: 0.28s; }

.map-container { animation-delay: 0.22s; }

@media (prefers-reduced-motion: reduce) {
    .back-link,
    .info-card,
    .social-item,
    .action-link,
    .submit-btn,
    .map-container,
    .form-container {
        animation: none !important;
        transition: none !important;
        transform: none !important;
        opacity: 1 !important;
    }
}