/* ==========================================
   Melbourne Ganesh Utsav - Custom Styles
   Color Scheme based on provided palette
   ========================================== */

/* Color Variables based on provided palette */
:root {
    /* Primary Colors */
    --primary-red: #C62828;        /* Bold warm-red - brand identity */
    --primary-dark: #8B0000;       /* Darker shade for hover */
    --primary-light: #FF5252;      /* Lighter shade */
    
    /* Secondary Colors */
    --secondary-gold: #F9A825;     /* Rich warm gold/yellow */
    --gold-dark: #C17900;          /* Darker gold */
    --gold-light: #FFD54F;         /* Lighter gold */
    
    /* Accent Colors */
    --accent-orange: #FFB300;      /* Golden-orange accent */
    --accent-dark: #FF8F00;        /* Darker accent */
    
    /* Neutral Colors */
    --dark-text: #333333;          /* Dark neutral for text */
    --darker-text: #212121;        /* Darker text */
    --light-bg: #FFFFFF;           /* White background */
    --off-white: #FAFAFA;          /* Off-white background */
    --light-gray: #F5F5F5;         /* Light gray */
    --border-color: #E0E0E0;       /* Border color */
    
    /* Text Colors */
    --text-primary: var(--dark-text);
    --text-secondary: #666666;
    --text-light: #888888;
    
    /* Shadow */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.2);
}

/* ===== BASE STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-primary);
    background-color: var(--light-bg);
    line-height: 1.6;
    overflow-x: hidden;
    padding-top: 76px; /* For fixed navbar */
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--darker-text);
}

h1 {
    font-size: 3.5rem;
    font-weight: 800;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 2rem;
}

p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

a {
    text-decoration: none;
    color: var(--primary-red);
    transition: all 0.3s ease;
}

a:hover {
    color: var(--primary-dark);
}

.btn {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    padding: 12px 30px;
    border-radius: 50px;
    border: none;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.btn:active {
    transform: translateY(-1px);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-red), var(--accent-orange));
    border: none;
    color: white;
    box-shadow: 0 4px 15px rgba(198, 40, 40, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-dark), var(--accent-dark));
    color: white;
    box-shadow: 0 6px 20px rgba(198, 40, 40, 0.4);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary-red);
    color: var(--primary-red);
}

.btn-outline:hover {
    background: var(--primary-red);
    color: white;
    border-color: var(--primary-red);
}

.btn-donate {
    background: var(--secondary-gold);
    color: white;
    padding: 8px 20px;
    border-radius: 50px;
    font-weight: 600;
}

.btn-donate:hover {
    background: var(--gold-dark);
    color: white;
}

.section-padding {
    padding: 80px 0;
}

.section-title {
    position: relative;
    padding-bottom: 20px;
    margin-bottom: 30px;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 48%;
    width: 60px;
    height: 4px;
    background: linear-gradient(to right, var(--primary-red), var(--secondary-gold));
    border-radius: 2px;
}
.about .section-title:after{
    content: '';
    position: absolute;
    bottom: 0;
    left: 0%;
    width: 60px;
    height: 4px;
    background: linear-gradient(to right, var(--primary-red), var(--secondary-gold));
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 40px;
}

/* ===== NAVBAR ===== */
.navbar {
    background: rgba(33, 33, 33, 0.274);
    /* backdrop-filter: blur(10px); */
    padding: 15px 0;
    transition: all 0.3s ease;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.navbar.scrolled {
    background: rgba(33, 33, 33, 0.98);
    padding: 10px 0;
}

.navbar-brand {
    padding: 0;
}

.logo-container {
    display: flex;
    align-items: center;
    width: 90px;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.logo-city {
    font-size: 14px;
    font-weight: 600;
    color: var(--secondary-gold);
    letter-spacing: 2px;
    text-transform: uppercase;
}

.logo-main {
    font-size: 20px;
    font-weight: 700;
    color: white;
    letter-spacing: 1px;
}

.navbar-nav .nav-link {
    color: white !important;
    font-weight: 500;
    margin: 0 10px;
    padding: 8px 15px !important;
    position: relative;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.navbar-nav .nav-link:before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--secondary-gold);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.navbar-nav .nav-link:hover:before,
.navbar-nav .nav-link.active:before {
    width: 100%;
}

.navbar-nav .nav-link:hover {
    color: var(--secondary-gold) !important;
}

.navbar-nav .nav-link.active {
    color: var(--secondary-gold) !important;
    font-weight: 600;
}

/* ===== HERO SECTION ===== */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), 
                url('../images/gallery/img-2.jpg') center/cover no-repeat;
    min-height: 90vh;
    display: flex;
    align-items: center;
    position: relative;
    color: white;
    margin-top: -76px;
    padding-top: 76px;
}

