﻿/* Ensure full-page layout */
html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

 /*Make carousel full height */
.carousel-item {
    height: 100vh;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

 /*Overlay for better text readability */
.carousel-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

 /*Center text in the carousel */
.carousel-caption {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);  /*Center horizontally & vertically */
    text-align: center;
    width: 100%;  /*Ensures text spans across */
}

     /*Make sure text and button are properly aligned */
    .carousel-caption h1 {
        font-size: 3rem;
        font-weight: bold;
    }

    .carousel-caption p {
        font-size: 1.2rem;
        margin-bottom: 20px;
    }

    .carousel-caption .btn-custom {
        font-size: 18px;
        padding: 12px 24px;
        font-weight: bold;
        border-radius: 8px;
    }

@media (max-width: 767.98px) {
    .carousel-caption h1 {
        font-size: 1.5rem !important;
        line-height: 1.2 !important;
    }

    .carousel-caption p {
        font-size: 1rem !important;
    }

    .carousel-caption .btn-custom-outline {
        font-size: 0.95rem !important;
        padding: 8px 16px !important;
    }

    /* Optional: prevent overflow */
    .carousel-caption {
        padding: 0 1rem;
        max-width: 100%;
    }
}


/* Override centered caption with "random" positions using nth-child */
/* Slide 1 - Top Left */
.carousel-item:nth-child(1) .carousel-caption {
    top: 10%;
    left: 2%;
    transform: none;
    text-align: left;
}

/* Slide 2 - Bottom Right */
.carousel-item:nth-child(2) .carousel-caption {
    bottom: 10%;
    right: 10%;
    top: auto;
    left: auto;
    transform: none;
    text-align: right;
}

/* Slide 3 - Top Right */
.carousel-item:nth-child(3) .carousel-caption {
    top: 15%;
    right: 5%;
    left: auto;
    transform: none;
    text-align: right;
}

/* Slide 4 - Bottom Left */
.carousel-item:nth-child(4) .carousel-caption {
    bottom: 15%;
    left: 10%;
    top: auto;
    transform: none;
    text-align: left;
}

/* Slide 5 - Center Left */
.carousel-item:nth-child(5) .carousel-caption {
    top: 50%;
    left: 2%;
    transform: translateY(-50%);
    text-align: left;
}

/* Slide 6 - Center Right */
.carousel-item:nth-child(6) .carousel-caption {
    top: 50%;
    right: 5%;
    left: auto;
    transform: translateY(-50%);
    text-align: right;
}

/* Slide 7 - Upper Center */
.carousel-item:nth-child(7) .carousel-caption {
    top: 20%;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
}



.btn-custom {
    background-color: #ffc107;
    color: black;
    padding: 12px 20px;
    font-size: 1.2rem;
    border-radius: 5px;
    transition: 1s;
}

    .btn-custom:hover {
        background-color: #ff9800;
        color: white;
    }

.btn-custom-outline {
    background-color: transparent;
    color: #ffc107;
    border: 0.5px solid #ffc107;
    padding: 12px 20px;
    font-size: 1.2rem;
    border-radius: 5px;
    transition: 0.3s;
}

    .btn-custom-outline:hover {
        background-color: #ffc107;
        color: black;
    }


.navbar {
    background: rgba(0, 0, 0, 0.6) !important; /* Semi-transparent navbar */
}

.navbar-brand, .nav-link {
    margin-top: 10px;
    color: white !important;
    font-weight: bold;
}

.navbar-nav .nav-link.active {
    color: #ffc107 !important; /* Bootstrap warning yellow */
    font-weight: bold;
    border-bottom: 2px solid #ffc107;
}

.navbar-nav .nav-link:hover {
    color: #ffc107 !important; /* Bootstrap's warning color */
    transition: color 0.3s ease;
}

.dropdown-menu .dropdown-item:hover {
    color: #ffc107 !important;
    background-color: transparent;
}

.section {
    padding: 0;
    text-align: center;
}

    .section h2 {
        font-weight: bold;
        margin-bottom: 20px;
    }

.card {
    transition: transform 0.3s;
}

    .card:hover {
        transform: translateY(-5px);
    }



#reopenAdModalBtn {
    border-radius: 50px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    animation: fadeInUp 0.5s ease-in-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =============Service Section============= */
#services {
    padding: 60px 0;
}


.wrapper {
    margin-inline: auto;
    position: relative;
    height: 300px;
    margin-top: 5rem;
    overflow: hidden;
    mask-image: linear-gradient( to right, 
    rgba(0, 0, 0, 0), 
    rgba(0, 0, 0, 1) 20%, 
    rgba(0, 0, 0, 1) 80%, 
    rgba(0, 0, 0, 0) 
    );
}

@keyframes scrollLeft{
    to{
        left: -400px;
    }
}

