/* ============================================
   MotoZone — Motorbike Shop
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=DM+Sans:ital,opsz,wght@0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,400&display=swap');

:root {
    --primary: #f97316;
    --primary-dark: #ea580c;
    --primary-glow: rgba(249, 115, 22, 0.35);
    --dark: #09090b;
    --dark-elevated: #111114;
    --dark-surface: #18181b;
    --border: rgba(255, 255, 255, 0.08);
    --border-hover: rgba(249, 115, 22, 0.35);
    --text: #fafafa;
    --text-muted: #a1a1aa;
    --success: #22c55e;
    --accent: #ef4444;
    --font-display: 'Bebas Neue', sans-serif;
    --font-body: 'DM Sans', sans-serif;
    --nav-height: 72px;
    --max-width: 1200px;
    --radius: 12px;
    --radius-lg: 20px;
    --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background: var(--dark);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

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

a {
    color: inherit;
}

/* ===== NAVIGATION ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--nav-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 clamp(1.25rem, 4vw, 3rem);
    background: rgba(9, 9, 11, 0.72);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    transition: background var(--transition), box-shadow var(--transition);
}

.navbar.scrolled {
    background: rgba(9, 9, 11, 0.95);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.nav-brand {
    font-family: var(--font-display);
    font-size: 1.75rem;
    letter-spacing: 0.04em;
    text-decoration: none;
    color: var(--text);
    line-height: 1;
}

.nav-brand span {
    color: var(--primary);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    background: none;
    border: 1px solid var(--border);
    border-radius: 8px;
    cursor: pointer;
    padding: 8px;
}

.nav-toggle span {
    display: block;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: var(--transition);
}

.nav-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 0.25rem;
    align-items: center;
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: color var(--transition), background var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--text);
    background: rgba(255, 255, 255, 0.06);
}

.nav-links a.active {
    color: var(--primary);
}

.nav-cta {
    margin-left: 0.5rem;
    background: var(--primary) !important;
    color: white !important;
    font-weight: 600 !important;
}

.nav-cta:hover {
    background: var(--primary-dark) !important;
}

/* ===== BUTTONS ===== */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: var(--primary);
    color: white;
    padding: 0.85rem 1.75rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    border: none;
    cursor: pointer;
    transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
    font-family: var(--font-body);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 8px 24px var(--primary-glow);
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: transparent;
    color: var(--text);
    padding: 0.85rem 1.75rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: var(--transition);
    font-family: var(--font-body);
}

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

.btn-sm {
    padding: 0.55rem 1.1rem;
    font-size: 0.85rem;
}

/* ===== HERO ===== */
.hero {
    position: relative;
    min-height: 100svh;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center 30%;
    transform: scale(1.05);
    transition: transform 8s ease;
}

.hero:hover .hero-bg {
    transform: scale(1);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to top, var(--dark) 0%, rgba(9, 9, 11, 0.85) 35%, rgba(9, 9, 11, 0.4) 100%),
        linear-gradient(to right, rgba(9, 9, 11, 0.9) 0%, transparent 60%);
}

.hero-inner {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: calc(var(--nav-height) + 3rem) clamp(1.25rem, 4vw, 3rem) 4rem;
}

.hero-eyebrow {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 1rem;
    opacity: 0;
    animation: fadeUp 0.7s ease 0.1s forwards;
}

.hero h1 {
    font-family: var(--font-display);
    font-size: clamp(3.5rem, 10vw, 7rem);
    font-weight: 400;
    line-height: 0.95;
    letter-spacing: 0.02em;
    max-width: 12ch;
    margin-bottom: 1.25rem;
    opacity: 0;
    animation: fadeUp 0.7s ease 0.25s forwards;
}

.hero h1 em {
    font-style: normal;
    color: var(--primary);
}

.hero-desc {
    font-size: 1.05rem;
    color: var(--text-muted);
    max-width: 42ch;
    margin-bottom: 2rem;
    opacity: 0;
    animation: fadeUp 0.7s ease 0.4s forwards;
}

.hero-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    opacity: 0;
    animation: fadeUp 0.7s ease 0.55s forwards;
}

.hero-metrics {
    display: flex;
    gap: clamp(2rem, 5vw, 4rem);
    margin-top: 3.5rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
    opacity: 0;
    animation: fadeUp 0.7s ease 0.7s forwards;
}

.hero-metrics dt {
    font-family: var(--font-display);
    font-size: 2.25rem;
    letter-spacing: 0.04em;
    color: var(--text);
    line-height: 1;
}

