/* ============================================
   Garage Door Repair La Habra — Stylesheet
   Charcoal + Coral | Playfair Display + Inter
   ============================================ */

/* --- Reset & Base --- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 1rem;
    line-height: 1.65;
    color: #2D2D2D;
    background-color: #FAFAF8;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

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

a {
    color: inherit;
    text-decoration: none;
}

ul, ol {
    list-style: none;
}

/* --- Typography --- */
h1, h2, h3, h4 {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 700;
    line-height: 1.15;
    color: #1A1A1A;
}

h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); }

p {
    color: #4A4A4A;
}

/* --- Skip Link --- */
.skip-link {
    position: absolute;
    top: -100%;
    left: 1rem;
    background: #E07A5F;
    color: #fff;
    padding: 0.75rem 1.5rem;
    z-index: 1000;
    font-weight: 600;
    border-radius: 0 0 8px 8px;
}
.skip-link:focus {
    top: 0;
}

/* --- Container --- */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 0.9375rem;
    padding: 0.875rem 1.75rem;
    border-radius: 6px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.25s ease;
    white-space: nowrap;
}

.btn-primary {
    background: #E07A5F;
    color: #fff;
    border-color: #E07A5F;
}
.btn-primary:hover,
.btn-primary:focus {
    background: #C96A52;
    border-color: #C96A52;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(224, 122, 95, 0.35);
}

.btn-secondary {
    background: transparent;
    color: #fff;
    border-color: rgba(255,255,255,0.5);
}
.btn-secondary:hover,
.btn-secondary:focus {
    background: rgba(255,255,255,0.12);
    border-color: #fff;
}

.btn-outline-light {
    background: transparent;
    color: #1A1A1A;
    border-color: #1A1A1A;
}
.btn-outline-light:hover,
.btn-outline-light:focus {
    background: #1A1A1A;
    color: #fff;
    transform: translateY(-2px);
}

.btn-lg {
    padding: 1.125rem 2.25rem;
    font-size: 1.0625rem;
    border-radius: 8px;
}

.btn-full {
    width: 100%;
    justify-content: center;
}

/* --- Section Headers --- */
.section-eyebrow {
    font-family: 'Inter', sans-serif;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #E07A5F;
    margin-bottom: 1rem;
}

.section-title {
    margin-bottom: 1rem;
}

.section-sub {
    font-size: 1.125rem;
    color: #5A5A5A;
    max-width: 560px;
    line-height: 1.7;
}

.section-header--centered {
    text-align: center;
}
.section-header--centered .section-sub {
    margin: 0 auto;
}

/* ============================================
   HEADER
   ============================================ */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255,255,255,0.06);
    transition: background 0.3s ease;
}

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

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-mark {
    width: 36px;
    height: 36px;
    background: #E07A5F;
    border-radius: 6px;
    position: relative;
    flex-shrink: 0;
}
.logo-mark::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255,255,255,0.9);
    border-radius: 2px;
}
.logo-mark::after {
    content: '';
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 14px;
    background: rgba(255,255,255,0.9);
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}
.logo-line1 {
    font-family: 'Inter', sans-serif;
    font-size: 0.6875rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.6);
}
.logo-line2 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.125rem;
    font-weight: 700;
    color: #fff;
}

/* Nav */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.nav-menu li a {
    font-size: 0.875rem;
    font-weight: 500;
    color: rgba(255,255,255,0.75);
    padding: 0.5rem 1rem;
    border-radius: 6px;
    transition: color 0.2s, background 0.2s;
}
.nav-menu li a:hover {
    color: #fff;
    background: rgba(255,255,255,0.08);
}

.nav-phone {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: #E07A5F !important;
    font-weight: 600 !important;
    margin-left: 0.75rem;
    background: rgba(224, 122, 95, 0.12) !important;
    border: 1px solid rgba(224, 122, 95, 0.3) !important;
}
.nav-phone:hover {
    background: rgba(224, 122, 95, 0.2) !important;
    color: #E07A5F !important;
}

/* Mobile Nav Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 110;
}
.nav-toggle-bar {
    display: block;
    width: 24px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) {
    opacity: 0;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ============================================
   HERO
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: #1A1A1A;
    overflow: hidden;
    padding-top: 72px;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.35;
}

.hero-scrim {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(26, 26, 26, 0.7) 0%,
        rgba(26, 26, 26, 0.5) 50%,
        rgba(26, 26, 26, 0.85) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 1;
    padding: 4rem 1.5rem;
}

.hero-inner {
    max-width: 720px;
}

.hero-eyebrow {
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #E07A5F;
    margin-bottom: 1.5rem;
}

.hero-headline {
    color: #fff;
    margin-bottom: 1.5rem;
    line-height: 1.08;
}

.hero-headline .accent {
    color: #E07A5F;
    font-style: italic;
}

.hero-sub {
    font-size: clamp(1.0625rem, 1.5vw, 1.25rem);
    color: rgba(255,255,255,0.75);
    line-height: 1.75;
    margin-bottom: 2.5rem;
    max-width: 560px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 3rem;
}

.hero-trust {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
}

.trust-item {
    font-size: 0.875rem;
    font-weight: 500;
    color: rgba(255,255,255,0.65);
}

.trust-dot {
    color: rgba(255,255,255,0.3);
    font-size: 0.75rem;
}

.scroll-indicator {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    color: rgba(255,255,255,0.4);
    animation: scrollBounce 2s ease-in-out infinite;
}
@keyframes scrollBounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(8px); }
}

/* ============================================
   SERVICES
   ============================================ */
