@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Inter:wght@400;500;600;700;800&display=swap');

/* =======================
   RESET + BASE
======================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Inter", sans-serif;
}

body {
    background: url('images/2024-04-29.jpg') center/cover fixed no-repeat;
    color: #e5e7eb;
    line-height: 1.6;
}

/* OVERLAY FOR WHOLE PAGE */
body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
}


/* =======================
   HERO
======================= */
.hero {
    position: relative;
    background: url('images/excavator.jpg') center/cover no-repeat;
    padding: 100px 20px;
    text-align: center;
}

/* DARK OVERLAY */
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
}

/* KEEP TEXT ABOVE OVERLAY */
.hero h1 {
    position: relative;
    z-index: 1;
    font-size: 2.8rem;
    font-weight: 800;
    color: white;
}

/* =======================
   LAYOUT
======================= */
.container {
    max-width: 1100px;
    margin: auto;
    padding: 40px 20px;
}

/* =======================
   CARD SYSTEM (KEY UPGRADE)
======================= */
.card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 24px;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.25);
}

/* =======================
   SECTIONS
======================= */
section {
    margin-bottom: 50px;
}

h2 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: #f97316;
    font-weight: 700;
}

/* =======================
   ABOUT TEXT
======================= */
.about p {
    margin-bottom: 14px;
    font-size: 1.05rem;
    color: black;
}

/* =======================
   SERVICES GRID
======================= */
.services ul {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 12px;
}

.services li {
    background: rgba(255, 255, 255, 0.05);
    padding: 14px;
    border-radius: 10px;
    border-left: 3px solid #f97316;
    font-size: 0.95rem;
    color: #e5e7eb;
}

/* =======================
   FORM (HIGH CONVERSION)
======================= */
form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

label {
    font-size: 0.9rem;
    color: #cbd5e1;
}

input,
textarea {
    padding: 14px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: #0f172a;
    color: #ffffff;
    font-size: 1rem;
    outline: none;
    transition: 0.2s;
}

input:focus,
textarea:focus {
    border-color: #f97316;
    box-shadow: 0 0 0 2px rgba(249, 115, 22, 0.2);
}

textarea {
    min-height: 120px;
    resize: vertical;
}

/* =======================
   BUTTON
======================= */
button {
    background: #f97316;
    color: white;
    padding: 14px;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: 0.2s ease;
}

button:hover {
    background: #ea580c;
    transform: translateY(-2px);
}

/* =======================
   MOBILE OPTIMIZATION
======================= */
@media (max-width: 600px) {
    .hero h1 {
        font-size: 2rem;
    }

    .container {
        padding: 20px 15px;
    }

    .card {
        padding: 18px;
    }
}

/* =======================
   HERO BUTTONS
======================= */
.hero-buttons {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 15px;
    position: relative;
    z-index: 1;
    flex-wrap: wrap;
}

.btn {
    text-decoration: none;
    background: #f97316;
    color: white;
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: 700;
    transition: 0.2s ease;
}

.btn:hover {
    background: #ea580c;
    transform: translateY(-2px);
}

/* SECOND BUTTON STYLE */
.btn-secondary {
    background: transparent;
    border: 2px solid #f97316;
}

.btn-secondary:hover {
    background: #f97316;
}

/* SMOOTH SCROLL */
html {
    scroll-behavior: smooth;
}


/* =======================
   SERVICE EXPAND (DESKTOP + MOBILE)
======================= */

/* =======================
   SERVICE EXPAND (FIXED)
======================= */

.services li {
    cursor: pointer;
    transition: 0.2s ease;
}

/* ONLY DESKTOP HOVER SYSTEM */
@media (hover: hover) {
    .services li:hover {
        transform: translateY(-2px);
        background: rgba(255, 255, 255, 0.08);
    }

    .services li:hover .desc {
        max-height: 60px;
    }
}

/* description hidden by default */
.services .desc {
    display: block;
    max-height: 0;
    overflow: hidden;
    font-size: 0.85rem;
    color: #cbd5e1;
    margin-top: 6px;
    transition: max-height 0.3s ease;
}

/* MOBILE ONLY (NO HOVER EXISTS HERE AT ALL) */
@media (hover: none) {
    .services li:hover {
        transform: none !important;
        background: rgba(255, 255, 255, 0.05) !important;
    }

    .services li.active .desc {
        max-height: 80px;
    }
}

footer {
    text-align: center;
    padding: 20px;
    margin: 20px;
    background: rgba(0, 0, 0, 0.5);
    color: #e5e7eb;
    font-size: 0.9rem;
}

.footer-buttons {
    display: flex;
    justify-content: center;
    gap: 12px; /* space between buttons */
    margin-top: 10px;
}