/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
/* Header section */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #1a1a1a;
    padding: 15px 40px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    z-index: 1000;
    box-sizing: border-box;
}

.logo {
    color: #ffffff;
    font-size: 22px;
    font-weight: bold;
}

.logo span {
    color: #f39c12;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-links a {
    color: #ffffff;
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #f39c12;
}

/* Hide Hamburger by default on desktop */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 6px;
}

.hamburger span {
    width: 28px;
    height: 3px;
    background-color: #ffffff;
    border-radius: 2px;
    transition: 0.3s;
}
/* Hero Section */
.hero {
    min-height: 80vh;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('hero.jpeg') center/cover no-repeat;
    /* Note: If you don't have an image file yet, it will fallback to a clean dark background (#222) */
    background-color: #fff; 
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px 20px;
}

.hero-content {
    max-width: 800px;
}

.hero h1 {
    color: #ffffff;
    font-size: 42px;
    font-weight: bold;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero p {
    color: #cccccc;
    font-size: 18px;
    margin-bottom: 30px;
    line-height: 1.5;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.btn-primary {
    background-color: #f39c12; 
    color: #ffffff;
    padding: 12px 25px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
    transition: background 0.3s ease;
}

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

.btn-secondary {
    background-color: transparent;
    color: #ffffff;
    border: 2px solid #ffffff;
    padding: 10px 25px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background-color: #ffffff;
    color: #1a1a1a;
}
/* About section */
.about {
    padding: 80px 20px;
    background-color: #f9f9f9; /* Clean light background to contrast the dark hero */
    color: #1a1a1a;
}

.about-container {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-text {
    flex: 1;
}

.about h2 {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 15px;
    color: #1a1a1a;
}

.about-tagline {
    font-size: 18px;
    font-weight: 600;
    color: #f39c12; /* Construction orange accent */
    margin-bottom: 20px;
}

.about p {
    font-size: 16px;
    line-height: 1.6;
    color: #555555;
    margin-bottom: 20px;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 25px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: bold;
    color: #333333;
}

.check-icon {
    background-color: #f39c12;
    color: #ffffff;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}
.about-image {
    width: 100%;
    max-width: 450px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    object-fit: cover;
}

/* Temporary styled box until you drop in a real job-site photo */
.image-placeholder {
    width: 100%;
    height: 350px;
    background: linear-gradient(135deg, #2c3e50, #4ca1af);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-weight: bold;
    font-size: 18px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

/* Services section */
.services {
    padding: 80px 20px;
    background-color: #ffffff; /* White background to alternate with the light gray about section */
    color: #1a1a1a;
}

.services-container {
    max-width: 1100px;
    margin: 0 auto;
}

.services-header {
    text-align: center;
    margin-bottom: 50px;
}

.services-header h2 {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 10px;
    color: #1a1a1a;
}

.services-header p {
    font-size: 18px;
    color: #666666;
}

/* Grid layout for service cards */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: #f9f9f9;
    border: 1px solid #eaeaea;
    border-radius: 8px;
    padding: 30px 20px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
    border-color: #f39c12; /* Highlights border with construction orange on hover */
}

.service-icon {
    font-size: 40px;
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #1a1a1a;
}

.service-card p {
    font-size: 15px;
    line-height: 1.5;
    color: #555555;
}
.service-card .btn-service-book {
    display: inline-block;
    margin-top: 15px;
    padding: 10px 18px;
    background-color: transparent;
    color: #f39c12;
    border: 2px solid #f39c12;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    text-align: center;
    transition: all 0.2s ease;
}

.service-card .btn-service-book:hover {
    background-color: #f39c12;
    color: #ffffff;
}

/* Contact section */
.contact {
    padding: 80px 20px;
    background-color: #f4f6f8; /* Soft light gray background */
    color: #1a1a1a;
}

.contact-container {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    gap: 50px;
    align-items: flex-start;
}

.contact-info {
    flex: 1;
}

.contact-info h2 {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 15px;
    color: #1a1a1a;
}

.contact-info > p {
    font-size: 16px;
    line-height: 1.6;
    color: #555555;
    margin-bottom: 30px;
}

.info-item {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
    align-items: flex-start;
}

.info-icon {
    font-size: 24px;
    background-color: #ffffff;
    padding: 12px;
    border-radius: 50%;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.info-item h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 5px;
    color: #1a1a1a;
}

.info-item p, .info-item a {
    font-size: 15px;
    color: #555555;
    text-decoration: none;
    transition: color 0.3s ease;
}

.info-item a:hover {
    color: #f39c12;
}

/* FORM STYLING */
.contact-form-box {
    flex: 1;
    background-color: #ffffff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
}

.contact-form-box h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #1a1a1a;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #333333;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 15px;
    box-sizing: border-box;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #f39c12; /* Highlights border with construction orange */
}

.btn-submit {
    width: 100%;
    background-color: #f39c12;
    color: #ffffff;
    padding: 14px;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn-submit:hover {
    background-color: #e67e22;
}

/* FOOTER STYLING */
.footer {
    background-color: #1a1a1a; /* Matches the navbar theme */
    color: #ffffff;
    padding: 60px 20px 20px 20px;
}

.footer-container {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand h3 {
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 15px;
}

.footer-brand h3 span {
    color: #f39c12; /* Construction orange accent */
}

.footer-brand p, 
.footer-contact p {
    color: #aaaaaa;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 10px;
}

.footer-links h4, 
.footer-contact h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #ffffff;
    position: relative;
}

.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #aaaaaa;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #f39c12;
}

.footer-bottom {
    max-width: 1100px;
    margin: 0 auto;
    border-top: 1px solid #333333;
    padding-top: 20px;
    text-align: center;
}

.footer-bottom p {
    color: #888888;
    font-size: 13px;
}



/* Responsive adjustments for the Header */

@media (max-width: 768px) {
    .hamburger {
        display: flex; /* Show hamburger on mobile */
    }

    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: #1a1a1a;
        flex-direction: column;
        align-items: center;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease-in-out;
        box-shadow: 0 5px 5px rgba(0,0,0,0.2);
        gap: 0;
    }

    .nav-links a {
        width: 100%;
        text-align: center;
        padding: 15px 0;
        border-top: 1px solid #333;
    }

    /* Class added via JavaScript to open the menu */
    .nav-links.active {
        max-height: 250px; 
    }
}

/* Responsive adjustments for the Hero Section */
@media (max-width: 768px) {
    .hero {
        min-height: 70vh;
        padding: 30px 15px;
    }

    .hero h1 {
        font-size: 28px; /* Scales down the large heading for phones */
        margin-bottom: 15px;
    }

    .hero p {
        font-size: 15px; /* Makes body text easier to read on mobile */
        margin-bottom: 20px;
    }

    .hero-buttons {
        flex-direction: column; /* Stacks the two buttons vertically on phones */
        width: 100%;
        gap: 10px;
    }

    .btn-primary, .btn-secondary {
        width: 100%; /* Makes buttons full-width for easy tapping */
        text-align: center;
        box-sizing: border-box;
    }
}

/* RESPONSIVE ADJUSTMENTS FOR About Section */
@media (max-width: 768px) {
    .about-container {
        flex-direction: column;
        gap: 30px;
    }

    .about h2 {
        font-size: 28px;
    }

    /* Make the image wrapper and placeholder take up the full width */
    .about-image-box {
        width: 100%;
    }

    .image-placeholder {
        width: 100%; /* Forces it to stretch wider across the phone screen */
        height: 250px; 
    }
}


/* RESPONSIVE ADJUSTMENTS FOR Services */
@media (max-width: 768px) {
    .services {
        padding: 50px 15px;
    }

    .services-header h2 {
        font-size: 28px;
    }

    .services-grid {
        grid-template-columns: 1fr; /* Single column stack on small screens */
        gap: 20px;
    }
}

/* --- RESPONSIVE ADJUSTMENTS FOR MOBILE --- */
@media (max-width: 768px) {
    .contact-container {
        flex-direction: column;
        gap: 40px;
        padding: 0 10px; /* Adds a tiny bit of outer breathing room to the container */
    }

    .contact-form-box {
        width: 100%;        /* Forces the form box to take up the full available width */
        padding: 20px 15px; /* Adjusts internal padding for smaller screens */
        box-sizing: border-box; /* Ensures padding doesn't push it outside the screen */
    }

    .contact-info h2 {
        font-size: 28px;
    }
}


/* --- RESPONSIVE ADJUSTMENTS FOR FOOTER --- */
@media (max-width: 768px) {
    .footer {
        padding: 40px 15px 20px 15px;
    }

    .footer-container {
        grid-template-columns: 1fr; /* Stacks footer columns vertically on phones */
        gap: 30px;
    }
}