﻿* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

/* ===== Navbar / Header ===== */
.custom-navbar {
    background-color: #8B2E2E !important; /* Maroon */
    padding: 10px 20px;
}

    .custom-navbar .nav-link {
        color: white !important;
        font-weight: bold;
        transition: 0.3s;
    }

        .custom-navbar .nav-link:hover {
            color: #FFD700 !important; /* Golden hover */
        }

.navbar-toggler {
    border-color: rgba(255, 255, 255, 0.5) !important;
}

header {
    background: #8B2E2E; /* Banner maroon */
    color: white;
    padding: 10px 30px;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo img {
    height: 55px;
    width: auto;
}

header nav a {
    color: white;
    margin: 0 10px;
    text-decoration: none;
    font-weight: bold;
}

/* ===== Lead Banner ===== */
.lead-banner {
    position: relative;
    width: 100%;
}

    .lead-banner img {
        width: 100%;
        height: auto;
        display: block;
    }

/* Banner wrapper centers banner-text and banner-search */
.banner-content-wrapper {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 900px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    z-index: 10;
    text-align: center;
}

/* Banner Text */
.banner-text {
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    max-width: 900px;
    width: 90%;
    white-space: normal;
    opacity: 0;
    animation: fadeInDown 1s ease forwards;
    animation-delay: 0.2s;
}

    .banner-text h1,
    .banner-text .banner-textfont {
        font-size: 42px;
        margin-bottom: 10px;
        color: #FFD700; /* Golden */
        text-shadow: 0 2px 6px rgba(0,0,0,0.5);
    }

    .banner-text p {
        font-size: 20px;
        font-weight: 500;
        text-shadow: 0 1px 4px rgba(0,0,0,0.5);
    }

/* Banner Search */
.banner-search {
    display: flex;
    gap: 10px;
    background: rgba(255,255,255,0.95);
    padding: 10px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    max-width: 900px;
    width: 90%;
    opacity: 0;
    animation: fadeInUp 1s ease forwards;
    animation-delay: 0.5s;
}

    .banner-search input,
    .banner-search select {
        padding: 12px;
        border: 1px solid #ddd;
        border-radius: 4px;
        flex: 1;
        font-size: 14px;
    }

    .banner-search button {
        background: #D4A017; /* Golden */
        color: white;
        padding: 12px 25px;
        border: none;
        border-radius: 4px;
        cursor: pointer;
        font-weight: bold;
        transition: background 0.3s;
    }

        .banner-search button:hover {
            background: #b8860b;
        }

/* Styling the new section below the search bar */
.banner-description {
    margin-top: 20px;
    color: white;
    max-width: 800px;
    animation: fadeInUp 1s ease forwards;
    animation-delay: 0.8s; /* Appears slightly after the search bar */
}

.desc-title {
    font-size: 24px;
    color: #FFD700; /* Gold */
    font-weight: bold;
    margin-bottom: 10px;
}

.banner-description p {
    font-size: 16px;
    line-height: 1.5;
    text-shadow: 0 1px 3px rgba(0,0,0,0.5);
}

/* Social links */
.social-links {
    display: flex;
    gap: 15px;
}

    .social-links img,
    .social-links svg {
        height: 28px;
        width: 28px;
        filter: brightness(0) invert(1); /* makes icons white */
        transition: transform 0.3s;
    }

        .social-links img:hover,
        .social-links svg:hover {
            transform: scale(1.1);
        }

/* Social links-New */
.social-links-new {
    display: flex;
    gap: 15px;
}

    /* Invert only raster images so they become white on dark backgrounds */
    .social-links-new img {
        height: 28px;
        width: 28px;
        filter: brightness(0) invert(1); /* makes raster icons white on dark backgrounds */
        transition: transform 0.3s;
    }

    /* Inline SVGs should follow the parent color (fill=\"currentColor\") — do NOT invert them */
    .social-links-new svg {
        height: 28px;
        width: 28px;
        transition: transform 0.3s;
        filter: none; /* ensure SVG colors are not forced */
        color: inherit; /* allows fill=\"currentColor\" in inline SVGs to match link color */
    }

        .social-links-new img:hover,
        .social-links-new svg:hover {
            transform: scale(1.1);
        }

/* Headline animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== Product Grid ===== */
.products {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    padding: 30px;
}

.product-card {
    border: 1px solid #eee;
    border-radius: 6px;
    overflow: hidden;
    transition: 0.2s;
    background: #fff;
    /* Centering logic */
    display: flex;
    flex-direction: column; /* Stack image and text vertically */
    align-items: center; /* Centers the image horizontally */
}

    .product-card:hover {
        box-shadow: 0 0 12px rgba(0,0,0,0.2);
        border-color: #D4A017;
    }

    .product-card img {
       /* width: 100%;
        height: 180px;*/
        object-fit: cover;
    }

    .product-card h3 {
        padding: 10px;
        font-size: 16px;
        color: #8B2E2E;
    }

    .product-card p {
        padding: 0 10px 15px;
        color: #333;
    }

    .product-card .listed-on {
        font-size: 11px;
        color: #777;
        margin-top: 4px;
        font-weight: bold;
        text-align: right;
    }

/* ===== Detail / Listing styles ===== */
.detail-container {
    padding: 20px 0;
}

.main-image {
    width: 100%;
    height: 420px;
    object-fit: cover;
    border-radius: 6px;
}

.thumbnails {
    display: flex;
    gap: 10px;
    margin-top: 10px;
    flex-wrap: wrap;
}

.thumb {
    width: 100px;
    height: 70px;
    object-fit: cover;
    cursor: pointer;
    border-radius: 4px;
    border: 1px solid #ddd;
}

.custom-card {
    border: 1px solid #eee;
    padding: 15px;
    border-radius: 6px;
    background: #fff;
}

.title {
    font-size: 24px;
    color: #8B2E2E;
    margin-bottom: 10px;
}

.price {
    font-size: 20px;
    font-weight: bold;
    color: #D4A017;
    margin-top: 10px;
}

.meta {
    color: #555;
    margin-bottom: 18px;
    margin-top: 18px;
}

.desc-list {
    padding-left: 20px;
    margin-top: 8px;
}

    .desc-list li {
        margin-bottom: 8px;
    }

/* FAQ Section in Footer */
.faq-section {
    max-width: 900px;
    margin: 40px auto 0; /* Space above the FAQ */
    text-align: left; /* Better readability for long text */
    padding: 20px;
}

    .faq-section h2 {
        color: #FFD700; /* Gold */
        text-align: center;
        margin-bottom: 30px;
        font-size: 28px;
        text-transform: uppercase;
        border-bottom: 2px solid rgba(255, 215, 0, 0.3);
        padding-bottom: 10px;
    }

.faq-item {
    margin-bottom: 25px;
    background: rgba(255, 255, 255, 0.05); /* Very subtle highlight */
    padding: 15px;
    border-left: 4px solid #D4A017; /* Gold accent bar */
    border-radius: 4px;
}

.faq-section h3 {
    color: #FFD700; /* Gold */
    font-size: 18px;
    margin-bottom: 10px;
    font-weight: bold;
}

.faq-section p {
    color: #f8f8f8; /* Off-white for better eye comfort */
    font-size: 15px;
    line-height: 1.6;
    margin: 0;
}

/* ===== Footer ===== */
footer {
    background: #8B2E2E;
    color: white;
    text-align: center;
    padding: 20px;
    margin-top: 30px;
}

/* Responsive tweaks */
@media (max-width: 992px) {
    .banner-text h1,
    .banner-text .banner-textfont {
        font-size: 32px;
    }

    .banner-text p {
        font-size: 16px;
    }

    .banner-search {
        padding: 10px;
    }
}

@media (max-width: 768px) {

    /* 1. Make the collapsible part float over the content */
    .navbar-collapse {
        position: absolute !important;
        top: 100%; /* Starts exactly at the bottom of the navbar */
        left: 0;
        width: 100%;
        background: #8B2E2E !important; /* Maroon background */
        z-index: 9999 !important;
        padding: 15px !important;
        box-shadow: 0 10px 15px rgba(0,0,0,0.3);
        border-top: 1px solid rgba(255,255,255,0.1);
    }

    /* 2. Ensure the header itself doesn't grow */
    header, .custom-navbar {
        height: 60px !important; /* Force a fixed height for the bar */
        overflow: visible !important; /* Allow the absolute menu to be seen */
    }

        /* 3. Style the nav links for mobile list */
        .custom-navbar .nav-link {
            padding: 12px 0 !important;
            border-bottom: 1px solid rgba(255,255,255,0.05);
        }

    /* 1. Force the navbar container to stay in one line */
    .custom-navbar .container,
    .custom-navbar {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important; /* Prevents jumping to next line */
        align-items: center !important;
        justify-content: space-between !important;
        padding: 5px 10px !important; /* Reduce padding to save horizontal space */
    }

    /* 2. Resize the logo so it doesn't take up the whole width */
    .logo img {
        height: 40px !important; /* Smaller height for mobile */
        width: auto !important;
    }

    /* 3. Ensure the toggler (hamburger) is properly aligned */
    .navbar-toggler {
        padding: 4px 8px !important;
        margin-left: auto !important;
        font-size: 1.1rem !important;
    }

    /* 4. Fix the sticky header from shifting */
    header {
        width: 100% !important;
        padding: 0 !important;
        position: sticky !important;
        top: 0;
        z-index: 2000;
    }

    /* 1. Remove overflow hidden if present and allow the container to grow */
    .lead-banner {
        display: block !important;
        position: relative !important;
        height: auto !important;
        min-height: unset !important; /* Remove fixed height */
        background-color: #8B2E2E; /* Background matches text box */
    }

        /* 3. Ensure the image stays at the top but doesn't force absolute positioning */
        .lead-banner img {
            position: relative !important;
            width: 100% !important;
            height: auto !important; /* Let the image scale down naturally */
            z-index: 1;
            display: block;
        }
            
    /* 2. Adjust the wrapper to NOT use negative transforms that cause overlap */
    .banner-content-wrapper {
        position: relative !important;
        top: 0 !important;
        left: 0 !important;
        transform: none !important;
        width: 100% !important;
        padding: 20px 15px !important;
        background: #8B2E2E !important; /* Solid color ensures text is readable */
        margin-top: -2px; /* Pulls it up to join the image seamlessly */
    }

    /* 3. Fix the Text Visibility */
    /*.banner-text {
        opacity: 1 !important;*/ /* Force visibility */
        /*position: relative !important;
        width: 100% !important;
    }*/

    .banner-text, .banner-search, .banner-description {
        opacity: 1 !important;
        animation: none !important;
        transform: none !important;
        width: 100% !important;
        max-width: 100% !important;
    }

        .banner-text .banner-textfont {
            font-size: 20px !important;           
            margin-bottom: 5px !important;
        }

        .banner-text p {
            font-size: 13px !important;
            display: block !important; /* Ensure it's not hidden */
        }

    /* 4. The Search Bar Stack */
    .banner-search {
        display: flex !important;
        flex-direction: column !important; /* Forces vertical stacking */
        width: 95% !important; /* Give it more room on small screens */
        max-width: none !important;
        background: #ffffff !important;
        padding: 15px !important;
        gap: 10px !important; /* Space between inputs */
        opacity: 1 !important;
        animation: none !important;
        transform: none !important;
        margin: 0 auto !important; /* Center it */
    }

        .banner-search input,
        .banner-search select,
        .banner-search button {
            flex: none !important; /* Overrides the flex: 1 from desktop */
            width: 100% !important;
            display: block !important;
            margin: 0 !important;
            box-sizing: border-box !important;
            height: 48px !important; /* Better touch target */
        }

    .banner-description {
        margin-top: 15px;
        padding: 0 10px;
    }

    .desc-title {
        font-size: 18px;
    }

    .banner-description p {
        font-size: 13px;
    }

    /* Responsive Mobile FAQ */
    .faq-section h2 {
        font-size: 22px;
    }

    .faq-section h3 {
        font-size: 16px;
    }

    .faq-section p {
        font-size: 14px;
    }

    .service-header h1 {
        font-size: 24px;
    }

    .service-grid {
        grid-template-columns: 1fr !important; /* Stack cards vertically */
    }

    .why-choose-us {
        padding: 20px !important;
    }
}

/* ===== Service Charges Page ===== */
.service-charges-container {
    max-width: 1000px;
    margin: 40px auto;
    padding: 20px;
    line-height: 1.6;
}

.service-header {
    text-align: center;
    margin-bottom: 40px;
}

    .service-header h1 {
        color: #8B2E2E; /* Maroon */
        font-size: 32px;
        margin-bottom: 10px;
    }

    .service-header p {
        color: #555;
        font-size: 18px;
        font-weight: 500;
    }

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.service-card {
    background: #fff;
    border: 1px solid #eee;
    border-top: 4px solid #D4A017; /* Gold Top Border */
    padding: 25px;
    border-radius: 8px;
    transition: transform 0.3s ease;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

    .service-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 15px rgba(0,0,0,0.1);
    }

    .service-card h2 {
        color: #8B2E2E;
        font-size: 20px;
        margin-bottom: 15px;
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .service-card .price-tag {
        display: inline-block;
        background: #fdf8e6;
        color: #8B2E2E;
        padding: 5px 15px;
        border-radius: 20px;
        font-weight: bold;
        font-size: 18px;
        margin-bottom: 15px;
        border: 1px solid #D4A017;
    }

    .service-card ul {
        list-style: none;
        padding: 0;
    }

        .service-card ul li {
            margin-bottom: 10px;
            padding-left: 25px;
            position: relative;
            font-size: 15px;
        }

            .service-card ul li::before {
                content: "✓";
                position: absolute;
                left: 0;
                color: #D4A017;
                font-weight: bold;
            }

.why-choose-us {
    background: #8B2E2E;
    color: white;
    padding: 40px;
    border-radius: 8px;
    margin-top: 40px;
}

    .why-choose-us h2 {
        color: #FFD700;
        margin-bottom: 20px;
        text-align: center;
    }

.contact-cta {
    text-align: center;
    margin-top: 40px;
    padding: 30px;
    background: #f9f9f9;
    border-radius: 8px;
}

    .contact-cta a {
        display: inline-block;
        background: #D4A017;
        color: white;
        padding: 15px 30px;
        text-decoration: none;
        border-radius: 5px;
        font-weight: bold;
        margin-top: 15px;
        transition: background 0.3s;
    }

        .contact-cta a:hover {
            background: #8B2E2E;
        }

@media (max-width: 480px) {
    .banner-text h1,
    .banner-text .banner-textfont {
        font-size: 20px;
    }

    .banner-text p {
        font-size: 12px;
    }

    .banner-search {
        padding: 8px;
    }

        .banner-search button {
            padding: 12px;
        }

    /* Responsive Mobile FAQ */  
        .faq-section h2 {
            font-size: 22px;
        }

        .faq-section h3 {
            font-size: 16px;
        }

        .faq-section p {
            font-size: 14px;
        }
   
}

/* Specific fix for the Menu/Navbar overlapping */
@media (max-width: 767px) {
    header {
        position: relative !important; /* Stop it from floating over small screens */
    }

    .navbar-collapse {
        z-index: 9999;
        position: relative;
    }
}


/* Specific fix for very narrow screens (under 400px) */
@media (max-width: 400px) {
    .logo img {
        height: 35px !important; /* Even smaller for tiny screens */
    }

    .custom-navbar {
        padding: 5px 5px !important;
    }
}