/* =================================================
   KONTAK.CSS - HALAMAN KONTAK SEKOLAH
   Tema Biru Putih Modern - Selaras dengan Halaman Lain
   ================================================= */

/* ========== VARIABEL WARNA ========== */
:root {
    --primary-blue: #0a4d8c;
    --secondary-blue: #1e6eb5;
    --accent-blue: #3498db;
    --light-blue: #eef5fc;
    --pure-white: #ffffff;
    --soft-white: #f8fafd;
    --text-dark: #2c3e50;
    --text-light: #5a6a7a;
    --border-light: #d9e6f2;
    --shadow: 0 10px 30px rgba(10, 77, 140, 0.08);
    --shadow-hover: 0 15px 40px rgba(10, 77, 140, 0.12);
    --gradient-blue: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
}

/* ========== RESET & DASAR ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--soft-white);
    color: var(--text-dark);
    line-height: 1.6;
}

/* ========== BANNER HALAMAN ========== */
.page-banner {
    position: relative;
    width: 100%;
    height: 350px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--pure-white);
    margin-bottom: 3rem;
}

.banner-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.3);
}

.banner-content {
    position: relative;
    z-index: 2;
    text-align: center;
    animation: fadeInUp 0.8s ease-out;
}

.banner-content h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 1rem;
    flex-wrap: wrap;
}

.breadcrumb a {
    color: rgba(255,255,255,0.9);
    text-decoration: none;
    transition: color 0.3s;
}

.breadcrumb a:hover {
    color: var(--pure-white);
    text-decoration: underline;
}

.breadcrumb i {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.6);
}

.breadcrumb span {
    color: var(--pure-white);
    font-weight: 500;
}

/* ========== SECTION KONTAK ========== */
.kontak-section {
    padding: 0 0 5rem;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Section */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--primary-blue);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.header-line {
    width: 80px;
    height: 4px;
    background: var(--accent-blue);
    margin: 0 auto 1rem;
    border-radius: 4px;
}

.subtitle {
    color: var(--text-light);
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
}

/* Grid Kontak */
.kontak-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

/* Info Card */
.info-card {
    background: var(--pure-white);
    border-radius: 30px;
    padding: 2.5rem;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-light);
    transition: transform 0.3s ease;
    animation: fadeInUp 0.8s ease-out;
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.info-card h3 {
    font-size: 1.8rem;
    color: var(--primary-blue);
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    border-bottom: 2px solid var(--light-blue);
    padding-bottom: 1rem;
}

.info-card h3 i {
    color: var(--accent-blue);
    font-size: 1.8rem;
}

/* Info Items */
.info-item {
    display: flex;
    gap: 1.2rem;
    margin-bottom: 1.8rem;
    align-items: flex-start;
}

.info-icon {
    width: 50px;
    height: 50px;
    background: var(--light-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--accent-blue);
    flex-shrink: 0;
}

.info-icon i {
    font-size: 1.3rem;
    color: var(--primary-blue);
}

.info-text h4 {
    font-size: 1rem;
    color: var(--text-light);
    margin-bottom: 0.3rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.info-text p {
    font-size: 1rem;
    color: var(--text-dark);
    line-height: 1.6;
}

.info-text a {
    color: var(--primary-blue);
    text-decoration: none;
    transition: color 0.3s;
}

.info-text a:hover {
    color: var(--accent-blue);
    text-decoration: underline;
}

/* Social Media */
.social-media {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-light);
}

.social-media h4 {
    font-size: 1.1rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icon {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.social-icon:hover {
    transform: translateY(-5px);
    filter: brightness(1.1);
}


/* Map Card */
.map-card {
    background: var(--pure-white);
    border-radius: 30px;
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-light);
    transition: transform 0.3s ease;
    animation: fadeInUp 0.8s ease-out;
}

.map-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.map-header {
    background: var(--gradient-blue);
    color: white;
    padding: 1.5rem;
}

.map-header h3 {
    font-size: 1.5rem;
    margin-bottom: 0.3rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.map-header p {
    margin: 0;
    opacity: 0.9;
    font-size: 0.9rem;
}

.map-container {
    width: 100%;
    height: 350px;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Tombol Kembali */
.button-wrapper {
    display: flex;
    justify-content: flex-end;
    margin-top: 2rem;
}

.btn-kembali {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 12px 30px;
    background: var(--primary-blue);
    color: var(--pure-white);
    border: none;
    border-radius: 40px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
}

.btn-kembali:hover {
    background: var(--accent-blue);
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.btn-kembali i {
    font-size: 0.9rem;
}

/* ========== ANIMATIONS ========== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========== RESPONSIVE ========== */
@media (max-width: 992px) {
    .banner-content h1 {
        font-size: 2.5rem;
    }
    
    .kontak-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .page-banner {
        height: 250px;
    }
    
    .banner-content h1 {
        font-size: 2rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .info-card,
    .map-card {
        padding: 1.5rem;
    }
    
    .info-card h3 {
        font-size: 1.5rem;
    }
    
    .map-container {
        height: 300px;
    }
    
    .button-wrapper {
        justify-content: center;
    }
    
    .btn-kembali {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .banner-content h1 {
        font-size: 1.8rem;
    }
    
    .breadcrumb {
        font-size: 0.9rem;
    }
    
    .info-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.8rem;
    }
    
    .social-icons {
        flex-wrap: wrap;
    }
    
    .map-container {
        height: 250px;
    }
}