:root {
    --yellow: #FFD700;
    --black: #1A1A1A;
    --dark-grey: #2D2D2D;
    --white: #FFFFFF;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { 
    font-family: 'Montserrat', sans-serif; 
    background: var(--black); 
    color: var(--white); 
    line-height: 1.6; 
    overflow-x: hidden; 
}

/* --- NAVIGATION --- */
.navbar { 
    background: var(--white); 
    padding: 10px 5%; 
    position: sticky; 
    top: 0; 
    z-index: 1000; 
    border-bottom: 3px solid var(--yellow); 
}

.nav-container { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    max-width: 1200px; 
    margin: 0 auto; 
}

/* Aligns Icon and Text_logo with custom spacing */
.logo-wrap {
    display: flex;
    align-items: center;
    gap: 25px; /* Moves text logo further right */
}

.logo { 
    height: 50px; 
    width: auto; 
}

.logo-text { 
    height: 45px; /* Makes the text logo bigger */
    width: auto; 
}

.nav-links { list-style: none; display: flex; align-items: center; }
.nav-links li { margin-left: 25px; }
.nav-links a { text-decoration: none; color: var(--black); font-weight: bold; font-size: 0.9rem; transition: color 0.3s; }
.btn-app { background: var(--yellow); padding: 8px 15px; border-radius: 5px; color: var(--black) !important; }

/* --- HERO --- */
.hero { 
    height: 80vh; 
    display: flex; 
    align-items: center; 
    padding: 0 10%; 
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('excavator-bg.jpg'); 
    background-size: cover; 
    background-position: center; 
    background-attachment: fixed; 
}
.hero h1 { font-size: 3.5rem; font-weight: 900; line-height: 1.1; margin-bottom: 20px; color: var(--white); text-transform: uppercase; }
.hero p { max-width: 600px; font-size: 1.2rem; margin-bottom: 30px; }

/* --- BUTTONS --- */
.btn-primary { 
    background: var(--yellow); 
    color: var(--black); 
    padding: 18px 35px; 
    text-decoration: none; 
    font-weight: 900; 
    border: none; 
    border-radius: 5px; 
    cursor: pointer; 
    text-transform: uppercase;
    font-size: 1.1rem;
    transition: transform 0.2s, background 0.3s;
    display: inline-block;
    text-align: center;
}
.btn-primary:hover { transform: scale(1.05); background: #e6c200; }

.btn-secondary { 
    border: 2px solid var(--yellow); 
    color: var(--yellow); 
    padding: 16px 30px; 
    text-decoration: none; 
    font-weight: 900; 
    margin-left: 15px; 
    border-radius: 5px; 
    display: inline-block;
    text-align: center;
}

/* --- SECTIONS & GRIDS --- */
.section-dark { padding: 80px 10%; text-align: center; background: var(--black); }
h2 { color: var(--yellow); margin-bottom: 40px; font-size: 2.8rem; font-weight: 900; text-transform: uppercase; }

.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }

.card { background: var(--dark-grey); padding: 30px; border-radius: 10px; border: 1px solid #444; transition: border-color 0.3s; }
.card:hover { border-color: var(--yellow); }
.card img { 
    width: 100%; 
    height: 250px; 
    object-fit: cover; 
    border-radius: 5px; 
    margin-bottom: 15px; 
}
.card h3 { margin-bottom: 15px; color: var(--yellow); font-size: 1.5rem; }
.card ul { list-style: none; text-align: left; padding-left: 10px; }
.card li { margin-bottom: 8px; font-size: 0.95rem; color: #ddd; }

/* --- BOOKING SECTION --- */
#contact { padding: 120px 10%; text-align: center; border-top: 1px solid #333; }
#contact p { font-size: 1.2rem; max-width: 700px; margin: 0 auto 40px auto; color: var(--white); }

/* --- FOOTER --- */
footer { padding: 60px 10%; text-align: center; background: #111; border-top: 1px solid #333; font-size: 0.9rem; color: #888; }

/* --- MOBILE OPTIMIZATION --- */
@media (max-width: 992px) {
    .hero h1 { font-size: 2.8rem; }
    .grid-3 { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    .hero { 
        height: 75vh; 
        text-align: center; 
        padding: 0 5%; 
        justify-content: center;
        background-attachment: scroll; 
    }
    .hero h1 { font-size: 2.1rem; }
    .hero-btns { display: flex; flex-direction: column; gap: 15px; }
    .btn-secondary { margin-left: 0; }
    .grid-3 { grid-template-columns: 1fr; }
    #contact { padding: 80px 5%; }
    .btn-primary { width: 100%; }
    
    /* Mobile Logo Scaling */
    .logo { height: 40px; }
    .logo-text { height: 35px; }
    .logo-wrap { gap: 15px; }
}