
/* Navbar */
.navbar {
    background-color: #ede6e6;
    box-shadow: 0 2px 4px rgba(0,0,0,0.9);
    padding: 0.75rem 2rem;
    position: fixed;
    width: 100%;
    
    z-index: 1030;
}

.navbar .navbar-brand {
    font-weight: 700;
    color: #0d6efd;
    font-size: 1.5rem;
    margin-right: 0; /* Remove any right margin to avoid space for company name */
}

.navbar .navbar-brand img {
    height: 60px;
    margin-right: 0; /* Remove any right margin */
}

.navbar .nav-link {
    color: #212529;
    font-weight: 500;
    padding: 0.5rem 1rem;
    transition: color 0.3s ease;
}

.navbar .nav-link:hover,
.navbar .nav-link.active {
    color: #0d6efd;
    background-color: transparent;
}

/* Hero Section */
#heroCarousel {
    position: relative;
    margin-top: 90px; /* to offset fixed top-bar and navbar */
}

#heroCarousel .carousel-item {
    height: 600px;
    background-size: cover;
    background-position: center;
    position: relative;
}

#heroCarousel .carousel-caption {
    background: rgba(0, 0, 0, 0.4);
    padding: 1rem 2rem;
    border-radius: 0.5rem;
}

#heroCarousel img {
    max-height: 600px;
    object-fit: cover;
}

/* Hero Slider Animation */
.hero-slide {
    opacity: 0;
    transform: translateX(100%);
    transition: opacity 1s ease-in-out, transform 1s ease-in-out;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-slide.active {
    opacity: 1;
    transform: translateX(0);
}

/* Floating WhatsApp Button */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: #fff;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px #999;
    z-index: 1000;
    transition: background-color 0.3s ease;
}

.whatsapp-float:hover {
    background-color: #128c7e;
    color: #fff;
    text-decoration: none;
}

/* Section Headings */
section h2 {
    font-weight: 700;
    color: #0d6efd;
    margin-bottom: 2rem;
}

/* Cards */
.card {
    border: none;
    box-shadow: 0 0 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

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

/* Footer */
footer {
    background-color: #212529;
    color: #adb5bd;
    padding: 3rem 0;
}

footer h5 {
    color: #f8f9fa;
    font-weight: 700;
    margin-bottom: 1rem;
}

footer a {
    color: #adb5bd;
    text-decoration: none;
    transition: color 0.3s ease;
}

footer a:hover {
    color: #0d6efd;
}

footer .form-control {
    background-color: #343a40;
    border: none;
    color: #f8f9fa;
}

footer .form-control::placeholder {
    color: #adb5bd;
}

footer .btn-primary {
    background-color: #0d6efd;
    border: none;
}

footer .btn-primary:hover {
    background-color: #084298;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .navbar .navbar-brand img {
        height: 50px;
    }
    #heroCarousel .carousel-item {
        height: 300px;
    }
    /* Hide contact info on mobile */
    .navbar .contact-info {
        display: none !important;
    }
    .navbar .navbar-brand span {
        display: none !important;
    }
    #heroCarousel .carousel-item img {
        object-fit: cover;
        height: 300px;
        width: 100%;
    }
    /* Align burger menu to right and logo to left */
    .navbar .navbar-toggler {
        margin-left: auto !important;
        filter: invert(1); /* invert color to make burger icon visible on light background */
        position: relative; /* ensure toggler stays in place */
        z-index: 1050; /* higher than navbar-collapse */
    }
    /* Keep burger menu position fixed when toggled */
    .navbar-collapse {
        transform: translateX(-100%);
        transition: transform 0.3s ease-in-out;
    }
    .navbar-collapse.show {
        position: fixed;
        top: 0;
        left: 0;
        height: 100vh;
        width: 250px;
        transform: translateX(0);
        background-color: white;
        z-index: 1040;
    }
    /* Fix burger icon position on scroll */
    .navbar.scrolled .navbar-toggler {
        position: relative;
        left: auto !important;
        right: 0 !important;
        filter: invert(1);
        z-index: 1050;
    }
}
