/* style.css */
@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;600;700;800&display=swap');

:root {
    --primary: #4CAF50;
    --primary-dark: #388E3C;
    --secondary: #FF9800;
    --secondary-light: #FFC107;
    --accent: #00BCD4;
    --text-dark: #2C3E50;
    --text-light: #607D8B;
    --bg-light: #F4F9F5;
    --white: #FFFFFF;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Nunito', Tahoma, sans-serif;
}

body {
    line-height: 1.6;
    color: var(--text-dark);
    background: var(--bg-light);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Navbar */
nav {
    background: linear-gradient(90deg, var(--primary), var(--accent));
    color: var(--white);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(0, 188, 212, 0.2);
    flex-wrap: wrap;
}
nav .logo { font-size: 1.5rem; font-weight: 800; display: flex; align-items: center; gap: 10px; }
nav ul { list-style: none; display: flex; flex-wrap: wrap; gap: 1.5rem; }
nav ul li a { color: var(--white); text-decoration: none; font-weight: 700; font-size: 1rem; position: relative; padding: 0.5rem 0; }
nav ul li a::after { content: ''; position: absolute; width: 0; height: 3px; bottom: 0; left: 0; background-color: var(--secondary-light); transition: width 0.3s; }
nav ul li a:hover::after, nav ul li a.active::after { width: 100%; }

/* Buttons */
.btn { display: inline-block; padding: 14px 32px; background-color: var(--secondary-light); color: var(--text-dark); text-decoration: none; border-radius: 50px; font-weight: 800; font-size: 1.1rem; transition: 0.3s; border: none; cursor: pointer; }
.btn:hover { background-color: var(--secondary); color: var(--white); transform: translateY(-5px) scale(1.05); }

/* Main Content Area */
main { flex: 1; }

/* Hero / Beranda */
.hero { background: linear-gradient(135deg, rgba(0, 188, 212, 0.85), rgba(76, 175, 80, 0.85)), url('https://images.unsplash.com/photo-1503676260728-1c00da094a0b?auto=format&fit=crop&q=80&w=1200') center/cover no-repeat; min-height: 80vh; display: flex; flex-direction: column; justify-content: center; align-items: center; color: var(--white); text-align: center; padding: 3rem 1.5rem; }
.hero h1 { font-size: 3rem; font-weight: 800; margin-bottom: 1rem; text-shadow: 2px 2px 4px rgba(0,0,0,0.2); }
.hero p { font-size: 1.25rem; font-weight: 600; margin-bottom: 2rem; max-width: 700px; }

/* Sections Global */
section { padding: 60px 5%; }
.section-title { text-align: center; color: var(--primary-dark); margin-bottom: 40px; font-size: 2.2rem; font-weight: 800; }
.section-title::after { content: ''; display: block; width: 80px; height: 6px; background: var(--secondary-light); margin: 15px auto 0; border-radius: 10px; }

/* Sambutan */
.sambutan-container { display: flex; align-items: center; gap: 40px; background: var(--white); padding: 40px; border-radius: 20px; box-shadow: 0 10px 30px rgba(0,0,0,0.05); max-width: 1000px; margin: 0 auto; border-left: 8px solid var(--secondary); }
.sambutan-foto img { width: 250px; height: 250px; object-fit: cover; border-radius: 50%; border: 6px solid var(--white); box-shadow: 0 8px 20px rgba(0,0,0,0.1); }
.sambutan-teks .section-title { text-align: left; }
.sambutan-teks .section-title::after { margin-left: 0; }
.sambutan-teks p { font-size: 1.1rem; font-style: italic; margin-bottom: 20px; }
.nama-kepsek strong { display: block; font-size: 1.25rem; color: var(--primary-dark); }

/* Tentang & Visi Misi Cards */
.grid-container { display: flex; gap: 30px; flex-wrap: wrap; justify-content: center; }
.card-box { background: var(--white); padding: 35px 25px; border-radius: 20px; flex: 1 1 300px; box-shadow: 0 10px 30px rgba(0,0,0,0.05); transition: 0.3s; border-bottom: 6px solid var(--accent); }
.card-box:nth-child(2) { border-bottom-color: var(--primary); }
.card-box:hover { transform: translateY(-10px); }
.card-box h3 { color: var(--primary-dark); margin-bottom: 15px; font-size: 1.6rem; }
.card-box ul { padding-left: 20px; }
.card-box ul li { margin-bottom: 12px; list-style-type: '⭐ '; }

/* Footer */
footer { background-color: var(--text-dark); color: #eceff1; text-align: center; padding: 40px 5% 20px; border-top: 5px solid var(--primary); margin-top: auto; }
footer strong { color: var(--secondary-light); font-size: 1.3rem; display: block; margin-bottom: 10px; }
footer a { color: var(--accent); text-decoration: none; }

/* Responsive */
@media (max-width: 768px) {
    nav { flex-direction: column; gap: 15px; }
    .hero h1 { font-size: 2rem; }
    .sambutan-container { flex-direction: column; text-align: center; border-left: none; border-top: 8px solid var(--secondary); }
    .sambutan-teks .section-title { text-align: center; }
    .sambutan-teks .section-title::after { margin: 15px auto 0; }
}