/* ============================================
   Donny's Motorcycle Tires & Service
   Classic & Elegant — Teal + Slate Grey
   ============================================ */

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

:root {
    --teal-900: #0d3b38;
    --teal-800: #1a5f5a;
    --teal-700: #1f736d;
    --teal-600: #23857e;
    --teal-500: #2a9d8f;
    --teal-400: #5bb8ab;
    --teal-100: #d1e8e4;
    --teal-50:  #eaf5f2;

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

    --gold-500: #d4a853;
    --gold-400: #e0bc6a;
    --gold-300: #ebd08a;
    --gold-200: #f5e4b0;
    --gold-100: #faf3dc;

    --cream: #faf8f5;
    --warm-white: #fefdfb;

    --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    --shadow-sm: 0 1px 2px rgba(10, 15, 20, 0.04);
    --shadow-md: 0 4px 16px rgba(10, 15, 20, 0.06);
    --shadow-lg: 0 12px 40px rgba(10, 15, 20, 0.08);
    --shadow-xl: 0 24px 60px rgba(10, 15, 20, 0.10);

    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --radius-xl: 24px;

    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

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

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ---------- HEADER ---------- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(250, 248, 245, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(30, 41, 59, 0.06);
    transition: var(--transition);
}

.header.scrolled {
    background: rgba(250, 248, 245, 0.97);
    box-shadow: var(--shadow-md);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--slate-900);
    font-family: var(--font-serif);
}

.logo-mark {
    color: var(--teal-700);
    flex-shrink: 0;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}

.logo-name {
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.logo-sub {
    font-family: var(--font-sans);
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--slate-500);
}

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

.nav ul {
    display: flex;
    list-style: none;
    gap: 8px;
}

.nav ul li a {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--slate-600);
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    letter-spacing: 0.01em;
}

.nav ul li a:hover {
    color: var(--teal-700);
    background: var(--teal-50);
}

.nav-cta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--teal-700);
    padding: 10px 20px;
    border: 1.5px solid var(--teal-200);
    border-radius: var(--radius-sm);
    transition: var(--transition);
    white-space: nowrap;
}

.nav-cta:hover {
    background: var(--teal-700);
    color: white;
    border-color: var(--teal-700);
}

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

.nav-toggle-bar {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--slate-700);
    border-radius: 2px;
    transition: var(--transition);
}

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

.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: rotate(-45deg) translate(5px, -5px);
}

/* ---------- HERO ---------- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--slate-900);
}

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

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

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(10, 15, 20, 0.82) 0%,
        rgba(13, 59, 56, 0.72) 50%,
        rgba(10, 15, 20, 0.85) 100%
    );
}

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

.hero-tag {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold-400);
    margin-bottom: 24px;
}

.hero-title {
    font-family: var(--font-serif);
    font-size: clamp(2.75rem, 6vw, 4.5rem);
    font-weight: 700;
    line-height: 1.08;
    color: white;
    margin-bottom: 28px;
    letter-spacing: -0.02em;
}

.hero-accent {
    color: var(--gold-300);
    font-style: italic;
    font-weight: 400;
}

.hero-desc {
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--slate-300);
    max-width: 540px;
    margin-bottom: 44px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

/* ---------- BUTTONS ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-sans);
    font-size: 0.9375rem;
    font-weight: 600;
    padding: 14px 28px;
    border-radius: var(--radius-sm);
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    letter-spacing: 0.01em;
}

.btn-primary {
    background: var(--teal-700);
    color: white;
    border-color: var(--teal-700);
}

.btn-primary:hover {
    background: var(--teal-800);
    border-color: var(--teal-800);
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(26, 95, 90, 0.3);
}

.btn-outline {
    background: transparent;
    color: white;
    border-color: rgba(255, 255, 255, 0.3);
}

.btn-outline:hover {
    border-color: white;
    background: rgba(255, 255, 255, 0.08);
}

.btn-outline-light {
    background: transparent;
    color: white;
    border-color: rgba(255, 255, 255, 0.35);
}

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

.btn-lg {
    padding: 16px 32px;
    font-size: 1rem;
}

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

/* ---------- HERO SCROLL ---------- */
.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--slate-400);
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    animation: float 2.5s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(6px); }
}

/* ---------- TRUST BAR ---------- */
.trust-bar {
    background: var(--slate-900);
    padding: 0;
}

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

