﻿/* ==========================================================================
   MANAMVEDA HOMEPAGE STYLES
   ========================================================================== */

:root {
    --mv-maroon: #4a1515;
    --mv-maroon-dark: #2e0c0c;
    --mv-gold: #c5a059;
    --mv-cream: #f8f4ec;
    --mv-text-dark: #332222;
    --mv-text-muted: #665555;
    --font-serif: 'Cormorant Garamond', serif;
    --font-sans: 'Inter', sans-serif;
}

/* ================= BASE TYPOGRAPHY ================= */
body {
    font-family: var(--font-sans);
    background-color: var(--mv-cream);
    color: var(--mv-text-dark);
}

h1, h2, h3, h4, h5, .font-serif {
    font-family: var(--font-serif);
    color: var(--mv-maroon);
    font-weight: 600;
}

.text-gold {
    color: var(--mv-gold) !important;
}

.text-maroon {
    color: var(--mv-maroon) !important;
}

.eyebrow {
    font-size: 0.75rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--mv-gold);
    font-weight: 600;
    display: block;
    margin-bottom: 15px;
}

/* ==========================================================================
   HEADER & NAVBAR
   ========================================================================== */


.navbar {
    padding: 0.5rem 0;
}

/* Decorative Menu Links (Desktop) */
.navbar-nav .nav-link {
    position: relative;
    color: var(--mv-text-dark);
    font-family: var(--font-sans);
    font-weight: 500;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    padding: 0.5rem 1rem;
    transition: color 0.3s ease;
    color: var(--mv-maroon) !important; /* Force brand maroon color */
    font-weight: 600; /* Make text slightly bolder */
    text-transform: uppercase; /* Optional: for a cleaner look */
    font-size: 0.85rem;
}
/* Add this to your CSS */
.navbar.navbar-expand-lg {
    background-color: var(--mv-cream) !important; /* Solid background */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
    position: relative;
    z-index: 1000; /* Ensures navbar is above the hero image */
    padding: 1rem 0; /* Adds breathing room */
}
    /* The Golden Underline Decoration */
    .navbar-nav .nav-link::after {
        content: '';
        position: absolute;
        width: 0;
        height: 2px;
        bottom: 2px;
        left: 1rem;
        background-color: var(--mv-gold);
        transition: width 0.3s ease;
    }

    .navbar-nav .nav-link:hover,
    .navbar-nav .nav-link.active {
        color: var(--mv-gold);
    }

        .navbar-nav .nav-link:hover::after,
        .navbar-nav .nav-link.active::after {
            width: calc(100% - 2rem);
        }

/* Mobile Toggler (Hamburger) */
.navbar-toggler {
    border: 1px solid var(--mv-gold);
    padding: 0.4rem 0.6rem;
}

    .navbar-toggler:focus {
        box-shadow: 0 0 0 0.2rem rgba(197, 160, 89, 0.25);
        outline: none;
    }

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%234a1515' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}
/* ================= NAVBAR LOGO & BRAND TEXT ================= */

/* The wrapper link */
.navbar-logo-badge {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    padding: 0;
    background: transparent; /* Removed the background from the whole wrapper */
}

    /* The Square Logo Badge */
    .navbar-logo-badge .logo-img {
        width: 60px;
        height: 60px;
        object-fit: contain;
        border-radius: 0;
        /* This filter brightens the gold and increases the contrast */
        transform: scale(1.05);
        filter: brightness(1.4) contrast(1.1) drop-shadow(0px 0px 8px rgba(212, 175, 55, 0.4));
    }

    /* Optional: Make it glow slightly on hover */
    .navbar-logo-badge:hover .logo-img {
        transform: scale(1.05);
        filter: brightness(1.4) contrast(1.1) drop-shadow(0px 0px 8px rgba(212, 175, 55, 0.4));
    }


/* The Text Wrapper */
.brand-text-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: center;
    line-height: 1.1;
}

/* Main Title (MANAMVEDA) */
.brand-title {
    font-family: var(--font-serif);
    font-size: 1.6rem; /* Larger, elegant serif font */
    font-weight: 600;
    color: var(--mv-maroon); /* Maroon text on cream background */
    letter-spacing: 1px;
}

