/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body {
    line-height: 1.6;
    font-size: 16px;
    color: #f4f4f4; /* Gold text */
    background-color: #222; /* Black background */
    transition: background-color 0.3s ease, color 0.3s ease;
}

.dark-theme {
    background-color: #111; /* Darker black background for dark theme */
    color: #f4f4f4;
}

/* Preloader */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8); /* Black overlay */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.spinner {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #f1c40f; /* Gold spinner */
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

#preloader p {
    margin-top: 10px;
    font-size: 14px;
    color: #f4f4f4; /* Gold text */
}

/* Header */
.header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 20px;
    background-color: #333; /* Black header */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 10;
}

.logo_img {
    height: 40px;
    width: auto;
}

.navbar {
    display: flex;
    gap: 15px;
}

.navbar a {
    text-decoration: none;
    color: #f4f4f4; /* Gold text */
    padding: 5px 10px;
    transition: color 0.3s ease;
}

.navbar a:hover {
    color: #f1c40f; /* Gold hover color */
}

.menu-toggle {
    display: none;
    font-size: 24px;
    background: none;
    border: none;
    cursor: pointer;
    color: #f4f4f4; /* Gold icon color */
}

.navbar.active {
    display: block;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #222; /* Black background for active navbar */
    width: 100%;
    padding: 10px 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Main Section */
.main {
    padding: 20px;
}

#home {
    text-align: center;
    padding: 40px 20px;
    background: linear-gradient(135deg, #f1c40f, #e67e22); /* Gold to orange gradient */
    color: #fff;
}

.home-text h2 {
    font-size: 2rem;
    margin-bottom: 10px;
}

.home-text p {
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.home-button a {
    display: inline-block;
    text-decoration: none;
    background-color: #f1c40f; /* Gold button */
    color: #fff;
    padding: 10px 20px;
    margin: 5px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.home-button a:hover {
    background-color: #e67e22; /* Orange hover color */
}

/* Verse Section */
#verse {
    padding: 40px 20px;
    text-align: center;
    background-color: #333; /* Black background */
}

.verse-text h2 {
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.verse-text p {
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.verse-text a {
    text-decoration: none;
    color: #f1c40f; /* Gold link */
    font-weight: bold;
    transition: color 0.3s ease;
}

.verse-text a:hover {
    color: #e67e22; /* Orange hover link */
}

/* Explain Section */
#explain {
    padding: 40px 20px;
    text-align: center;
    background-color: #222; /* Black background */
}

#explain h2 {
    font-size: 1.8rem;
    margin-bottom: 10px;
}

#explain p {
    font-size: 1.2rem;
    margin-bottom: 20px;
}

/* Footer */
footer {
    padding: 10px 20px;
    text-align: center;
    background-color: #222; /* Black footer */
    color: #f4f4f4; /* Gold text */
}

/* Responsive */
@media (max-width: 768px) {
    .navbar {
        display: none;
        flex-direction: column;
    }

    .menu-toggle {
        display: block;
    }

    .home-text h2, .verse-text h2, #explain h2 {
        font-size: 1.5rem;
    }

    .home-text p, .verse-text p, #explain p {
        font-size: 1rem;
    }
}