.item {
    width: 400px;
    height: 250px;
    margin-top: 5px;
    border-radius: 6px;
    position: absolute;
    left: max(calc(400px * 8), 100%);
    animation-name: scrollLeft;
    animation-duration: 30s;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
    user-select: none;
}

.item1 {
    animation-delay: calc(30s / 8 * (8 - 1) * -1);
}
.item2 {
    animation-delay: calc(30s / 8 * (8 - 2) * -1);
}
.item3 {
    animation-delay: calc(30s / 8 * (8 - 3) * -1);
}
.item4 {
    animation-delay: calc(30s / 8 * (8 - 4) * -1);
}
.item5 {
    animation-delay: calc(30s / 8 * (8 - 5) * -1);
}
.item6 {
    animation-delay: calc(30s / 8 * (8 - 6) * -1);
}
.item7 {
    animation-delay: calc(30s / 8 * (8 - 7) * -1);
}
.item8 {
    animation-delay: calc(30s / 8 * (8 - 8) * -1);
}


/* =============Projects Section============= */
/* Projects Section */
#projects {
    padding: 80px 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 20px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 40px;
}

/* Project Cards */
.project-card {
    background: white;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
    transition: transform 0.3s ease-in-out;
}

    .project-card:hover {
        transform: translateY(-5px);
    }

    .project-card img {
        width: 100%;
        height: 200px;
        object-fit: cover;
    }

.project-info {
    padding: 15px;
}

    .project-info h4 {
        font-size: 18px;
        font-weight: bold;
        margin-bottom: 10px;
    }

    .project-info p {
        font-size: 14px;
        color: #666;
    }

/* =============Estimate Calculator Section============= */
#estimateCalc {
    padding: 80px 0;
}

.estimateCalc-title {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 20px;
}

.estimateCalc-subtitle {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 40px;
}

/* =============Our Location Section============= */
#location {
    padding: 80px 0;
}


.location-title {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 20px;
}

.location-subtitle {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 40px;
}


/* =============About Compnay Section============= */
#aboutCom {
    padding: 80px 0;
}

.aboutCom-title {
    font-weight: bold;
    margin-bottom: 20px;
}

.aboutCom-subtitle {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 40px;
}

.banner {
    position: relative !important;
    width: 100% !important;
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.8)), url(/Construction/LuxuryHouse.jpg) center !important;
    background-size: cover !important;
    background-attachment: fixed !important;
    color: #ffff;
}

/* =============Contact Section============= */

#contact {
    padding: 80px 0;
}

.contact-title {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 20px;
}

.contact-subtitle {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 40px;
}

/* Team Section */
.team-section h4 {
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 2px;
    margin-top: 50px;
}

.team-section h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
}

.team-member {
    display: flex;
    align-items: center;
    margin-bottom: 50px;
}
    .team-member img {
        width: 100px;
        height: 100px;
        border-radius: 10%;
        margin-right: 15px;
    }

.team-info h5 {
    margin: 0;
    font-size: 18px;
    font-weight: bold;
}

.team-info p {
    margin: 0;
    font-size: 16px;
}

.team-info a {
    color: #fff;
    text-decoration: none;
}

/* Contact Form */
.contact-form {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    color: black;
    margin-top: 50px;
    margin-bottom: 50px;
}

    .contact-form h4 {
        font-weight: bold;
        margin-bottom: 15px;
    }

    .contact-form p {
        font-size: 14px;
        color: #555;
        margin-bottom: 20px;
    }

    .contact-form .form-control {
        margin-bottom: 15px;
        padding: 10px;
        font-size: 14px;
    }

    .contact-form .btn {
        background-color: #e6b800;
        border: none;
        padding: 10px 15px;
        font-size: 14px;
        text-transform: uppercase;
    }

/* Initial state */
.autoShow {
    opacity: 0;
    transform: translateY(100px);
    transition: all 1s ease;
}

    /* When visible on scroll */
    .autoShow.active {
        opacity: 1;
        transform: translateY(0);
    }

/* =============About Section============= */
.about-bg {
    /*background: url('/images/about-bg.jpg') no-repeat center center/cover;*/
    position: relative;
    padding: 50px 0;
}

    /* Dark Overlay */
    .about-bg::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.6); /* Dark overlay */
    }

    /* Ensure text is above the overlay */
    .about-bg .container {
        position: relative;
        z-index: 2;
    }

/* Company Logo */
.logo {
    width: 80px; /* Adjust size */
    height: auto;
}

/* About Text */
.about-text {
    font-size: 16px;
    line-height: 1.5;
    text-align: left; /* Ensures clean alignment */
}

.social-icons {
    margin-top: 15px; /* Adds space below the text */
}

/* Social Media Icons */
    .social-icons a {
        color: white;
        font-size: 20px;
        margin-right: 10px;
    }

    .social-icons a:hover {
        color: #ffc107; /* Yellow color on hover */
    }

