/* ============================================
   Nava Auto Sales — Custom Styles
   Clean minimalist · Teal & Slate
   ============================================ */

/* ---------- 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-weight: 300;
    font-size: 16px;
    line-height: 1.7;
    color: #2D3748;
    background-color: #FAFCFC;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

ul {
    list-style: none;
}

/* ---------- Utility ---------- */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.skip-link {
    position: absolute;
    top: -100%;
    left: 16px;
    background: #0F766E;
    color: #fff;
    padding: 8px 16px;
    border-radius: 4px;
    z-index: 200;
    font-size: 14px;
}

.skip-link:focus {
    top: 16px;
}

/* ---------- Section Shared ---------- */
.section-tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #0F766E;
    margin-bottom: 16px;
}

.section-title {
    font-family: 'Lora', Georgia, serif;
    font-size: clamp(28px, 4vw, 48px);
    font-weight: 400;
    line-height: 1.2;
    color: #1A202C;
    margin-bottom: 20px;
}

.section-desc {
    font-size: 17px;
    line-height: 1.8;
    color: #4A5568;
    max-width: 560px;
}

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

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

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 0.02em;
    padding: 14px 32px;
    border-radius: 4px;
    border: 1.5px solid transparent;
    cursor: pointer;
    transition: all 0.25s ease;
    white-space: nowrap;
}

.btn-primary {
    background-color: #0F766E;
    color: #ffffff;
    border-color: #0F766E;
}

.btn-primary:hover {
    background-color: #0D6E67;
    border-color: #0D6E67;
}

.btn-outline {
    background-color: transparent;
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.5);
}

.btn-outline:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: #ffffff;
}

.btn-full {
    width: 100%;
}

/* ---------- Header ---------- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(250, 252, 252, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(15, 118, 110, 0.1);
    transition: box-shadow 0.3s ease;
}

.site-header.scrolled {
    box-shadow: 0 1px 20px rgba(0, 0, 0, 0.06);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 17px;
    font-weight: 400;
    letter-spacing: -0.01em;
    color: #1A202C;
}

.logo svg {
    flex-shrink: 0;
}

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

.nav-menu a {
    font-size: 14px;
    font-weight: 400;
    color: #4A5568;
    padding: 8px 16px;
    border-radius: 4px;
    transition: color 0.2s ease;
}

.nav-menu a:hover {
    color: #0F766E;
}

/* Mobile nav toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.nav-toggle-line {
    display: block;
    width: 22px;
    height: 1.5px;
    background-color: #2D3748;
    transition: all 0.3s ease;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(1) {
    transform: rotate(45deg) translate(4px, 5px);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(2) {
    opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(3) {
    transform: rotate(-45deg) translate(4px, -5px);
}

/* ---------- Hero ---------- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-color: #1A202C;
}

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

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

.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(26, 32, 44, 0.6) 0%,
        rgba(15, 118, 110, 0.3) 100%
    );
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 780px;
    padding: 120px 24px 80px;
}

.hero-badge {
    display: inline-block;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 8px 20px;
    border-radius: 100px;
    margin-bottom: 32px;
}

.hero-title {
    font-family: 'Lora', Georgia, serif;
    font-size: clamp(32px, 5vw, 64px);
    font-weight: 400;
    line-height: 1.15;
    color: #ffffff;
    margin-bottom: 24px;
    letter-spacing: -0.01em;
}

.hero-subtitle {
    font-size: clamp(16px, 2vw, 19px);
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 40px;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}

.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* ---------- Stats ---------- */
.stats {
    padding: 56px 0;
    border-bottom: 1px solid #E2E8F0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-family: 'Lora', Georgia, serif;
    font-size: clamp(24px, 3vw, 36px);
    font-weight: 400;
    color: #0F766E;
    margin-bottom: 6px;
}

.stat-label {
    font-size: 13px;
    color: #718096;
    letter-spacing: 0.02em;
}

.stat-divider {
    width: 1px;
    background-color: #E2E8F0;
    align-self: stretch;
}

/* ---------- Inventory ---------- */
.inventory {
    padding: 112px 0;
}

.inventory-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-bottom: 56px;
}

.inventory-card {
    background: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #E2E8F0;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.inventory-card:hover {
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
    transform: translateY(-4px);
}

.inventory-card-img {
    height: 220px;
    overflow: hidden;
}

.inventory-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.inventory-card-body {
    padding: 28px;
}

.inventory-tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #0F766E;
    background: rgba(15, 118, 110, 0.08);
    padding: 4px 12px;
    border-radius: 100px;
    margin-bottom: 14px;
}

.inventory-card-title {
    font-family: 'Lora', Georgia, serif;
    font-size: 22px;
    font-weight: 400;
    color: #1A202C;
    margin-bottom: 10px;
}

.inventory-card-desc {
    font-size: 15px;
    line-height: 1.7;
    color: #718096;
}

.inventory-cta {
    text-align: center;
    padding-top: 8px;
}

.inventory-cta p {
    font-size: 15px;
    color: #718096;
    margin-bottom: 20px;
}

/* ---------- Why Us ---------- */
.why-us {
    padding: 112px 0;
    background-color: #F0F5F5;
}

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

.why-content .section-tag {
    text-align: left;
}

.why-content .section-title {
    text-align: left;
}

.why-content .section-desc {
    margin-bottom: 48px;
}

.why-list {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.why-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.why-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    color: #0F766E;
    margin-top: 2px;
}

.why-item-title {
    font-size: 16px;
    font-weight: 500;
    color: #1A202C;
    margin-bottom: 6px;
}

.why-item-text {
    font-size: 15px;
    line-height: 1.7;
    color: #4A5568;
}

.why-image {
    border-radius: 8px;
    overflow: hidden;
}

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

