/* NC Cars - Public Page Styles */
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #0a0a0a;
    color: #fff;
    direction: inherit;
}

/* Header */
.public-header {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    border-bottom: 2px solid #D4AF37;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}
.public-header-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.public-logo {
    font-size: 32px;
    font-weight: 900;
    color: #D4AF37;
    letter-spacing: 3px;
}
.public-logo span {
    display: block;
    font-size: 12px;
    color: #888;
    font-weight: 400;
    letter-spacing: 1px;
}

/* Hero */
.hero {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 50%, #0a0a0a 100%);
    padding: 80px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(212,175,55,0.08) 0%, transparent 70%);
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
}
.hero h1 {
    font-size: 48px;
    color: #D4AF37;
    margin-bottom: 15px;
    position: relative;
}
.hero p {
    font-size: 18px;
    color: #888;
    max-width: 600px;
    margin: 0 auto;
    position: relative;
}

/* Cars Grid */
.cars-section {
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 20px;
}
.cars-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 25px;
}
.car-card {
    background: #1a1a1a;
    border: 1px solid #2a2a2a;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}
.car-card:hover {
    border-color: #D4AF37;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(212,175,55,0.1);
}
.car-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}
.car-info {
    padding: 20px;
}
.car-name {
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 10px;
}
.car-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-bottom: 15px;
}
.car-detail {
    font-size: 13px;
    color: #888;
}
.car-detail strong {
    color: #D4AF37;
}
.car-price {
    font-size: 24px;
    font-weight: 700;
    color: #D4AF37;
    margin-bottom: 15px;
}
.car-btn {
    display: block;
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, #D4AF37, #B8941F);
    color: #0a0a0a;
    text-align: center;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}
.car-btn:hover {
    background: linear-gradient(135deg, #E8C84A, #D4AF37);
    transform: scale(1.02);
}

/* Car Detail Page */
.car-detail-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}
.car-detail-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
}
.car-gallery {
    background: #1a1a1a;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #2a2a2a;
}
.car-gallery-main {
    width: 100%;
    height: 450px;
    object-fit: cover;
}
.car-gallery-thumbs {
    display: flex;
    gap: 10px;
    padding: 15px;
    overflow-x: auto;
}
.car-gallery-thumb {
    width: 80px;
    height: 60px;
    object-fit: cover;
    border-radius: 6px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}
.car-gallery-thumb:hover,
.car-gallery-thumb.active {
    border-color: #D4AF37;
}
.car-video {
    width: 100%;
    border-radius: 12px;
    margin-top: 20px;
}
.car-detail-info h1 {
    font-size: 32px;
    color: #D4AF37;
    margin-bottom: 20px;
}
.car-detail-price {
    font-size: 36px;
    font-weight: 700;
    color: #D4AF37;
    margin-bottom: 30px;
    padding: 20px;
    background: rgba(212,175,55,0.05);
    border-radius: 12px;
    border: 1px solid rgba(212,175,55,0.2);
}
.car-specs {
    display: grid;
    gap: 15px;
}
.car-spec {
    display: flex;
    justify-content: space-between;
    padding: 15px 20px;
    background: #1a1a1a;
    border-radius: 8px;
    border: 1px solid #2a2a2a;
}
.car-spec-label {
    color: #888;
    font-size: 14px;
}
.car-spec-value {
    color: #fff;
    font-weight: 600;
    font-size: 15px;
}
.car-notes {
    margin-top: 30px;
    padding: 20px;
    background: #1a1a1a;
    border-radius: 12px;
    border: 1px solid #2a2a2a;
}
.car-notes h3 {
    color: #D4AF37;
    margin-bottom: 10px;
    font-size: 18px;
}
.car-notes p {
    color: #888;
    line-height: 1.8;
}
.back-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: #2a2a2a;
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}
.back-btn:hover {
    background: #D4AF37;
    color: #0a0a0a;
}

/* Footer */
.public-footer {
    background: #0a0a0a;
    border-top: 1px solid #2a2a2a;
    padding: 30px 20px;
    text-align: center;
    margin-top: 60px;
}
.public-footer p {
    color: #666;
    font-size: 14px;
}
.public-footer .logo {
    font-size: 24px;
    font-weight: 900;
    color: #D4AF37;
    margin-bottom: 10px;
}

/* Empty State */
.empty-cars {
    text-align: center;
    padding: 100px 20px;
}
.empty-cars i {
    font-size: 80px;
    color: #2a2a2a;
    margin-bottom: 20px;
}
.empty-cars h2 {
    color: #666;
    font-size: 24px;
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 { font-size: 32px; }
    .cars-grid { grid-template-columns: 1fr; }
    .car-detail-grid { grid-template-columns: 1fr; }
    .car-gallery-main { height: 280px; }
}

