/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --dark-green: #1B4332;
    --forest-green: #2D6A4F;
    --bright-green: #52B788;
    --cream: #FAF3E0;
    --white: #FFFFFF;
    --dark-text: #1A1A1A;
    --red: #C41E2A;
    --danger: #E63946;
    --shadow: 0 4px 20px rgba(0,0,0,0.15);
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.1);
}

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
    font-family: 'Open Sans', sans-serif;
    color: var(--dark-text);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: 'Oswald', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    line-height: 1.2;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }

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

.hidden { display: none !important; }

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: 4px;
    font-family: 'Oswald', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn-cta {
    background: var(--red);
    color: var(--white);
}
.btn-cta:hover {
    background: #a3171f;
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.btn-outline {
    border-color: var(--white);
    color: var(--white);
    background: transparent;
}
.btn-outline:hover {
    background: var(--white);
    color: var(--dark-green);
}

.btn-outline-dark {
    border-color: var(--dark-green);
    color: var(--dark-green);
    background: transparent;
}
.btn-outline-dark:hover {
    background: var(--dark-green);
    color: var(--white);
}

.btn-lg { padding: 16px 36px; font-size: 1.1rem; }
.btn-full { width: 100%; }

/* ===== HEADER ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--dark-green);
    padding: 8px 0;
    transition: box-shadow 0.3s;
}

.header.scrolled { box-shadow: 0 4px 20px rgba(0,0,0,0.3); }

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--white);
    flex-shrink: 0;
}

.logo-img {
    height: 55px;
    width: auto;
    object-fit: contain;
}

.footer-logo-img {
    height: 50px;
    width: auto;
    max-width: 280px;
    object-fit: contain;
}

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

.nav a {
    color: var(--white);
    font-family: 'Oswald', sans-serif;
    font-weight: 400;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s;
    white-space: nowrap;
}

.nav a:hover { color: var(--red); }

.header-cta { white-space: nowrap; }

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    z-index: 1001;
}

.hamburger span {
    width: 28px;
    height: 3px;
    background: var(--white);
    border-radius: 2px;
    transition: all 0.3s;
}

.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(6px, 6px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(6px, -6px); }

/* Mobile call button */
.mobile-call-btn {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 999;
    background: var(--red);
    color: var(--white);
    padding: 16px;
    text-align: center;
    font-family: 'Oswald', sans-serif;
    font-weight: 600;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

/* ===== HERO ===== */
.hero {
    position: relative;
    display: flex;
    align-items: center;
    background: url('../images/crane-service.jpg') center/cover no-repeat;
    padding: 120px 20px 60px;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(27,67,50,0.88) 0%, rgba(27,67,50,0.75) 100%);
}

.hero > .container {
    position: relative;
    z-index: 1;
    width: 100%;
}

.hero-content {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 40px;
    align-items: center;
}

.hero-text { text-align: left; }

.hero h1 {
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    color: var(--white);
    margin-bottom: 12px;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.3);
}

.hero-badges {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 24px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--white);
    font-family: 'Open Sans', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
}

/* Hero Form */
.hero-form {
    background: var(--white);
    border-radius: 8px;
    padding: 28px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}

.hero-form h3 {
    font-size: 1.3rem;
    color: var(--dark-green);
    margin-bottom: 16px;
    text-align: center;
}

.hero-form input,
.hero-form select,
.hero-form textarea {
    display: block;
    width: 100%;
    padding: 12px 14px;
    border: 2px solid #e0e0e0;
    border-radius: 4px;
    font-family: 'Open Sans', sans-serif;
    font-size: 0.95rem;
    margin-bottom: 10px;
    transition: border-color 0.3s;
    color: var(--dark-text);
    background: var(--white);
    box-sizing: border-box;
}

.hero-form input:focus,
.hero-form select:focus,
.hero-form textarea:focus {
    outline: none;
    border-color: var(--bright-green);
}

.hero-form select { cursor: pointer; }

.hero-form .btn { margin-top: 4px; }

.hero-form-status {
    margin-top: 8px;
    text-align: center;
    font-weight: 600;
    font-size: 0.9rem;
}

.hero-sub {
    font-size: 1.3rem;
    color: var(--white);
    background: rgba(0,0,0,0.3);
    display: inline-block;
    padding: 8px 24px;
    border-radius: 4px;
    font-family: 'Oswald', sans-serif;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 32px;
}

.hero-btns {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* ===== SECTIONS ===== */
.section { padding: 80px 0; }
.section-cream { background: var(--cream); }
.section-dark { background: var(--dark-green); }

.section-title {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    text-align: center;
    margin-bottom: 48px;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--red);
    margin: 16px auto 0;
    border-radius: 2px;
}

