/* ===== RESET & BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* ===== VARIABLES ===== */
:root {
    --primary-dark: #1e3a8a;    /* Biru laut */
    --primary-light: #38bdf8;   /* Biru langit */
    --accent: #3b82f6;          /* Biru medium */
    --white: #ffffff;
    --light-bg: #f8fafc;
    --card-bg: rgba(255, 255, 255, 0.95);
    --text-dark: #1e293b;
    --text-light: #64748b;
    --shadow: 0 4px 20px rgba(30, 58, 138, 0.1);
    --shadow-hover: 0 8px 30px rgba(30, 58, 138, 0.15);
    --radius: 16px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== HEADER & NAVIGATION ===== */
header {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--accent) 100%);
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo img {
    height: 60px;
    width: auto;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}

.school-name h1 {
    font-size: 1.5rem;
    color: var(--white);
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-bottom: 0.25rem;
}

.school-name p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
}

/* ===== NAVIGATION ===== */
nav {
    position: relative;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 1.5rem;
    align-items: center;
}

.nav-item {
    position: relative;
}

.nav-link {
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    padding: 0.75rem 1rem;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    gap: 0.25rem;
    transition: var(--transition);
}

.nav-link:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.nav-link.active {
    background: rgba(255, 255, 255, 0.2);
    box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.3);
}

/* ===== DROPDOWN MENU ===== */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    min-width: 240px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: var(--transition);
    list-style: none;
    padding: 0.5rem 0;
    z-index: 100;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    border-bottom: 1px solid #f1f5f9;
}

.dropdown-menu li:last-child {
    border-bottom: none;
}

.dropdown-menu a {
    display: block;
    padding: 0.75rem 1.5rem;
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.dropdown-menu a:hover {
    background: var(--light-bg);
    color: var(--primary-dark);
    padding-left: 2rem;
}

.dropdown-menu a.active {
    background: linear-gradient(90deg, var(--primary-light), var(--accent));
    color: var(--white);
    font-weight: 600;
}

/* ===== HERO SECTION ===== */
.hero {
    position: relative;
    height: 50vh;
    min-height: 400px;
    max-height: 500px;
    overflow: hidden;
    border-radius: 0 0 var(--radius) var(--radius);
    margin: 0 2rem 4rem;
}

.hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.7);
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(30, 58, 138, 0.85), rgba(56, 189, 248, 0.4));
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem;
}

.hero-logo {
    height: 100px;
    width: auto;
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.3));
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.overlay h2 {
    font-size: 3rem;
    color: var(--white);
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.4);
    animation: fadeInUp 1s ease;
}

.overlay h3 {
    font-size: 1.8rem;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 500;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.3);
    animation: fadeInUp 1s ease 0.2s both;
}

/* ===== CONTAINER UTAMA ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ===== KONTAK UTAMA ===== */
.kontak-utama {
    margin-bottom: 4rem;
}

.kontak-utama h2 {
    color: var(--primary-dark);
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 1rem;
}

.section-intro {
    text-align: center;
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.contact-card {
    background: var(--white);
    padding: 2.5rem 2rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.contact-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-light);
}

.contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-light), var(--accent));
}

.icon-wrapper {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--primary-light), var(--accent));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.8rem;
    box-shadow: 0 4px 15px rgba(56, 189, 248, 0.3);
}

.contact-card h3 {
    color: var(--primary-dark);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.contact-card p {
    color: var(--text-dark);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.contact-card p strong {
    color: var(--primary-dark);
}

.action-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(90deg, var(--primary-light), var(--accent));
    color: var(--white);
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
    margin-top: 1rem;
}

.action-link:hover {
    background: linear-gradient(90deg, var(--accent), var(--primary-dark));
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(56, 189, 248, 0.3);
}

.action-link.wa-link {
    background: linear-gradient(90deg, #25D366, #128C7E);
}

.action-link.wa-link:hover {
    background: linear-gradient(90deg, #128C7E, #075E54);
}

/* ===== KONTAK KEBUTUHAN ===== */
.kontak-kebutuhan {
    margin-bottom: 4rem;
}

.kontak-kebutuhan h2 {
    color: var(--primary-dark);
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 1rem;
}

.needs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.need-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 2px solid transparent;
}

.need-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-light);
}

.need-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--light-bg);
}

