/* ============================================
   East Forest Garage — Stylesheet
   ============================================ */

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

:root {
    --teal-50: #f0fdfa;
    --teal-100: #ccfbf1;
    --teal-200: #99f6e4;
    --teal-400: #2dd4bf;
    --teal-500: #14b8a6;
    --teal-600: #0d9488;
    --teal-700: #0f766e;
    --teal-800: #115e59;
    --teal-900: #134e4a;

    --slate-50: #f8fafc;
    --slate-100: #f1f5f9;
    --slate-200: #e2e8f0;
    --slate-300: #cbd5e1;
    --slate-400: #94a3b8;
    --slate-500: #64748b;
    --slate-600: #475569;
    --slate-700: #334155;
    --slate-800: #1e293b;
    --slate-900: #0f172a;

    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-serif: 'Playfair Display', Georgia, serif;

    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    --space-4xl: 6rem;

    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;

    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.07), 0 2px 4px -2px rgba(0,0,0,0.05);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.08), 0 4px 6px -4px rgba(0,0,0,0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.08), 0 8px 10px -6px rgba(0,0,0,0.04);
}

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

body {
    font-family: var(--font-sans);
    font-weight: 300;
    line-height: 1.6;
    color: var(--slate-800);
    background-color: #ffffff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-xl);
}

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
    font-weight: 400;
    line-height: 1.2;
    color: var(--slate-900);
}

.section-label {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--teal-600);
    margin-bottom: var(--space-md);
}

.section-title {
    font-family: var(--font-serif);
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-weight: 500;
    line-height: 1.15;
    color: var(--slate-900);
    margin-bottom: var(--space-lg);
}

.section-description {
    font-size: 1.0625rem;
    color: var(--slate-500);
    max-width: 560px;
    line-height: 1.7;
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: 0.75rem 1.75rem;
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    border-radius: var(--radius-sm);
    transition: all 0.25s ease;
    white-space: nowrap;
}

.btn-primary {
    background-color: var(--teal-600);
    color: #ffffff;
    border: 1.5px solid var(--teal-600);
}

.btn-primary:hover {
    background-color: var(--teal-700);
    border-color: var(--teal-700);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-outline {
    background-color: transparent;
    color: var(--slate-700);
    border: 1.5px solid var(--slate-300);
}

.btn-outline:hover {
    border-color: var(--teal-600);
    color: var(--teal-700);
    transform: translateY(-1px);
}

.btn-full {
    width: 100%;
}

/* ---------- Navbar ---------- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--slate-200);
    transition: box-shadow 0.3s ease;
}

.navbar.scrolled {
    box-shadow: var(--shadow-sm);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: 1rem;
    font-weight: 500;
    color: var(--slate-900);
    letter-spacing: -0.01em;
}

.logo-icon {
    display: flex;
    align-items: center;
    color: var(--teal-600);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: var(--space-2xl);
}

.nav-links a:not(.btn) {
    font-size: 0.875rem;
    font-weight: 400;
    color: var(--slate-600);
    transition: color 0.2s ease;
    position: relative;
}

.nav-links a:not(.btn):hover {
    color: var(--teal-600);
}

.nav-links a:not(.btn)::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--teal-600);
    transition: width 0.25s ease;
}

.nav-links a:not(.btn):hover::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: var(--space-sm);
}

.mobile-menu-btn span {
    display: block;
    width: 22px;
    height: 1.5px;
    background-color: var(--slate-700);
    transition: all 0.3s ease;
    transform-origin: center;
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(4px, 5px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(4px, -5px);
}

/* ---------- Hero ---------- */
.hero {
    padding-top: 72px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background-color: #ffffff;
    overflow: hidden;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4xl);
    align-items: center;
    padding-top: var(--space-3xl);
    padding-bottom: var(--space-3xl);
}

.hero-content {
    max-width: 520px;
}

.hero-label {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--teal-600);
    margin-bottom: var(--space-lg);
}

