:root {
    --primary-purple: #652D90;
    --primary-purple-hover: #4a1f6b;
    --secondary-lavender: #B39DDB;
    --bg-white: #FFFFFF;
    --text-black: #212529;
    --font-title: 'Caprasimo', cursive;
    --font-body: 'Open Sans', sans-serif;
    color-scheme: light; /* Force light mode */
}

body {
    font-family: var(--font-body);
    color: var(--text-black);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6, .navbar-brand {
    font-family: var(--font-title);
}

/* Navigation */
.navbar {
    background-color: var(--bg-white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding-top: 1rem;
    padding-bottom: 1rem;
    transition: all 0.3s ease;
}

.navbar-brand img {
    height: 50px;
    width: auto;
    transition: filter 0.3s ease;
}

.navbar-brand:hover img.navbar-logo {
    filter: brightness(0) saturate(100%) invert(75%) sepia(25%) saturate(800%) hue-rotate(210deg) brightness(95%) contrast(85%);
}

.nav-link {
    color: var(--text-black);
    font-weight: 600;
    margin-left: 1rem;
    transition: color 0.2s;
}

.nav-link:hover {
    color: var(--primary-purple);
}

/* Specific override for the contact button in nav */
.nav-link.btn-primary-custom {
    color: white !important;
}

.nav-link.btn-primary-custom:hover {
    color: white !important;
}

.navbar-toggler {
    border: none;
    padding: 0.5rem;
}

.navbar-toggler:focus {
    box-shadow: none;
}

/* Mobile Menu Styling */
@media (max-width: 991.98px) {
    .navbar-collapse {
        background-color: var(--primary-purple);
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        padding: 1rem;
        border-radius: 0 0 10px 10px;
        box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    }

    .nav-link {
        color: white !important;
        margin-left: 0;
        padding: 0.75rem 0;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }

    .nav-link:last-child {
        border-bottom: none;
    }

    .nav-link:hover {
        color: rgba(255,255,255,0.8) !important;
        padding-left: 10px;
    }
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 500px;
    padding-top: 6rem;
    padding-bottom: 1rem;
    /* Purple gradient background - hero.jpg can be re-enabled by uncommenting below */
    /* background: url('../source_images/hero.jpg') no-repeat center center; */
    background: linear-gradient(180deg, #7a3da8 0%, #652D90 50%, #4a1f6b 100%);
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Removed background overlay to show full image brightness */
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 2rem;
    max-width: 800px;
}

.hero-logo {
    max-width: 500px;
    width: 100%;
    margin-bottom: 2rem;
    filter: drop-shadow(0 6px 10px rgba(0, 0, 0, 0.5)); /* Darker drop shadow for purple background */
}

.hero-logo path {
    fill: white; /* Ensure SVG is white if possible via CSS, otherwise rely on file */
}

.hero-tagline {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-purple);
    text-shadow: 2px 2px 4px rgba(255,255,255,0.8);
    margin-bottom: 2rem;
    background-color: rgba(255,255,255,0.7);
    padding: 10px 20px;
    border-radius: 50px;
    display: inline-block;
}

.btn-primary-custom {
    background-color: var(--primary-purple);
    border-color: var(--primary-purple);
    color: white;
    padding: 12px 30px;
    font-size: 1.2rem;
    font-weight: 700;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(101, 45, 144, 0.4);
    transition: all 0.3s ease;
}

.btn-primary-custom:hover {
    background-color: var(--primary-purple-hover);
    border-color: var(--primary-purple-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(101, 45, 144, 0.6);
}

/* Reverse button style - purple text on white background */
.btn-primary-custom.reverse {
    background-color: white;
    border-color: white;
    color: var(--primary-purple);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
}

.btn-primary-custom.reverse:hover {
    background-color: #f8f9fa;
    border-color: #f8f9fa;
    color: var(--primary-purple-hover);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}

/* Section Styling */
section {
    padding: 5rem 0;
}

.section-icon {
    text-align: center;
    font-size: 2.5rem;
    color: var(--secondary-lavender);
    margin-bottom: 0;
}

.section-title {
    color: var(--primary-purple);
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background-color: var(--primary-purple);
    margin: 15px auto 0;
    border-radius: 2px;
}

/* Balloon Menu */

/* Desktop scrollable gallery */
@media (min-width: 768px) {
    #balloon-gallery-featured {
        max-height: 580px; /* ~2.2 rows visible to hint at more content */
        overflow-y: auto;
        overflow-x: hidden;
        padding-right: 10px;
    }

    #balloon-gallery-featured::-webkit-scrollbar {
        width: 8px;
    }

    #balloon-gallery-featured::-webkit-scrollbar-track {
        background: #f1f1f1;
        border-radius: 10px;
    }

    #balloon-gallery-featured::-webkit-scrollbar-thumb {
        background: var(--secondary-lavender);
        border-radius: 10px;
    }

    #balloon-gallery-featured::-webkit-scrollbar-thumb:hover {
        background: var(--primary-purple);
    }
}

