:root { --bg: #0b0c10; --bg-elev: #14161c; --bg-card: #181b23; --line: #262a36; --text: #f2efe8; --muted: #9aa1ad; --accent: #c48a42; /* burnished copper */ --accent-strong: #e0a55b; --danger: #e05050; --ok: #4fd1a3; --radius: 14px; --shadow: 0 20px 45px rgba(0, 0, 0, 0.45); --maxw: 1180px; } * { box-sizing: border-box; } html { scroll-behavior: smooth; } body { margin: 0; font-family: "Inter", system-ui, -apple-system, sans-serif; background: var(--bg); color: var(--text); min-height: 100vh; line-height: 1.5; -webkit-font-smoothing: antialiased; } a { color: var(--accent-strong); text-decoration: none; } a:hover { color: var(--text); } h1, h2, h3, h4 { font-family: "Playfair Display", "Inter", serif; font-weight: 600; letter-spacing: -0.01em; margin: 0 0 0.4em; } h1 { font-size: clamp(2.2rem, 4.3vw, 3.8rem); line-height: 1.05; } h2 { font-size: clamp(1.6rem, 2.8vw, 2.4rem); } h3 { font-size: 1.2rem; } .eyebrow { text-transform: uppercase; letter-spacing: 0.22em; font-size: 0.72rem; color: var(--accent-strong); font-weight: 600; margin: 0 0 0.6rem; } .shell { width: min(var(--maxw), 92vw); margin: 0 auto; } section { padding: 5rem 0; } /* ---------------- Header ---------------- */ .site-header { position: sticky; top: 0; z-index: 40; background: rgba(11, 12, 16, 0.85); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); } .site-header .shell { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.9rem 0; } .logo { display: flex; align-items: center; gap: 0.65rem; color: var(--text); font-family: "Playfair Display", serif; font-weight: 600; font-size: 1.2rem; } .logo-mark { display: grid; place-items: center; width: 2.1rem; height: 2.1rem; border-radius: 8px; background: linear-gradient(135deg, var(--accent) 0%, #8a5a22 100%); color: #0b0c10; font-weight: 700; font-family: "Inter", sans-serif; font-size: 0.85rem; } .main-nav { display: flex; gap: 1.3rem; align-items: center; } .main-nav a { color: var(--muted); font-size: 0.93rem; font-weight: 500; transition: color 0.2s; } .main-nav a:hover { color: var(--text); } .main-nav .btn { margin-left: 0.6rem; } .lang-toggle { background: transparent; color: var(--text); border: 1px solid var(--line); border-radius: 999px; padding: 0.4rem 0.85rem; cursor: pointer; font-size: 0.82rem; font-weight: 600; letter-spacing: 0.08em; } .lang-toggle:hover { border-color: var(--accent); } .menu-toggle { display: none; background: transparent; border: 1px solid var(--line); color: var(--text); border-radius: 8px; padding: 0.4rem 0.75rem; cursor: pointer; } /* ---------------- Buttons ---------------- */ .btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; border: none; cursor: pointer; background: var(--accent); color: #0b0c10; padding: 0.8rem 1.2rem; border-radius: 10px; font-weight: 600; font-size: 0.95rem; transition: transform 0.15s ease, background 0.15s ease; font-family: inherit; } .btn:hover { background: var(--accent-strong); transform: translateY(-1px); color: #0b0c10; } .btn.ghost { background: transparent; color: var(--text); border: 1px solid var(--line); } .btn.ghost:hover { border-color: var(--accent); color: var(--text); } .btn.small { padding: 0.55rem 0.9rem; font-size: 0.85rem; } .btn.danger { background: var(--danger); color: #fff; } .btn.danger:hover { background: #f06060; } /* ---------------- Hero ---------------- */ .hero { position: relative; padding: 6rem 0 5rem; overflow: hidden; } .hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,12,16,0.6) 0%, rgba(11,12,16,0.95) 100%), url('https://images.unsplash.com/photo-1503376780353-7e6692767b70?auto=format&fit=crop&w=1900&q=80') center / cover no-repeat; z-index: -1; } .hero .shell { max-width: 760px; } .hero h1 { margin-bottom: 1rem; } .hero p.lead { color: var(--muted); font-size: 1.1rem; max-width: 55ch; } .hero-cta { display: flex; gap: 0.8rem; flex-wrap: wrap; margin-top: 1.8rem; } .hero-stats { display: flex; gap: 2rem; margin-top: 2.5rem; flex-wrap: wrap; } .hero-stats div { min-width: 8rem; } .hero-stats strong { display: block; font-size: 1.5rem; font-family: "Playfair Display", serif; color: var(--accent-strong); } .hero-stats span { color: var(--muted); font-size: 0.85rem; } /* ---------------- Section head ---------------- */ .section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem; margin-bottom: 2rem; flex-wrap: wrap; } .section-head > div { max-width: 55ch; } .section-head p.sub { color: var(--muted); margin: 0; } /* ---------------- Filters ---------------- */ .filters { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.8rem; margin-bottom: 1.5rem; } .filters label { display: grid; gap: 0.35rem; font-size: 0.82rem; color: var(--muted); } select, input, textarea { width: 100%; padding: 0.7rem 0.85rem; background: var(--bg-elev); border: 1px solid var(--line); border-radius: 10px; color: var(--text); font: inherit; transition: border-color 0.15s; } select:focus, input:focus, textarea:focus { outline: none; border-color: var(--accent); } /* ---------------- Vehicle grid ---------------- */ .vehicle-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.2rem; } .vehicle-card { background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: transform 0.2s, border-color 0.2s; } .vehicle-card:hover { transform: translateY(-3px); border-color: var(--accent); } .vehicle-photo { position: relative; aspect-ratio: 16 / 10; background: #0e1015 center / cover no-repeat; overflow: hidden; } .vehicle-photo .badge { position: absolute; top: 0.7rem; left: 0.7rem; background: rgba(11,12,16,0.75); backdrop-filter: blur(5px); color: var(--accent-strong); padding: 0.25rem 0.55rem; border-radius: 999px; font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; } .vehicle-body { padding: 1rem 1.1rem 1.1rem; display: flex; flex-direction: column; gap: 0.6rem; flex: 1; } .vehicle-body h3 { margin: 0; } .vehicle-body .model-brand { color: var(--muted); font-size: 0.82rem; letter-spacing: 0.12em; text-transform: uppercase; } .spec-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.35rem; padding: 0.6rem 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font-size: 0.82rem; } .spec-row div { text-align: center; } .spec-row strong { display: block; color: var(--text); font-size: 0.95rem; } .spec-row span { color: var(--muted); font-size: 0.72rem; } .vehicle-footer { display: flex; justify-content: space-between; align-items: center; gap: 0.6rem; margin-top: auto; } .vehicle-price { font-family: "Playfair Display", serif; font-size: 1.35rem; color: var(--accent-strong); } .vehicle-price span { font-size: 0.8rem; color: var(--muted); font-family: inherit; } /* ---------------- Why section ---------------- */ .why-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; } .why-card { padding: 1.8rem 1.4rem; background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--radius); } .why-card .icon { width: 2.8rem; height: 2.8rem; border-radius: 10px; background: rgba(196, 138, 66, 0.15); color: var(--accent-strong); display: grid; place-items: center; font-size: 1.3rem; margin-bottom: 0.9rem; } .why-card p { color: var(--muted); margin: 0.3rem 0 0; } /* ---------------- Reviews ---------------- */ .reviews-strip { background: var(--bg-elev); border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem; min-height: 180px; } .review-quote { font-family: "Playfair Display", serif; font-size: 1.25rem; line-height: 1.5; margin: 0; font-style: italic; } .review-author { margin-top: 0.8rem; color: var(--muted); font-size: 0.88rem; } .review-dots { display: flex; gap: 0.4rem; justify-content: center; margin-top: 1rem; } .review-dots button { width: 9px; height: 9px; border-radius: 50%; border: none; background: var(--line); cursor: pointer; transition: background 0.2s, width 0.2s; } .review-dots button.active { background: var(--accent); width: 24px; border-radius: 5px; } /* ---------------- Booking ---------------- */ .booking-form { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.9rem; background: var(--bg-elev); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.8rem; } .booking-form .full { grid-column: 1 / -1; } .booking-form label { display: grid; gap: 0.3rem; font-size: 0.82rem; color: var(--muted); } .form-feedback { margin-top: 1rem; min-height: 1.2rem; color: var(--ok); } .form-feedback.error { color: var(--danger); } /* ---------------- Footer ---------------- */ .site-footer { border-top: 1px solid var(--line); background: var(--bg-elev); padding: 3rem 0 2rem; margin-top: 3rem; } .footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 2rem; margin-bottom: 2rem; } .footer-grid h4 { font-family: "Inter", sans-serif; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.15em; color: var(--muted); margin-bottom: 0.7rem; } .footer-grid a { display: block; color: var(--text); margin-bottom: 0.4rem; font-size: 0.92rem; } .footer-bottom { border-top: 1px solid var(--line); padding-top: 1.2rem; display: flex; justify-content: space-between; color: var(--muted); font-size: 0.82rem; flex-wrap: wrap; gap: 0.6rem; } /* ---------------- Dialog ---------------- */ dialog { width: min(700px, 92vw); border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-card); color: var(--text); padding: 0; box-shadow: var(--shadow); } dialog::backdrop { background: rgba(0,0,0,0.6); } .dialog-head { display: flex; justify-content: space-between; align-items: center; padding: 1rem 1.2rem; border-bottom: 1px solid var(--line); } .dialog-body { padding: 1.2rem; } .dialog-body img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 10px; margin-bottom: 1rem; } .dialog-close { background: transparent; color: var(--muted); border: 1px solid var(--line); border-radius: 8px; cursor: pointer; width: 2rem; height: 2rem; display: grid; place-items: center; font-size: 1.2rem; } /* ---------------- Admin Animations ---------------- */ @keyframes slideUpFade { 0% { opacity: 0; transform: translateY(12px); } 100% { opacity: 1; transform: translateY(0); } } @keyframes fadeInScale { 0% { opacity: 0; transform: scale(0.97); } 100% { opacity: 1; transform: scale(1); } } /* Apply staggered animation to panels and login sections */ .admin-login, .tab-panel { animation: slideUpFade 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards; } /* ---------------- Admin ---------------- */ .admin-page { max-width: 1100px; margin: 2rem auto; padding: 0 1rem; } .admin-login { max-width: 420px; margin: 5rem auto; padding: 2.5rem 2rem; background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2); transition: transform 0.3s ease, box-shadow 0.3s ease; } .admin-login:hover { box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3); } .admin-bar { display: flex; justify-content: space-between; align-items: center; padding: 1.2rem 0; margin-bottom: 2rem; border-bottom: 1px solid var(--line); } .admin-bar h1 { margin: 0; font-size: 1.6rem; letter-spacing: -0.02em; } .admin-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.8rem; } .panel { background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.8rem; box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15); transition: box-shadow 0.3s ease, border-color 0.3s ease; } .panel:hover { box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25); border-color: var(--accent); } .panel h2 { font-size: 1.15rem; font-family: "Inter", sans-serif; margin-bottom: 1.2rem; } table.admin-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; } table.admin-table th, table.admin-table td { text-align: left; padding: 0.75rem 0.6rem; border-bottom: 1px solid var(--line); transition: background-color 0.2s ease; } table.admin-table th { color: var(--muted); font-weight: 500; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.08em; padding-bottom: 0.5rem; } table.admin-table tbody tr { transition: transform 0.2s ease, background-color 0.2s ease; } table.admin-table tbody tr:hover { background: rgba(255,255,255,0.03); transform: translateX(4px); } .admin-form { display: grid; gap: 1rem; } .admin-form label { display: grid; gap: 0.3rem; font-size: 0.85rem; color: var(--muted); transition: color 0.2s; } .admin-form label:focus-within { color: var(--accent-strong); } .admin-form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; } .admin-form .row3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 1rem; } .admin-photo-preview { width: 100%; aspect-ratio: 16 / 9; background: var(--bg-elev) center / cover no-repeat; border: 1px dashed var(--line); border-radius: 10px; margin-bottom: 0.5rem; transition: border-color 0.3s ease, filter 0.3s ease; } .admin-photo-preview:hover { filter: brightness(1.1); } /* ---------------- Forms / Toggle Switch ---------------- */ .toggle-switch { position: relative; display: inline-block; width: 44px; height: 24px; flex-shrink: 0; } .toggle-switch input { opacity: 0; width: 0; height: 0; } .toggle-slider { position: absolute; cursor: pointer; top: 0; left: 0; right: 0; bottom: 0; background-color: var(--line); transition: background-color 0.3s ease; border-radius: 24px; } .toggle-slider:before { position: absolute; content: ""; height: 16px; width: 16px; left: 4px; bottom: 4px; background-color: var(--text); transition: transform 0.3s cubic-bezier(0.4, 0.0, 0.2, 1); border-radius: 50%; } input:checked + .toggle-slider { background-color: var(--accent); } input:focus + .toggle-slider { box-shadow: 0 0 0 2px var(--bg-card), 0 0 0 4px var(--accent); } input:checked + .toggle-slider:before { transform: translateX(20px); background-color: #111; } /* Admin tabs */ .admin-tabs { display: flex; gap: 0.4rem; margin-bottom: 1.5rem; border-bottom: 2px solid var(--line); padding-bottom: 0px; flex-wrap: wrap; } .admin-tabs .tab { background: transparent; border: none; color: var(--muted); padding: 0.8rem 1.4rem; border-radius: 12px 12px 0 0; font-family: "Inter", sans-serif; font-weight: 500; cursor: pointer; display: inline-flex; align-items: center; gap: 0.5rem; border-bottom: 3px solid transparent; transition: color 0.3s ease, border-color 0.3s ease, background-color 0.3s ease; margin-bottom: -2px; /* Overlap border */ } .admin-tabs .tab:hover { color: var(--text); background: rgba(255,255,255,0.03); } .admin-tabs .tab.active { color: var(--accent-strong); border-bottom-color: var(--accent); background: rgba(196, 138, 66, 0.05); } .tab-badge { background: var(--line); color: var(--text); font-size: 0.75rem; padding: 0.15rem 0.6rem; border-radius: 999px; min-width: 1.5rem; text-align: center; transition: background-color 0.3s ease, color 0.3s ease; } .admin-tabs .tab.active .tab-badge { background: var(--accent); color: #111; font-weight: 600; } .sub-tabs { display: inline-flex; gap: 0.3rem; background: rgba(255,255,255,0.03); border: 1px solid var(--line); border-radius: 999px; padding: 0.25rem; } .sub-tab { background: transparent; border: none; color: var(--muted); padding: 0.4rem 1.1rem; border-radius: 999px; cursor: pointer; font-size: 0.85rem; font-family: "Inter", sans-serif; transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease; } .sub-tab:hover { color: var(--text); background: rgba(255,255,255,0.05); } .sub-tab.active { background: var(--accent); color: #111; font-weight: 600; transform: scale(1.02); box-shadow: 0 2px 8px rgba(0,0,0,0.3); } /* Pills */ .pill { display: inline-block; padding: 0.2rem 0.6rem; border-radius: 999px; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.06em; font-weight: 600; transition: filter 0.2s ease, transform 0.2s ease; } .pill:hover { filter: brightness(1.1); transform: translateY(-1px); } .pill-new { background: rgba(200, 150, 80, 0.15); color: #e4b676; border: 1px solid rgba(200, 150, 80, 0.3); } .pill-qualified { background: rgba(90, 180, 120, 0.15); color: #6ecf96; border: 1px solid rgba(90, 180, 120, 0.3); } .pill-disqualified { background: rgba(180, 90, 90, 0.15); color: #d48a8a; border: 1px solid rgba(180, 90, 90, 0.3); } .pill-active { background: rgba(90, 180, 120, 0.15); color: #6ecf96; border: 1px solid rgba(90, 180, 120, 0.3); } .pill-inactive { background: rgba(160, 160, 160, 0.12); color: var(--muted); border: 1px solid transparent; } .muted { color: var(--muted); } .btn.small { padding: 0.35rem 0.7rem; font-size: 0.78rem; } .btn.danger { background: #7a2b2b; color: #fff; } .btn.danger:hover { background: #8f3535; } /* Dialog */ dialog#leadDialog { border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-card); color: var(--text); padding: 0; max-width: 580px; width: 92%; box-shadow: 0 24px 64px rgba(0, 0, 0, 0.4); transition: opacity 0.3s ease, transform 0.3s ease; } dialog#leadDialog[open] { animation: fadeInScale 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards; } dialog#leadDialog::backdrop { background: rgba(0,0,0,0.7); backdrop-filter: blur(4px); animation: fadeIn 0.3s ease forwards; } @keyframes fadeIn { 0% { opacity: 0; } 100% { opacity: 1; } } .dialog-head { display: flex; justify-content: space-between; align-items: center; padding: 1.2rem 1.6rem; border-bottom: 1px solid var(--line); background: rgba(255,255,255,0.02); } .dialog-close { background: transparent; border: none; color: var(--muted); font-size: 1.6rem; cursor: pointer; line-height: 1; width: 2rem; height: 2rem; display: grid; place-items: center; border-radius: 8px; transition: background-color 0.2s ease, color 0.2s ease; } .dialog-close:hover { background: rgba(255,255,255,0.1); color: var(--text); } .dialog-body { padding: 1.6rem; } dl.kv { display: grid; grid-template-columns: 120px 1fr; gap: 0.6rem 1rem; margin: 0; font-size: 0.9rem; } dl.kv dt { color: var(--muted); font-weight: 500; } dl.kv dd { margin: 0; color: var(--text); } /* ---------------- Responsive ---------------- */ @media (max-width: 900px) { .filters, .booking-form, .admin-grid, .why-grid { grid-template-columns: 1fr; } .footer-grid { grid-template-columns: 1fr 1fr; } .section-head { flex-direction: column; align-items: flex-start; } } @media (max-width: 700px) { .main-nav { display: none; position: absolute; right: 1rem; top: 100%; flex-direction: column; background: var(--bg-elev); border: 1px solid var(--line); padding: 1rem; border-radius: var(--radius); } .main-nav.open { display: flex; } .menu-toggle { display: inline-flex; } .footer-grid { grid-template-columns: 1fr; } .admin-form .row2, .admin-form .row3 { grid-template-columns: 1fr; } }