.services {
    padding: 7rem 0;
    background: #FAFAF8;
}

.services .section-header {
    margin-bottom: 4rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.service-card {
    background: #fff;
    border-radius: 12px;
    padding: 2.25rem;
    border: 1px solid rgba(0,0,0,0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.08);
}

.service-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(224, 122, 95, 0.1);
    border-radius: 12px;
    margin-bottom: 1.5rem;
    color: #E07A5F;
}

.service-name {
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
}

.service-desc {
    font-size: 0.9375rem;
    color: #5A5A5A;
    line-height: 1.7;
}

/* ============================================
   WHY US
   ============================================ */
.why {
    padding: 7rem 0;
    background: #1A1A1A;
    color: #fff;
}

.why-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.why-image {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
}

.why-img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 16px;
}

.why-stat {
    position: absolute;
    bottom: 1.5rem;
    left: 1.5rem;
    background: #E07A5F;
    color: #fff;
    padding: 1.25rem 1.75rem;
    border-radius: 12px;
}

.stat-number {
    display: block;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 2.25rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.8125rem;
    font-weight: 500;
    opacity: 0.9;
}

.why-content .section-title {
    color: #fff;
}

.why-intro {
    font-size: 1.0625rem;
    color: rgba(255,255,255,0.7);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.why-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.why-list li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    font-size: 0.9375rem;
    color: rgba(255,255,255,0.85);
    line-height: 1.6;
}

.why-check {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(224, 122, 95, 0.2);
    border-radius: 50%;
    color: #E07A5F;
    margin-top: 2px;
}

.why-cta .btn-primary {
    background: #E07A5F;
    border-color: #E07A5F;
}

/* ============================================
   PROCESS
   ============================================ */
.process {
    padding: 7rem 0;
    background: #F3F1EE;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 4rem;
}

.process-step {
    text-align: center;
    padding: 2rem;
}

.step-number {
    display: inline-block;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 3.5rem;
    font-weight: 700;
    color: rgba(224, 122, 95, 0.18);
    line-height: 1;
    margin-bottom: 1rem;
}

.step-title {
    font-size: 1.375rem;
    margin-bottom: 0.75rem;
}

.step-desc {
    font-size: 0.9375rem;
    color: #5A5A5A;
    line-height: 1.75;
    max-width: 300px;
    margin: 0 auto;
}
.step-desc a {
    color: #E07A5F;
    font-weight: 600;
}
.step-desc a:hover {
    text-decoration: underline;
}

/* ============================================
   AREAS
   ============================================ */
.areas {
    padding: 7rem 0;
    background: #FAFAF8;
}

.areas-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.areas-content .section-title {
    margin-bottom: 1.25rem;
}

.areas-intro {
    font-size: 1.0625rem;
    color: #5A5A5A;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.areas-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem 2rem;
    margin-bottom: 2rem;
}

.areas-list li {
    font-size: 0.9375rem;
    color: #4A4A4A;
    padding: 0.375rem 0;
    display: flex;
    align-items: center;
    gap: 0.625rem;
}
.areas-list li::before {
    content: '';
    width: 6px;
    height: 6px;
    background: #E07A5F;
    border-radius: 50%;
    flex-shrink: 0;
}

.areas-note {
    font-size: 0.9375rem;
    color: #5A5A5A;
}
.areas-note a {
    color: #E07A5F;
    font-weight: 600;
}
.areas-note a:hover {
    text-decoration: underline;
}

.areas-map {
    position: sticky;
    top: 100px;
}

.map-placeholder {
    background: #fff;
    border-radius: 16px;
    padding: 3rem;
    text-align: center;
    border: 1px solid rgba(0,0,0,0.06);
    color: #1A1A1A;
}

.map-placeholder svg {
    color: #E07A5F;
    margin: 0 auto 1rem;
}

