/* General Body Styles */
body {
    font-family: 'Hind', sans-serif;
    margin: 0;
    background-color: #FFFFFF;
    color: #333333;
}

/* Header and Navigation */
.main-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 30px;
    background-color: #FFF;
    border-bottom: 1px solid #FFD700;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 40px;
    margin-right: 15px;
}

.logo h1 {
    font-family: 'Laila', serif;
    color: #F9A825;
    margin: 0;
}

.main-nav .nav-links {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}

.main-nav a {
    text-decoration: none;
    color: #333333;
    padding: 10px 15px;
    font-weight: 500;
}

.main-nav a:hover {
    color: #F9A825;
}

.search-bar input {
    border: 1px solid #FFD700;
    padding: 8px;
    border-radius: 5px;
}

.search-bar button {
    padding: 8px 12px;
    background-color: #F9A825;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

/* Hero Section */
.hero-section {
    background: url('images/hero-bg.jpg') no-repeat center center/cover;
    color: white;
    text-align: center;
    padding: 100px 20px;
    position: relative;
}

.hero-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
}

.hero-text {
    position: relative;
    z-index: 1;
}

.hero-text h2 {
    font-family: 'Laila', serif;
    font-size: 2.5em;
}

/* Deity Grid Section */
.deity-grid {
    padding: 50px 20px;
    text-align: center;
}

.section-title {
    font-family: 'Laila', serif;
    color: #F9A825;
    margin-bottom: 40px;
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.deity-card {
    background: #fff;
    border: 1px solid #FFD700;
    border-radius: 8px;
    overflow: hidden;
    text-decoration: none;
    color: #333333;
    transition: transform 0.3s, box-shadow 0.3s;
}

.deity-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.deity-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.deity-card h3 {
    margin: 15px 0;
}

/* Aarti Page Styles */
.aarti-page-main {
    max-width: 800px;
    margin: 40px auto;
    padding: 20px;
}

.aarti-title {
    font-family: 'Laila', serif;
    color: #F9A825;
    text-align: center;
    font-size: 2.8em;
}

.deity-image {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
    margin-bottom: 20px;
    object-fit: contain; /* Ensures the whole image fits */
    object-position: top; /* Shows the top part (head) */
    /* Optional: set a max-height if needed */
    max-height: 500px;
}

.tabs {
    display: flex;
    border-bottom: 2px solid #F9A825;
    margin-bottom: 20px;
}

.tab-button {
    background: none;
    border: none;
    padding: 15px 25px;
    cursor: pointer;
    font-size: 1.1em;
    font-family: 'Hind', sans-serif;
    font-weight: 500;
}

.tab-button.active {
    background-color: #F9A825;
    color: white;
    border-radius: 5px 5px 0 0;
}

.tab-content {
    display: none;
    line-height: 2.5em;
    font-size: 1.2em;
    white-space: pre-wrap; /* Allows line breaks */
    text-align: center;
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 5px;
}

.significance {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #FFD700;
}

.significance h3 {
    font-family: 'Laila', serif;
    color: #F9A825;
}

/* Footer */
.main-footer {
    text-align: center;
    padding: 20px;
    margin-top: 40px;
    background-color: #f9f9f9;
    border-top: 1px solid #FFD700;
}

.om-symbol {
    font-size: 1.5em;
    color: #F9A825;
    margin-top: 10px;
}


/* Dropdown Menu Styles */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-menu {
    display: none;
    position: absolute;
    background-color: #ffffff;
    min-width: 200px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 10;
    list-style: none;
    padding: 0;
    border: 1px solid #FFD700;
    border-radius: 5px;
}

.dropdown-menu li a {
    color: #333333;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-align: left;
}

.dropdown-menu li a:hover {
    background-color: #f9f9f9;
    color: #F9A825;
}

.dropdown:hover .dropdown-menu {
    display: block;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .main-header {
        flex-direction: column;
    }

    .main-nav {
        margin: 15px 0;
    }
}


