@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

:root {
    --primary-color: #2563eb;
    --secondary-color: #22c55e;
    --dark-color: #1e293b;
    --light-color: #f8fafc;
    --text-muted: #64748b;
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
    --shadow-md: 0 3px 20px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 30px rgba(0,0,0,0.15);
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
}

.navbar {
    background-color: #ffffff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 0.4rem 0; /* Extra compact padding */
}

.navbar-brand {
    padding: 0;
    transition: var(--transition);
}

.navbar-logo {
    height: 62px; /* Increased from 50px for better legibility */
    width: auto;
    object-fit: contain;
    transition: var(--transition);
    mix-blend-mode: multiply;
}

.navbar-brand:hover .navbar-logo {
    transform: scale(1.02);
}



.nav-link {
    color: var(--primary-color) !important;
    font-weight: 500;
    margin-left: 1.5rem;
    transition: var(--transition);
}

.nav-link:hover, .nav-link.active {
    color: var(--secondary-color) !important;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: #1a252f;
    border-color: #1a252f;
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    color: #fff;
}

.btn-whatsapp {
    background-color: #25D366;
    border-color: #25D366;
    color: #fff;
}

.btn-whatsapp:hover {
    background-color: #1fa857;
    border-color: #1fa857;
    color: #fff;
}

.hero-section {
    padding: 80px 0; /* Reduced from 120px to match the user's request for lower margins */
    min-height: 650px;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('images/hero-renovation.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #fff;
    display: flex;
    align-items: center;
}

.hero-subheadline {
    display: inline-block;
    background-color: var(--primary-color);
    color: #fff;
    padding: 5px 15px;
    font-weight: 800;
    font-size: 33px;
    line-height: 39.6px;
    text-transform: uppercase;
    margin-bottom: 20px;
    border-radius: 4px;
}

.hero-main-title {
    font-size: 48px;
    font-weight: 800;
    line-height: 62.4px;
    text-transform: uppercase;
    margin-bottom: 30px;
}

.hero-checklist {
    list-style: none;
    padding: 0;
    margin-bottom: 0;
}

.hero-checklist li {
    font-size: 16px;
    line-height: 24px;
    font-weight: 600;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-card {
    background: #ffffff;
    padding: 33.6px;
    border-radius: 5px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    text-align: center;
    color: var(--dark-color);
}

.contact-card h3 {
    font-weight: 800;
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--dark-color);
}

.contact-card p {
    font-weight: 500;
    color: var(--text-muted);
    margin-bottom: 30px;
}

.btn-contact {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 12px 20px;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    border-radius: 6px;
    transition: var(--transition);
    text-decoration: none;
    margin-bottom: 15px;
}

.btn-contact:last-child {
    margin-bottom: 0;
}

.btn-contact-whatsapp {
    background-color: #16a34a;
    color: #fff;
    border: 2px solid #16a34a;
}

.btn-contact-whatsapp:hover {
    background-color: #15803d;
    border-color: #15803d;
    color: #fff;
    transform: translateY(-2px);
}

.btn-contact-phone {
    background-color: var(--primary-color);
    color: #fff;
    border: 2px solid var(--primary-color);
}

.btn-contact-phone:hover {
    background-color: #1d4ed8;
    border-color: #1d4ed8;
    color: #fff;
    transform: translateY(-2px);
}

.section-title {
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 30px;
    color: var(--primary-color);
    font-weight: 700;
}

.section-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 60px;
    height: 3px;
    background-color: var(--secondary-color);
}

.footer {
    background-color: var(--primary-color);
    color: #ecf0f1;
    padding: 40px 0 20px;
}

.footer h5 {
    color: var(--secondary-color);
    margin-bottom: 20px;
    font-weight: 600;
}

.footer-link {
    color: #bdc3c7;
    text-decoration: none;
    transition: var(--transition);
    display: block;
    margin-bottom: 8px;
}

.footer-link:hover {
    color: #fff;
    padding-left: 5px;
}

.contact-icon {
    color: var(--secondary-color);
    margin-right: 10px;
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: var(--secondary-color);
    color: #fff;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: var(--shadow-lg);
    z-index: 1000;
    transition: var(--transition);
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: scale(1.1) rotate(5deg);
    color: #fff;
    box-shadow: 0 15px 35px rgba(34, 197, 94, 0.4);
}

