/* ===== RESET & VARIABEL ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Roboto, system-ui, sans-serif;
}

body {
    background-color: #fef9f5;
    color: #1a1a1a;
    line-height: 1.6;
}

:root {
    --maroon: #800000;
    --maroon-light: #a0522d;
    --maroon-very-light: #f5e6e0;
    --gold: #c9a845;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== HEADER ===== */
header {
    background-color: var(--maroon);
    color: white;
    padding: 20px 0;
    box-shadow: 0 4px 12px rgba(128, 0, 0, 0.3);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 15px;
}

/* Logo area dengan gambar */
.logo-area {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-img {
    height: 60px;
    width: auto;
    object-fit: contain;
}

.logo-area h1 {
    font-size: 1.9rem;
    font-weight: 600;
    letter-spacing: 1px;
}

.logo-area p {
    font-style: italic;
    font-size: 0.95rem;
    opacity: 0.9;
}

.nav-links a {
    color: white;
    text-decoration: none;
    margin-left: 28px;
    font-weight: 500;
    transition: 0.2s;
    border-bottom: 2px solid transparent;
    padding-bottom: 4px;
}

.nav-links a:hover {
    border-bottom-color: var(--gold);
    color: #ffe3d0;
}

/* ===== HERO ===== */
.hero {
    background: linear-gradient(105deg, var(--maroon) 30%, #9e2b1f 100%);
    color: white;
    padding: 60px 0;
    margin-bottom: 40px;
}

.hero-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 30px;
}

.hero-text {
    flex: 1 1 300px;
}

.hero-text h2 {
    font-size: 2.8rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 15px;
}

.hero-text .quote {
    font-size: 1.5rem;
    font-style: italic;
    margin: 20px 0 10px;
    border-left: 5px solid var(--gold);
    padding-left: 20px;
}

.hero-text .quote-author {
    font-weight: 300;
    font-size: 1.1rem;
    margin-bottom: 30px;
}

.btn-maroon {
    background-color: var(--gold);
    color: var(--maroon);
    font-weight: bold;
    padding: 12px 30px;
    border: none;
    border-radius: 40px;
    font-size: 1rem;
    cursor: pointer;
    transition: 0.3s;
    text-decoration: none;
    display: inline-block;
    border: 2px solid var(--gold);
}

.btn-maroon:hover {
    background-color: transparent;
    color: white;
    border: 2px solid white;
}

/* ===== SECTION ===== */
section {
    padding: 60px 0;
    border-bottom: 1px solid #f0d8cc;
}

.section-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--maroon);
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 15px;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 4px;
    background-color: var(--gold);
}

.section-title.center {
    text-align: center;
}

.section-title.center:after {
    left: 50%;
    transform: translateX(-50%);
}

/* ===== TENTANG ===== */
.about-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin-top: 20px;
}

.about-text {
    flex: 2 1 400px;
}

.history-highlight {
    flex: 1 1 250px;
    background: var(--maroon-very-light);
    padding: 25px;
    border-radius: 16px;
    border-left: 8px solid var(--maroon);
}

.history-highlight .year {
    font-weight: 800;
    font-size: 2rem;
    color: var(--maroon);
    display: block;
}

.history-item {
    margin-bottom: 25px;
}

.history-item h4 {
    font-size: 1.3rem;
    color: var(--maroon);
    display: flex;
    align-items: center;
    gap: 8px;
}

.history-item h4 i {
    color: var(--gold);
    font-size: 1.5rem;
}

/* ===== VISI MISI ===== */
.visi-misi-wrap {
    background: white;
    border-radius: 28px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(128, 0, 0, 0.08);
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin-top: 20px;
}

.visi-box, .misi-box {
    flex: 1 1 300px;
}

.visi-box h3, .misi-box h3 {
    color: var(--maroon);
    font-size: 1.9rem;
    margin-bottom: 20px;
    border-left: 8px solid var(--gold);
    padding-left: 20px;
}