/* Mobile: 2 columns */
@media (max-width: 767.98px) {
    .balloon-item {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

.balloon-card {
    border: none;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
    height: 100%;
    background: white;
}

.balloon-card:hover {
    transform: translateY(-5px);
}

.balloon-img-wrapper {
    height: 250px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--bg-white);
}

.balloon-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* Ensure whole balloon fits */
    padding: 10px;
}

.balloon-card-body {
    padding: 1rem;
    text-align: center;
}

.balloon-title {
    font-weight: 700;
    margin: 0;
    color: var(--text-black);
    text-transform: capitalize;
}

/* Balloon Menu */

/* Pricing */
.pricing-box {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    height: 100%;
    border: 2px solid transparent;
    transition: all 0.3s;
}

.pricing-box:hover {
    border-color: var(--primary-purple);
    transform: translateY(-5px);
}

.pricing-icon {
    font-size: 3rem;
    color: var(--primary-purple);
    margin-bottom: 1.5rem;
}

.pricing-title {
    font-weight: 700;
    margin-bottom: 1rem;
}

.pricing-amount {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-purple);
    margin-bottom: 0.5rem;
    font-family: var(--font-title);
}

.pricing-sub {
    color: #6c757d;
    font-size: 0.9rem;
}

.services-list li {
    color: var(--primary-purple);
    font-weight: 600;
}

/* Calculator */
.calculator-section {
    background-color: #f8f9fa;
    border-radius: 20px;
    padding: 2rem;
    margin-top: 3rem;
}

.form-range::-webkit-slider-thumb {
    background: var(--primary-purple);
}

/* Custom Track Styling for better visibility */
.form-range::-webkit-slider-runnable-track {
    background: #e9ecef;
    border: 1px solid #ced4da;
    border-radius: 5px;
    height: 0.5rem;
}

.form-range::-moz-range-track {
    background: #e9ecef;
    border: 1px solid #ced4da;
    border-radius: 5px;
    height: 0.5rem;
}

.form-range::-moz-range-thumb {
    background: var(--primary-purple);
}

.form-range::-ms-thumb {
    background: var(--primary-purple);
}

.estimate-display {
    background-color: var(--primary-purple);
    color: white;
    padding: 1.5rem;
    border-radius: 15px;
    text-align: center;
}

.estimate-amount {
    font-size: 3rem;
    font-weight: 800;
    font-family: var(--font-title);
}

/* About */
.about-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
}

/* Contact Form */
.contact-form-wrapper {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.form-control {
    padding: 0.8rem 1.2rem;
    border-radius: 10px;
    border: 1px solid #dee2e6;
}

.form-control:focus {
    border-color: var(--primary-purple);
    box-shadow: 0 0 0 0.25rem rgba(101, 45, 144, 0.25);
}

.form-label {
    font-weight: 600;
    color: var(--text-black);
}

/* Footer */
footer {
    background-color: var(--secondary-lavender);
    color: white;
    padding: 3rem 0;
    text-align: center;
}

.footer-logo {
    width: 50px;
    margin-bottom: 1rem;
}

.copyright {
    font-size: 0.9rem;
    opacity: 0.7;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Utilities */
.text-purple {
    color: var(--primary-purple) !important;
}

.bg-purple {
    background-color: var(--primary-purple) !important;
}
