/* General Body & Typography */
body {
    font-family: 'Lato', sans-serif;
    color: #333;
    line-height: 1.6;
    overflow-x: hidden; /* Prevent horizontal scroll due to animations */
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    color: #2c3e50; /* Deep blue-grey for headings - still provides good contrast */
    font-weight: 700;
}

.section-title {
    font-family: 'Roboto', serif;
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 2.5rem;
    position: relative;
    padding-bottom: 10px;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: #C62828; /* Vibrant Indian Red */
    border-radius: 5px;
}

.section-title-light {
    font-size: 2.5rem;
    color: #fff;
    margin-bottom: 2.5rem;
}

/* Navbar */
.navbar {
    background-color: rgba(255, 182, 193, 0.7); /* Slightly transparent dark background */
    backdrop-filter: blur(5px); /* Frosted glass effect */
    transition: background-color 0.3s ease;
}

.navbar-brand {
    font-family: 'Roboto', serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: #fff !important;
}

.navbar-brand .logo-img {
    height: 40px; /* Adjust as needed */
    width: auto;
}

.navbar-nav .nav-link {
    color: #fff !important;
    font-weight: 400;
    margin: 0 10px;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: #FFD700 !important; /* Gold/Yellow on hover */
}

.navbar-nav .nav-link.active {
    color: #C62828 !important; /* Vibrant Red for active link */
    font-weight: 700;
}

.navbar-nav .btn-outline-light {
    border-color: #fff;
    color: #fff;
    transition: all 0.3s ease;
}
.navbar-nav .btn-outline-light:hover {
    background-color: #C62828; /* Vibrant Red background on hover */
    border-color: #C62828;
    color: #fff;
}

.navbar-nav .btn-primary {
    background-color: #C62828; /* Vibrant Red background for primary button */
    border-color: #C62828;
    color: #fff;
    transition: all 0.3s ease;
}
.navbar-nav .btn-primary:hover {
    background-color: #A01C1C; /* Darker Red on hover */
    border-color: #A01C1C;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../img/wedding-hero.webp') no-repeat center center;
    background-size: cover;
    min-height: 100vh; /* Full viewport height */
    position: relative;
    padding-top: 56px; /* Offset for fixed navbar */
}

.hero-section h1 {
    font-size: 3.8rem;
    font-weight: 700;
    line-height: 1.2;
    color: #fff;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
}

.hero-section p.lead {
    font-size: 1.5rem;
    max-width: 800px;
    margin: 0 auto;
    color: #f8f9fa;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.5);
}

.hero-section .btn-light {
    background-color: #fff;
    color: #C62828; /* Vibrant Red text on white button */
    border-color: #fff;
    font-size: 1.2rem;
    padding: 12px 30px;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.hero-section .btn-light:hover {
    background-color: #C62828; /* Vibrant Red background on hover */
    color: #fff;
    border-color: #C62828;
    transform: translateY(-3px);
}

/* Why Join Us Section */
#why-join {
    background-color: #fefefe;
    padding: 80px 0;
}

.icon-box {
    background-color: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.icon-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1) !important;
}

.icon-box h3 {
    font-size: 1.75rem;
    color: #2c3e50;
    margin-top: 15px;
}

.icon-box p {
    color: #666;
}

/* Specific icon colors to make them pop */
.icon-box .bi-palette-fill {
    color: #FFD700; /* Gold */
}
.icon-box .bi-heart-fill {
    color: #C62828; /* Vibrant Red */
}
.icon-box .bi-star-fill {
    color: #FFA500; /* Orange/Gerua */
}

/* How It Works Section */
#how-it-works {
    background-color: #f4f7f6;
    padding: 80px 0;
}

.step-card {
    background-color: #fff;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.step-card:hover {
    transform: translateY(-5px);
}

.step-number {
    width: 60px;
    height: 60px;
    background-color: #C62828; /* Vibrant Red */
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
    margin: 0 auto 20px auto;
    box-shadow: 0 0 0 8px rgba(198, 40, 40, 0.3); /* Red shadow */
}

.step-card h3 {
    font-size: 1.75rem;
    color: #2c3e50;
    margin-bottom: 10px;
}

.step-card p {
    color: #666;
}

/* Featured Weddings Section (Image Gallery) */
#featured-weddings {
    background-color: #fefefe;
    padding: 80px 0;
}

.wedding-card {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.wedding-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1) !important;
}

