/* Nashville Executive Car — Design System */
:root {
    --gold: #cfa736;
    --gold-light: #f4d03f;
    --dark: #000;
    --dark-card: #111;
    --dark-card-end: #1a1a1a;
    --text: #e0e0e0;
    --text-white: #fff;
    --text-muted: #999;
    --header-height: 74px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    background: var(--dark);
    color: var(--text);
    font-family: 'Ubuntu', sans-serif;
    font-size: 16px;
    line-height: 1.6;
}
img { max-width: 100%; height: auto; }
a { color: var(--gold); }

/* === CONTAINER === */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* === HEADER === */
#site-header {
    position: fixed; top: 0; left: 0; right: 0;
    height: var(--header-height);
    background: rgba(0,0,0,0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 9999;
    border-bottom: 2px solid transparent;
    border-image: linear-gradient(90deg, transparent 10%, var(--gold) 50%, transparent 90%) 1;
}
.header-container {
    max-width: 1300px; margin: 0 auto;
    display: flex; align-items: center; justify-content: space-between;
    padding: 0 20px; height: 100%;
}
.header-left { display: flex; align-items: center; gap: 15px; }
.header-logo img { height: 50px; width: auto; border-radius: 6px; }
.header-phone {
    color: var(--gold); text-decoration: none;
    font-size: 1rem; font-weight: 600;
}
#site-nav { display: flex; gap: 4px; }
#site-nav a {
    color: var(--text-white); text-decoration: none;
    font-size: 0.9rem; font-weight: 500;
    text-transform: uppercase; letter-spacing: 0.5px;
    padding: 8px 12px; position: relative;
}
#site-nav a::after {
    content: ''; position: absolute; bottom: 0; left: 50%;
    width: 0; height: 2px; background: var(--gold);
    transition: width 0.3s; transform: translateX(-50%);
}
#site-nav a:hover::after, #site-nav a.active::after { width: 80%; }
#site-nav a:hover { color: var(--gold); }
#site-nav a.active { color: var(--gold); }

.mobile-menu-toggle {
    display: none; background: none; border: none; cursor: pointer;
    padding: 10px; flex-direction: column; gap: 5px;
}
.mobile-menu-toggle span {
    display: block; width: 24px; height: 2px;
    background: var(--gold); transition: 0.3s;
}
.mobile-menu-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.mobile-menu-toggle.active span:nth-child(2) { opacity: 0; }
.mobile-menu-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

#mobile-nav {
    display: none; position: fixed;
    top: var(--header-height); left: 0; right: 0;
    background: rgba(10,10,10,0.98);
    backdrop-filter: blur(10px);
    z-index: 9998; border-bottom: 2px solid var(--gold);
    padding: 20px;
}
#mobile-nav.open { display: block; }
#mobile-nav a {
    display: block; color: var(--text-white); text-decoration: none;
    font-size: 1.1rem; padding: 12px 20px; text-align: center;
    border-bottom: 1px solid rgba(207,167,54,0.2);
}
#mobile-nav a:last-child { border-bottom: none; }
#mobile-nav a.active { color: var(--gold); }

@media (max-width: 950px) {
    #site-nav { display: none; }
    .mobile-menu-toggle { display: flex; }
    .header-phone { font-size: 0.9rem; }
}

/* === HERO === */
.hero {
    position: relative; width: 100vw;
    margin-left: calc(-50vw + 50%);
    display: flex; align-items: center; justify-content: center;
    overflow: hidden; margin-top: var(--header-height); margin-bottom: 0;
    height: calc(100vh - var(--header-height)); min-height: 500px;
}
.hero-compact { height: auto; min-height: auto; padding: 100px 20px 40px; }
.hero-bg {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background-size: cover; background-position: center; z-index: 1;
}
.hero-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.5); z-index: 2;
}
.hero-content {
    position: relative; z-index: 3; text-align: center;
    max-width: 1000px; padding: 0 2rem;
    animation: fadeUp 1s ease-out;
}
.hero h1 {
    color: var(--gold); font-weight: 700; font-size: 3.5rem;
    line-height: 1.1; margin: 0 0 1.5rem;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.7);
}
.hero-subline {
    color: rgba(255,255,255,0.95); font-size: 1.4rem;
    line-height: 1.4; margin-bottom: 2rem;
    text-shadow: 0 1px 3px rgba(0,0,0,0.7);
    max-width: 800px; margin-left: auto; margin-right: auto;
}
.hero-subtext {
    color: rgba(255,255,255,0.85); font-size: 1rem; letter-spacing: 1px;
}
.hero-buttons {
    display: flex; justify-content: center; gap: 1.5rem;
    margin-bottom: 1.5rem; flex-wrap: wrap;
}
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}
@media (max-width: 768px) {
    .hero { height: auto; min-height: 350px; padding: 80px 20px 40px; }
    .hero-compact { padding: 80px 20px 30px; }
    .hero h1 { font-size: 2rem; }
    .hero-subline { font-size: 1.1rem; }
    .hero-buttons { flex-direction: column; gap: 1rem; align-items: center; }
}
@media (max-width: 480px) {
    .hero { padding: 70px 15px 30px; }
    .hero-compact { padding: 70px 15px 20px; }
    .hero h1 { font-size: 1.6rem; }
    .hero-subline { font-size: 1rem; }
}