.map-placeholder p {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.map-note {
    font-family: 'Inter', sans-serif;
    font-size: 0.875rem;
    color: #7A7A7A;
}

/* ============================================
   CTA BANNER
   ============================================ */
.cta-banner {
    padding: 6rem 0;
    background: #1A1A1A;
    text-align: center;
}

.cta-title {
    color: #fff;
    font-size: clamp(2rem, 4vw, 3.25rem);
    margin-bottom: 1.25rem;
    line-height: 1.15;
}

.cta-sub {
    font-size: 1.125rem;
    color: rgba(255,255,255,0.65);
    max-width: 560px;
    margin: 0 auto 2.5rem;
    line-height: 1.75;
}

.cta-actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
}

/* ============================================
   CONTACT
   ============================================ */
.contact {
    padding: 7rem 0;
    background: #FAFAF8;
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-intro {
    font-size: 1.0625rem;
    color: #5A5A5A;
    line-height: 1.8;
    margin-bottom: 2.5rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
}

.contact-item {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 1rem;
}

.contact-label {
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #7A7A7A;
    padding-top: 0.25rem;
}

.contact-item dd {
    font-size: 1.0625rem;
    color: #2D2D2D;
    font-weight: 500;
}

.contact-item dd a {
    color: #E07A5F;
    font-weight: 600;
}
.contact-item dd a:hover {
    text-decoration: underline;
}

.contact-hours-note {
    display: block;
    font-size: 0.875rem;
    font-weight: 400;
    color: #7A7A7A;
    margin-top: 0.25rem;
}

/* Form */
.contact-form-wrap {
    background: #fff;
    border-radius: 16px;
    padding: 2.5rem;
    border: 1px solid rgba(0,0,0,0.06);
    box-shadow: 0 8px 40px rgba(0,0,0,0.04);
}

.form-title {
    font-size: 1.5rem;
    margin-bottom: 1.75rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: #4A4A4A;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    font-family: 'Inter', sans-serif;
    font-size: 0.9375rem;
    color: #1A1A1A;
    background: #FAFAF8;
    border: 1.5px solid #E8E6E3;
    border-radius: 8px;
    transition: border-color 0.2s, box-shadow 0.2s;
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #E07A5F;
    box-shadow: 0 0 0 3px rgba(224, 122, 95, 0.12);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #A0A0A0;
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-privacy {
    font-size: 0.8125rem;
    color: #9A9A9A;
    text-align: center;
    margin-top: 1rem;
}

/* Success State */
.form-success {
    text-align: center;
    padding: 2rem;
}

.form-success.hidden {
    display: none;
}

.success-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 1.5rem;
    background: rgba(224, 122, 95, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #E07A5F;
}

.success-title {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

.form-success p {
    color: #5A5A5A;
    line-height: 1.75;
}
.form-success a {
    color: #E07A5F;
    font-weight: 600;
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
    background: #1A1A1A;
    padding: 3rem 0 2rem;
    color: rgba(255,255,255,0.6);
}

.footer-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.5rem;
}

.footer-brand {
    max-width: 480px;
}

.footer-logo {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
    display: block;
    margin-bottom: 0.5rem;
}

.footer-tagline {
    font-size: 0.875rem;
    line-height: 1.7;
    color: rgba(255,255,255,0.5);
}

.footer-links {
    display: flex;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-phone {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #E07A5F;
    font-weight: 600;
    font-size: 1rem;
}
.footer-phone:hover {
    color: #C96A52;
}

.footer-address {
    font-size: 0.875rem;
    color: rgba(255,255,255,0.5);
}

.footer-bottom {
    font-size: 0.8125rem;
    color: rgba(255,255,255,0.35);
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.08);
    width: 100%;
    text-align: center;
}

/* ============================================
   SCROLL REVEAL (progressive enhancement)
   ============================================ */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(24px);
        transition: opacity 0.6s ease, transform 0.6s ease;
    }
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .why-layout,
    .areas-layout,
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .areas-map {
        position: static;
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }
    .nav-menu {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(26, 26, 26, 0.98);
        backdrop-filter: blur(12px);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding: 3rem 1.5rem;
        gap: 0.5rem;
        transform: translateX(100%);
        transition: transform 0.35s ease;
    }
    .nav-menu.open {
        transform: translateX(0);
    }
    .nav-menu li a {
        font-size: 1.125rem;
        padding: 0.875rem 1.5rem;
    }
    .nav-phone {
        margin-left: 0 !important;
        margin-top: 1rem;
    }

    .hero {
        min-height: 100svh;
    }
    .hero-actions {
        flex-direction: column;
    }
    .hero-actions .btn {
        justify-content: center;
    }

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

    .process-steps {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .areas-list {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .contact-item {
        grid-template-columns: 1fr;
        gap: 0.25rem;
    }

    .cta-actions {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1.25rem;
    }
    .services,
    .why,
    .process,
    .areas,
    .contact {
        padding: 5rem 0;
    }
    .service-card {
        padding: 1.75rem;
    }
    .contact-form-wrap {
        padding: 1.75rem;
    }
}
