* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #E63946;
    --secondary: #F1FAEE;
    --accent-blue: #457B9D;
    --accent-green: #2A9D8F;
    --accent-pink: #E76F51;
    --accent-purple: #6C63FF;
    --dark: #1D3557;
    --light: #F8F9FA;
}

body {
    font-family: 'Georgia', 'Garamond', serif;
    line-height: 1.6;
    color: var(--dark);
    background: var(--light);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.container-nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* NAVBAR */
.navbar-v2 {
    background: white;
    border-bottom: 3px solid var(--primary);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.logo-v2 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--dark);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-icon {
    font-size: 1.8rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    color: var(--dark);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-menu a:hover {
    color: var(--primary);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 2px;
    background: var(--dark);
    margin: 5px 0;
}

/* HERO */
.hero-v2 {
    height: 300px;
    background: linear-gradient(135deg, var(--primary), var(--accent-pink));
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.hero-overlay-v2 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-text-v2 {
    position: relative;
    z-index: 1;
}

.hero-text-v2 h1 {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.hero-text-v2 p {
    font-size: 1.2rem;
    opacity: 0.95;
}

/* GRID MAGAZINE */
.container-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 3rem auto;
    padding: 0 20px;
}

.card-v2 {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.card-v2:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.15);
}

.featured-v2 {
    grid-column: span 6;
}

.card-medium {
    grid-column: span 3;
}

.card-small {
    grid-column: span 2;
}

.stats-wide-v2 {
    grid-column: span 12;
}

.card-image {
    height: 250px;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.featured-v2 .card-image {
    height: 300px;
}

.card-medium .card-image {
    height: 200px;
}

.card-small .card-image {
    height: 150px;
}

.image-placeholder-v2 {
    font-size: 4rem;
}

.card-content-v2 {
    padding: 1.5rem;
}

.featured-v2 .card-content-v2 {
    padding: 2rem;
}

.card-content-v2 h2,
.card-content-v2 h3 {
    color: var(--dark);
    margin-bottom: 0.8rem;
    line-height: 1.3;
}

.featured-v2 .card-content-v2 h2 {
    font-size: 1.8rem;
}

.card-content-v2 h3 {
    font-size: 1.3rem;
}

.card-content-v2 p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.badge {
    display: inline-block;
    background: var(--primary);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
    text-transform: uppercase;
}

.badge-blue {
    background: var(--accent-blue);
}

.badge-green {
    background: var(--accent-green);
}

.badge-pink {
    background: var(--accent-pink);
}

.badge-purple {
    background: var(--accent-purple);
}

.badge-red {
    background: #DC2626;
}

.read-more {
    display: inline-block;
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 0.95rem;
}

.read-more:hover {
    transform: translateX(5px);
}

/* STATS */
.stats-wide-v2 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background: linear-gradient(135deg, var(--dark), var(--primary));
    color: white;
    text-align: center;
    padding: 3rem !important;
}

.stat-item-v2 h4 {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.stat-item-v2 p {
    font-size: 0.95rem;
    opacity: 0.9;
    color: white !important;
}

/* TENTANG DETAIL */
.tentang-detail-v2 {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 2px solid #e0e0e0;
}

.tentang-detail-v2 h3 {
    color: var(--primary);
    font-size: 1.2rem;
    margin: 1.5rem 0 0.8rem;
    font-weight: 700;
}

.tentang-detail-v2 ul {
    margin-left: 1.5rem;
    color: #666;
}

.tentang-detail-v2 li {
    margin-bottom: 0.5rem;
}

/* FASILITAS GRID V2 */
.fasilitas-grid-v2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.fac-item {
    text-align: center;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
    transition: all 0.3s;
}

.fac-item:hover {
    background: #e9ecef;
    transform: translateY(-5px);
}

.fac-icon {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 0.5rem;
}

.fac-item h4 {
    color: var(--dark);
    font-size: 1rem;
    margin-bottom: 0.3rem;
    font-weight: 600;
}

.fac-item p {
    font-size: 0.85rem;
    color: #999;
}

/* EKSTRAKURIKULER GRID V2 */
.ekskul-grid-v2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}

.ekskul-card-v2 {
    background: #f8f9fa;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s;
    cursor: pointer;
    text-align: center;
    border: 2px solid transparent;
}

.ekskul-card-v2:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.ekskul-image-v2 {
    height: 150px;
    overflow: hidden;
}

.ekskul-image-v2 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.ekskul-card-v2:hover .ekskul-image-v2 img {
    transform: scale(1.1);
}

.ekskul-card-v2 h4 {
    color: var(--dark);
    font-size: 0.95rem;
    margin: 0.8rem 0.5rem 0.3rem;
    font-weight: 600;
}

.ekskul-card-v2 p {
    color: #999;
    font-size: 0.8rem;
    margin: 0 0.5rem 0.8rem;
}

/* GALERI GRID V2 */
.galeri-grid-v2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}

.galeri-item-v2 {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: all 0.3s;
}

.galeri-item-v2:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.galeri-item-v2 img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s;
}