.hero-overlay {
    width: 100%;
    padding: 210px 0 4px;
}
h1.display-3.fw-bold.aos-init.aos-animate {
    color: white;
}
.hero-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.hero h1 {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 20px;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
}

.hero .highlight {
    color: var(--secondary-gold);
    position: relative;
    display: inline-block;
}

.hero .highlight:after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 10px;
    background: rgb(249 168 37 / 50%);
    z-index: -1;
}

.hero p.lead {
    font-size: 1.5rem;
    margin-bottom: 40px;
    color: rgba(255, 255, 255, 0.9);
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===== ABOUT SECTION ===== */
.about-image-container {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-image-container:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(198, 40, 40, 0.1), rgba(249, 168, 37, 0.1));
    z-index: 1;
}

.festival-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin: 30px 0;
}
.gallery-overlay h5 {
    color: white;
}
.highlight-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px;
    background: var(--light-gray);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.highlight-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-sm);
    background: white;
}

.highlight-item i {
    color: var(--primary-red);
    font-size: 1.5rem;
}

/* ===== GALLERY ===== */
.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    height: 300px;
}

.gallery-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    padding: 20px;
    color: white;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-card {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.gallery-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.gallery-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.9));
    color: white;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-content p {
    color: white;
}

.gallery-card:hover .gallery-content {
    transform: translateY(0);
}

.view-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: var(--primary-red);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.3s ease;
}

.gallery-card:hover .view-btn {
    opacity: 1;
    transform: scale(1);
}

.view-btn:hover {
    background: var(--primary-dark);
    transform: scale(1.1);
}

.gallery-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-bottom: 40px;
}

.filter-btn {
    padding: 10px 25px;
    background: white;
    border: 2px solid var(--border-color);
    border-radius: 50px;
    font-weight: 600;
    color: var(--text-secondary);
    transition: all 0.3s ease;
    cursor: pointer;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary-red);
    color: white;
    border-color: var(--primary-red);
}

/* ===== CONTACT SECTION ===== */
.contact-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 25px;
    background: white;
    border-radius: 15px;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    margin-bottom: 20px;
}

.contact-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.contact-item i {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-red), var(--accent-orange));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.contact-info-sidebar .contact-item {
    background: var(--off-white);
    border: 1px solid var(--border-color);
}

.contact-icon {
    width: 60px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-red), var(--accent-orange));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.contact-details h5 {
    color: var(--primary-red);
    margin-bottom: 5px;
}

.contact-social .social-links {
    display: flex;
    gap: 15px;
}

.map-container {
    border-radius: 15px;
    overflow: hidden;
    height: 500px;
    box-shadow: var(--shadow-lg);
}

/* ===== PAGE HEADER ===== */
.page-header {
    background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)), 
                url('../images/hero-bg.jpg') center/cover no-repeat;
    padding: 120px 0 80px;
    text-align: center;
    color: white;
    margin-top: -76px;
    padding-top: 196px;
}

.page-header h1 {
    font-size: 3.5rem;
    color: white;
    margin-bottom: 20px;
}

.page-header p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
}

/* ===== TIMELINE ===== */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline:before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(to bottom, var(--primary-red), var(--secondary-gold));
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: 40px;
    width: 50%;
    padding-right: 40px;
}

.timeline-item:nth-child(even) {
    margin-left: 50%;
    padding-left: 40px;
    padding-right: 0;
}

.timeline-content {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: var(--shadow-md);
    position: relative;
}

.timeline-content:before {
    content: '';
    position: absolute;
    top: 20px;
    width: 20px;
    height: 20px;
    background: var(--secondary-gold);
    border-radius: 50%;
}

.timeline-item:nth-child(odd) .timeline-content:before {
    right: -50px;
}

.timeline-item:nth-child(even) .timeline-content:before {
    left: -50px;
}

.timeline-content h4 {
    color: var(--primary-red);
    margin-bottom: 10px;
}