.hero h1 {
    font-family: var(--font-serif);
    font-size: clamp(2.25rem, 5vw, 3.5rem);
    font-weight: 500;
    line-height: 1.1;
    color: var(--slate-900);
    margin-bottom: var(--space-xl);
}

.hero-description {
    font-size: 1.0625rem;
    color: var(--slate-500);
    line-height: 1.75;
    margin-bottom: var(--space-2xl);
}

.hero-actions {
    display: flex;
    gap: var(--space-md);
    margin-bottom: var(--space-3xl);
    flex-wrap: wrap;
}

.hero-trust {
    display: flex;
    gap: var(--space-2xl);
}

.trust-item {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: 0.8125rem;
    font-weight: 400;
    color: var(--slate-600);
}

.trust-item svg {
    color: var(--teal-600);
    flex-shrink: 0;
}

.hero-image {
    position: relative;
}

.hero-image img {
    width: 100%;
    height: 700px;
    object-fit: cover;
    border-radius: var(--radius-lg);
}

.hero-image-accent {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 200px;
    height: 200px;
    background-color: var(--teal-100);
    border-radius: var(--radius-lg);
    z-index: -1;
}

/* ---------- Services ---------- */
.services {
    padding: var(--space-4xl) 0;
    background-color: var(--slate-50);
}

.section-header {
    text-align: center;
    margin-bottom: var(--space-3xl);
}

.section-header .section-description {
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
}

.service-card {
    background-color: #ffffff;
    padding: var(--space-2xl);
    border-radius: var(--radius-md);
    border: 1px solid var(--slate-200);
    transition: all 0.3s ease;
}

.service-card:hover {
    border-color: var(--teal-200);
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.service-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--teal-50);
    border-radius: var(--radius-md);
    color: var(--teal-600);
    margin-bottom: var(--space-lg);
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    background-color: var(--teal-600);
    color: #ffffff;
}

.service-card h3 {
    font-family: var(--font-sans);
    font-size: 1rem;
    font-weight: 500;
    color: var(--slate-900);
    margin-bottom: var(--space-sm);
}

.service-card p {
    font-size: 0.875rem;
    color: var(--slate-500);
    line-height: 1.7;
}

/* ---------- About ---------- */
.about {
    padding: var(--space-4xl) 0;
    background-color: #ffffff;
}

.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4xl);
    align-items: center;
}

.about-image {
    position: relative;
}

.about-image img {
    width: 100%;
    height: 600px;
    object-fit: cover;
    border-radius: var(--radius-lg);
}

.about-content .section-label {
    margin-bottom: var(--space-md);
}

.about-content .section-title {
    margin-bottom: var(--space-xl);
}

.about-content p {
    font-size: 0.9375rem;
    color: var(--slate-600);
    line-height: 1.8;
    margin-bottom: var(--space-lg);
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
    margin-top: var(--space-2xl);
}

.feature-item {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: 0.875rem;
    font-weight: 400;
    color: var(--slate-700);
}

.feature-item svg {
    color: var(--teal-600);
    flex-shrink: 0;
}

/* ---------- Contact ---------- */
.contact {
    padding: var(--space-4xl) 0;
    background-color: var(--slate-50);
}

.contact .section-header {
    margin-bottom: var(--space-3xl);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: var(--space-3xl);
    align-items: start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: var(--space-2xl);
}

.contact-item {
    display: flex;
    gap: var(--space-lg);
}

.contact-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #ffffff;
    border: 1px solid var(--slate-200);
    border-radius: var(--radius-md);
    color: var(--teal-600);
    flex-shrink: 0;
}

.contact-item h4 {
    font-family: var(--font-sans);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--slate-900);
    margin-bottom: var(--space-xs);
}

.contact-item p {
    font-size: 0.875rem;
    color: var(--slate-500);
    line-height: 1.7;
}

.contact-item a {
    color: var(--teal-600);
    transition: color 0.2s ease;
}

.contact-item a:hover {
    color: var(--teal-700);
    text-decoration: underline;
}