/* Tagline (BEGIN • EXPLORE • TRANSFORM) */
.brand-tagline {
    font-family: var(--font-sans);
    font-size: 0.6rem;
    font-weight: 600;
    color: var(--mv-gold); /* Gold text */
    letter-spacing: 2px; /* Spaced out for a premium look */
    margin-top: 2px;
}
.header-side-text {
    font-family: 'Inter', sans-serif; /* Matches your nav links */
    font-size: 0.75rem; /* Small, elegant size */
    line-height: 1.4; /* Tightens the vertical spacing between words */
    letter-spacing: 2px; /* Adds space between letters for a premium look */
    color: #333333; /* Or whatever dark color your nav uses */
    text-align: left; /* Aligns everything to the left */
    /* Optional: Add a subtle gold vertical line to the left for decoration */
    border-left: 2px solid #d4a373;
    padding-left: 12px;
}
/* ================= BUTTONS ================= */

.btn-maroon {
    background-color: var(--mv-maroon);
    color: #fff;
    border-radius: 0;
    padding: 12px 30px;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.8rem;
    border: 1px solid var(--mv-maroon);
    transition: all 0.3s ease;
}

    .btn-maroon:hover {
        background-color: var(--mv-gold);
        border-color: var(--mv-gold);
        color: #fff;
    }



/* ================= HOME HERO SECTION ================= */
.home-hero-section {
    background: url('../images/h2.jpg') right center/cover no-repeat;
    position: relative;
    /* 1. Set a fixed height to match the Contact page */
    height: 450px; /* Adjust this value to match your Contact page exactly */
    /* 2. Use flexbox to vertically center the text inside that height */
    display: flex;
    align-items: center;
    /* 3. Remove the large top/bottom padding */
    padding: 0;
    border-bottom: 1px solid rgba(197, 160, 89, 0.3);
    overflow: hidden;
}

    .home-hero-section::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient(to right, rgba(46, 12, 12, 0.9) 0%, rgba(46, 12, 12, 0.6) 50%, rgba(46, 12, 12, 0) 100%);
        z-index: 1; /* Ensure gradient is behind text but above background */
    }

    .home-hero-section .hero-content {
        position: relative;
        z-index: 2;
        max-width: 600px;
    }



.home-hero-sectionNew {
    background: url(../images/about-banner.png) right center / cover no-repeat;
    position: relative;
    padding: 100px 0;
    border-bottom: 1px solid rgba(197, 160, 89, 0.3);
}

.text-center {
    text-align: center !important;
}


.home-hero-sectionNew::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to right, rgba(46, 12, 12, 0.85) 0%, rgba(46, 12, 12, 0.4) 60%, rgba(46, 12, 12, 0) 100%);
}
.home-hero-sectionNew .hero-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
}

.btn-mv {
    background-color: var(--mv-maroon) !important;
    color: white !important;
    border: 1px solid var(--mv-maroon) !important;
    border-radius: 2px;
    padding: 0.85rem;
    font-size: 0.85rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    display: block; /* Ensures it takes full width */
    width: 100%;
}

    .btn-mv:hover {
        background-color: var(--mv-maroon-dark) !important;
        color: white !important;
    }


.home-hero-title {
    font-family: var(--font-serif);
    font-size: 3.5rem;
    font-weight: 400;
    line-height: 1.15;
    letter-spacing: 1px;
    color: #fff;
    margin-bottom: 15px;
}

/* The elegant golden line */
.hero-divider {
    width: 60px;
    height: 1px;
    background-color: var(--mv-gold);
    margin-bottom: 25px;
}

.home-hero-subtitle {
    font-family: var(--font-sans);
    font-size: 1rem;
    font-weight: 300;
    letter-spacing: 0.5px;
    color: #fff;
    line-height: 1.6;
    margin-bottom: 30px;
}

/* The elegant golden line */
.hero-divider {
    width: 60px;
    height: 1px;
    background-color: var(--mv-gold);
    margin-bottom: 25px;
}
/* ================= PILLARS SECTION ================= */
.pillar-card {
    background: #fff;
    border: 1px solid rgba(197, 160, 89, 0.3);
    text-align: center;
    padding: 40px 30px;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .pillar-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    }

.pillar-number {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    color: var(--mv-gold);
    line-height: 1;
    margin-bottom: 15px;
}

.pillar-card h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.pillar-card p {
    font-size: 0.95rem;
    color: var(--mv-text-muted);
}

.pillar-card .mt-auto {
    margin-top: auto;
}

/* ================= CLINIC SECTION ================= */
.clinic-section {
    background-color: var(--mv-cream);
    border-top: 1px solid rgba(197, 160, 89, 0.2);
}

