/* Modern and spiritual UI for Omkareshwar Temple Website */

/* Base styling */
body {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    color: #333;
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    scroll-padding-top: 100px;
}
html {
  scroll-padding-top: 100px; /* Or the height of your sticky header */
}


/* Container for all content */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Header styling */
header {
    background: linear-gradient(to right, rgba(189, 131, 31, 0.8), rgba(226, 88, 34, 0.8));
    padding: 20px 0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 5000;
}
.section {
    padding-top: 80px; /* match header height */
}


.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.site-title {
    font-size: 1.5rem;
    font-weight: 700;
    background-image: linear-gradient(45deg, #000000, #d7801a);
    color: transparent;
    background-clip: text;
    -webkit-background-clip: text;
    font-family: 'Ovo', 'Lora', serif;
    text-transform: uppercase;
    margin: 0;
    letter-spacing: 2px;
    transition: transform 0.3s ease;
}

.site-title:hover {
    transform: scale(1.05);
}

/* Hamburger Menu Styling */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: #814713;
    border-radius: 2px;
}

/* Navigation styling */
.nav-menu {
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 10px;
    margin: 20px 0;
    position: sticky;
    top: 100px;
    z-index: 1000;
}

.nav-menu ul {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    margin: 0;
    padding: 0;
    justify-content: center;
    gap: 10px;
}

.nav-menu li {
    margin: 5px;
}

.nav-menu a {
    color: #814713;
    text-decoration: none;
    font-weight: 600;
    padding: 10px 15px;
    border-radius: 5px;
    transition: all 0.3s ease;
    display: block;
}

.nav-menu a:hover {
    background-color: #f0ad4e;
    color: white;
    transform: translateY(-3px);
}

/* Responsive Nav Menu */
@media (max-width: 768px) {
    .nav-menu ul {
        display: none;
        flex-direction: column;
        width: 100%;
        background-color: rgba(255, 255, 255, 0.95);
        position: absolute;
        top: 60px;
        left: 0;
        padding: 10px 0;
        box-shadow: 0 8px 16px rgba(0,0,0,0.2);
        z-index: 999;
    }

    .nav-menu ul.show {
        display: flex;
    }

    .hamburger {
        display: flex;
    }
}

/* Section styling */
.section {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
    padding: 25px;
  
    transition: transform 0.3s ease;
    overflow: hidden;
}

.section:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.section h2 {
    color: #bd600f;
    font-size: 1.8rem;
    border-bottom: 2px solid #f0ad4e;
    padding-bottom: 10px;
    margin-top: 0;
    position: relative;
}

.section h2::after {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: #bd600f;
}

/* Content layout */
.content-flex {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: flex-start;
    margin: 20px 0;
}

.text-content {
    flex: 1 1 60%;
    min-width: 300px;
}

.image-container {
    flex: 1 1 35%;
    min-width: 250px;
}

.image-container img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.image-container img:hover {
    transform: scale(1.03);
}

/* Lists styling */
.section ul {
    list-style-type: none;
    padding-left: 10px;
}

.section ul li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 15px;
}

.section ul li::before {
    content: "🕉️";
    position: absolute;
    left: 0;
    color: #bd600f;
}

/* Language selector styling */
.language-controls {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

#languageDropdown {
    padding: 8px 15px;
    border-radius: 5px;
    border: 1px solid #ccc;
    background-color: white;
    font-family: 'Poppins', sans-serif;
    cursor: pointer;
}

.btn {
    background-color: #bd600f;
    color: white;
    padding: 8px 15px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
    transition: all 0.3s ease;
}

.btn:hover {
    background-color: #a04e08;
    transform: translateY(-2px);
}

.btn-small {
    padding: 5px 10px;
    font-size: 0.9rem;
}

/* Audio controls styling */
.audio-controls {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

/* Footer styling */
footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 20px;
    margin-top: 40px;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    opacity: 0;
    animation: fadeIn 1s ease forwards;
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }
.delay-4 { animation-delay: 0.8s; }

/* Map link styling */
.map-link {
    display: inline-block;
    margin-top: 15px;
    color: #bd600f;
    text-decoration: none;
    font-weight: 600;
    padding: 8px 15px;
    border: 1px solid #bd600f;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.map-link:hover {
    background-color: #bd600f;
    color: white;
}

/* Back button styling */
.back-button {
    display: flex;
    justify-content: center;
    margin: 30px 0;
}