/* ===== COMMITTEE ===== */
.committee-member {
    text-align: center;
    padding: 20px;
    background: white;
    border-radius: 15px;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.committee-member:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-md);
}

.member-img {
    width: 100px;
    height: 100px;
    margin: 0 auto;
    background: linear-gradient(135deg, var(--primary-red), var(--accent-orange));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.member-img i {
    font-size: 3rem;
    color: white;
}

/* ===== VIDEO SECTION ===== */
.video-container {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

/* ===== ACCORDION ===== */
.accordion-button {
    font-weight: 600;
    padding: 20px;
    background: var(--off-white);
    border: 1px solid var(--border-color);
}

.accordion-button:not(.collapsed) {
    background: linear-gradient(135deg, var(--primary-red), var(--accent-orange));
    color: white;
    border-color: var(--primary-red);
}

.accordion-button:focus {
    box-shadow: none;
    border-color: var(--primary-red);
}

.accordion-body {
    padding: 20px;
    background: var(--off-white);
    border: 1px solid var(--border-color);
    border-top: none;
}

/* ===== FORM STYLES ===== */
.form-control,
.form-select {
    padding: 12px 20px;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary-red);
    box-shadow: 0 0 0 0.25rem rgba(198, 40, 40, 0.25);
}

.form-label {
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--darker-text);
}

/* ===== FOOTER ===== */
.footer {
    background: var(--darker-text);
    color: white;
    padding: 60px 0 20px;
}

.footer-logo h3 {
    color: white;
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.footer-logo p {
    color: rgba(255, 255, 255, 0.7);
}

.footer h5 {
    color: var(--secondary-gold);
    font-size: 1.2rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer h5:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--primary-red);
}

.footer ul li {
    margin-bottom: 10px;
}

.footer ul li a {
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
    display: inline-block;
}

.footer ul li a:hover {
    color: var(--secondary-gold);
    transform: translateX(5px);
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: var(--primary-red);
    color: white;
    transform: translateY(-5px);
}

.footer-divider {
    border-color: rgba(255, 255, 255, 0.1);
    margin: 40px 0 20px;
}

.newsletter .input-group {
    max-width: 300px;
}

.newsletter .form-control {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
}

.newsletter .form-control::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

/* ===== BACK TO TOP ===== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-red);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(198, 40, 40, 0.3);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--primary-dark);
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(198, 40, 40, 0.4);
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.8s ease forwards;
}

/* ===== HOVER EFFECTS ===== */
.hover-lift {
    transition: transform 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-5px);
}

.hover-scale {
    transition: transform 0.3s ease;
}

.hover-scale:hover {
    transform: scale(1.05);
}

.hover-glow {
    transition: box-shadow 0.3s ease;
}

.hover-glow:hover {
    box-shadow: 0 10px 30px rgba(198, 40, 40, 0.2);
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 992px) {
    h1 {
        font-size: 2.8rem;
    }
    
    h2 {
        font-size: 2.2rem;
    }
    
    .hero h1 {
        font-size: 3rem;
    }
    
    .section-padding {
        padding: 60px 0;
    }
    
    .timeline:before {
        left: 30px;
    }
    
    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 0;
    }
    
    .timeline-item:nth-child(even) {
        margin-left: 0;
        padding-left: 70px;
    }
    
    .timeline-item:nth-child(odd) .timeline-content:before,
    .timeline-item:nth-child(even) .timeline-content:before {
        left: -40px;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p.lead {
        font-size: 1.2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .page-header h1 {
        font-size: 2.5rem;
    }
    
    .festival-highlights {
        flex-direction: column;
    }
    
    .gallery-filters {
        flex-direction: column;
        align-items: center;
    }
    
    .filter-btn {
        width: 200px;
        text-align: center;
    }
}

@media (max-width: 576px) {
    body {
        padding-top: 70px;
    }
    
    .hero {
        min-height: 70vh;
        margin-top: -70px;
        padding-top: 70px;
    }
    
    .page-header {
        padding: 150px 0 60px;
        margin-top: -70px;
        padding-top: 150px;
    }
    
    .logo-city {
        font-size: 12px;
    }
    
    .logo-main {
        font-size: 16px;
    }
    
    .navbar-nav .nav-link {
        margin: 5px 0;
    }
    
    .contact-item {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .social-links {
        justify-content: center;
    }
}
nav, footer, section{
    overflow: hidden;
}
img.wp-btn {
    width: 50px;
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 99999;
}