.clinic-icon-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

    .clinic-icon-box i {
        font-size: 2rem;
        color: var(--mv-gold);
        margin-bottom: 10px;
    }

    .clinic-icon-box span {
        font-size: 0.85rem;
        text-transform: uppercase;
        letter-spacing: 1px;
        color: var(--mv-text-muted);
    }

/* ================= FOOTER ================= */
.site-footer {
    background-color: #3b0b0b; /* Deep maroon */
    color: #fff;
    position: relative;
    overflow: hidden;
    padding: 4rem 0 2rem;
}

/* Center the background image */
.footer-bg-decoration {
    position: absolute;
    bottom: -10px; /* Pushes it slightly down to blend with the bottom edge */
    left: 50%;
    transform: translateX(-50%); /* Perfectly centers it horizontally */
    width: 100%;
    max-width: 800px; /* Limits how wide it stretches */
    height: 200px; /* Adjust height as needed */
    z-index: 1; /* Sits behind the text */
    /* Optional: Blends the edges into the background */
    -webkit-mask-image: radial-gradient(ellipse at center, #000 50%, transparent 90%);
    mask-image: radial-gradient(ellipse at center, #000 50%, transparent 90%);
}

    .footer-bg-decoration img {
        width: 100%;
        height: 100%;
        object-fit: contain; /* Prevents stretching */
        opacity: 0.85;
    }

/* Ensure the text container stays above the image */
.footer-content-wrapper {
    position: relative;
    z-index: 2;
}

/* Creates the empty space in the middle so the image is visible */
.footer-bottom-row {
    margin-top: 140px; /* Increase this if the image is overlapping the text */
}

/* --- Typography & Links (Keep your existing styles for these) --- */
.site-footer .brand-title {
    font-family: 'Cormorant Garamond', serif;
    letter-spacing: 3px;
    font-size: 1.6rem;
}

.site-footer .brand-subtitle {
    font-size: 0.65rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.6);
}

.footer-links a {
    color: rgba(255,255,255,0.85);
    text-decoration: none;
    font-size: 0.75rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 0 1rem;
    transition: color 0.3s ease;
}

    .footer-links a:hover {
        color: var(--mv-gold, #c5a059);
    }

.footer-social a {
    color: #fff;
    font-size: 1.1rem;
    margin-left: 1rem;
    opacity: 0.85;
    transition: color 0.3s ease, opacity 0.3s ease;
}

    .footer-social a:hover {
        color: var(--mv-gold, #c5a059);
        opacity: 1;
    }

.footer-legal-links a {
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    font-size: 0.75rem;
    padding: 0 0.5rem;
    transition: color 0.3s ease;
}

    .footer-legal-links a:hover {
        color: #fff;
    }



/* ==========================================================================
   ABOUT PAGE STYLES
   ========================================================================== */

/* ---- Founder Section ---- */
.founder-section {
    background-color: var(--mv-cream);
    padding: 80px 0;
}

.founder-heading-area {
    position: relative;
    margin-bottom: 40px;
}

.founder-label {
    font-size: 1.75rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--mv-gold);
    font-weight: 600;
    display: block;
    margin-bottom: 10px;
}

.founder-heading {
    font-family: var(--font-serif);
    font-size: 3.5rem;
    color: var(--mv-maroon);
    line-height: 1.1;
    margin-bottom: 0;
}

.founder-img-container {
    position: relative;
    padding: 15px; /* Space between the image and the outer frame */
    margin-bottom: 50px; /* Space for the floating quote at the bottom */
}

.founder-img-container img {
    width: 100%;
    border-radius: 2px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

    /* The Outer Delicate Frame */
    .founder-img-container::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        border: 1px solid rgba(197, 160, 89, 0.4); /* Faded gold */
        pointer-events: none;
        z-index: 1;
    }

    /* The Inner Sharp Frame */
    .founder-img-container::after {
        content: '';
        position: absolute;
        top: 10px;
        left: 10px;
        right: 10px;
        bottom: 10px;
        border: 1px solid var(--mv-gold); /* Solid gold */
        pointer-events: none;
        z-index: 3;
    }


/* The Image Itself */
.framed-image {
    position: relative;
    z-index: 2;
    background-color: var(--mv-cream);
}

    .framed-image img {
        width: 100%;
        display: block;
        object-fit: cover;
        /* Optional: Adds a slight sepia/warmth to the photo to match the brand */
        filter: sepia(15%) contrast(105%) brightness(95%);
        transition: filter 0.5s ease;
    }


/* Quote Wrapper & Dividers */
.quote-wrapper {
    text-align: center;
    margin-top: 30px;
}

.quote-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 15px auto;
    width: 60%;
}

    .quote-divider::before,
    .quote-divider::after {
        content: '';
        flex: 1;
        height: 1px;
        background-color: rgba(197, 160, 89, 0.4);
    }

    .quote-divider i {
        color: var(--mv-gold);
        margin: 0 10px;
        font-size: 0.8rem;
    }

.founder-quote {
    margin-top: 0;
    margin-bottom: 0;
    font-family: var(--font-serif);
    font-style: italic;
    color: var(--mv-text-muted);
    font-size: 1.15rem;
    line-height: 1.6;
}

.founder-img-container:hover .framed-image img {
    filter: sepia(0%) contrast(105%) brightness(100%);
}

/* Bio Content & Vertical Divider */
.bio-content {
    padding-left: 50px;
    border-left: 1px solid rgba(197, 160, 89, 0.4);
    height: 100%;
}

.founder-name {
    font-family: var(--font-serif);
    font-size: 2.4rem;
    color: var(--mv-maroon);
    margin-bottom: 5px;
}

.founder-role {
    font-size: 0.75rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--mv-gold);
    margin-bottom: 30px;
    font-weight: 600;
    line-height: 1.6;
}

