/* ================================================================
   css/style.css
   PPDB Online - SMP Swasta Ostrom Methodist Tebing Tinggi
   ================================================================ */

/* ---------- RESET ---------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #f0f4f8;
    color: #2c3e50;
    line-height: 1.6;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    text-decoration: none;
}

/* ---------- NAVBAR ---------- */
.navbar {
    background: #0e2f44;
    padding: 12px 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo img {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: #fff;
    padding: 5px;
    object-fit: contain;
}

.logo h1 {
    font-size: 17px;
    color: #fff;
    line-height: 1.2;
}

.logo span {
    font-size: 11px;
    color: #f39c12;
    letter-spacing: 1px;
}

.menu {
    display: flex;
    list-style: none;
    gap: 5px;
    align-items: center;
}

.menu li a {
    color: #fff;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    transition: 0.3s;
}

.menu li a:hover {
    background: #2e86c1;
}

.btn-login {
    border: 2px solid #f39c12;
    color: #f39c12 !important;
}

.btn-login:hover {
    background: #f39c12 !important;
    color: #fff !important;
}

.btn-daftar {
    background: #f39c12;
    color: #fff !important;
}

.btn-daftar:hover {
    background: #d68910 !important;
}

/* ---------- HERO ---------- */
.hero {
    background: linear-gradient(135deg, #0e2f44, #1a5276);
    color: #fff;
    padding: 130px 0 80px;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.badge {
    background: #f39c12;
    padding: 5px 18px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 15px;
}

.hero h1 {
    font-size: 42px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 15px;
}

.hero h1 span {
    color: #f39c12;
}

.hero p {
    font-size: 17px;
    opacity: 0.9;
    margin-bottom: 25px;
    max-width: 480px;
}

.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 15px;
    transition: 0.3s;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: #f39c12;
    color: #fff;
}

.btn-primary:hover {
    background: #d68910;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(243,156,18,0.4);
}

.btn-secondary {
    background: transparent;
    color: #fff;
    border: 2px solid #fff;
}

.btn-secondary:hover {
    background: #fff;
    color: #1a5276;
    transform: translateY(-3px);
}

.hero-image img {
    width: 100%;
    max-width: 450px;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

/* ---------- STATISTIK ---------- */
.stats {
    background: #fff;
    padding: 40px 0;
    margin-top: -40px;
    position: relative;
    z-index: 10;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.stat-item {
    background: #fff;
    padding: 20px 25px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    display: flex;
    align-items: center;
    gap: 15px;
    border-left: 4px solid #f39c12;
    transition: 0.3s;
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.stat-item i {
    font-size: 30px;
    color: #f39c12;
    width: 50px;
    height: 50px;
    background: rgba(243,156,18,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stat-item h3 {
    font-size: 24px;
    color: #0e2f44;
}

.stat-item p {
    font-size: 13px;
    color: #777;
}

/* ---------- SECTION ---------- */
.section-title {
    text-align: center;
    margin-bottom: 40px;
}

.section-title h2 {
    font-size: 32px;
    color: #0e2f44;
}

.section-title h2 span {
    color: #f39c12;
}

.section-title p {
    color: #777;
    margin-top: 5px;
}

/* ---------- INFO PENDAFTARAN ---------- */
.info-section {
    padding: 70px 0;
    background: #f8f9fa;
}

.info-card {
    background: #fff;
    padding: 35px 40px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.info-item i {
    font-size: 25px;
    color: #f39c12;
    width: 45px;
    height: 45px;
    background: rgba(243,156,18,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.info-item h4 {
    font-size: 12px;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.info-item p {
    font-size: 15px;
    font-weight: 600;
    color: #0e2f44;
}

/* ---------- VISI MISI ---------- */
.visi-misi {
    padding: 70px 0;
    background: #fff;
}

.vm-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.visi-box, .misi-box {
    padding: 35px 40px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: 0.3s;
}

.visi-box:hover, .misi-box:hover {
    transform: translateY(-5px);
}

.visi-box {
    background: linear-gradient(135deg, #0e2f44, #1a5276);
    color: #fff;
}

.misi-box {
    background: #f8f9fa;
}

.visi-box i, .misi-box i {
    font-size: 35px;
    color: #f39c12;
    margin-bottom: 15px;
}

.visi-box h3, .misi-box h3 {
    font-size: 22px;
    margin-bottom: 12px;
}

.visi-box p {
    line-height: 1.8;
}

.visi-box strong {
    color: #f39c12;
}

.misi-box ul {
    list-style: none;
}

.misi-box ul li {
    padding: 10px 0;
    border-bottom: 1px solid #e9ecef;
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.misi-box ul li:last-child {
    border-bottom: none;
}

.misi-box ul li i {
    color: #f39c12;
    font-size: 18px;
    margin-top: 3px;
}

/* ---------- TENTANG ---------- */
.tentang {
    padding: 70px 0;
    background: #f8f9fa;
}

.tentang-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.tentang-image img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.tentang-text h3 {
    font-size: 24px;
    color: #0e2f44;
    margin-bottom: 10px;
}

.tentang-text p {
    color: #555;
    line-height: 1.8;
    margin-bottom: 12px;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 5px 0;
}

.detail-item i {
    color: #f39c12;
    width: 20px;
}

/* ---------- SYARAT ---------- */
.syarat {
    padding: 70px 0;
    background: #fff;
}

.syarat-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.syarat-card {
    text-align: center;
    padding: 30px 20px;
    background: #f8f9fa;
    border-radius: 12px;
    border-bottom: 4px solid transparent;
    transition: 0.3s;
}

.syarat-card:hover {
    border-bottom-color: #f39c12;
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.syarat-card i {
    font-size: 35px;
    color: #f39c12;
    margin-bottom: 12px;
}

.syarat-card h4 {
    font-size: 16px;
    color: #0e2f44;
}

.syarat-card p {
    font-size: 13px;
    color: #777;
    margin-top: 5px;
}

/* ---------- CTA ---------- */
.cta {
    padding: 70px 0;
    background: linear-gradient(135deg, #0e2f44, #1a5276);
    color: #fff;
    text-align: center;
}

.cta h2 {
    font-size: 32px;
}

.cta p {
    max-width: 500px;
    margin: 15px auto 30px;
    opacity: 0.9;
}

.cta .btn-secondary {
    border-color: #fff;
}

.cta .btn-secondary:hover {
    background: #fff;
    color: #0e2f44;
}

/* ---------- FOOTER ---------- */
footer {
    background: #0e2f44;
    color: #fff;
    padding: 50px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 30px;
    margin-bottom: 30px;
}

.footer-about p {
    opacity: 0.8;
    font-size: 14px;
    margin: 5px 0;
}

.footer-about p i {
    color: #f39c12;
    width: 20px;
}

.footer-links h4 {
    color: #f39c12;
    margin-bottom: 12px;
}

.footer-links ul {
    list-style: none;
}

.footer-links ul li {
    margin-bottom: 8px;
}

.footer-links ul li a {
    color: rgba(255,255,255,0.8);
    font-size: 14px;
    transition: 0.3s;
}

.footer-links ul li a:hover {
    color: #f39c12;
}

.social-icons {
    display: flex;
    gap: 10px;
}

.social-icons a {
    width: 38px;
    height: 38px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: 0.3s;
}

.social-icons a:hover {
    background: #f39c12;
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 14px;
    opacity: 0.7;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 992px) {
    .hero h1 { font-size: 34px; }
    .info-grid { grid-template-columns: repeat(2, 1fr); }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hero p { margin: 0 auto 25px; }
    .hero h1 { font-size: 28px; }
    
    .menu {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: #0e2f44;
        padding: 20px;
        gap: 5px;
    }
    .menu.active { display: flex; }
    
    .vm-grid { grid-template-columns: 1fr; }
    .tentang-grid { grid-template-columns: 1fr; }
    .syarat-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr; }
    .info-grid { grid-template-columns: 1fr; }
}