/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-red: #DC143C;
    --black: #000000;
    --white: #FFFFFF;
    --light-gray: #F5F5F5;
    --dark-gray: #333333;
    --border-gray: #E0E0E0;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--dark-gray);
    background-color: var(--white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== TOP CONTACT BAR ===== */
.top-bar {
    background-color: #1a1a1a;
    color: var(--white);
    padding: 10px 0;
    font-size: 1.5rem;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.contact-info {
    display: flex;
    gap: 50px;
    flex-wrap: wrap;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-item i {
    color: var(--primary-red);
    font-size: 1.5rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.contact-details span {
    font-size: 1rem;
}

.location-info {
    display: flex;
    align-items: center;
    gap: 8px;
}

.location-info i {
    color: var(--primary-red);
    font-size: 1.1rem;
}

/* ===== MAIN HEADER ===== */
.main-header {
    background-color: var(--white);
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 90px;
    width: auto;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 35px;
    align-items: center;
}

.nav-menu a {
    color: var(--black);
    text-decoration: none;
    font-weight: 700;
    transition: color 0.3s;
    padding: 8px 0;
    position: relative;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary-red);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-red);
    transition: width 0.3s;
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.nav-cta .btn-quote {
    background-color: var(--primary-red);
    color: var(--white);
    padding: 12px 30px;
    border-radius: 5px;
    font-weight: 800;
    transition: all 0.3s;
}

.nav-cta .btn-quote::after {
    display: none;
}

.nav-cta .btn-quote:hover {
    background-color: var(--black);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(220, 20, 60, 0.3);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.menu-toggle span {
    width: 28px;
    height: 3px;
    background-color: var(--black);
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

/* ===== HERO SECTION (FIXED) ===== */
.hero {
    /* 1. LAYERED BACKGROUND: Sets the gradient (on top, for tinting) AND the image (behind) */
    background-image:  /* Red Gradient Layer */
        url('https://www.lasertechnology.com.au/wp-content/uploads/2024/07/mining-and-construction.jpg'); /* Image Layer */
    
    /* 2. IMAGE CONTROL: Essential properties for the image to display */
    background-size: cover;          /* Scales the image to cover the entire section */
    background-position: center;     /* Centers the image */
    background-repeat: no-repeat;    /* Ensures the image doesn't tile */
    
    /* 3. HEIGHT CONTROL: Makes the section tall enough to see the banner */
    min-height: 200px;
    
    /* 4. KEEP EXISTING STYLES */
    color: var(--white);
    padding: 40px 0;
    text-align: center;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.hero p {
    font-size: 1.3rem;
    opacity: 0.95;
}
/* ===== PROJECTS SECTION ===== */
.projects-section {
    padding: 60px 0;
    background-color: var(--light-gray);
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--black);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--primary-red);
}

.section-header p {
    color: var(--dark-gray);
    font-size: 1.1rem;
    margin-top: 20px;
}

/* Projects Grid */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.project-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(220, 20, 60, 0.2);
}

.project-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    background-color: var(--border-gray);
}

.project-content {
    padding: 25px;
}

.project-featured {
    display: inline-block;
    background-color: var(--primary-red);
    color: var(--white);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.project-title {
    font-size: 1.5rem;
    color: var(--black);
    margin-bottom: 10px;
    font-weight: 700;
}

.project-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 0.9rem;
    color: #666;
}

.project-meta i {
    color: var(--primary-red);
    margin-right: 5px;
}

.project-description {
    color: var(--dark-gray);
    line-height: 1.8;
    margin-bottom: 15px;
}

.project-date {
    font-size: 0.85rem;
    color: #999;
    font-style: italic;
}

/* No Projects Message */
.no-projects {
    text-align: center;
    padding: 80px 20px;
    background: var(--white);
    border-radius: 10px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
}

.no-projects i {
    font-size: 4rem;
    color: var(--border-gray);
    margin-bottom: 20px;
}

.no-projects h3 {
    font-size: 1.8rem;
    color: var(--dark-gray);
    margin-bottom: 10px;
}

.no-projects p {
    color: #999;
    font-size: 1.1rem;
}

/* ===== FOOTER ===== */
footer {
    background-color: var(--black);
    color: #bbb;
    padding: 60px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

footer h4 {
    color: var(--white);
    margin-bottom: 20px;
    font-size: 1.2rem;
}

footer ul {
    list-style: none;
}

footer li {
    margin-bottom: 10px;
}

footer a {
    color: #bbb;
    text-decoration: none;
    transition: color 0.3s;
}

footer a:hover {
    color: var(--primary-red);
}

footer i {
    margin-right: 8px;
    color: var(--primary-red);
}

.copyright {
    border-top: 1px solid #333;
    padding-top: 20px;
    text-align: center;
    font-size: 0.85rem;
}

/* ===== RESPONSIVE DESIGN ===== */

/* Tablet */
@media (max-width: 1024px) {
    .projects-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
        gap: 25px;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 120px;
        flex-direction: column;
        background: var(--white);
        width: 100%;
        padding: 20px;
        transition: 0.3s;
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        gap: 15px;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu a::after {
        display: none;
    }
    
    .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }
    
    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }
    
    .top-bar-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .contact-info {
        flex-direction: column;
        gap: 10px;
    }
    
    .hero {
        padding: 60px 0;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .logo img {
        height: 60px;
    }
    
    .top-bar {
        font-size: 1rem;
    }
    
    .contact-item i {
        font-size: 1.2rem;
    }
    
    .contact-details span {
        font-size: 0.85rem;
    }
    
    .hero h1 {
        font-size: 1.5rem;
    }
    
    .hero p {
        font-size: 0.9rem;
    }
    
    .section-header h2 {
        font-size: 1.6rem;
    }
    
    .project-title {
        font-size: 1.2rem;
    }
    
    .project-content {
        padding: 20px;
    }
}