.section-title.light { color: var(--white); }

/* ===== ABOUT ===== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.about-text h2 {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    margin-bottom: 24px;
    color: var(--dark-green);
}

.about-text h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--red);
    margin-top: 16px;
    border-radius: 2px;
}

.about-text p {
    margin-bottom: 16px;
    font-size: 1.05rem;
    color: #444;
}

.about-img img {
    border-radius: 8px;
    box-shadow: var(--shadow);
}

/* ===== SERVICES ===== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.service-card {
    background: var(--white);
    border-radius: 8px;
    padding: 32px 24px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s, box-shadow 0.3s;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow);
}

.service-icon { margin-bottom: 16px; }

.service-card h3 {
    font-size: 1.2rem;
    color: var(--dark-green);
    margin-bottom: 12px;
}

.service-card p {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.5;
}

/* ===== GALLERY ===== */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 48px;
}

.gallery-item {
    overflow: hidden;
    border-radius: 8px;
    cursor: pointer;
    aspect-ratio: 4/3;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.gallery-item:hover img { transform: scale(1.08); }

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

.gallery-video h3 {
    font-size: 1.5rem;
    color: var(--dark-green);
    margin-bottom: 24px;
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    max-width: 800px;
    margin: 0 auto;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.video-wrapper iframe {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
}

/* ===== LIGHTBOX ===== */
.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(0,0,0,0.92);
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.lightbox.active { display: flex; }

.lightbox-img {
    max-width: 90vw;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 4px;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
    position: absolute;
    background: none;
    border: none;
    color: var(--white);
    font-size: 2.5rem;
    cursor: pointer;
    padding: 12px;
    transition: color 0.3s;
    z-index: 2001;
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover { color: var(--bright-green); }

.lightbox-close { top: 20px; right: 24px; font-size: 3rem; }
.lightbox-prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 20px; top: 50%; transform: translateY(-50%); }

/* ===== TESTIMONIALS ===== */
.testimonial-carousel { position: relative; max-width: 800px; margin: 0 auto; }

.testimonial {
    display: none;
    text-align: center;
    padding: 40px 20px;
}

.testimonial.active { display: block; }

.stars {
    color: #F4A523;
    font-size: 1.6rem;
    margin-bottom: 12px;
    letter-spacing: 4px;
}

.testimonial h3 {
    font-size: 1.4rem;
    color: var(--dark-green);
    margin-bottom: 16px;
}

.testimonial p {
    font-size: 1.05rem;
    color: #444;
    font-style: italic;
    line-height: 1.7;
    margin-bottom: 20px;
}

.testimonial-author {
    font-family: 'Oswald', sans-serif;
    font-weight: 600;
    color: var(--forest-green);
    font-size: 1.1rem;
}

.testimonial-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 24px;
}

.testimonial-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ccc;
    border: none;
    cursor: pointer;
    transition: background 0.3s;
}

.testimonial-dot.active { background: var(--bright-green); }

/* ===== BLOG ===== */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.blog-card {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s, box-shadow 0.3s;
}

.blog-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow);
}

.blog-card-img {
    aspect-ratio: 16/9;
    overflow: hidden;
}

.blog-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}

.blog-card:hover .blog-card-img img { transform: scale(1.05); }

.blog-card-body { padding: 20px; }

.blog-date {
    font-size: 0.85rem;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.blog-card-body h3 {
    font-size: 1.1rem;
    color: var(--dark-green);
    margin: 8px 0 12px;
    text-transform: none;
}

.blog-card-body p {
    font-size: 0.9rem;
    color: #555;
    line-height: 1.5;
}

.blog-more {
    text-align: center;
    margin-top: 36px;
}

/* ===== SERVICE AREA ===== */
.service-area-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    max-width: 900px;
    margin: 0 auto;
}

.area-tag {
    background: var(--dark-green);
    color: var(--white);
    padding: 10px 20px;
    border-radius: 30px;
    font-family: 'Oswald', sans-serif;
    font-weight: 400;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ===== FAQ ===== */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid #ddd;
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    background: none;
    border: none;
    cursor: pointer;
    font-family: 'Oswald', sans-serif;
    font-weight: 600;
    font-size: 1.15rem;
    color: var(--dark-green);
    text-align: left;
    text-transform: none;
}

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--red);
    flex-shrink: 0;
    margin-left: 16px;
    transition: transform 0.3s;
}

.faq-item.active .faq-question::after {
    content: '-';
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 200px;
}

.faq-answer p {
    padding: 0 0 20px;
    color: #555;
    line-height: 1.7;
}

