/* ============================================ BASE STYLES ============================ */
:root {
    --primary: #ffa500; /* Red */
    --secondary: #333;
    --accent: #f8f8f8;
    --text: #444;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}
.logo img {
  height: 80px; /* Adjust height as needed */
  width: auto; /* Maintain aspect ratio */
}
body {
    line-height: 1.6;
    color: var(--text);
}
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}
img { max-width: 100%; }

/* ======================================= HEADER (TOP BAR) ================================ */
.top-bar {
    background: var(--secondary);
    color: white;
    padding: 10px 0;
    font-size: 14px;
}
.top-bar .container {
    display: flex;
    justify-content: space-between;
}
.top-contact a {
    color: white;
    text-decoration: none;
    margin-left: 15px;
}
.top-contact a:hover { color: #ccc; }

/* ==================================== NAVIGATION ======================================== */
header {
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}
.logo {
    font-size: 24px;
    font-weight: bold;
    color: var(--primary);
}
.nav-links {
    display: flex;
    list-style: none;
}
.nav-links li { margin-left: 25px; }
.nav-links a {
    color: var(--secondary);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}
.nav-links a:hover { color: var(--primary); }

/* =================================== HERO BANNER ========================================== */
.hero {
    background: url(Excavator.jpg) no-repeat center/cover;
    height: 500px;
    display: flex;
    align-items: center;
    position: relative;
}
.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
}
.hero-content {
    position: relative;
    z-index: 1;
    color: white;
    max-width: 600px;
}
.hero h1 {
    font-size: 42px;
    margin-bottom: 20px;
}
.hero p {
    font-size: 18px;
    margin-bottom: 30px;
}
.btn {
    display: inline-block;
    background: var(--primary);
    color: white;
    padding: 12px 30px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
    transition: background 0.3s;
}
.btn:hover { background: #c0102b; }

/* ===================================== SERVICES ========================================== */
.services {
    padding: 100px 0;
    background: var(--accent);
    position: relative;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2.8rem;
    color: var(--secondary);
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--primary);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.service-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    position: relative;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.12);
}

.service-img {
    height: 220px;
    background: #ddd;
    position: relative;
    overflow: hidden;
}

.service-img::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.1), rgba(0,0,0,0.3));
    z-index: 1;
}

.service-content {
    padding: 25px;
    text-align: center;
}

.service-content h3 {
    color: var(--primary);
    margin-bottom: 15px;
    font-size: 1.5rem;
    font-weight: 700;
}

.service-content p {
    color: var(--text);
    line-height: 1.6;
    margin-bottom: 0;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .services {
        padding: 70px 0;
    }
    
    .section-title h2 {
        font-size: 2.2rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .service-img {
        height: 180px;
    }
}

/* ======================================= CONTACT ==================================== */
.contact {
    padding: 80px 0;
    background: white;
}
.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}
.contact-card {
    text-align: center;
    padding: 30px;
    background: var(--accent);
    border-radius: 5px;
}
.contact-card i {
    font-size: 40px;
    color: var(--primary);
    margin-bottom: 20px;
}
.contact-card h3 {
    margin-bottom: 15px;
    color: var(--secondary);
}

/* ==== Footer ==== */
footer {
    background: var(--secondary);
    color: white;
    text-align: center;
    padding: 30px 0;
}
.footer-logo {
    font-size: 24px;
    color: var(--primary);
    margin-bottom: 20px;
}
.social-links a {
    color: white;
    margin: 0 10px;
    font-size: 20px;
}
.social-links a:hover { color: var(--primary); }
.copyright { margin-top: 20px; }

/* ==== Mobile Responsive ==== */
@media (max-width: 768px) {
    .top-bar .container { flex-direction: column; text-align: center; }
    .top-contact a { margin: 0 8px; display: inline-block; }
    .hero h1 { font-size: 32px; }
    .nav-links { display: none; } /* Add mobile menu toggle here */
}