.hero-metrics dd {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-top: 0.25rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== SECTIONS ===== */
.section {
    padding: clamp(4rem, 8vw, 6rem) clamp(1.25rem, 4vw, 3rem);
}

.section-alt {
    background: var(--dark-elevated);
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
}

.section-head {
    margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.section-head.center {
    text-align: center;
}

.section-eyebrow {
    display: block;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 0.75rem;
}

.section-head h2 {
    font-family: var(--font-display);
    font-size: clamp(2.25rem, 5vw, 3.5rem);
    font-weight: 400;
    letter-spacing: 0.03em;
    line-height: 1;
    margin-bottom: 0.75rem;
}

.section-head p {
    color: var(--text-muted);
    max-width: 50ch;
    font-size: 1rem;
}

.section-head.center p {
    margin: 0 auto;
}

.text-accent {
    color: var(--primary);
}

/* ===== BIKE GRID ===== */
.bikes-grid,
.bikes-grid-full {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr));
    gap: 1.5rem;
}

.bike-card {
    background: var(--dark-surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: border-color var(--transition), transform var(--transition);
}

.bike-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-4px);
}

.bike-card-media {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: var(--dark-elevated);
}

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

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

.bike-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--primary);
    color: white;
    padding: 0.25rem 0.65rem;
    border-radius: 6px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.bike-badge.hot { background: var(--accent); }
.bike-badge.success { background: var(--success); }

.bike-card-body {
    padding: 1.25rem 1.5rem 1.5rem;
}

.bike-card-body h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.bike-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.bike-meta span {
    font-size: 0.78rem;
    color: var(--text-muted);
    background: rgba(255, 255, 255, 0.04);
    padding: 0.25rem 0.6rem;
    border-radius: 6px;
    border: 1px solid var(--border);
}

.bike-desc {
    color: var(--text-muted);
    font-size: 0.88rem;
    margin-bottom: 1rem;
    line-height: 1.55;
}

.bike-price {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
}

.price-tag {
    font-family: var(--font-display);
    font-size: 1.75rem;
    letter-spacing: 0.04em;
    color: var(--primary);
    line-height: 1;
}

.price-tag small {
    font-family: var(--font-body);
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 400;
    margin-left: 0.25rem;
}

.section-cta {
    text-align: center;
    margin-top: 3rem;
}

/* ===== FEATURES ===== */
.features-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 0;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.feature-item {
    padding: 2rem;
    border-right: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    transition: background var(--transition);
}

.feature-item:hover {
    background: rgba(249, 115, 22, 0.04);
}

.feature-item h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.feature-item p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.feature-num {
    font-family: var(--font-display);
    font-size: 2rem;
    color: var(--primary);
    letter-spacing: 0.04em;
    line-height: 1;
    margin-bottom: 1rem;
    opacity: 0.6;
}

/* ===== PAGE HEADER ===== */
.page-header {
    padding: calc(var(--nav-height) + 4rem) clamp(1.25rem, 4vw, 3rem) 3rem;
    background: var(--dark-elevated);
    border-bottom: 1px solid var(--border);
    text-align: center;
}

.page-header h1 {
    font-family: var(--font-display);
    font-size: clamp(2.75rem, 7vw, 4.5rem);
    letter-spacing: 0.03em;
    line-height: 1;
    margin-bottom: 0.75rem;
}

.page-header h1 span {
    color: var(--primary);
}

.page-header p {
    color: var(--text-muted);
    font-size: 1.05rem;
}

/* ===== ABOUT ===== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(2rem, 5vw, 4rem);
    align-items: center;
}

.about-content h2 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    letter-spacing: 0.03em;
    line-height: 1;
    margin-bottom: 1.25rem;
}

.about-content p {
    color: var(--text-muted);
    margin-bottom: 1rem;
    line-height: 1.75;
}

.about-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 4 / 3;
    border: 1px solid var(--border);
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ===== TEAM ===== */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.team-card {
    padding: 1.75rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    text-align: center;
    transition: border-color var(--transition);
}

.team-card:hover {
    border-color: var(--border-hover);
}

.team-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 1.5rem;
    letter-spacing: 0.04em;
    color: white;
    margin: 0 auto 1rem;
}

.team-card h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.2rem;
}

.team-card p {
    color: var(--primary);
    font-size: 0.82rem;
    font-weight: 500;
}

/* ===== CONTACT INFO ===== */
.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    max-width: 900px;
    margin: 0 auto;
}

.contact-info-item {
    padding: 1.5rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: border-color var(--transition);
}

.contact-info-item:hover {
    border-color: var(--border-hover);
}

.contact-info-item h4 {
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.contact-info-item p {
    font-size: 0.95rem;
    font-weight: 500;
}

/* ===== FORMS ===== */
.form-section {
    max-width: 560px;
    margin: 0 auto;
    padding: 3rem clamp(1.25rem, 4vw, 3rem) 5rem;
}

.form-section.with-header {
    padding-top: 2rem;
}

.form-card {
    background: var(--dark-surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: clamp(1.75rem, 4vw, 2.5rem);
}

.form-card h2 {
    font-family: var(--font-display);
    font-size: 2rem;
    letter-spacing: 0.03em;
    margin-bottom: 0.35rem;
}

.form-card .subtitle {
    color: var(--text-muted);
    margin-bottom: 2rem;
    font-size: 0.92rem;
}

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

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.4rem;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.8rem 1rem;
    background: var(--dark);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text);
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: border-color var(--transition), box-shadow var(--transition);
    outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-glow);
}

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

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