/* 2026 showroom visual refresh */
:root {
    --gold: #d9ad32;
    --gold-light: #f3d471;
    --ink: #08090b;
    --surface: #14161a;
    --surface-2: #1b1e23;
    --line: rgba(255,255,255,.09);
    --muted: #a5a7ad;
}

html { scroll-behavior: smooth; }
body {
    min-height: 100vh;
    font-family: Tahoma, "Segoe UI", Arial, sans-serif;
    line-height: 1.65;
    background:
        radial-gradient(circle at 90% 4%, rgba(217,173,50,.09), transparent 26rem),
        radial-gradient(circle at 0 75%, rgba(65,139,171,.05), transparent 28rem),
        var(--ink);
}
::selection { background: var(--gold); color: #12100a; }

.public-header {
    padding: 10px 0;
    border-bottom: 1px solid rgba(217,173,50,.22);
    background: rgba(8,9,11,.78);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    box-shadow: 0 10px 35px rgba(0,0,0,.18);
}
.public-header-inner { min-height: 58px; }
.public-logo { text-decoration: none; line-height: 1; }
.public-logo span { margin-top: 6px; color: #aaa; letter-spacing: 0; }
.public-nav-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 15px;
    color: #ddd;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: rgba(255,255,255,.035);
    transition: .2s ease;
}
.public-nav-link:hover { color: var(--gold-light); border-color: rgba(217,173,50,.35); transform: translateY(-1px); }
.public-header-actions { display: flex; align-items: center; gap: 12px; }
.language-switcher { display: inline-flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 3px; padding: 4px; border: 1px solid var(--line); border-radius: 12px; background: rgba(255,255,255,.025); }
.language-switcher a { padding: 7px 10px; border-radius: 8px; color: #8f9196; text-decoration: none; font-size: 12px; font-weight: 800; transition: .2s ease; }
.language-switcher a:hover { color: #fff; }
.language-switcher a.active { color: #17130a; background: var(--gold); }
.public-contact-bar { max-width: 1400px; margin: 14px auto 0; padding: 12px 20px; display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 12px 18px; color: #b8bac0; }
.public-contact-bar > strong { color: var(--gold-light); font-size: 13px; }
.public-contact-links { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 8px; }
.public-contact-link { min-height: 38px; padding: 8px 12px; display: inline-flex; align-items: center; gap: 7px; border: 1px solid var(--line); border-radius: 11px; color: #d7d8db; background: rgba(255,255,255,.025); text-decoration: none; font-size: 12px; font-weight: 800; transition: .2s ease; }
.public-contact-link:hover { color: #fff; border-color: rgba(217,173,50,.4); transform: translateY(-2px); }
.public-contact-link i { color: var(--gold); font-size: 15px; }
.public-contact-link.contact-whatsapp i { color: #25d366; }
.public-contact-link.contact-instagram i { color: #e65b91; }
.public-contact-link.contact-snapchat i { color: #ffea44; }
.public-contact-link.contact-facebook i { color: #69a3ff; }
.public-contact-link.contact-tiktok i { color: #f5f5f5; }

.hero { min-height: min(670px,78vh); display: grid; place-items: center; padding: 90px 20px; background: linear-gradient(125deg,rgba(8,9,11,.96),rgba(25,27,32,.8),rgba(8,9,11,.98)); }
.hero::before { width: 760px; height: 760px; top: -280px; background: radial-gradient(circle,rgba(217,173,50,.16),transparent 67%); }
.hero::after { content: "NC"; position: absolute; left: 4%; bottom: -72px; font-size: clamp(150px,27vw,410px); line-height: 1; font-weight: 900; color: rgba(255,255,255,.018); letter-spacing: 12px; }
.hero-inner { position: relative; z-index: 2; max-width: 900px; margin: auto; text-align: center; }
.hero-kicker { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 20px; padding: 8px 14px; color: var(--gold-light); border: 1px solid rgba(217,173,50,.25); border-radius: 999px; background: rgba(217,173,50,.07); font-size: 12px; font-weight: 800; }
.hero h1 { margin-bottom: 20px; color: #fff; font-size: clamp(40px,7vw,78px); line-height: 1.17; letter-spacing: -2px; }
.hero h1 span { display: block; color: var(--gold); }
.hero p { max-width: 680px; color: #afb0b5; font-size: clamp(16px,2vw,20px); line-height: 1.9; }
.hero-action { display: inline-flex; align-items: center; gap: 10px; margin-top: 30px; padding: 14px 24px; border-radius: 14px; color: #151108; background: linear-gradient(135deg,var(--gold-light),#bd8d1b); text-decoration: none; font-weight: 900; box-shadow: 0 16px 38px rgba(217,173,50,.2); transition: .22s ease; }
.hero-action:hover { transform: translateY(-3px); box-shadow: 0 20px 45px rgba(217,173,50,.28); }
.hero-features { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px 24px; margin-top: 30px; color: #93959a; font-size: 13px; }
.hero-features i { color: var(--gold); margin-left: 4px; }

.cars-section { padding: 70px 24px 90px; }
.showroom-search {
    max-width: 1180px;
    margin: 0 auto 34px;
    padding: 22px;
    display: grid;
    grid-template-columns: minmax(260px, 1.4fr) minmax(240px, 1fr) auto;
    align-items: end;
    gap: 16px;
    border: 1px solid rgba(217,173,50,.18);
    border-radius: 20px;
    background: linear-gradient(145deg,rgba(255,255,255,.035),rgba(255,255,255,.015));
    box-shadow: 0 20px 55px rgba(0,0,0,.18);
}
.showroom-search-field label { display: block; margin-bottom: 9px; color: #d7d8db; font-size: 13px; font-weight: 800; }
.showroom-search-control { position: relative; }
.showroom-search-control > i { position: absolute; z-index: 1; inset-inline-start: 16px; top: 50%; transform: translateY(-50%); color: var(--gold); pointer-events: none; }
.showroom-search-control input,
.showroom-search-control select {
    width: 100%;
    min-height: 52px;
    padding-inline: 46px 16px;
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 13px;
    outline: none;
    color: #f5f5f5;
    background: #0d0e10;
    font: inherit;
    transition: border-color .2s ease, box-shadow .2s ease;
}
.showroom-search-control select { cursor: pointer; }
.showroom-search-control input::placeholder { color: #696b70; }
.showroom-search-control input:focus,
.showroom-search-control select:focus { border-color: rgba(217,173,50,.7); box-shadow: 0 0 0 4px rgba(217,173,50,.1); }
.showroom-search-reset { min-height: 52px; padding: 0 18px; border: 1px solid rgba(255,255,255,.1); border-radius: 13px; color: #d7d8db; background: rgba(255,255,255,.04); cursor: pointer; font: inherit; font-weight: 800; }
.showroom-search-reset:hover { color: var(--gold-light); border-color: rgba(217,173,50,.3); }
.showroom-search-status { grid-column: 1 / -1; min-height: 20px; color: #8e9095; font-size: 13px; }
.car-card[hidden] { display: none !important; }
.filtered-empty { max-width: 1180px; margin: 0 auto; }
.filtered-empty[hidden] { display: none !important; }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 28px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.section-heading span { color: var(--gold); font-size: 12px; font-weight: 800; }
.section-heading h2 { margin-top: 3px; font-size: clamp(25px,3vw,36px); }
.section-heading > i { width: 43px; height: 43px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 13px; color: var(--gold); }
.cars-grid { grid-template-columns: repeat(auto-fill,minmax(290px,1fr)); gap: 22px; }
.car-card { position: relative; border-color: var(--line); border-radius: 20px; background: linear-gradient(145deg,var(--surface-2),#111317); box-shadow: 0 15px 40px rgba(0,0,0,.18); }
.car-card::after { content: attr(data-availability); position: absolute; top: 16px; inset-inline-start: 16px; padding: 6px 10px; border-radius: 999px; color: #d9ffe6; background: rgba(24,135,67,.78); backdrop-filter: blur(8px); font-size: 11px; font-weight: 800; }
.car-card:hover { transform: translateY(-7px); border-color: rgba(217,173,50,.38); box-shadow: 0 25px 55px rgba(0,0,0,.3); }
.car-image { height: 235px; transition: transform .45s ease; }
.car-card:hover .car-image { transform: scale(1.035); }
.car-info { position: relative; padding: 22px; background: linear-gradient(180deg,rgba(20,22,26,.96),#121418); }
.car-name { font-size: 21px; margin-bottom: 15px; }
.car-details { gap: 10px; }
.car-detail { color: #a0a2a7; }
.car-detail strong { color: #d7d7da; }
.car-price { padding-top: 14px; border-top: 1px solid var(--line); font-size: 25px; }
.car-btn { border-radius: 12px; padding: 13px; font-weight: 900; box-shadow: 0 10px 25px rgba(217,173,50,.13); }
.car-public-actions { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 9px; }
.car-share-title { width: 100%; margin-top: 7px; color: #999ba0; font-size: 12px; font-weight: 800; }
.car-action { min-height: 42px; padding: 9px 14px; display: inline-flex; align-items: center; justify-content: center; gap: 7px; border: 1px solid var(--line); border-radius: 11px; color: #ddd; background: rgba(255,255,255,.035); text-decoration: none; cursor: pointer; font: inherit; font-size: 12px; font-weight: 800; }
.car-action:hover { color: var(--gold-light); border-color: rgba(217,173,50,.4); }
.car-action.whatsapp { width: 100%; color: #eafff1; border-color: rgba(37,211,102,.35); background: rgba(37,211,102,.1); }
.car-booking { width: 100%; margin-top: 24px; padding: 20px; border: 1px solid rgba(37,211,102,.24); border-radius: 16px; background: rgba(37,211,102,.045); }
.car-booking h2 { margin-bottom: 16px; color: #effff4; font-size: 18px; }
.car-booking h2 i { color: #25d366; }
.booking-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 13px; margin-bottom: 15px; }
.booking-grid label { display: block; }
.booking-grid label > span { display: block; margin-bottom: 7px; color: #bbb; font-size: 12px; font-weight: 800; }
.booking-grid input,.booking-grid select,.booking-grid textarea { width: 100%; min-height: 44px; padding: 9px 12px; border: 1px solid var(--line); border-radius: 10px; outline: none; color: #eee; background: #0d0e10; font: inherit; }
.booking-grid input:focus,.booking-grid select:focus,.booking-grid textarea:focus { border-color: rgba(37,211,102,.55); box-shadow: 0 0 0 3px rgba(37,211,102,.08); }
.booking-notes { grid-column: 1 / -1; }

.car-detail-page { padding-top: 32px; }
.back-btn { border: 1px solid var(--line); border-radius: 12px; background: rgba(255,255,255,.045); }
.car-detail-grid { gap: clamp(24px,4vw,52px); align-items: start; }
.car-gallery { border-color: var(--line); border-radius: 20px; background: var(--surface); box-shadow: 0 22px 55px rgba(0,0,0,.25); }
.car-gallery-main { height: min(520px,55vw); min-height: 310px; }
.car-gallery-thumbs { padding: 14px; background: rgba(0,0,0,.2); }
.car-gallery-thumb { width: 92px; height: 67px; border-radius: 10px; }
.car-detail-info { position: sticky; top: 100px; }
.car-detail-info h1 { color: #fff; font-size: clamp(28px,4vw,42px); line-height: 1.35; }
.car-detail-price { color: var(--gold-light); border-color: rgba(217,173,50,.22); border-radius: 17px; background: linear-gradient(120deg,rgba(217,173,50,.13),rgba(217,173,50,.03)); }
.car-specs { gap: 10px; }
.car-spec { padding: 15px 17px; border-color: var(--line); border-radius: 12px; background: rgba(255,255,255,.03); }
.car-spec-label { color: #9d9fa5; }
.car-notes { border-color: var(--line); border-radius: 17px; background: var(--surface); }
.car-video { border: 1px solid var(--line); background: #000; }

.empty-cars { border: 1px dashed var(--line); border-radius: 20px; background: rgba(255,255,255,.018); }
.empty-cars i { color: rgba(217,173,50,.18); }
.public-footer { margin-top: 20px; padding: 42px 20px; border-color: var(--line); background: #07080a; }
.public-footer .logo { width: 52px; height: 52px; display: grid; place-items: center; margin: 0 auto 13px; border-radius: 15px; color: #171208; background: linear-gradient(145deg,var(--gold-light),#b88717); }

@media (max-width: 768px) {
    .public-header-inner { padding-inline: 15px; }
    .public-logo { font-size: 27px; }
    .public-nav-link { padding: 9px 11px; font-size: 12px; }
    .public-header-inner { gap: 12px; flex-wrap: wrap; }
    .public-header-actions { width: 100%; justify-content: space-between; }
    .language-switcher a { padding: 7px 8px; font-size: 11px; }
    .public-contact-bar { padding-inline: 15px; }
    .public-contact-link span { display: none; }
    .public-contact-link.contact-phone span { display: inline; }
    .public-contact-link { justify-content: center; min-width: 40px; padding: 8px 10px; }
    .booking-grid { grid-template-columns: 1fr; }
    .booking-notes { grid-column: auto; }
    .showroom-search { grid-template-columns: 1fr; padding: 17px; }
    .showroom-search-reset { width: 100%; }
    .hero { min-height: 610px; padding: 72px 17px; }
    .hero h1 { letter-spacing: -1px; }
    .hero-features { gap: 10px 15px; }
    .cars-section { padding: 50px 14px 70px; }
    .cars-grid { grid-template-columns: 1fr; }
    .car-detail-page { padding: 22px 14px; }
    .car-detail-info { position: static; }
    .car-gallery-main { height: 300px; min-height: 0; }
}

@media (prefers-reduced-motion: reduce) {
    *,*::before,*::after { scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important; }
}