.founder-bio p {
    font-size: 0.95rem;
    line-height: 1.8;
    color: var(--mv-text-dark);
    margin-bottom: 20px;
}

/* Decorative lotus divider (used in founder heading area) */
.banner-divider {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin: 15px 0 25px 0;
    width: 150px;
}

    .banner-divider::before,
    .banner-divider::after {
        content: '';
        flex: 1;
        height: 1px;
        background-color: var(--mv-gold, #c5a059);
    }

    .banner-divider i {
        color: var(--mv-gold, #c5a059);
        margin: 0 15px;
        font-size: 1rem;
    }

/* ---- Philosophy Pillars ---- */
.philosophy-section {
    background-color: #f3ece2;
    padding: 60px 0;
    border-top: 1px solid rgba(197, 160, 89, 0.2);
}

.philosophy-col {
    text-align: center;
    padding: 0 30px;
    border-right: 1px solid rgba(197, 160, 89, 0.3);
}

    .philosophy-col:last-child {
        border-right: none;
    }

.philosophy-icon {
    color: var(--mv-maroon);
    margin-bottom: 15px;
    display: inline-block;
    height: 40px;
}

.philosophy-title {
    font-size: 0.85rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--mv-maroon);
    margin-bottom: 15px;
    font-weight: 600;
    line-height: 1.5;
}

.philosophy-text {
    font-size: 0.85rem;
    color: var(--mv-text-muted);
    line-height: 1.6;
}


.contact-hero-section {
    background: url('../images/about-banner.png') right center/cover no-repeat;
    position: relative;
    padding: 100px 0;
    border-bottom: 1px solid rgba(197, 160, 89, 0.3);
}

    .contact-hero-section::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        /* Gradient overlay: darker on the left, fading right */
        background: linear-gradient(to right, rgba(46, 12, 12, 0.85) 0%, rgba(46, 12, 12, 0.4) 60%, rgba(46, 12, 12, 0) 100%);
    }

    .contact-hero-section.hero-content {
        position: relative;
        z-index: 2;
        max-width: 600px;
    }

/* ==========================================================================
   MOBILE RESPONSIVENESS (Tablets & Phones)
   ========================================================================== */