.trust-item {
    padding: 32px 24px;
    text-align: center;
    border-right: 1px solid rgba(100, 116, 139, 0.15);
}

.trust-item:last-child {
    border-right: none;
}

.trust-label {
    display: block;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--slate-500);
    margin-bottom: 8px;
}

.trust-value {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--slate-200);
}

/* ---------- SECTION HEADERS ---------- */
.section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 64px;
}

.section-tag {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--teal-600);
    margin-bottom: 16px;
}

.section-title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    line-height: 1.12;
    color: var(--slate-900);
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.section-desc {
    font-size: 1.0625rem;
    line-height: 1.7;
    color: var(--slate-500);
}

/* ---------- SERVICES ---------- */
.services {
    padding: 120px 0;
    background: var(--cream);
}

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

.service-card {
    background: white;
    padding: 40px 32px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--slate-200);
    transition: var(--transition);
}

.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: var(--teal-50);
    border-radius: var(--radius-md);
    color: var(--teal-700);
    margin-bottom: 24px;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background: var(--teal-700);
    color: white;
}

.service-name {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--slate-900);
    margin-bottom: 12px;
    letter-spacing: -0.01em;
}

.service-desc {
    font-size: 0.9375rem;
    line-height: 1.65;
    color: var(--slate-500);
}

/* ---------- ABOUT ---------- */
.about {
    padding: 120px 0;
    background: var(--warm-white);
}

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

.about-image {
    position: relative;
}

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

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

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

.about-text {
    font-size: 1.0625rem;
    line-height: 1.75;
    color: var(--slate-600);
    margin-bottom: 20px;
}

.about-values {
    margin-top: 36px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.value-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--slate-700);
    line-height: 1.4;
}

.value-item svg {
    color: var(--teal-600);
    flex-shrink: 0;
    margin-top: 2px;
}

/* ---------- GALLERY ---------- */
.gallery {
    padding: 120px 0;
    background: var(--cream);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: auto;
    gap: 20px;
}

.gallery-item {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-item:hover img {
    transform: scale(1.04);
}

.gallery-item--large {
    grid-column: span 7;
    grid-row: span 2;
}

.gallery-item--large img {
    height: 100%;
    min-height: 400px;
}

.gallery-item--wide {
    grid-column: span 12;
}

.gallery-item--wide img {
    height: 300px;
}

.gallery-item:not(.gallery-item--large):not(.gallery-item--wide) img {
    height: 280px;
}

/* ---------- CTA SECTION ---------- */
.cta-section {
    position: relative;
    padding: 120px 0;
    overflow: hidden;
}

.cta-bg {
    position: absolute;
    inset: 0;
}

.cta-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cta-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(13, 59, 56, 0.88) 0%,
        rgba(10, 15, 20, 0.82) 100%
    );
}

.cta-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 680px;
    margin: 0 auto;
}

.cta-content .section-tag {
    color: var(--gold-400);
}

.cta-title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4.5vw, 3.25rem);
    font-weight: 700;
    line-height: 1.1;
    color: white;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.cta-desc {
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--slate-300);
    margin-bottom: 44px;
}

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

/* ---------- CONTACT ---------- */
.contact {
    padding: 120px 0;
    background: var(--warm-white);
}

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

.contact-info {
    max-width: 480px;
}

.contact-desc {
    font-size: 1.0625rem;
    line-height: 1.7;
    color: var(--slate-500);
    margin-bottom: 40px;
}

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

.contact-detail {
    display: flex;
    gap: 20px;
}

.contact-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--teal-50);
    border-radius: var(--radius-md);
    color: var(--teal-700);
    flex-shrink: 0;
}

.contact-label {
    display: block;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--slate-400);
    margin-bottom: 4px;
}

.contact-value {
    display: block;
    font-size: 1rem;
    font-weight: 500;
    color: var(--slate-800);
    line-height: 1.5;
}

.contact-value a {
    color: var(--teal-700);
    transition: var(--transition);
}

.contact-value a:hover {
    color: var(--teal-600);
}

/* ---------- CONTACT FORM ---------- */
.contact-form-wrap {
    background: white;
    padding: 48px;
    border-radius: var(--radius-xl);
    border: 1px solid var(--slate-200);
    box-shadow: var(--shadow-lg);
}

.form-title {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--slate-900);
    margin-bottom: 32px;
    letter-spacing: -0.01em;
}

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