/* Links */
.about-links {
    list-style: none;
    padding: 0;
}

    .about-links li {
        margin-bottom: 8px;
    }

    .about-links a {
        color: white;
        text-decoration: none;
        transition: 0.3s;
    }

        .about-links a:hover {
            color: #ffc107; /* Yellow color on hover */
        }


/* =============Footer Styling============= */
.footer {
    background-color: #222; /* Dark background */
    color: #fff; /* White text */
    padding: 15px 0;
    font-size: 14px;
}

    .footer p {
        margin: 0;
    }


/* Disable zoom on images inside the Team Modal */
#teamModal .team-img {
    touch-action: none; /* Disable touch gestures (like zoom) */
    user-select: none; /* Prevent selection of the image */
    pointer-events: none; /* Disable interactions like zoom, drag */
}
/*CUSTOM WAVE DESIGN*/
.custom-shape-divider-bottom-1745474375 {
    position: relative;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

    .custom-shape-divider-bottom-1745474375 svg {
        position: relative;
        display: block;
        width: calc(129% + 1.3px);
        height: 110px;
    }

    .custom-shape-divider-bottom-1745474375 .shape-fill {
        fill: gold;
    }

/*=========== CENTERED LINKS NAVBAR ==============*/
.centered-nav {
    margin-left: 0 auto; /* Always center by default */
}

/* Apply extra left margin only on larger screens */
@media (min-width: 992px) {
    .centered-nav {
        margin-left: 200px;
    }
}

/* ========== FACEBOOK SECTION STYLING ==========*/

#facebook-page {
    padding: 100px 0;
}

.facebook-title {
    font-weight: bold;
    margin-bottom: 20px;
}

.facebook-subtitle {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 40px;
}

.facebook-wrapper {
    width: 100%;
    max-width: 850px;
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    padding: 0;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
}

    .facebook-wrapper iframe {
        width: 100% !important;
        min-width: 320px;
    }

@media (max-width: 768px) {
     .facebook-wrapper {
        max-width: 100%;
        padding: 0 10px;
    }

        .facebook-wrapper iframe {
            width: 100% !important;
        }
}

/*====== Slideshow Images for About Us Section ========*/
.carousel-img {
    object-fit: contain;
    height: 500px;
    width: 100%;
}
/*========= Floating divs facebook and autoplay video =========*/
/* Facebook floating div */
.floating-facebook {
    position: fixed !important;
    bottom: 20px !important;
    right: 20px !important;
    width: 380px;
    z-index: 9999;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}
    .floating-facebook .close-btn {
        position: absolute;
        top: 5px;
        right: 10px;
        border: none;
        background: none;
        font-size: 18px;
        cursor: pointer;
        color: #333;
    }

/* Video floating div */

/* Fully Transparent Floating Video */
.floating-video {
    position: fixed !important;
    bottom: 20px !important;
    left: 20px !important;
    width: 300px;
    height: auto;
    padding: 10px;
    background-color: transparent !important; /* Force transparent */
    border-radius: 10px;
    z-index: 9999;
    box-shadow: none !important;
}

    /* Make video element itself transparent too */
    .floating-video video,
    .floating-video iframe {
        background-color: transparent !important;
    }

    /* Close Button */
    .floating-video .close-btn {
        position: absolute;
        top: 5px;
        right: 5px;
        border: none;
        background-color: rgba(0, 0, 0, 0.6); /* dark translucent bg for visibility */
        color: white;
        font-size: 18px;
        font-weight: bold;
        border-radius: 50%;
        width: 28px;
        height: 28px;
        line-height: 24px;
        text-align: center;
        cursor: pointer;
        z-index: 10000;
    }



/* ========= BNPL button design =========== */
/* Main BNPL Button with Moving Gradient */
.bnpl-button {
    position: relative;
    overflow: hidden;
    background: linear-gradient(270deg, #fbd72b, #f9484a, #fbd72b);
    background-size: 600% 600%;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: bold;
    text-transform: uppercase;
    animation: moveGradient 8s ease infinite;
    box-shadow: 0 4px 15px rgba(249, 72, 74, 0.5);
    z-index: 1;
}

    /* Hover Effect */
    .bnpl-button:hover {
        box-shadow: 0 6px 20px rgba(249, 72, 74, 0.7);
    }

/* Moving Gradient Animation */
@keyframes moveGradient {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* Sparkles Layer */
.bnpl-button::after {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.6) 2px, transparent 2px) repeat;
    background-size: 20px 20px;
    opacity: 0.4;
    animation: sparkleMove 15s linear infinite;
    z-index: 2;
    pointer-events: none;
}

/* Sparkling Movement */
@keyframes sparkleMove {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(50px, 50px);
    }
}

/*======== Our Projects Card Clickable Design =========*/
.clickable-card {
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

    .clickable-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    }


@media (max-width: 576px) {
    .modal-dialog.custom-mobile-size {
        margin: 1.5rem auto;
        max-width: 60%;
    }

    .modal-content.custom-mobile-size {
        border-radius: 2.5rem;
    }
}