.misi-box ul {
    list-style: none;
}

.misi-box li {
    margin-bottom: 16px;
    padding-left: 30px;
    position: relative;
}

.misi-box li:before {
    content: '\f0a4';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: var(--maroon);
    position: absolute;
    left: 0;
    font-size: 1.2rem;
}

/* ===== SAMBUTAN DENGAN FOTO ===== */
.sambutan-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 30px;
}

.sambutan-card {
    flex: 1 1 300px;
    background: white;
    padding: 30px 25px;
    border-radius: 24px;
    box-shadow: 0 5px 20px rgba(128, 0, 0, 0.06);
    transition: 0.2s;
    border: 1px solid #f0d8cc;
    text-align: center; /* Memusatkan teks karena foto di atas */
}

.sambutan-card:hover {
    transform: translateY(-6px);
    border-color: var(--maroon);
}

.sambutan-foto {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--gold);
    margin-bottom: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.sambutan-card h4 {
    color: var(--maroon);
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.sambutan-card .jabatan {
    color: #b35e3a;
    font-weight: 500;
    margin-bottom: 20px;
    font-size: 1rem;
    letter-spacing: 0.5px;
}

.sambutan-card p {
    font-style: italic;
    color: #2d2d2d;
}

.sambutan-card .salam {
    margin-top: 20px;
    font-style: normal;
    font-weight: 600;
    color: var(--maroon);
}

/* ===== PENGURUS ===== */
.pengurus-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 30px;
}

.dewan-box, .pengurus-box {
    flex: 1 1 280px;
    background: #fcf3ee;
    border-radius: 24px;
    padding: 28px;
}

.dewan-box h3, .pengurus-box h3 {
    color: var(--maroon);
    margin-bottom: 24px;
    font-size: 1.8rem;
    border-bottom: 3px solid var(--gold);
    padding-bottom: 8px;
    display: inline-block;
}

.pengurus-list p {
    margin-bottom: 12px;
    font-size: 1.1rem;
    display: flex;
    align-items: baseline;
}

.pengurus-list strong {
    min-width: 140px;
    color: #5a2e1a;
    font-weight: 600;
}

/* ===== KONTAK ===== */
.kontak-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    background: white;
    border-radius: 32px;
    padding: 40px;
    box-shadow: 0 8px 28px rgba(128, 0, 0, 0.1);
}

.kontak-info {
    flex: 1 1 300px;
}

.kontak-info .item {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
}

.kontak-info .item i {
    font-size: 2.2rem;
    color: var(--maroon);
    width: 50px;
    text-align: center;
}

.kontak-info .item p {
    font-size: 1.15rem;
}

.kontak-info .item strong {
    color: var(--maroon);
}

/* Map container */
.map-container {
    flex: 1 1 300px;
    min-height: 300px;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* ===== FOOTER ===== */
footer {
    background-color: var(--maroon);
    color: white;
    padding: 40px 0;
    text-align: center;
    margin-top: 40px;
}

footer a {
    color: var(--gold);
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

/* ===== SCROLL TOP ===== */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 99;
}

.scroll-top a {
    background: var(--maroon);
    color: white;
    padding: 12px 18px;
    border-radius: 50px;
    display: block;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    transition: 0.3s;
    text-decoration: none;
}

.scroll-top a:hover {
    background: var(--gold);
    color: var(--maroon);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .header-flex {
        flex-direction: column;
        gap: 15px;
    }
    .nav-links a {
        margin: 0 12px;
    }
    .hero-text h2 {
        font-size: 2rem;
    }
    .logo-img {
        height: 50px;
    }
}

@media (max-width: 480px) {
    .logo-img {
        height: 45px;
    }
    .logo-area h1 {
        font-size: 1.5rem;
    }
    .logo-area p {
        font-size: 0.8rem;
    }
    .sambutan-foto {
        width: 100px;
        height: 100px;
    }
}