/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* GLOBAL */
body {
    font-family: Arial, sans-serif;
    background: #000;
    color: white;
}

section {
    padding: 60px 0;
}

.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

/* FLOATING WATERMARK LOGO */
.floating-logo {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 1200px;
    opacity: 0.40;
    pointer-events: none;
    z-index: 0;
}

/* HEADER */
header {
    background: transparent;
    padding: 0;
}

/* ========================= */
/*        NAVBAR             */
/* ========================= */

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 30px;
    background: rgba(25, 25, 25, 0.9);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-logo {
    width: 40px;
    height: 40px;
    opacity: 0.9;
}

.nav-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #fff;
}

.nav-links {
    display: flex;
    gap: 25px;
    list-style: none;
}

.nav-links a {
    color: #f1c40f;
    text-decoration: none;
    font-weight: 500;
    padding: 8px 14px;
    border-radius: 6px;
    transition: 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
    background: #f1c40f;
    color: #000;
}

/* MOBILE MENU */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #f1c40f;
    transition: 0.3s ease;
}

@media (max-width: 768px) {
    .nav-links {
        position: absolute;
        top: 70px;
        right: 0;
        background: rgba(25, 25, 25, 0.95);
        width: 200px;
        flex-direction: column;
        padding: 20px;
        gap: 15px;
        display: none;
        border-left: 1px solid rgba(255,255,255,0.05);
        border-bottom: 1px solid rgba(255,255,255,0.05);
    }

    .nav-links.open {
        display: flex;
    }

    .hamburger {
        display: flex;
    }
}

/* ========================= */
/*        HERO SECTION       */
/* ========================= */

.hero {
    background: url('../img/backhoe-hero.jpg') center/cover no-repeat;
    height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding: 20px;
    border-bottom: 4px solid #f1c40f;
}

.hero-content h1 {
    font-size: 60px;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px black;
}

.hero-content p {
    font-size: 18px;
    margin-bottom: 15px;
}

/* HERO BACKHOE IMAGE */
.hero-backhoe-img {
    width: 80%;
    max-width: 600px;
    margin: 20px auto 0;
    display: block;
    border: 3px solid #f1c40f;
    border-radius: 8px;
    box-shadow: 0 0 15px rgba(0,0,0,0.6);
}

/* CTA BUTTON */
.cta-btn {
    display: inline-block;
    margin-top: 15px;
    padding: 12px 25px;
    background: #f1c40f;
    color: #000;
    font-weight: bold;
    text-decoration: none;
    border-radius: 5px;
    border: 2px solid white;
    transition: 0.2s ease;
}

.cta-btn:hover {
    background: white;
    color: #000;
}

/* ========================= */
/*     SERVICES SECTION      */
/* ========================= */

.services-preview {
    padding: 40px;
    text-align: center;
}

.service-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 25px;
    margin-top: 25px;
}