.need-header i {
    font-size: 2rem;
    color: var(--primary-light);
    background: linear-gradient(135deg, var(--primary-light), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.need-header h3 {
    color: var(--primary-dark);
    font-size: 1.4rem;
}

.need-list {
    list-style: none;
}

.need-list li {
    display: flex;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--light-bg);
}

.need-list li:last-child {
    border-bottom: none;
}

.need-list li i {
    color: var(--primary-light);
    font-size: 1.2rem;
    margin-top: 0.25rem;
}

.need-list li div {
    flex: 1;
}

.need-list li strong {
    display: block;
    color: var(--primary-dark);
    margin-bottom: 0.25rem;
}

.need-list li span {
    color: var(--text-light);
    font-size: 0.95rem;
    display: block;
}

.need-list li a {
    color: var(--primary-light);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.need-list li a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

/* ===== FAQ SECTION ===== */
.faq-section {
    margin-bottom: 4rem;
}

.faq-section h2 {
    color: var(--primary-dark);
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.faq-item {
    background: var(--white);
    border-radius: var(--radius);
    padding: 1.5rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
    cursor: pointer;
    border: 2px solid transparent;
}

.faq-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-light);
}

.faq-question {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
}

.faq-question i {
    color: var(--primary-light);
    font-size: 1.3rem;
    margin-top: 0.25rem;
}

.faq-question h4 {
    color: var(--primary-dark);
    font-size: 1.2rem;
    line-height: 1.4;
    flex: 1;
}

.faq-answer {
    color: var(--text-dark);
    line-height: 1.6;
    padding-top: 1rem;
    border-top: 1px solid var(--light-bg);
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== SOCIAL SECTION ===== */
.social-section {
    margin-bottom: 4rem;
}

.social-section h2 {
    color: var(--primary-dark);
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 1rem;
}

.social-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.social-card {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    background: var(--white);
    padding: 1.5rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-decoration: none;
    border: 2px solid transparent;
}

.social-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.social-card.ig {
    border-color: #E1306C;
}

.social-card.wa {
    border-color: #25D366;
}

.social-card.tt {
    border-color: #000000;
}

.social-card.gm {
    border-color: #EA4335;
}

.social-card i {
    font-size: 2.5rem;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: white;
}

.social-card.ig i {
    background: linear-gradient(45deg, #405DE6, #5851DB, #833AB4, #C13584, #E1306C, #FD1D1D);
}

.social-card.wa i {
    background: linear-gradient(45deg, #25D366, #128C7E);
}

.social-card.tt i {
    background: linear-gradient(45deg, #000000, #25F4EE, #FE2C55);
}

.social-card.gm i {
    background: linear-gradient(45deg, #EA4335, #FBBC05, #34A853, #4285F4);
}

.social-info h4 {
    color: var(--primary-dark);
    margin-bottom: 0.25rem;
    font-size: 1.2rem;
}

.social-info p {
    color: var(--text-dark);
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.social-info span {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* ===== FOOTER ===== */
footer {
    background: linear-gradient(135deg, var(--primary-dark) 0%, #1e40af 100%);
    padding: 2rem;
    margin-top: auto;
    text-align: center;
}

.footer-credit {
    color: var(--white);
    font-size: 1rem;
}

.footer-credit strong {
    color: var(--primary-light);
    font-weight: 700;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1024px) {
    .hero {
        margin: 0 1rem 3rem;
        height: 45vh;
    }
    
    .overlay h2 {
        font-size: 2.5rem;
    }
    
    .overlay h3 {
        font-size: 1.6rem;
    }
    
    .container {
        padding: 0 1.5rem;
    }
}

@media (max-width: 768px) {
    header {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
    }
    
    .logo {
        flex-direction: column;
        text-align: center;
    }
    
    .school-name h1 {
        font-size: 1.3rem;
    }
    
    .nav-menu {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }
    
    .nav-link {
        font-size: 1rem;
        padding: 0.5rem 0.75rem;
    }
    
    .hero {
        height: 35vh;
        min-height: 300px;
        margin: 0 0.5rem 2rem;
    }
    
    .overlay h2 {
        font-size: 2rem;
    }
    
    .overlay h3 {
        font-size: 1.3rem;
    }
    
    .hero-logo {
        height: 80px;
    }
    
    .kontak-utama h2,
    .kontak-kebutuhan h2,
    .faq-section h2,
    .social-section h2 {
        font-size: 2rem;
    }
    
    .contact-grid,
    .needs-grid,
    .faq-grid,
    .social-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .contact-card {
        padding: 2rem 1.5rem;
    }
    
    .need-card {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        background: transparent;
        box-shadow: none;
        display: none;
        margin-top: 0.5rem;
    }
    
    .dropdown:hover .dropdown-menu {
        display: block;
    }
    
    .dropdown-menu a {
        color: var(--white);
        padding: 0.5rem 1rem;
    }
    
    .dropdown-menu a:hover {
        background: rgba(255, 255, 255, 0.1);
    }
    
    .overlay h2 {
        font-size: 1.8rem;
    }
    
    .overlay h3 {
        font-size: 1.2rem;
    }
    
    .hero-logo {
        height: 60px;
    }
    
    .contact-card h3,
    .need-header h3 {
        font-size: 1.3rem;
    }
    
    .icon-wrapper {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .social-card {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .social-card i {
        width: 50px;
        height: 50px;
        font-size: 2rem;
    }
}

/* ===== HOVER EFFECTS ===== */
.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary-light);
    transition: var(--transition);
    transform: translateX(-50%);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 80%;
}

/* ===== PRINT STYLES ===== */
@media print {
    .hero, .dropdown-menu, .action-link, .social-card {
        display: none;
    }
    
    body {
        background: white;
        color: black;
    }
    
    .contact-card,
    .need-card,
    .faq-item {
        break-inside: avoid;
        box-shadow: none;
        border: 1px solid #ccc;
        margin-bottom: 1rem;
    }
    
    .contact-grid,
    .needs-grid,
    .faq-grid {
        display: block;
    }
}

/* ===== ACCESSIBILITY ===== */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

