/* Reset dan base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Calibri', 'Arial', sans-serif;
    background-image: url('asset/backgroundindex.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    min-height: 100vh;
    color: #333;
    line-height: 1.6;
}

/* Background element lama dinonaktifkan */
.background {
    display: none;
}

.science-elements {
    display: none;
}

.molecule {
    display: none;
}

/* Header Styles */
.main-header {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 1rem 2rem;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.logo h1 {
    color: #2c5530;
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.logo p {
    color: #666;
    font-size: 1rem;
}

/* HAPUS BAGIAN IDENTITY STYLES */

/* Main Menu Styles - TRANSPARAN 20% */
.main-menu {
    padding: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.menu-container {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(15px);
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.welcome-message {
    text-align: center;
    margin-bottom: 3rem;
}

.welcome-message h2 {
    color: #2c5530;
    font-size: 2.2rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(255, 255, 255, 0.8);
}

.welcome-message p {
    color: #2c5530;
    font-size: 1.2rem;
    font-weight: 500;
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.8);
}

/* Button Grid Styles */
.button-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.menu-btn {
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.9), rgba(46, 125, 50, 0.9));
    color: white;
    text-decoration: none;
    padding: 2rem;
    border-radius: 15px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.menu-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    background: linear-gradient(135deg, rgba(102, 187, 106, 0.95), rgba(56, 142, 60, 0.95));
}

.menu-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.menu-btn:hover::before {
    left: 100%;
}

.btn-icon {
    font-size: 3rem;
    margin-right: 1.5rem;
}

.btn-content {
    flex: 1;
    text-align: left;
}

.btn-content h3 {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
}

.btn-content p {
    font-size: 0.9rem;
    opacity: 0.9;
}

.btn-arrow {
    font-size: 1.5rem;
    opacity: 0.7;
    transition: transform 0.3s ease;
}

.menu-btn:hover .btn-arrow {
    transform: translateX(5px);
}

/* Specific button styles - HIJAU CERAH */
.materi-btn {
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.9), rgba(56, 142, 60, 0.9));
}

.simulasi-btn {
    background: linear-gradient(135deg, rgba(102, 187, 106, 0.9), rgba(76, 175, 80, 0.9));
}

/* Quick Info Styles */
.quick-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.info-card {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.3);
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.info-card:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.4);
}

.info-icon {
    font-size: 2rem;
    margin-right: 1rem;
}

.info-card p {
    font-weight: 500;
    color: #2c5530;
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.8);
}

/* Footer Styles */
.main-footer {
    background: rgba(255, 255, 255, 0.2);
    text-align: center;
    padding: 1.5rem;
    margin-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.main-footer p {
    color: #2c5530;
    font-size: 0.9rem;
    font-weight: 500;
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.8);
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .main-menu {
        padding: 1rem;
    }

    .menu-container {
        padding: 2rem;
    }

    .welcome-message h2 {
        font-size: 1.8rem;
    }

    .button-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .menu-btn {
        padding: 1.5rem;
    }

    .btn-icon {
        font-size: 2.5rem;
        margin-right: 1rem;
    }

    .quick-info {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .logo h1 {
        font-size: 1.5rem;
    }

    .welcome-message h2 {
        font-size: 1.5rem;
    }

    .menu-btn {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
    }

    .btn-icon {
        margin-right: 0;
        margin-bottom: 1rem;
    }

    .btn-content {
        text-align: center;
    }

    .btn-arrow {
        margin-top: 1rem;
    }
}