/* === BUTTONS === */
.btn-primary {
    display: inline-block;
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    color: #000; font-weight: 700; font-size: 1rem;
    padding: 16px 40px; border-radius: 50px;
    border: none; cursor: pointer; text-decoration: none;
    transition: all 0.3s; position: relative; overflow: hidden;
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(207,167,54,0.3);
}
.btn-secondary {
    display: inline-block; padding: 16px 40px; border-radius: 50px;
    font-size: 1rem; font-weight: 700; cursor: pointer;
    text-decoration: none; transition: all 0.3s;
    background: transparent; border: 2px solid var(--text-white); color: var(--text-white);
}
.btn-secondary:hover { border-color: var(--gold); color: var(--gold); }
.btn-compact {
    display: inline-block;
    background: rgba(207,167,54,0.15); color: var(--gold);
    padding: 10px 20px; border-radius: 4px;
    border: 1px solid rgba(207,167,54,0.3);
    text-decoration: none; font-size: 0.9rem; transition: 0.3s;
}
.btn-compact:hover { background: rgba(207,167,54,0.25); border-color: var(--gold); }

/* === SECTIONS === */
section { padding: 80px 0; }
.section-title {
    text-align: center; font-size: 2.2rem; color: var(--text-white);
    margin: 0 0 1rem;
}
.section-subtitle {
    text-align: center; color: var(--text-muted); font-size: 1.1rem;
    margin: 0 auto 3rem; max-width: 700px;
}

/* === CARDS === */
.card {
    background: linear-gradient(145deg, var(--dark-card), var(--dark-card-end));
    border: 1px solid rgba(207,167,54,0.15);
    border-radius: 16px; padding: 2rem; transition: all 0.3s;
}
.card:hover {
    border-color: rgba(207,167,54,0.4); transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(207,167,54,0.1);
}
.card h3 { color: var(--text-white); margin: 0 0 0.75rem; }
.card p { color: var(--text); line-height: 1.6; margin: 0; }
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem; }
.card-grid-3 { grid-template-columns: repeat(3, 1fr); }
.card-grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .card-grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 768px) { .card-grid-3, .card-grid-4 { grid-template-columns: 1fr; } }

/* === STATS === */
.stats-section { display: flex; justify-content: center; gap: 3rem; padding: 60px 20px; flex-wrap: wrap; }
.stat { text-align: center; }
.stat-number { font-size: 3rem; font-weight: 700; color: var(--gold); }
.stat-label { font-size: 1rem; color: var(--text-muted); margin-top: 0.5rem; }
@media (max-width: 600px) { .stats-section { gap: 2rem; } .stat-number { font-size: 2rem; } }