/* ---------- Process ---------- */
.process {
    padding: 112px 0;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.process-step {
    text-align: center;
    padding: 0 16px;
}

.process-step-number {
    font-family: 'Lora', Georgia, serif;
    font-size: 48px;
    font-weight: 400;
    color: #D1FAE6;
    line-height: 1;
    margin-bottom: 20px;
}

.process-step-title {
    font-family: 'Lora', Georgia, serif;
    font-size: 22px;
    font-weight: 400;
    color: #1A202C;
    margin-bottom: 14px;
}

.process-step-text {
    font-size: 15px;
    line-height: 1.8;
    color: #4A5568;
    max-width: 300px;
    margin: 0 auto;
}

/* ---------- About ---------- */
.about {
    padding: 112px 0;
    background-color: #1A202C;
}

.about-content {
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
}

.about .section-tag {
    color: #5EEAD4;
}

.about .section-title {
    color: #ffffff;
    margin-bottom: 32px;
}

.about-text {
    font-size: 17px;
    line-height: 1.9;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 24px;
}

.about-signature {
    margin-top: 48px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.about-signature-line {
    width: 48px;
    height: 1px;
    background-color: rgba(255, 255, 255, 0.3);
}

.about-signature-text {
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
}

/* ---------- Contact ---------- */
.contact {
    padding: 112px 0;
}

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

.contact-info .section-tag {
    text-align: left;
}

.contact-info .section-title {
    text-align: left;
}

.contact-info .contact-desc {
    margin-bottom: 40px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.contact-detail {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.contact-icon {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    color: #0F766E;
    margin-top: 3px;
}

.contact-detail-label {
    display: block;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #718096;
    margin-bottom: 4px;
}

.contact-detail-value {
    font-size: 16px;
    color: #2D3748;
    line-height: 1.6;
}

.contact-detail-value a {
    color: #0F766E;
    transition: color 0.2s ease;
}

.contact-detail-value a:hover {
    color: #0D6E67;
    text-decoration: underline;
}

/* Contact Form */
.contact-form-wrap {
    background: #ffffff;
    border-radius: 8px;
    border: 1px solid #E2E8F0;
    padding: 40px;
}

.contact-form-title {
    font-family: 'Lora', Georgia, serif;
    font-size: 24px;
    font-weight: 400;
    color: #1A202C;
    margin-bottom: 32px;
}

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

.form-label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: #4A5568;
    margin-bottom: 8px;
    letter-spacing: 0.02em;
}

.form-input,
.form-textarea {
    width: 100%;
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    font-weight: 300;
    color: #1A202C;
    background: #FAFCFC;
    border: 1.5px solid #E2E8F0;
    border-radius: 4px;
    padding: 12px 16px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    outline: none;
}

.form-input:focus,
.form-textarea:focus {
    border-color: #0F766E;
    box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.1);
}

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

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

.form-note {
    font-size: 13px;
    color: #A0AEC0;
    margin-top: 12px;
    text-align: center;
}

.form-success {
    text-align: center;
    padding: 40px 20px;
}

.form-success svg {
    width: 48px;
    height: 48px;
    color: #0F766E;
    margin: 0 auto 16px;
}

.form-success p {
    font-size: 17px;
    color: #2D3748;
}

/* ---------- Map ---------- */
.map-section {
    border-top: 1px solid #E2E8F0;
}

.map-section iframe {
    display: block;
    width: 100%;
    height: 400px;
    filter: grayscale(0.4) contrast(1.05);
}

/* ---------- Footer ---------- */
.site-footer {
    background-color: #1A202C;
    padding: 64px 0 32px;
}

.footer-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand .logo {
    color: #ffffff;
    margin-bottom: 16px;
}

.footer-tagline {
    font-size: 15px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.5);
    max-width: 320px;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.footer-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    transition: color 0.2s ease;
}

.footer-link:hover {
    color: #5EEAD4;
}

.footer-link svg {
    flex-shrink: 0;
    opacity: 0.6;
}

.footer-bottom {
    padding-top: 28px;
    text-align: center;
}

.footer-bottom p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.3);
}

/* ---------- Scroll Reveal ---------- */
.reveal {
    opacity: 1;
    transform: none;
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Default state for elements that get animated — visible by default for progressive enhancement */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(24px);
    }

    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
    .why-layout {
        gap: 48px;
    }

    .contact-layout {
        gap: 48px;
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
        z-index: 110;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: 0;
        width: 280px;
        height: 100vh;
        background: #ffffff;
        flex-direction: column;
        align-items: stretch;
        padding: 96px 32px 32px;
        gap: 4px;
        box-shadow: -8px 0 40px rgba(0, 0, 0, 0.1);
        transform: translateX(100%);
        transition: transform 0.35s ease;
        z-index: 100;
    }

    .nav-menu.open {
        transform: translateX(0);
    }

    .nav-menu a {
        font-size: 16px;
        padding: 14px 0;
        border-bottom: 1px solid #F0F0F0;
    }

    .nav-overlay {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.3);
        z-index: 99;
    }

    .nav-overlay.visible {
        display: block;
    }

    .hero-content {
        padding: 140px 24px 100px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }

    .stat-divider {
        display: none;
    }

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

    .why-layout {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .why-image {
        order: -1;
    }

    .why-content .section-tag,
    .why-content .section-title {
        text-align: center;
    }

    .why-content .section-desc {
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }

    .process-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

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

    .contact-info .section-tag,
    .contact-info .section-title {
        text-align: center;
    }

    .contact-info .contact-desc {
        text-align: center;
    }

    .contact-form-wrap {
        padding: 28px;
    }

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

    .footer-contact {
        align-items: flex-start;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 20px;
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
    }

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

    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 24px;
    }

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