.card {
    background: #111;
    padding: 25px;
    width: 260px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(255,255,255,0.1);
    border: 2px solid #f1c40f;
    transition: 0.3s ease;
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

/* ========================= */
/*     WHY CHOOSE US         */
/* ========================= */

.why-us {
    text-align: center;
}

.why-grid {
    margin-top: 25px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.why-item {
    background: #111;
    padding: 18px;
    border-radius: 6px;
    border: 2px solid #f1c40f;
    font-weight: bold;
}

/* ========================= */
/*     TESTIMONIALS          */
/* ========================= */

.testimonials {
    text-align: center;
}

.testimonial-cards {
    margin-top: 25px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
}

.testimonial {
    background: #111;
    padding: 20px;
    border-radius: 8px;
    border: 2px solid #f1c40f;
    font-style: italic;
}

.testimonial span {
    display: block;
    margin-top: 10px;
    font-weight: bold;
    color: #f1c40f;
}

/* ========================= */
/*     GALLERY PREVIEW       */
/* ========================= */

.gallery-preview {
    text-align: center;
}

.gallery-grid {
    margin-top: 25px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.gallery-box {
    background: #111;
    height: 150px;
    border: 2px solid #f1c40f;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border: 2px solid #f1c40f;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0,0,0,0.5);
    transition: 0.3s ease;
}

.gallery-img:hover {
    transform: scale(1.03);
    box-shadow: 0 0 15px rgba(0,0,0,0.7);
}

/* LIGHTBOX */
.lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    padding-top: 60px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background: rgba(0,0,0,0.9);
}

.lightbox-content {
    display: block;
    margin: auto;
    max-width: 60%;
    max-height: 60vh;
    border: 3px solid #f1c40f;
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(0,0,0,0.8);
    object-fit: contain; /* ensures no distortion */
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #f1c40f;
    font-size: 60px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
    z-index: 10000;
}

.lightbox-close:hover {
    color: #ffffff;
    text-shadow: 0 0 10px #f1c40f;
}

/* GALLERY PAGE */
.gallery-page {
    padding: 40px;
}

.gallery-page .gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.gallery-page .gallery-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.gallery-page .gallery-img:hover {
    transform: scale(1.03);
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

/* PAGE HEADER (Gallery Page) */
.page-header {
    text-align: center;
    margin-top: 40px;
    margin-bottom: 20px;
    padding: 0 20px;
}

.page-header h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.page-header p {
    font-size: 1.1rem;
    max-width: 650px;
    margin: 0 auto;
    opacity: 0.9;
}

/* ========================= */
/*     FINAL CTA SECTION     */
/* ========================= */

.final-cta {
    text-align: center;
    background: #111;
    padding: 60px 20px;
    border-top: 3px solid #f1c40f;
    border-bottom: 3px solid #f1c40f;
}

.final-cta h2 {
    font-size: 32px;
    margin-bottom: 10px;
}

/* ========================= */
/*     CONTACT SECTION       */
/* ========================= */

.contact-section {
    padding: 40px;
    text-align: center;
}

.contact-grid {
    margin-top: 25px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
}

.contact-card {
    background: #111;
    padding: 25px;
    border-radius: 8px;
    border: 2px solid #f1c40f;
}

.contact-card h3 {
    color: #f1c40f;
    margin-bottom: 10px;
}

.contact-card a {
    color: white;
    font-weight: bold;
    text-decoration: none;
}

/* MAP PLACEHOLDER */
.map-placeholder {
    width: 100%;
    height: 300px;
    background: #222;
    border: 2px solid #f1c40f;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ========================= */
/*     REQUEST FORM          */
/* ========================= */

.quote-section {
    padding: 60px 0;
    background: #111;
    border-top: 3px solid #f1c40f;
    border-bottom: 3px solid #f1c40f;
}

.quote-form {
    display: grid;
    gap: 20px;
    margin-top: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: bold;
    margin-bottom: 5px;
    color: #f1c40f;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px;
    border-radius: 5px;
    border: 2px solid #f1c40f;
    background: #000;
    color: white;
    font-size: 16px;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: white;
}

/* UPGRADED FORM LAYOUT */
.quote-form.upgraded {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.form-success {
    font-size: 18px;
    font-weight: bold;
}

/* ========================= */
/*     MEET THE OWNER        */
/* ========================= */

.meet-owner {
    background: #000;
    padding: 60px 0;
    border-top: 3px solid #f1c40f;
    border-bottom: 3px solid #f1c40f;
}

.owner-container {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 40px;
    align-items: center;
}

/* OWNER IMAGE — FORCE SMALL SIZE */
.owner-img {
    width: 220px;
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: 8px;
    border: 3px solid #f1c40f;
    box-shadow: 0 0 15px rgba(0,0,0,0.6);
}

/* BACKHOE IMAGE */
.backhoe-img {
    width: 100%;
    max-width: 450px;
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: 8px;
    border: 3px solid #f1c40f;
    box-shadow: 0 0 15px rgba(0,0,0,0.6);
}

.owner-info h3.owner-name {
    font-size: 26px;
    margin-bottom: 15px;
    color: #f1c40f;
}

.owner-info p {
    margin-bottom: 15px;
    line-height: 1.6;
}

/* MOBILE */
@media (max-width: 768px) {
    .owner-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .owner-img {
        width: 150px;
    }

    .backhoe-img {
        width: 80%;
        max-width: 300px;
    }
}

/* ========================= */
/*          FOOTER           */
/* ========================= */

footer {
    background: #000;
    color: #f1c40f;
    text-align: center;
    padding: 15px;
    border-top: 3px solid #f1c40f;
}