/* style.css - Dengan Background JPG */

/* Reset dan base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    background-image: url('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 dengan animasi science - DINONAKTIFKAN */
.background {
    display: none;
}

.science-elements {
    display: none;
}

.molecule {
    display: none;
}

.main-header {
    background: rgba(255, 255, 255, 0.5); /* dari 0.7 jadi 0.5 (lebih transparan) */
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(8px);
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}

.logo h1 {
    color: #2c5530;
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.logo p {
    color: #666;
    font-size: 1rem;
}

/* Identity Photo */
.identity {
    display: flex;
    align-items: center;
}

.photo-placeholder {
    text-align: center;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.photo-placeholder:hover {
    transform: scale(1.05);
}

.photo {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid #4a90e2;
    margin: 0 auto 0.5rem;
}

.photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.photo-label {
    font-size: 0.9rem;
    color: #666;
    font-weight: 500;
}

/* Main Menu Styles */
.main-menu {
    padding: 2rem 0;
}

.menu-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.welcome-message {
    text-align: center;
    margin-bottom: 3rem;
}

.welcome-message h2 {
    color: white;
    font-size: 2.2rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
}

.welcome-message p {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.2rem;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.6);
}

/* Button Grid */
.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: rgba(255, 255, 255, 0.6); /* dari 0.75 jadi 0.6 (lebih transparan) */
    border-radius: 15px;
    padding: 1.5rem;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.menu-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    background: rgba(255, 255, 255, 0.8);
}

.materi-btn:hover {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.simulasi-btn:hover {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
}

.btn-icon {
    font-size: 2.5rem;
    margin-right: 1.5rem;
}

.btn-content {
    flex: 1;
}

.btn-content h3 {
    color: #2c5530;
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.btn-content p {
    color: #666;
    font-size: 0.95rem;
}

.menu-btn:hover .btn-content h3,
.menu-btn:hover .btn-content p {
    color: white;
}

.btn-arrow {
    font-size: 1.5rem;
    opacity: 0.7;
}

/* Quick Info */
.quick-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.info-card {
    background: rgba(255, 255, 255, 0.5); /* dari 0.7 jadi 0.5 (lebih transparan) */
    border-radius: 10px;
    padding: 1.5rem;
    text-align: center;
    transition: transform 0.3s ease;
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.info-card:hover {
    transform: translateY(-3px);
}

.info-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.info-card p {
    color: #666;
    font-weight: 500;
}

.main-footer {
    background: rgba(255, 255, 255, 0.5); /* dari 0.7 jadi 0.5 (lebih transparan) */
    text-align: center;
    padding: 1.5rem;
    margin-top: 2rem;
    backdrop-filter: blur(8px);
    border-top: 1px solid rgba(255, 255, 255, 0.3);
}

.main-footer p {
    color: #666;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .logo h1 {
        font-size: 1.5rem;
    }
    
    .button-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .menu-btn {
        padding: 1.2rem;
    }
    
    .btn-icon {
        font-size: 2rem;
        margin-right: 1rem;
    }
    
    .welcome-message h2 {
        font-size: 1.8rem;
    }
    
    .quick-info {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .menu-container {
        padding: 0 1rem;
    }
    
    .menu-btn {
        flex-direction: column;
        text-align: center;
    }
    
    .btn-icon {
        margin-right: 0;
        margin-bottom: 1rem;
    }
    
    .btn-arrow {
        margin-top: 1rem;
    }
}