.form-submit {
    width: 100%;
    margin-top: 0.5rem;
}

.form-footer {
    text-align: center;
    margin-top: 1.5rem;
    color: var(--text-muted);
    font-size: 0.88rem;
}

.form-footer a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
}

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

.form-error {
    color: var(--accent);
    font-size: 0.85rem;
    margin-top: -0.5rem;
    margin-bottom: 1rem;
    display: none;
}

/* ===== FILTER BAR ===== */
.filter-bar {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 2.5rem;
}

.filter-btn {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text-muted);
    padding: 0.45rem 1.1rem;
    border-radius: 8px;
    cursor: pointer;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 500;
    transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}

/* ===== CTA BANNER ===== */
.cta-banner {
    margin-top: 4rem;
    padding: 2.5rem;
    text-align: center;
    border: 1px solid var(--border-hover);
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, rgba(249, 115, 22, 0.08), transparent);
}

.cta-banner h3 {
    font-family: var(--font-display);
    font-size: 1.75rem;
    letter-spacing: 0.03em;
    margin-bottom: 0.5rem;
}

.cta-banner p {
    color: var(--text-muted);
    margin-bottom: 1.25rem;
    font-size: 0.95rem;
}

/* ===== SUCCESS / 404 ===== */
.success-container {
    min-height: 100svh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: calc(var(--nav-height) + 2rem) 1.5rem 2rem;
}

.success-card {
    background: var(--dark-surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: clamp(2rem, 5vw, 3rem);
    text-align: center;
    max-width: 480px;
    width: 100%;
}

.success-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(34, 197, 94, 0.12);
    color: var(--success);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin: 0 auto 1.25rem;
}

.success-card.error .success-icon {
    background: rgba(239, 68, 68, 0.12);
    color: var(--accent);
}

.success-card h2 {
    font-family: var(--font-display);
    font-size: 2rem;
    letter-spacing: 0.03em;
    margin-bottom: 0.75rem;
}

.success-card p {
    color: var(--text-muted);
    margin-bottom: 0.35rem;
}

.success-card p strong {
    color: var(--text);
}

.msg-preview {
    background: var(--dark);
    border-left: 3px solid var(--primary);
    padding: 0.85rem 1rem;
    border-radius: 0 8px 8px 0;
    font-style: italic;
    margin: 1.25rem 0;
    text-align: left;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.success-card .btn-primary {
    margin-top: 1.5rem;
}

/* ===== FOOTER ===== */
.site-footer {
    background: var(--dark-elevated);
    border-top: 1px solid var(--border);
    padding: 3rem clamp(1.25rem, 4vw, 3rem) 2rem;
}

.footer-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 2.5rem;
    padding-bottom: 2.5rem;
    border-bottom: 1px solid var(--border);
}

.footer-brand {
    font-family: var(--font-display);
    font-size: 1.5rem;
    letter-spacing: 0.04em;
    margin-bottom: 0.75rem;
}

.footer-brand span {
    color: var(--primary);
}

.footer-desc {
    color: var(--text-muted);
    font-size: 0.9rem;
    max-width: 32ch;
    line-height: 1.65;
}

.footer-col h4 {
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.footer-col ul {
    list-style: none;
}

.footer-col li {
    margin-bottom: 0.5rem;
}

.footer-col a {
    color: var(--text);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color var(--transition);
}

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

.footer-bottom {
    max-width: var(--max-width);
    margin: 0 auto;
    padding-top: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 0.82rem;
}

/* ===== SCROLL REVEAL ===== */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
    .about-grid {
        grid-template-columns: 1fr;
    }

    .about-image {
        order: -1;
    }

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

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

    .nav-links {
        position: fixed;
        top: var(--nav-height);
        left: 0;
        right: 0;
        background: rgba(9, 9, 11, 0.98);
        backdrop-filter: blur(16px);
        flex-direction: column;
        align-items: stretch;
        padding: 1rem;
        gap: 0.25rem;
        border-bottom: 1px solid var(--border);
        transform: translateY(-110%);
        opacity: 0;
        pointer-events: none;
        transition: transform var(--transition), opacity var(--transition);
    }

    .nav-links.open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }

    .nav-links a {
        padding: 0.75rem 1rem;
    }

    .nav-cta {
        margin-left: 0;
        text-align: center;
    }

    .hero-metrics {
        flex-wrap: wrap;
        gap: 1.5rem;
    }

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

    .feature-item {
        border-right: none;
    }

    .footer-inner {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

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