/* ============================================================
   CK's Need-A-Lift - Complete Professional Stylesheet
   ============================================================ */

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

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, Roboto, Oxygen, Ubuntu, sans-serif;
    background-color: #ffffff;
    color: #333333;
    line-height: 1.7;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

ul, ol {
    list-style: none;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
    color: #1a1a1a;
}

p {
    margin-bottom: 1rem;
}

p:last-child {
    margin-bottom: 0;
}

/* ---------- HEADER ---------- */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #000000;
    padding: 15px 5%;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.15);
}

.logo-container a {
    display: block;
    line-height: 0;
}

.logo-container img {
    height: 55px;
    width: auto;
}

/* ---------- DESKTOP NAVIGATION ---------- */
nav ul {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
}

nav ul li {
    list-style: none;
}

nav ul li a {
    display: block;
    padding: 12px 18px;
    color: #ffffff;
    font-weight: 500;
    font-size: 0.95rem;
    border-radius: 6px;
    transition: all 0.3s ease;
    text-decoration: none;
}

nav ul li a:hover {
    color: #00FF66;
    background: rgba(255, 255, 255, 0.08);
}

/* Last nav item = CTA button */
nav ul li:last-child a {
    background: #00FF66;
    color: #000000;
    font-weight: 600;
}

nav ul li:last-child a:hover {
    background: #00dd55;
    color: #000000;
}

/* ---------- HAMBURGER MENU ---------- */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    width: 32px;
    height: 32px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
    z-index: 1001;
}

.hamburger div {
    width: 100%;
    height: 3px;
    background-color: #ffffff;
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* ---------- BUTTONS ---------- */
.button {
    display: inline-block;
    background-color: #00FF66;
    color: #000000;
    padding: 16px 36px;
    font-size: 1.05rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 255, 102, 0.25);
    border: none;
    cursor: pointer;
    text-align: center;
}

.button:hover {
    background-color: #00dd55;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 255, 102, 0.35);
    color: #000000;
}

.button-dark {
    background-color: #1a1a1a;
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.button-dark:hover {
    background-color: #333333;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
    color: #ffffff;
}

/* ---------- HERO SECTION (Homepage) ---------- */
.hero {
    position: relative;
    width: 100%;
    height: 85vh;
    min-height: 500px;
    max-height: 850px;
    overflow: hidden;
}

.hero > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #ffffff;
    padding: 30px;
    width: 90%;
    max-width: 750px;
}

.hero-text h1 {
    font-size: 3.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 20px;
    text-shadow: 2px 2px 15px rgba(0, 0, 0, 0.5);
}

.hero-text h2 {
    font-size: 1.35rem;
    font-weight: 400;
    color: #ffffff;
    margin-bottom: 35px;
    text-shadow: 1px 1px 10px rgba(0, 0, 0, 0.5);
    line-height: 1.6;
}

.hero-text .button {
    margin-top: 10px;
}

/* ---------- PAGE HERO (Subpages) ---------- */
.page-hero {
    position: relative;
    width: 100%;
    height: 50vh;
    min-height: 300px;
    max-height: 450px;
    overflow: hidden;
}

.page-hero > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.page-hero .hero-text {
    max-width: 800px;
}

.page-hero .hero-text h1 {
    font-size: 2.8rem;
    margin-bottom: 15px;
}

.page-hero .hero-text p {
    font-size: 1.2rem;
    color: #ffffff;
    text-shadow: 1px 1px 10px rgba(0, 0, 0, 0.5);
    margin-bottom: 0;
}

/* ---------- GENERIC SECTIONS ---------- */
section {
    padding: 80px 5%;
    overflow: hidden;
}

.section-inner {
    max-width: 1100px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2.2rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #1a1a1a;
}

.section-header p {
    font-size: 1.1rem;
    color: #666666;
    max-width: 600px;
    margin: 0 auto;
}

/* ---------- ABOUT SECTION (Homepage) ---------- */
.about-section {
    background-color: #f8f9fa;
}

.about-section .section-inner {
    max-width: 800px;
    text-align: center;
}

.about-section h2 {
    font-size: 2.2rem;
    font-weight: 600;
    margin-bottom: 25px;
    color: #1a1a1a;
}

.about-section p {
    font-size: 1.1rem;
    color: #555555;
    line-height: 1.8;
    margin-bottom: 20px;
}

.about-section .button {
    margin-top: 25px;
}

/* ---------- SERVICES SECTION (Homepage) ---------- */
.services-section {
    background-color: #ffffff;
}

.service-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto 50px auto;
}

.service-card {
    background-color: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.12);
}

.service-card > img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.service-card-content {
    padding: 25px;
}

.service-card-content h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 12px;
}

.service-card-content p {
    font-size: 0.95rem;
    color: #666666;
    line-height: 1.6;
    margin-bottom: 0;
}