.form-label {
    display: block;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--slate-500);
    margin-bottom: 8px;
}

.form-input {
    width: 100%;
    padding: 14px 16px;
    font-family: var(--font-sans);
    font-size: 0.9375rem;
    color: var(--slate-800);
    background: var(--slate-50);
    border: 1.5px solid var(--slate-200);
    border-radius: var(--radius-sm);
    transition: var(--transition);
    outline: none;
}

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

.form-input:focus {
    border-color: var(--teal-500);
    background: white;
    box-shadow: 0 0 0 3px rgba(42, 157, 143, 0.1);
}

.form-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 44px;
    cursor: pointer;
}

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

.form-success {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 48px 24px;
    text-align: center;
    color: var(--teal-700);
}

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

.form-success p {
    font-size: 1.0625rem;
    font-weight: 500;
    color: var(--slate-700);
}

/* ---------- FOOTER ---------- */
.footer {
    background: var(--slate-900);
    color: var(--slate-400);
}

.footer-inner {
    padding: 72px 24px 48px;
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 60px;
    align-items: start;
}

.logo--footer {
    color: white;
    margin-bottom: 20px;
}

.footer-tagline {
    font-size: 0.9375rem;
    line-height: 1.6;
    color: var(--slate-500);
    max-width: 280px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    font-size: 0.9375rem;
    color: var(--slate-400);
    transition: var(--transition);
}

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

.footer-contact p {
    font-size: 0.9375rem;
    line-height: 1.6;
    margin-bottom: 4px;
}

.footer-contact a {
    color: var(--teal-400);
    transition: var(--transition);
}

.footer-contact a:hover {
    color: var(--gold-400);
}

.footer-bottom {
    border-top: 1px solid rgba(100, 116, 139, 0.15);
    padding: 24px;
}

.footer-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

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

/* ---------- MOBILE NAV OVERLAY ---------- */
.nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(10, 15, 20, 0.5);
    z-index: 998;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.nav-overlay.active {
    opacity: 1;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-grid {
        gap: 48px;
    }

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

    .contact-grid {
        gap: 48px;
    }

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

    .footer-inner > :first-child {
        grid-column: span 2;
    }
}

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

    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background: var(--warm-white);
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
        padding: 40px;
        gap: 8px;
        z-index: 999;
        box-shadow: var(--shadow-xl);
        transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .nav.active {
        right: 0;
    }

    .nav-overlay {
        display: block;
    }

    .nav ul {
        flex-direction: column;
        gap: 4px;
        width: 100%;
    }

    .nav ul li a {
        display: block;
        padding: 14px 16px;
        font-size: 1rem;
        width: 100%;
    }

    .nav-cta {
        margin-top: 16px;
        justify-content: center;
        width: 100%;
    }

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

    .hero-actions {
        flex-direction: column;
    }

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

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

    .trust-item {
        padding: 24px 16px;
    }

    .trust-item:nth-child(2) {
        border-right: none;
    }

    .trust-divider {
        display: none;
    }

    .services {
        padding: 80px 0;
    }

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

    .service-card {
        padding: 28px 24px;
    }

    .about {
        padding: 80px 0;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

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

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

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

    .gallery {
        padding: 80px 0;
    }

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

    .gallery-item--large {
        grid-column: span 2;
        grid-row: span 1;
    }

    .gallery-item--large img {
        min-height: 240px;
    }

    .gallery-item--wide {
        grid-column: span 2;
    }

    .gallery-item--wide img,
    .gallery-item:not(.gallery-item--large):not(.gallery-item--wide) img {
        height: 200px;
    }

    .cta-section {
        padding: 80px 0;
    }

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

    .contact {
        padding: 80px 0;
    }

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

    .contact-form-wrap {
        padding: 32px 24px;
    }

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

    .footer-inner > :first-child {
        grid-column: span 1;
    }

    .footer-bottom-inner {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
}

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

    .hero-content {
        padding: 120px 16px 80px;
    }

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

    .trust-item {
        border-right: none;
        border-bottom: 1px solid rgba(100, 116, 139, 0.15);
        padding: 20px 16px;
    }

    .trust-item:last-child {
        border-bottom: none;
    }

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

    .gallery-item--large,
    .gallery-item--wide {
        grid-column: span 1;
    }
}

/* ---------- REDUCED MOTION ---------- */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }

    .hero-scroll {
        animation: none;
    }
}
