/* General Styles */
body {
    margin: 0;
    padding: 0;
    font-family: 'Mukta', sans-serif;
    background-color: #1a1a1a; /* Deep Charcoal Black */
    color: #f2e3b8; /* Soft Beige */
    background-image: url('/Assets/backgod.webp'); /* Background image */
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    line-height: 1.6; /* Improved readability */
}

/* Header */
.navigation {
    background: linear-gradient(90deg, #151515, #292929);
    color: #fafafa;
    padding: 20px 40px;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
    border-bottom: 2px solid #F39C12;
    box-sizing: border-box;
    flex-wrap: wrap; /* Ensures wrapping for smaller screens */
}

.navigation .logo {
    display: flex;
    align-items: center;
    font-size: 28px;
    font-weight: 700;
    color: white;
    flex-grow: 1; /* Allows logo to take up available space */
}

.navigation .logo img {
    margin-right: 15px;
    width: 45px;
    height: 45px;
    transition: transform 0.3s;
}

.navigation .items {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-grow: 2; /* Ensure that items take up remaining space */
    justify-content: end; /* Center the navigation items */
}

.navigation .item {
    font-size: 18px;
    font-weight: 500;
    color: #fafafa; /* Color for anchor links */
    text-decoration: none; /* Remove underline */
    transition: color 0.3s, transform 0.3s;
}

.navigation .item:hover {
    color: #F39C12; /* Hover color for anchor links */
    transform: translateY(-3px);
}

.navigation .button-container {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 20px;
    flex-grow: 1; /* Allows buttons to align within their space */
}

/* Button Styles */
.navigation .button {
    padding: 12px 26px;
    background-color: #F39C12;
    color: white;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    outline: none;
    transition: background 0.3s, transform 0.2s;
}

.navigation .button:hover {
    background-color: #e67e22;
    transform: translateY(-2px);
}

.navigation .button.secondary {
    background-color: transparent;
    color: #fafafa;
    border: 2px solid #F39C12;
}

.navigation .button.secondary:hover {
    background-color: #F39C12;
    color: white;
}

/* Main Content */
#verses-container {
    padding: 20px;
    margin-top: 80px; /* Space for fixed navigation */
    max-width: 900px;
    margin: auto; /* Centering */
}

/* Chapter styles */
.chapter {
    margin: 40px 0 20px;
    text-align: center;
    font-size: 2.5em; /* Larger font size for emphasis */
    font-weight: 700; /* Bold font weight */
    color: #F39C12; /* Gold color for chapter headings */
    border-bottom: 4px solid rgba(243, 156, 18, 0.6); /* Underline with transparency */
    padding-bottom: 15px; /* Added padding for space */
    background: linear-gradient(135deg, rgba(243, 156, 18, 0.1), transparent); /* Subtle gradient background */
    transition: transform 0.3s ease; /* Smooth hover effect */
}

.chapter:hover {
    transform: translateY(-2px); /* Lift effect on hover */
}

/* Verse styles */
.verse {
    background: rgba(0, 0, 0, 0.85);  /* Slightly transparent white for verses */
    padding: 20px; /* Increased padding for spaciousness */
    border-radius: 12px; /* More rounded corners */
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3); /* Soft shadow for depth */
    margin-bottom: 25px; /* Spacing between verses */
    transition: transform 0.3s, box-shadow 0.3s; /* Smooth transition effects */
}

/* Hover effect for verses */
.verse:hover {
    transform: translateY(-4px); /* More pronounced lift on hover */
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.5); /* Darker shadow on hover */
}

/* Verse title styles */
.verse-title {
    font-size: 1.6em; /* Larger title size */
    font-weight: 600; /* Semi-bold for better emphasis */
    color: #FFCC00; /* Bright yellow for title */
    margin-bottom: 8px; /* Spacing below title */
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3); /* Subtle shadow for depth */
}

/* Transliteration and word meanings styles */
.transliteration,
.word-meanings {
    font-style: italic;
    color: #f2e3b8; /* Soft Beige */
    margin: 5px 0; /* Spacing for readability */
}

/* Loading placeholder styles */
.verse-placeholder {
    height: 120px; /* Increased height for better visibility */
    background: rgba(255, 255, 255, 0.15); /* Light transparent background */
    margin-bottom: 25px; /* Spacing below placeholders */
    border-radius: 10px; /* Rounded corners */
    animation: pulse 1.5s infinite; /* Animation for loading effect */
}

/* Loading animation */
@keyframes pulse {
    0% { background-color: rgba(255, 255, 255, 0.15); }
    50% { background-color: rgba(255, 255, 255, 0.25); }
    100% { background-color: rgba(255, 255, 255, 0.15); }
}

/* Footer */
.footer-space {
    height: 120px; /* Match this to the footer height */
    width: 100%;
}

.footer {
    background-color: #151515;
    color: #fafafa;
    padding: 70px 20px;
    position: relative; /* Make the footer fixed */
    bottom: 0px; /* Position it at the bottom */
    width: 100%; /* Ensure the footer stretches across the entire width */
    display: flex;
    justify-content:space-around;
    align-items: center;
    flex-wrap: auto;
    z-index: 1000; /* Keep it above other content */
    box-sizing: border-box; /* Ensures padding is included in the total width */
}

.footer .logo {
    display: flex;
    align-items: center;
    font-size: 28px;
    font-weight: 700;
}

.footer .logo img {
    margin-right: 12px;
    width: 45px;
    height: 45px;
}

.footer .items {
    display: flex;
    gap: 48px;
}

.footer .item {
    font-size: 18px;
    font-weight: 500;
    color: #fafafa;
    cursor: pointer;
    transition: color 0.3s, transform 0.2s;
}

.footer .item:hover {
    color: #F39C12;
    transform: translateY(-2px);
}

.footer .social-icons {
    display: flex;
    gap: 16px;
}

.footer .icon {
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    background-color: #333;
    transition: background-color 0.3s, transform 0.2s;
}

.footer .icon img {
    width: 20px;
}

.footer .icon:hover {
    background-color: #F39C12;
    transform: scale(1.1);
}

.divider {
    width: 100%;
    height: 2px;
    background-color: #333;
    margin-top: 40px;
    opacity: 0.8;
}

/* Utility */
.centered {
    text-align: center;
}

.header-space {
    margin-top: 100px;
}

@media (max-width: 768px) {
    .section {
        padding: 80px 20px;
    }

    .images {
        flex-direction: column;
    }

    .image {
        width: 100%;
    }

    .navigation .items {
        gap: 16px;
        flex-wrap: wrap;
    }

    .footer .items {
        flex-direction: column;
        gap: 16px;
    }

    .footer {
        padding: 40px 20px; /* Adjust footer padding for smaller screens */
    }

    .footer-space {
        height: 60px; /* Adjust footer space for smaller screens */
    }
}