.contact-form-wrapper {
    background-color: #ffffff;
    padding: var(--space-2xl);
    border-radius: var(--radius-lg);
    border: 1px solid var(--slate-200);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.form-group label {
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--slate-700);
    letter-spacing: 0.02em;
}

.form-group input,
.form-group select,
.form-group textarea {
    font-family: var(--font-sans);
    font-size: 0.875rem;
    font-weight: 300;
    color: var(--slate-800);
    padding: 0.75rem 1rem;
    border: 1px solid var(--slate-200);
    border-radius: var(--radius-sm);
    background-color: var(--slate-50);
    transition: all 0.2s ease;
    outline: none;
    width: 100%;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--teal-400);
    background-color: #ffffff;
    box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--slate-400);
}

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

.form-success {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: var(--space-3xl) var(--space-2xl);
    gap: var(--space-md);
}

.form-success svg {
    color: var(--teal-600);
}

.form-success h3 {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--slate-900);
}

.form-success p {
    font-size: 0.9375rem;
    color: var(--slate-500);
    line-height: 1.7;
}

/* ---------- Map ---------- */
.map-section {
    border-top: 1px solid var(--slate-200);
}

.map-container {
    width: 100%;
    height: 400px;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    filter: grayscale(0.4) contrast(1.05);
}

/* ---------- Footer ---------- */
.footer {
    background-color: var(--slate-900);
    color: var(--slate-400);
    padding: var(--space-4xl) 0 var(--space-xl);
}

.footer-container {
    display: grid;
    grid-template-columns: 1.5fr 2fr;
    gap: var(--space-4xl);
    margin-bottom: var(--space-3xl);
}

.footer-brand .logo {
    color: #ffffff;
    margin-bottom: var(--space-lg);
}

.footer-brand p {
    font-size: 0.875rem;
    line-height: 1.7;
    color: var(--slate-400);
    max-width: 280px;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-2xl);
}

.footer-col h4 {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--slate-300);
    margin-bottom: var(--space-lg);
}

.footer-col a {
    display: block;
    font-size: 0.875rem;
    color: var(--slate-400);
    padding: var(--space-xs) 0;
    transition: color 0.2s ease;
}

.footer-col a:hover {
    color: var(--teal-400);
}

.footer-bottom {
    border-top: 1px solid var(--slate-800);
    padding-top: var(--space-xl);
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--space-md);
}

.footer-bottom p {
    font-size: 0.8125rem;
    color: var(--slate-500);
}

/* ---------- Mobile Menu Overlay ---------- */
.mobile-nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    z-index: 999;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--space-xl);
}

.mobile-nav-overlay.active {
    display: flex;
}

.mobile-nav-overlay a {
    font-size: 1.25rem;
    font-weight: 400;
    color: var(--slate-700);
    padding: var(--space-md) var(--space-xl);
    transition: color 0.2s ease;
}

.mobile-nav-overlay a:hover {
    color: var(--teal-600);
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
    .hero-container {
        gap: var(--space-2xl);
    }

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

@media (max-width: 768px) {
    .container {
        padding: 0 var(--space-lg);
    }

    .nav-links {
        display: none;
    }

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

    .hero {
        min-height: auto;
        padding-top: 72px;
    }

    .hero-container {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
        padding-top: var(--space-2xl);
        padding-bottom: var(--space-2xl);
    }

    .hero-content {
        max-width: 100%;
        text-align: center;
    }

    .hero h1 {
        font-size: clamp(1.75rem, 6vw, 2.5rem);
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-trust {
        justify-content: center;
    }

    .hero-image {
        order: -1;
    }

    .hero-image img {
        height: 350px;
    }

    .hero-image-accent {
        display: none;
    }

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

    .about-container {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
    }

    .about-image img {
        height: 350px;
    }

    .about-features {
        grid-template-columns: 1fr;
    }

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

    .footer-container {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
    }

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

    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-actions {
        flex-direction: column;
        width: 100%;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .footer-links {
        grid-template-columns: 1fr;
    }
}

/* ---------- Animations ---------- */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}