.faq-answer a {
    color: var(--red);
    font-weight: 600;
}

/* ===== CONTACT ===== */
.contact-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 48px;
    align-items: start;
}

.contact-form-wrap .section-title { text-align: left; }
.contact-form-wrap .section-title::after { margin-left: 0; }

.form-group { margin-bottom: 20px; }

.form-group label {
    display: block;
    font-family: 'Oswald', sans-serif;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid rgba(255,255,255,0.15);
    border-radius: 4px;
    background: rgba(255,255,255,0.08);
    color: var(--white);
    font-family: 'Open Sans', sans-serif;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(255,255,255,0.4); }

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--bright-green);
    background: rgba(255,255,255,0.12);
}

.form-status {
    margin-top: 12px;
    color: var(--bright-green);
    font-weight: 600;
    text-align: center;
}

.contact-info {
    padding-top: 60px;
}

.contact-info h3 {
    color: var(--white);
    font-size: 1.5rem;
    margin-bottom: 32px;
}

.contact-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    margin-bottom: 28px;
}

.contact-item div { color: var(--white); }

.contact-item strong {
    display: block;
    font-family: 'Oswald', sans-serif;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 4px;
    color: rgba(255,255,255,0.7);
}

.contact-item a {
    color: var(--bright-green);
    font-size: 1.1rem;
    font-weight: 600;
    transition: color 0.3s;
}

.contact-item a:hover { color: var(--white); }

.contact-item p {
    color: rgba(255,255,255,0.9);
    font-size: 1rem;
}

/* ===== FOOTER ===== */
.footer {
    background: #142e24;
    padding: 40px 0 24px;
    text-align: center;
}

.footer-inner { display: flex; flex-direction: column; align-items: center; gap: 16px; }

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-logo .logo-name {
    font-family: 'Oswald', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--white);
    letter-spacing: 2px;
}

.footer-links {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-links a,
.footer-links span {
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
    transition: color 0.3s;
}

.footer-links a:hover { color: var(--bright-green); }

.footer-copy {
    color: rgba(255,255,255,0.4);
    font-size: 0.8rem;
    margin-top: 8px;
}

/* ===== BLOG PAGES ===== */
.blog-header {
    background: var(--dark-green);
    padding: 120px 20px 60px;
    text-align: center;
}

.blog-header h1 {
    color: var(--white);
    font-size: clamp(2rem, 4vw, 3rem);
}

.blog-header p {
    color: var(--bright-green);
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 12px;
}

.blog-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 60px 20px;
}

.blog-content h2 {
    font-size: 1.5rem;
    color: var(--dark-green);
    margin: 36px 0 16px;
    text-transform: none;
}

.blog-content p {
    margin-bottom: 16px;
    font-size: 1.05rem;
    color: #444;
    line-height: 1.8;
}

.blog-content ul,
.blog-content ol {
    margin: 0 0 16px 20px;
    color: #444;
    line-height: 1.8;
}

.blog-content li { margin-bottom: 8px; }

.blog-cta {
    background: var(--cream);
    border-radius: 8px;
    padding: 32px;
    text-align: center;
    margin: 40px 0;
}

.blog-cta h3 {
    color: var(--dark-green);
    margin-bottom: 12px;
}

.blog-cta p { color: #444; margin-bottom: 20px; }

.blog-listing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
}

.blog-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--forest-green);
    font-family: 'Oswald', sans-serif;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 32px;
    transition: color 0.3s;
}

.blog-back:hover { color: var(--bright-green); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .hero-content { grid-template-columns: 1fr; max-width: 550px; margin: 0 auto; }
    .hero-text { text-align: center; }
    .hero-badges { align-items: center; }
    .hero-btns { justify-content: center; }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
    .blog-grid { grid-template-columns: repeat(2, 1fr); }
    .blog-listing-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .nav {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: var(--dark-green);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 32px;
        z-index: 1000;
    }

    .nav.active { display: flex; }

    .nav a { font-size: 1.4rem; }

    .hamburger { display: flex; }
    .header-cta { display: none; }

    .mobile-call-btn { display: flex; }

    body { padding-bottom: 56px; }

    .hero { min-height: 80vh; }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .about-img { order: -1; }

    .services-grid { grid-template-columns: 1fr; }

    .gallery-grid { grid-template-columns: repeat(2, 1fr); }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-info { padding-top: 0; }

    .blog-grid { grid-template-columns: 1fr; }
    .blog-listing-grid { grid-template-columns: 1fr; }

    .section { padding: 60px 0; }
}

@media (max-width: 480px) {
    .gallery-grid { grid-template-columns: 1fr; }
    .logo-name { font-size: 1rem; }
}