.services-section .section-inner > .button {
    display: block;
    width: fit-content;
    margin: 0 auto;
}

/* ---------- SERVICE AREA SECTION (Homepage) ---------- */
.service-area-section {
    background-color: #f8f9fa;
    text-align: center;
}

.service-area-section h2 {
    font-size: 2.2rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: #1a1a1a;
}

.service-area-section p {
    font-size: 1.15rem;
    color: #555555;
    margin-bottom: 35px;
}

/* ---------- CTA SECTION ---------- */
.cta-section {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 100%);
    text-align: center;
    padding: 80px 5%;
}

.cta-section h2 {
    font-size: 2.2rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 15px;
}

.cta-section p {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 35px;
}

.cta-section .button {
    margin-bottom: 0;
}

/* ---------- CONTENT SECTION (About, Services, Areas pages) ---------- */
.content-section {
    background-color: #f8f9fa;
    padding: 80px 5%;
}

.content-section .container {
    max-width: 850px;
    margin: 0 auto;
    background: #ffffff;
    padding: 50px;
    border-radius: 16px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.06);
}

.content-section h2 {
    font-size: 1.9rem;
    font-weight: 600;
    margin-bottom: 25px;
    color: #1a1a1a;
    padding-bottom: 15px;
    border-bottom: 3px solid #00FF66;
    display: inline-block;
}

.content-section h3 {
    font-size: 1.35rem;
    font-weight: 600;
    margin: 40px 0 20px 0;
    color: #333333;
}

.content-section p {
    font-size: 1.05rem;
    color: #444444;
    line-height: 1.85;
    margin-bottom: 20px;
}

.content-section ul {
    list-style: none;
    margin: 25px 0;
    padding: 0;
}

.content-section ul li {
    padding: 12px 0 12px 35px;
    position: relative;
    font-size: 1.05rem;
    color: #444444;
}

.content-section ul li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 12px;
    height: 12px;
    background: #00FF66;
    border-radius: 50%;
}

/* ---------- TRIBUTE BLOCK (About page) ---------- */
.tribute-block {
    background: linear-gradient(135deg, #f8f9fa 0%, #f0f2f5 100%);
    border-left: 5px solid #00FF66;
    padding: 40px 45px;
    margin: 50px 0 20px 0;
    border-radius: 0 16px 16px 0;
}

.tribute-block h2 {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 25px;
    display: block;
}

.tribute-block p:last-child {
    margin-bottom: 0;
}

/* ---------- SERVICE DETAIL (Services page) ---------- */
.service-detail-grid {
    display: flex;
    flex-direction: column;
    gap: 50px;
}

.service-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    padding: 30px 0;
    border-bottom: 1px solid #eee;
}

.service-detail:last-child {
    border-bottom: none;
}

.service-detail:nth-child(even) {
    direction: rtl;
}

.service-detail:nth-child(even) > * {
    direction: ltr;
}

.service-detail-image {
    width: 100%;
}

.service-detail-image img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.service-detail-content h3 {
    font-size: 1.6rem;
    font-weight: 600;
    margin-bottom: 18px;
    margin-top: 0;
    color: #1a1a1a;
}

.service-detail-content p {
    font-size: 1.05rem;
    color: #555555;
    line-height: 1.85;
    margin-bottom: 0;
}

/* ---------- VEHICLES GRID ---------- */
.vehicles-section {
    background-color: #f8f9fa;
}

.vehicles-section .container {
    max-width: 1100px;
    margin: 0 auto;
    background: transparent;
    padding: 0;
    box-shadow: none;
}

.vehicles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.vehicle-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 35px 25px;
    text-align: center;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.vehicle-card:hover {
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
}

.vehicle-card img {
    max-height: 140px;
    width: auto;
    max-width: 100%;
    margin: 0 auto 25px auto;
    object-fit: contain;
}

.vehicle-card h3 {
    font-size: 1.15rem;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0;
}

/* ---------- AREAS GRID ---------- */
.areas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin: 30px 0 40px 0;
}

.area-item {
    background: #f8f9fa;
    padding: 18px 22px;
    border-radius: 10px;
    font-weight: 500;
    font-size: 1rem;
    color: #333;
    display: flex;
    align-items: center;
    gap: 14px;
    transition: all 0.3s ease;
}

.area-item:hover {
    background: #f0f2f5;
}

.area-item::before {
    content: "✓";
    display: flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    min-width: 26px;
    background: #00FF66;
    color: #000000;
    border-radius: 50%;
    font-size: 0.85rem;
    font-weight: 700;
}

/* ---------- FOOTER ---------- */
footer {
    background-color: #000000;
    color: #ffffff;
    padding: 70px 5% 40px 5%;
}

.footer-inner {
    max-width: 1100px;
    margin: 0 auto;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 50px;
    margin-bottom: 50px;
}