@media (max-width: 991.98px) {

    /* Mobile Dropdown Container */
    .navbar-collapse {
        background-color: var(--mv-cream);
        padding: 1.5rem 1rem;
        border-radius: 8px;
        border: 1px solid rgba(197, 160, 89, 0.3);
        margin-top: 1rem;
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    }

    /* Mobile Menu Items */
    .navbar-nav .nav-item {
        border-bottom: 1px solid rgba(197, 160, 89, 0.1);
        margin-bottom: 0.5rem;
        padding-bottom: 0.5rem;
    }

        .navbar-nav .nav-item:last-child {
            border-bottom: none;
            margin-bottom: 0;
            padding-bottom: 0;
        }

    /* Mobile Menu Links */
    .navbar-nav .nav-link {
        padding: 0.8rem 1rem;
        font-size: 1.05rem; /* Slightly larger for touch targets */
        border-left: 3px solid transparent; /* Placeholder for mobile highlight */
    }

        /* Hide the fancy desktop underline on mobile */
        .navbar-nav .nav-link::after {
            display: none;
        }

        /* Mobile Hover/Active State (Left border highlight) */
        .navbar-nav .nav-link:hover,
        .navbar-nav .nav-link.active {
            border-left-color: var(--mv-gold);
            background-color: rgba(197, 160, 89, 0.05);
            color: var(--mv-maroon);
        }

    /* Mobile Logo Size Adjustments */
    .navbar-logo-badge {
        padding: 5px;
    }

        .navbar-logo-badge img {
            width: 45px;
            height: 45px;
        }
    /* ================= NAVBAR LOGO & BRAND TEXT ================= */
    /* 1. Adjust the badge to hold both the image and text */
    .navbar-logo-badge {
        display: inline-flex;
        align-items: center;
        background-color: var(--mv-maroon);
        border: 2px solid var(--mv-gold);
        /* Changed from 50% to a rounded pill shape to fit the text */
        border-radius: 50px;
        padding: 5px 20px 5px 5px;
        text-decoration: none;
        transition: transform 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
        box-shadow: 0 4px 10px rgba(46, 12, 12, 0.15);
    }

        .navbar-logo-badge:hover {
            transform: translateY(-2px) scale(1.02);
            background-color: var(--mv-maroon-dark);
            box-shadow: 0 6px 15px rgba(197, 160, 89, 0.3);
        }

        /* 2. The Logo Image */
        .navbar-logo-badge img {
            width: 55px;
            height: 55px;
            object-fit: contain;
            border-radius: 50%; /* Keeps the image itself circular */
            background-color: var(--mv-maroon); /* Ensures no white edges */
        }


        /* Mobile Logo Adjustments */
        .navbar-logo-badge .logo-img {
            width: 45px;
            height: 45px;
        }

    .brand-text-wrapper {
        margin-left: 10px !important; /* Tighter spacing on mobile */
    }

    .brand-title {
        font-size: 1.2rem; /* Smaller title */
    }

    .brand-tagline {
        font-size: 0.5rem; /* Smaller tagline */
        letter-spacing: 1px;
    }

    /* 3. The Text Wrapper */
    .brand-text-wrapper {
        display: flex;
        flex-direction: column;
        justify-content: center;
        line-height: 1.1;
    }

    /* 4. Main Title (MANAMVEDA) */
    .brand-title {
        font-family: var(--font-serif);
        font-size: 1.4rem;
        font-weight: 600;
        color: var(--mv-gold); /* Gold text on maroon background */
        letter-spacing: 1px;
    }

    /* 5. Tagline (BEGIN • EXPLORE • TRANSFORM) */
    .brand-tagline {
        font-family: var(--font-sans);
        font-size: 0.55rem; /* Very small */
        font-weight: 500;
        color: #d1c6b8; /* Soft cream/gold */
        letter-spacing: 1.5px; /* Premium spacing */
        margin-top: 2px;
    }
    /* Mobile Button Spacing */
    .navbar-nav .nav-item .btn-gold {
        margin-top: 1rem;
        width: 100%;
        display: block;
        text-align: center;
    }

   
    .home-hero-section {
        padding: 60px 0;
        background-position: 75% center;
    }
    .home-hero-title {
        font-size: 2.5rem;
        letter-spacing: 1px;
    }

    .home-hero-subtitle {
        font-size: 0.95rem;
    }

  
    /* About page mobile adjustments */
    .bio-content {
        border-left: none;
        padding-left: 0;
        margin-top: 50px;
    }

    .founder-heading {
        font-size: 2.8rem;
    }


}

/* Responsive adjustment for mobile */
@media (max-width: 768px) {
    .footer-bottom-row {
        margin-top: 80px; /* Less gap on mobile */
    }

    .footer-bg-decoration {
        height: 150px;
        bottom: 0;
    }

    .philosophy-col {
        border-right: none;
        border-bottom: 1px solid rgba(197, 160, 89, 0.3);
        padding-bottom: 30px;
        margin-bottom: 30px;
    }

        .philosophy-col:last-child {
            border-bottom: none;
            margin-bottom: 0;
            padding-bottom: 0;
        }
}