.galeri-item-v2:hover img {
    transform: scale(1.1);
}

/* MODAL V2 */
.modal-v2 {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.8);
}

.modal-v2.active {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.modal-img-v2 {
    max-width: 90%;
    max-height: 80%;
    border-radius: 8px;
}

.modal-caption-v2 {
    color: white;
    margin-top: 1rem;
    text-align: center;
}

.close-modal-v2 {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 32px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s;
}

.close-modal-v2:hover {
    color: var(--primary);
}

/* KONTAK GRID V2 */
.kontak-grid-v2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.kontak-info-v2 {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid var(--primary);
}

.kontak-info-v2 h3 {
    color: var(--primary);
    margin-bottom: 0.8rem;
    font-size: 1rem;
    font-weight: 600;
}

.kontak-info-v2 p {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.6;
}

/* FORM V2 */
.form-v2 {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 8px;
    border-left: 4px solid var(--accent-green);
}

.form-v2 h3 {
    color: var(--dark);
    margin-bottom: 1rem;
    font-size: 1.2rem;
    font-weight: 600;
}

.form-v2 input,
.form-v2 textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 1rem;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-family: inherit;
    font-size: 0.95rem;
    transition: all 0.3s;
}

.form-v2 input:focus,
.form-v2 textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(230, 57, 70, 0.1);
}

.form-v2 button {
    background: var(--primary);
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
    font-size: 0.95rem;
}

.form-v2 button:hover {
    background: #d63849;
    transform: translateY(-2px);
}

/* FOOTER */
.footer-v2 {
    background: var(--dark);
    color: white;
    text-align: center;
    padding: 2rem;
    margin-top: 4rem;
    border-top: 3px solid var(--primary);
}

.footer-v2 p {
    margin: 0.5rem 0;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
    .featured-v2 {
        grid-column: span 12;
    }

    .card-medium {
        grid-column: span 6;
    }

    .card-small {
        grid-column: span 4;
    }
}

@media (max-width: 768px) {
    .featured-v2,
    .card-medium,
    .card-small {
        grid-column: span 12;
    }

    .stats-wide-v2 {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-text-v2 h1 {
        font-size: 2rem;
    }

    .nav-menu {
        position: absolute;
        left: -100%;
        top: 70px;
        flex-direction: column;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        background: white;
        gap: 0;
        box-shadow: 0 8px 16px rgba(0,0,0,0.1);
    }

    .nav-menu.active {
        left: 0;
    }

    .hamburger {
        display: flex;
    }

    .kontak-grid-v2 {
        grid-template-columns: 1fr;
    }

    .fasilitas-grid-v2 {
        grid-template-columns: 1fr;
    }

    .ekskul-grid-v2 {
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    }

    .galeri-grid-v2 {
        grid-template-columns: repeat(2, 1fr);
    }

    .card-content-v2 h2 {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .stats-wide-v2 {
        grid-template-columns: repeat(2, 1fr);
        padding: 2rem !important;
    }

    .stat-item-v2 h4 {
        font-size: 1.8rem;
    }

    .galeri-grid-v2 {
        grid-template-columns: 1fr;
    }

    .ekskul-grid-v2 {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-text-v2 h1 {
        font-size: 1.8rem;
    }

    .container-grid {
        gap: 1.5rem;
        margin: 2rem auto;
    }

    .card-v2 {
        border-radius: 6px;
    }

    .featured-v2 .card-content-v2 {
        padding: 1.5rem;
    }
}