/* style.css - PowerLane LLC - Modern Mobile Semi-Truck Repair Website */

:root {
    --primary: #0f766e;
    /* teal */
    --primary-dark: #0d5c57;
    --accent: #10b981;
    /* emerald green for CTAs */
    --dark: #111827;
    --gray: #4b5563;
    --light: #f9fafb;
    --white: #ffffff;
}

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

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    color: var(--dark);
    background-color: var(--light);
    line-height: 1.6;
}

/* Google Fonts import is in HTML head */

header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(17, 24, 39, 0.96);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transition: background 0.3s;
}

.navbar {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1.2rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    color: var(--white);
    font-size: 1.6rem;
    font-weight: 700;
    font-family: 'Playfair Display', serif;
    letter-spacing: 0.5px;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
}

.nav-links a {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.25s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--accent);
}

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

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

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--dark);
        flex-direction: column;
        padding: 1.5rem;
        text-align: center;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    }

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

    .hamburger {
        display: flex;
    }

    .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);
    }
}

main {
    padding-top: 80px;
    /* space for fixed header */
}

.hero {
    height: 100vh;
    min-height: 680px;
    background: linear-gradient(rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.45)),
        url('images/background.jpg') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-align: center;
    padding: 0 1.5rem;
}

.hero-box {
    max-width: 900px;
}

.hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.8rem, 7vw, 5rem);
    margin-bottom: 1.2rem;
    line-height: 1.1;
}

.hero p {
    font-size: clamp(1.2rem, 4vw, 1.6rem);
    margin-bottom: 2.5rem;
    opacity: 0.95;
}

.btn {
    display: inline-block;
    background: var(--accent);
    color: var(--white);
    font-size: 1.15rem;
    font-weight: 600;
    padding: 1rem 2.2rem;
    border-radius: 50px;
    text-decoration: none;
    box-shadow: 0 10px 25px rgba(16, 185, 129, 0.3);
    transition: all 0.3s ease;
}

.btn:hover {
    background: #059669;
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(16, 185, 129, 0.4);
}

/* Section styling */
.section {
    padding: 6rem 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    margin-bottom: 3rem;
    color: var(--primary);
}

/* Cards / Grid */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
}

.card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

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

.card-content {
    padding: 1.8rem;
}

.card h3 {
    font-size: 1.4rem;
    color: var(--primary);
    margin-bottom: 0.8rem;
}

.card p {
    color: var(--gray);
    font-size: 1.05rem;
}

/* Contact */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    max-width: 1100px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

.info-box,
.form-box {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.info-box h3 {
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.info-box p {
    margin: 1rem 0;
    font-size: 1.1rem;
}

form {
    display: flex;
    flex-direction: column;
    gap: 1.3rem;
}

input,
textarea {
    padding: 1rem;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 1rem;
}

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

.map {
    margin-top: 4rem;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Stats */
.stats {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    margin: 4rem 0;
}

.stat {
    background: var(--white);
    padding: 2.5rem 3.5rem;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    text-align: center;
    min-width: 220px;
}

.stat h2 {
    font-size: 3.2rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

/* Footer */
footer {
    background: var(--dark);
    color: #9ca3af;
    text-align: center;
    padding: 3rem 1rem;
    margin-top: 4rem;
}

footer a {
    color: var(--accent);
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

/* Responsive adjustments */
@media (max-width: 640px) {
    .hero {
        min-height: 80vh;
    }

    .hero h1 {
        font-size: 2.8rem;
    }
}