.wedding-card img {
    width: 100%;
    height: 250px; /* Fixed height for consistency */
    object-fit: cover;
    transition: transform 0.5s ease;
}

.wedding-card:hover img {
    transform: scale(1.05);
}

.wedding-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0));
    color: #fff;
    padding: 20px;
    transition: opacity 0.3s ease;
    opacity: 1; /* Always visible, just change gradient */
}

.wedding-overlay h5 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.wedding-overlay p {
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* FAQ Section */
#faq {
    background-color: #f4f7f6;
    padding: 80px 0;
}

.accordion-item {
    border: none;
    margin-bottom: 10px;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    border-radius: 5px;
    overflow: hidden;
}

.accordion-button {
    background-color: #fff;
    color: #2c3e50;
    font-weight: 600;
    font-family: 'Roboto', serif;
    font-size: 1.1rem;
    padding: 15px 20px;
    border-radius: 5px;
    text-align: left;
    transition: background-color 0.3s ease;
}

.accordion-button:not(.collapsed) {
    background-color: #C62828; /* Vibrant Red when expanded */
    color: #fff;
    border-color: #C62828;
    box-shadow: inset 0 -1px 0 rgba(0,0,0,.125);
}

.accordion-button:focus {
    box-shadow: none;
}

.accordion-body {
    background-color: #fdfdfd;
    padding: 20px;
    border-top: 1px solid #eee;
    color: #555;
}

.accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23212529'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
    transition: transform 0.2s ease-in-out;
}

.accordion-button:not(.collapsed)::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ffffff'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
    transform: rotate(-180deg);
}


/* Call to Action Section */
#cta {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../img/cta-bg.jpg') no-repeat center center;
    background-size: cover;
    padding: 100px 0;
}

#cta h2 {
    color: #fff;
    font-size: 2.8rem;
}

#cta p.lead {
    color: #eee;
    font-size: 1.4rem;
}

#cta .btn-light {
    background-color: #fff;
    color: #C62828; /* Vibrant Red text on white button */
    border-color: #fff;
    font-size: 1.2rem;
    padding: 12px 35px;
    border-radius: 50px;
    transition: all 0.3s ease;
}

#cta .btn-light:hover {
    background-color: #C62828; /* Vibrant Red background on hover */
    color: #fff;
    border-color: #C62828;
}

#cta .btn-outline-light {
    border-color: #fff;
    color: #fff;
    font-size: 1.2rem;
    padding: 12px 35px;
    border-radius: 50px;
    transition: all 0.3s ease;
}
#cta .btn-outline-light:hover {
    background-color: #C62828; /* Vibrant Red background on hover */
    border-color: #C62828;
    color: #fff;
}


/* Footer */
.footer {
    background-color: #FF5733;
    color: rgba(255, 87, 51, 0.6);
    padding: 40px 0;
}

.footer p {
    margin-bottom: 10px;
}

.footer a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer a:hover {
    color: #fff;
}

.social-icons a {
    font-size: 1.5rem;
    margin: 0 10px;
}


/* Responsive Adjustments */
@media (max-width: 991.98px) {
    .navbar-collapse {
        background-color: rgba(0, 0, 0, 0.9);
        padding: 15px;
        border-radius: 5px;
        margin-top: 10px;
    }
    .navbar-nav .nav-item {
        margin: 5px 0;
    }
    .navbar-nav .btn {
        width: 100%;
        text-align: center;
        margin-top: 10px;
    }
    .hero-section h1 {
        font-size: 2.8rem;
    }
    .hero-section p.lead {
        font-size: 1.2rem;
    }
    .section-title, .section-title-light {
        font-size: 2rem;
    }
    .wedding-card img {
        height: 200px; /* Smaller height for mobile gallery */
    }
}

@media (max-width: 767.98px) {
    .hero-section h1 {
        font-size: 2.2rem;
    }
    .hero-section p.lead {
        font-size: 1rem;
    }
    .hero-section .btn-lg {
        font-size: 1rem;
        padding: 10px 25px;
    }
    .icon-box, .step-card, .wedding-card {
        margin-bottom: 20px; /* Add space between stacked cards */
    }
    .section-title, .section-title-light {
        font-size: 1.8rem;
    }
    #cta {
        padding: 60px 0;
    }
    #cta .btn-lg {
        width: 100%;
        margin-bottom: 15px;
    }
}