/* === CTA === */
.cta-section {
    background: linear-gradient(135deg, var(--gold), #e6c463);
    padding: 60px 20px; text-align: center;
}
.cta-section h2 { color: #000; font-size: 2rem; margin: 0 0 0.5rem; }
.cta-section p { color: rgba(0,0,0,0.8); margin: 0 0 2rem; }
.cta-section .btn-primary { background: #000; color: var(--gold); }
.cta-section .btn-primary:hover { background: #111; }
.cta-section .btn-secondary { border-color: #000; color: #000; }
.cta-section .btn-secondary:hover { background: rgba(0,0,0,0.1); }
.cta-buttons { display: flex; justify-content: center; gap: 1.5rem; flex-wrap: wrap; }

/* === VEHICLE CARDS === */
.vehicle-card {
    display: grid; grid-template-columns: 1fr 1fr; gap: 2rem;
    background: linear-gradient(145deg, var(--dark-card), var(--dark-card-end));
    border: 1px solid rgba(207,167,54,0.15);
    border-radius: 16px; padding: 2rem; margin-bottom: 2rem;
}
.vehicle-card img { width: 100%; border-radius: 12px; object-fit: contain; }
.vehicle-card h3 { color: var(--gold); font-size: 1.5rem; margin: 0 0 0.25rem; }
.vehicle-subtitle { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 1rem; }
.vehicle-specs { display: flex; gap: 2rem; margin-bottom: 1rem; color: #ccc; font-size: 0.95rem; }
.vehicle-amenities { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1rem; }
.vehicle-amenities span {
    background: rgba(207,167,54,0.1); color: var(--gold);
    padding: 4px 12px; border-radius: 20px; font-size: 0.8rem;
}
@media (max-width: 768px) { .vehicle-card { grid-template-columns: 1fr; } }

/* === VEHICLE TABLE === */
.table-wrapper { overflow-x: auto; margin: 2rem 0; }
.vehicle-table { width: 100%; border-collapse: collapse; }
.vehicle-table th {
    background: rgba(207,167,54,0.15); color: var(--gold);
    text-align: left; padding: 12px 16px; font-weight: 600;
}
.vehicle-table td {
    padding: 12px 16px; border-bottom: 1px solid rgba(255,255,255,0.1); color: var(--text);
}
.vehicle-table tr:hover td { background: rgba(207,167,54,0.05); }

/* === FAQ === */
.faq-section { max-width: 800px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid rgba(255,255,255,0.1); }
.faq-question {
    display: flex; justify-content: space-between; align-items: center;
    padding: 20px 0; cursor: pointer;
    color: var(--text-white); font-weight: 600; font-size: 1.05rem;
}
.faq-question::after { content: '+'; color: var(--gold); font-size: 1.5rem; transition: 0.3s; }
.faq-item.active .faq-question::after { content: '\2212'; }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.faq-item.active .faq-answer { max-height: 500px; }
.faq-answer p { padding: 0 0 20px; color: #ccc; line-height: 1.6; margin: 0; }

/* === BLOG === */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
@media (max-width: 900px) { .blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .blog-grid { grid-template-columns: 1fr; } }

.blog-card {
    background: linear-gradient(145deg, var(--dark-card), var(--dark-card-end));
    border-radius: 12px; overflow: hidden;
    border: 1px solid rgba(255,255,255,0.05); transition: 0.3s;
}
.blog-card:hover { border-color: rgba(207,167,54,0.3); transform: translateY(-2px); }
.blog-card a { text-decoration: none; color: inherit; display: block; }
.blog-card-image { aspect-ratio: 16/9; overflow: hidden; }
.blog-card-image img { width: 100%; height: 100%; object-fit: cover; }
.blog-card-body { padding: 1.25rem; }
.blog-card-category {
    display: inline-block; background: rgba(207,167,54,0.15); color: var(--gold);
    font-size: 0.75rem; font-weight: 600; text-transform: uppercase;
    letter-spacing: 0.5px; padding: 3px 10px; border-radius: 4px; margin-bottom: 0.75rem;
}
.blog-card-title {
    color: var(--text-white); font-size: 1.05rem; font-weight: 700;
    line-height: 1.3; margin: 0 0 0.5rem;
}
.blog-card:hover .blog-card-title { color: var(--gold); }
.blog-card-excerpt { color: var(--text-muted); font-size: 0.85rem; line-height: 1.5; margin-bottom: 0.75rem; }
.blog-card-date { color: #666; font-size: 0.8rem; }

.category-filters { display: flex; gap: 0.5rem; flex-wrap: wrap; justify-content: center; margin-bottom: 2rem; }
.category-btn {
    background: transparent; border: 1px solid rgba(207,167,54,0.3);
    color: var(--gold); padding: 8px 16px; border-radius: 20px;
    cursor: pointer; font-size: 0.85rem; transition: 0.3s; font-family: inherit;
}
.category-btn:hover, .category-btn.active { background: var(--gold); color: #000; border-color: var(--gold); }

.blog-search-input {
    width: 100%; max-width: 400px; display: block; margin: 0 auto 2rem;
    background: var(--dark-card); border: 1px solid rgba(255,255,255,0.1);
    color: var(--text-white); padding: 12px 20px; border-radius: 30px;
    font-size: 1rem; font-family: inherit;
}
.blog-search-input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 10px rgba(207,167,54,0.2); }
.blog-search-input::placeholder { color: #666; }

/* === FORMS === */
form { max-width: 700px; margin: 0 auto; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1rem; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }
input, select, textarea {
    width: 100%; background: var(--dark-card);
    border: 2px solid rgba(255,255,255,0.1); color: var(--text-white);
    padding: 14px 18px; border-radius: 12px;
    font-size: 1rem; font-family: inherit; transition: 0.3s;
}
input:focus, select:focus, textarea:focus {
    border-color: var(--gold); outline: none;
    box-shadow: 0 0 10px rgba(207,167,54,0.2);
}
input::placeholder, textarea::placeholder { color: #666; }
select { appearance: none; cursor: pointer; }
textarea { resize: vertical; min-height: 120px; }
form .btn-primary { width: 100%; margin-top: 1rem; font-size: 1.1rem; }
.form-success {
    background: rgba(207,167,54,0.15); color: var(--gold);
    padding: 15px; border-radius: 8px; text-align: center; margin-top: 1rem;
}
.form-error {
    background: rgba(255,50,50,0.15); color: #ff6b6b;
    padding: 15px; border-radius: 8px; text-align: center; margin-top: 1rem;
}

/* === CONTACT METHODS === */
.contact-methods { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin-bottom: 3rem; }
.contact-method {
    text-align: center; padding: 2rem;
    background: linear-gradient(145deg, var(--dark-card), var(--dark-card-end));
    border: 1px solid rgba(207,167,54,0.15); border-radius: 16px; transition: 0.3s;
}
.contact-method:hover { border-color: rgba(207,167,54,0.4); }
.contact-method h3 { color: var(--gold); margin: 0 0 0.5rem; }
.contact-method a { color: var(--text-white); text-decoration: none; font-size: 1.1rem; font-weight: 600; }
.contact-method p { color: var(--text-muted); font-size: 0.9rem; margin: 0.5rem 0 0; }
@media (max-width: 768px) { .contact-methods { grid-template-columns: 1fr; } }

/* === FOOTER === */
#site-footer { background: var(--dark); margin-top: 0; }
.footer-gold-divider {
    height: 2px;
    background: linear-gradient(90deg, transparent 5%, var(--gold) 50%, transparent 95%);
}
.footer-main { padding: 40px 20px; }
.footer-grid {
    max-width: 1200px; margin: 0 auto;
    display: grid; grid-template-columns: 1fr 1fr 1fr;
    gap: 40px; align-items: start;
}
.footer-contact h3 { color: var(--gold); margin: 0 0 1rem; font-size: 1.1rem; }
.footer-contact a {
    display: block; color: #ccc; text-decoration: none;
    margin-bottom: 0.5rem; transition: 0.3s;
}
.footer-contact a:hover { color: var(--gold); }
.footer-logo { text-align: center; }
.footer-logo > img { width: 100px; border-radius: 8px; margin-bottom: 1rem; }
.footer-awards { display: flex; justify-content: center; gap: 15px; margin-bottom: 0.5rem; }
.footer-awards img { width: 70px; height: 70px; }
.footer-award-text { color: var(--text-muted); font-size: 0.85rem; margin: 0; }
.footer-actions { display: flex; flex-direction: column; gap: 10px; align-items: flex-end; }
.footer-copyright {
    text-align: center; padding: 20px;
    border-top: 1px solid rgba(255,255,255,0.05);
    color: #666; font-size: 0.85rem;
}
.footer-copyright a { color: var(--text-muted); text-decoration: none; }
.footer-copyright a:hover { color: var(--gold); }
@media (max-width: 768px) {
    .footer-grid { grid-template-columns: 1fr; text-align: center; }
    .footer-actions { align-items: center; }
}

/* === LEGAL === */
.legal-content {
    max-width: 900px; margin: calc(var(--header-height) + 40px) auto 40px;
    padding: 0 20px;
}
.legal-content h1 { color: var(--gold); font-size: 2rem; margin: 0 0 1rem; }
.legal-content h2 { color: var(--gold); font-size: 1.3rem; margin: 2rem 0 0.75rem; }
.legal-content p, .legal-content li { color: #ccc; line-height: 1.7; margin-bottom: 1rem; }
.legal-content a { color: var(--gold); }

/* === FLEET PREVIEW (homepage) === */
.fleet-preview { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.fleet-preview-card {
    background: linear-gradient(145deg, var(--dark-card), var(--dark-card-end));
    border: 1px solid rgba(207,167,54,0.15);
    border-radius: 12px; overflow: hidden; text-align: center; transition: 0.3s;
}
.fleet-preview-card:hover { border-color: rgba(207,167,54,0.4); transform: translateY(-4px); }
.fleet-preview-card img { width: 100%; aspect-ratio: 4/3; object-fit: contain; padding: 1rem; }
.fleet-preview-card h3 { color: var(--text-white); margin: 0 0 0.25rem; font-size: 1.1rem; }
.fleet-preview-card p { color: var(--text-muted); font-size: 0.85rem; margin: 0; padding: 0 1rem 1.5rem; }
@media (max-width: 900px) { .fleet-preview { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .fleet-preview { grid-template-columns: 1fr; } }

/* === UTILITIES === */
.text-gold { color: var(--gold); }
.text-center { text-align: center; }
.text-muted { color: var(--text-muted); }
.hidden { display: none; }
.mt-1 { margin-top: 1rem; } .mt-2 { margin-top: 2rem; } .mt-3 { margin-top: 3rem; }
.mb-1 { margin-bottom: 1rem; } .mb-2 { margin-bottom: 2rem; } .mb-3 { margin-bottom: 3rem; }

/* === SCROLL ANIMATIONS === */
.animate-on-scroll { opacity: 0; transform: translateY(20px); transition: opacity 0.6s, transform 0.6s; }
.animate-on-scroll.visible { opacity: 1; transform: translateY(0); }
