/* ===== GLOBAL STYLES ===== */

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    background-color: #1a1a1a;
    color: #f2f2f2;
}

a {
    text-decoration: none;
}

/* ===== HEADER WITH EXCAVATOR BACKGROUND ===== */

header {
    background: url('images/excavator.jpeg') center center/cover no-repeat;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
}

/* Dark overlay for readability */
header::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.65);
}

header h1 {
    font-size: 3em;
    background: rgba(0,0,0,0.75);
    padding: 20px 30px;
    border-left: 6px solid #fbbf24;
    position: relative;
    z-index: 2;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* ===== NAVIGATION ===== */

nav {
    background: #111;
    padding: 15px;
    text-align: center;
}

nav a {
    color: #fbbf24;
    margin: 0 20px;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 14px;
}

nav a:hover {
    color: #ffffff;
}

/* ===== CONTENT CONTAINER ===== */

.container {
    max-width: 1100px;
    margin: auto;
    padding: 40px 20px;
}

/* ===== HEADINGS ===== */

h2 {
    border-bottom: 3px solid #fbbf24;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

h3 {
    margin-top: 30px;
}

/* ===== SERVICES GRID ===== */

.services {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.card {
    background: #2a2a2a;
    padding: 20px;
    border-left: 5px solid #fbbf24;
    transition: transform 0.2s ease;
}

.card:hover {
    transform: translateY(-5px);
}

/* ===== GALLERY ===== */

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 15px;
}

.gallery img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border: 3px solid #333;
}

/* ===== CONTACT FORM ===== */

form input,
form textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: none;
    font-size: 16px;
}

button {
    padding: 12px 20px;
    background: #fbbf24;
    border: none;
    font-weight: bold;
    cursor: pointer;
    text-transform: uppercase;
}

button:hover {
    background: #d97706;
}

/* ===== FOOTER ===== */

footer {
    background: #111;
    text-align: center;
    padding: 20px;
    font-size: 14px;
    border-top: 3px solid #fbbf24;
}