/* kapcsolat.php oldal stílusai — 2026.10.10-ig a kapcsolat.php végén volt <style>-ként; a <head>-ben töltődik ($oldalCss), hogy az első kirajzolásnál már érvényes legyen (CLS) */
/* Kapcsolat oldal stílusok */
.kapcsolat-hero {
    background: linear-gradient(135deg, #5A1F6A 0%, #7B2D8E 100%);
    padding: 4rem 0;
    text-align: center;
    color: white;
    margin-bottom: 2rem;
}

.kapcsolat-hero .section-title,
.kapcsolat-hero .section-subtitle {
    color: white;
}

.kapcsolat-hero .section-title::after {
    display: none;
}

.kapcsolat-section {
    padding: 3rem 0;
}

.kapcsolat-section-alt {
    background-color: #FAF5FF;
}

/* Kapcsolati kártyák */
.kapcsolat-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.kapcsolat-card {
    background: white;
    padding: 2.5rem 1.5rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 25px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: bounceIn 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55) forwards;
    opacity: 0;
}

.kapcsolat-card:nth-child(1) {
    animation-delay: 0.1s;
}

.kapcsolat-card:nth-child(2) {
    animation-delay: 0.3s;
}

.kapcsolat-card:nth-child(3) {
    animation-delay: 0.5s;
}

@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(1.5) translateY(-30px);
    }
    50% {
        opacity: 1;
        transform: scale(0.9) translateY(0);
    }
    70% {
        transform: scale(1.05);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.kapcsolat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 35px rgba(123, 45, 142, 0.2);
}

.kapcsolat-card-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #7B2D8E 0%, #5A1F6A 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.kapcsolat-card-icon i {
    font-size: 2rem;
    color: white;
}

.kapcsolat-card h2 {
    color: #2D2235;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.kapcsolat-card a {
    color: #7B2D8E;
    text-decoration: none;
    font-size: 1.05rem;
    overflow-wrap: anywhere;
    font-weight: 500;
    transition: color 0.3s ease;
}

.kapcsolat-card a[href^="mailto:"] {
    font-size: 0.95rem;
}
.kapcsolat-card a:hover {
    color: #5A1F6A;
}

.kapcsolat-card p {
    color: #666;
    font-size: 1.1rem;
    margin: 0;
}

.kapcsolat-card-note {
    font-size: 0.9rem !important;
    color: #999 !important;
    margin-top: 0.5rem !important;
}

/* Social Links Section */
.social-section {
    background: linear-gradient(135deg, #5A1F6A 0%, #7B2D8E 100%);
    padding: 4rem 0;
}

.social-section .section-title,
.social-section .section-subtitle {
    color: white;
}

.social-section .section-title::after {
    background: rgba(255,255,255,0.5);
}

.social-links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    max-width: 1000px;
    margin: 2rem auto 0;
}

.social-link-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 15px;
    padding: 1.5rem;
    text-decoration: none;
    transition: all 0.3s ease;
    animation: bounceIn 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55) forwards;
    opacity: 0;
}

.social-link-card:nth-child(1) {
    animation-delay: 0.7s;
}

.social-link-card:nth-child(2) {
    animation-delay: 0.9s;
}

.social-link-card:nth-child(3) {
    animation-delay: 1.1s;
}

.social-link-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.25);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.social-link-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.social-link-icon i {
    font-size: 1.8rem;
    color: white;
}

.social-facebook .social-link-icon {
    background: linear-gradient(135deg, #1877F2 0%, #0D65D9 100%);
}

.social-instagram .social-link-icon {
    background: linear-gradient(135deg, #F58529 0%, #DD2A7B 50%, #8134AF 100%);
}

.social-tiktok .social-link-icon {
    background: linear-gradient(135deg, #00F2EA 0%, #FF0050 100%);
}

.social-link-content {
    flex: 1;
}

.social-link-content h3 {
    color: white;
    font-size: 1.2rem;
    margin: 0 0 0.25rem 0;
}

.social-link-content .social-handle {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    display: block;
    margin-bottom: 0.25rem;
}

.social-link-content p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
    margin: 0;
}

.social-link-arrow {
    color: rgba(255, 255, 255, 0.5);
    transition: all 0.3s ease;
}

.social-link-card:hover .social-link-arrow {
    color: white;
    transform: translateX(5px);
}

/* Térkép */
.kapcsolat-map {
    margin-top: 2rem;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 25px rgba(0,0,0,0.1);
}

/* Térkép: csak kattintásra töltődik be (sebesség, adatvédelem) */
.terkep-betolto {
    width: 100%;
    height: 400px;
    border: 0;
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 1.5rem;
    cursor: pointer;
    color: var(--primary-dark);
    font: inherit;
    background: linear-gradient(135deg, rgba(155, 77, 202, 0.10), rgba(123, 45, 142, 0.18));
    transition: var(--transition);
}

.terkep-betolto:hover,
.terkep-betolto:focus-visible {
    background: linear-gradient(135deg, rgba(155, 77, 202, 0.18), rgba(123, 45, 142, 0.28));
}

.terkep-betolto .fa-map-marked-alt {
    font-size: 3rem;
    color: var(--primary-color);
}

.terkep-betolto-cim {
    font-size: 1.2rem;
    font-weight: 700;
}

.terkep-betolto-szoveg {
    font-size: 0.95rem;
    color: var(--text-light);
    text-align: center;
}

.terkep-kulso-link {
    text-align: center;
    margin: 0.8rem 0 0;
    font-size: 0.95rem;
}

/* Responsive */
@media (max-width: 768px) {
    .kapcsolat-hero {
        padding: 2rem 0;
    }

    .kapcsolat-card {
        padding: 1.5rem;
    }

    .social-section {
        padding: 3rem 0;
    }

    .social-links-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .social-link-card {
        padding: 1.25rem;
    }

    .social-link-icon {
        width: 50px;
        height: 50px;
    }

    .social-link-icon i {
        font-size: 1.5rem;
    }
}