.whatsapp-badge {
    position: absolute;
    right: 70px;
    bottom: 10px;
    background: white;
    color: var(--dark-color);
    padding: 8px 15px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.whatsapp-float:hover .whatsapp-badge {
    opacity: 1;
    visibility: visible;
    right: 75px;
}

/* Updated Project Gallery Styles */
.project-card {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    background: #fff;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    height: 300px; /* Fixed height for consistency */
}

.project-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.project-card:hover img {
    transform: scale(1.1);
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.2) 50%, rgba(0, 0, 0, 0) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 25px;
    opacity: 0;
    transition: var(--transition);
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-overlay h5 {
    color: #fff;
    font-weight: 600;
    margin-bottom: 5px;
    transform: translateY(20px);
    transition: var(--transition);
}

.project-overlay p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    margin-bottom: 0;
    transform: translateY(20px);
    transition: var(--transition);
    transition-delay: 0.1s;
}

.project-card:hover .project-overlay h5,
.project-card:hover .project-overlay p {
    transform: translateY(0);
}

/* ====================== */
/* NAVBAR TOGGLER STYLES */
/* ====================== */

.navbar-toggler {
    border: none;
    padding: 0.5rem;
    background: transparent !important;
            position: relative;
    width: 40px; /* Adjusted for better visual */
    height: 40px; /* Adjusted for better visual */
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.navbar-toggler .icon-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Base styles for the actual icon elements */
.navbar-toggler .default-icon,
.navbar-toggler .close-icon {
    position: absolute;
    font-size: 1.4rem; /* Reduced by 1pt (from 1.5rem) */
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); /* Smooth transition */
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

/* Hamburger icon: visible by default */
.navbar-toggler .default-icon {
  opacity: 1;
  transform: rotate(0deg);
    color: var(--primary-color);
}

/* Close icon: hidden by default */
.navbar-toggler .close-icon {
    opacity: 0;
    transform: rotate(-90deg); /* Start rotated */
    color: var(--secondary-color);
}

/* State when menu is expanded */
.navbar-toggler[aria-expanded="true"] .default-icon {
    opacity: 0;
    transform: rotate(90deg); /* Rotate out */
}

.navbar-toggler[aria-expanded="true"] .close-icon {
    opacity: 1;
    transform: rotate(0deg); /* Rotate in */
}

/* ====================== */
/* MOBILE MENU STYLING */
/* ====================== */
@media (max-width: 991.98px) { /* Bootstrap's 'lg' breakpoint for navbar-expand-lg */
    .navbar-collapse.show .navbar-nav .nav-item {
        border-bottom: 1px solid rgba(0, 0, 0, 0.08); /* Subtle border */
    }
    .navbar-collapse.show .navbar-nav .nav-item:last-child {
        border-bottom: none; /* No border on the last item */
    }
    .navbar-collapse.show .navbar-nav .nav-link {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
    .navbar-collapse.show .btn-primary.ms-lg-3 {
        margin-top: 1rem;
        margin-left: 1rem !important;
        margin-right: 1rem;
        width: calc(100% - 2rem); /* Full width minus padding */
    }
}

.cta-premium-section {
    background: linear-gradient(rgba(30, 41, 59, 0.85), rgba(30, 41, 59, 0.85)), url('https://images.unsplash.com/photo-1513694203232-719a280e022f?auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: #fff;
    padding-top: 100px;
    padding-bottom: 100px;
    position: relative;
    overflow: hidden;
}

.cta-premium-section h2 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.cta-premium-section p.lead {
    font-size: 1.25rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 3.5rem;
    color: rgba(255, 255, 255, 0.9);
}

.btn-cta-premium {
    background-color: var(--secondary-color);
    border: none;
    color: #fff;
    padding: 18px 45px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.15rem;
    text-transform: uppercase;
    transition: var(--transition);
    box-shadow: 0 10px 25px rgba(34, 197, 94, 0.3);
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.btn-cta-premium:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(34, 197, 94, 0.5);
    background-color: #1fa857;
    color: #fff;
}

.btn-cta-premium i {
    transition: transform 0.3s ease;
}

.btn-cta-premium:hover i {
    transform: translateX(5px);
}