.footer-section h4 {
    font-size: 1.15rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 25px;
    position: relative;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 0;
}

.footer-section ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-section ul li {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-section ul li::before {
    display: none;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    text-decoration: none;
    display: block;
    padding: 8px 0;
    transition: all 0.3s ease;
}

.footer-section ul li a:hover {
    color: #00FF66;
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
    margin: 0;
}

/* ============================================================
   RESPONSIVE DESIGN
   ============================================================ */

/* ---------- TABLET (max 992px) ---------- */
@media (max-width: 992px) {
    .service-cards {
        grid-template-columns: repeat(2, 1fr);
        max-width: 700px;
    }

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

    .service-detail {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .service-detail:nth-child(even) {
        direction: ltr;
    }

    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
}

/* ---------- MOBILE (max 768px) ---------- */
@media (max-width: 768px) {
    /* Header */
    header {
        padding: 12px 5%;
    }

    .logo-container img {
        height: 45px;
    }

    /* Hide desktop nav, show hamburger */
    nav ul {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: #000000;
        padding: 15px 5%;
        gap: 0;
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    }

    nav ul.active {
        display: flex;
    }

    nav ul li {
        width: 100%;
    }

    nav ul li a {
        padding: 16px 20px;
        border-radius: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        font-size: 1rem;
    }

    nav ul li a:hover {
        background: rgba(255, 255, 255, 0.05);
    }

    nav ul li:last-child a {
        margin: 15px 0;
        border-radius: 8px;
        text-align: center;
        border-bottom: none;
    }

    .hamburger {
        display: flex;
    }

    /* Hero */
    .hero {
        height: 75vh;
        min-height: 450px;
    }

    .hero-text {
        padding: 20px;
        width: 95%;
    }

    .hero-text h1 {
        font-size: 2.4rem;
        margin-bottom: 15px;
    }

    .hero-text h2 {
        font-size: 1.1rem;
        margin-bottom: 30px;
    }

    .page-hero {
        height: 40vh;
        min-height: 280px;
    }

    .page-hero .hero-text h1 {
        font-size: 2rem;
    }

    .page-hero .hero-text p {
        font-size: 1rem;
    }

    /* Sections */
    section {
        padding: 60px 5%;
    }

    .section-header {
        margin-bottom: 40px;
    }

    .section-header h2,
    .about-section h2,
    .service-area-section h2,
    .cta-section h2 {
        font-size: 1.85rem;
    }

    .section-header p,
    .about-section p,
    .service-area-section p,
    .cta-section p {
        font-size: 1rem;
    }

    /* Service Cards */
    .service-cards {
        grid-template-columns: 1fr;
        max-width: 400px;
        gap: 25px;
        margin-bottom: 40px;
    }

    .service-card > img {
        height: 200px;
    }

    /* Service Detail */
    .service-detail-image img {
        height: 220px;
    }

    .service-detail-content h3 {
        font-size: 1.4rem;
    }

    /* Vehicles */
    .vehicles-grid {
        grid-template-columns: 1fr;
        max-width: 350px;
        margin: 40px auto 0 auto;
    }

    /* Areas */
    .areas-grid {
        grid-template-columns: 1fr;
    }

    /* Content Section */
    .content-section {
        padding: 50px 4%;
    }

    .content-section .container {
        padding: 35px 25px;
    }

    .content-section h2 {
        font-size: 1.5rem;
    }

    .content-section h3 {
        font-size: 1.2rem;
        margin: 30px 0 15px 0;
    }

    .tribute-block {
        padding: 30px 25px;
        margin: 40px 0 15px 0;
    }

    /* Buttons */
    .button {
        padding: 15px 32px;
        font-size: 1rem;
    }

    /* CTA Section */
    .cta-section {
        padding: 60px 5%;
    }

    /* Footer */
    footer {
        padding: 50px 5% 35px 5%;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 35px;
        text-align: center;
        margin-bottom: 40px;
    }

    .footer-section ul li a {
        padding: 10px 0;
    }

    .footer-section ul li a:hover {
        padding-left: 0;
    }
}

/* ---------- SMALL MOBILE (max 480px) ---------- */
@media (max-width: 480px) {
    .hero-text h1 {
        font-size: 2rem;
    }

    .hero-text h2 {
        font-size: 1rem;
    }

    .page-hero .hero-text h1 {
        font-size: 1.7rem;
    }

    .section-header h2,
    .about-section h2,
    .service-area-section h2,
    .cta-section h2 {
        font-size: 1.6rem;
    }

    .content-section h2 {
        font-size: 1.35rem;
    }

    .button {
        padding: 14px 28px;
        font-size: 0.95rem;
        width: 100%;
        max-width: 280px;
    }

    .service-cards {
        max-width: 100%;
    }

    .vehicles-grid {
        max-width: 100%;
    }
}
