/* ========================================
   OTOKOC RENTACAR - Shared Styles
   ======================================== */

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

:root {
    --primary: #c8102e;
    --primary-dark: #a00d24;
    --primary-light: #e01235;
    --secondary: #1a1a2e;
    --bg-main: #fdf2f2;
    --bg-section: #fff5f5;
    --bg-card: #ffffff;
    --text-dark: #1a1a2e;
    --text-gray: #555555;
    --text-light: #333333;
    --border: #eee;
    --border-light: #f0d0d0;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--bg-main);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

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

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ========================================
   MULTI-PAGE SYSTEM
   ======================================== */
.page {
    display: none;
}

.page.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

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

/* ========================================
   BUTTONS
   ======================================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s;
    cursor: pointer;
    border: none;
    font-family: inherit;
}

.btn-primary {
    background: var(--primary);
    color: #ffffff;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(200, 16, 46, 0.35);
    background: var(--primary-dark);
}

.btn-outline {
    background: #ffffff;
    color: var(--text-dark);
    border: 2px solid var(--text-dark);
}

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.btn-full { width: 100%; justify-content: center; }
.btn-lg { padding: 14px 24px; font-size: 1rem; }

/* ========================================
   TOP BAR
   ======================================== */
.top-bar {
    background: var(--secondary);
    padding: 8px 0;
    font-size: 0.85rem;
    color: #ffffff;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-left {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #e0e0e0;
}

.top-bar-left i { color: #ffffff; }

.top-bar-right a {
    color: #e0e0e0;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: color 0.3s;
}

.top-bar-right a:hover { color: #ffffff; }

/* ========================================
   HEADER
   ======================================== */
.header {
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(10px);
    padding: 16px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid #eee;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.logo {
    display: flex;
    flex-direction: column;
}

.logo-name {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.logo-name span:first-child { color: var(--secondary); }
.logo-name span:last-child { color: var(--primary); }

.logo-sub {
    font-size: 0.65rem;
    color: #777;
    text-transform: uppercase;
    letter-spacing: 2px;
}

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

.nav a {
    color: #333;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
}

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

.nav a.nav-link.active {
    color: var(--primary);
    font-weight: 700;
}

.nav a.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary);
    border-radius: 1px;
}

.mobile-toggle {
    display: none;
    position: relative;
    z-index: 1001;
    background: none;
    border: none;
    color: var(--secondary);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 8px;
    -webkit-tap-highlight-color: transparent;
}

.mobile-toggle i {
    pointer-events: none;
}

/* ========================================
   HERO
   ======================================== */
.hero {
    padding: 80px 0 60px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(200, 16, 46, 0.05) 0%, transparent 70%);
    border-radius: 50%;
}

.hero-content { position: relative; z-index: 2; }

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(200, 16, 46, 0.08);
    border: 1px solid rgba(200, 16, 46, 0.25);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    color: var(--primary);
    margin-bottom: 24px;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

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

.hero-desc {
    font-size: 1.1rem;
    color: var(--text-gray);
    max-width: 600px;
    margin-bottom: 32px;
    line-height: 1.8;
}

.hero-desc strong { color: var(--text-dark); }

.hero-buttons {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
}

.hero-features {
    display: flex;
    gap: 32px;
    flex-wrap: wrap;
}

.hero-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-gray);
    font-size: 0.9rem;
}

.hero-feature i {
    color: var(--primary);
    font-size: 1.2rem;
}

/* ========================================
   SECTION TITLES
   ======================================== */
.section-title {
    text-align: center;
    margin-bottom: 48px;
}

.section-title h2 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.section-title p {
    color: var(--text-gray);
    font-size: 1rem;
    max-width: 700px;
    margin: 0 auto;
}

/* ========================================
   CARS SECTION
   ======================================== */
.cars-section { padding: 60px 0; }

.cars-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
    gap: 24px;
}

.car-card {
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid #eee;
    overflow: hidden;
    transition: all 0.3s;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}

.car-card:hover {
    transform: translateY(-4px);
    border-color: var(--primary);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.car-card-header {
    position: relative;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, #f8f8f8 0%, #ffffff 100%);
    min-height: 180px;
}

.car-card-header img {
    max-width: 85%;
    height: auto;
    max-height: 140px;
    object-fit: contain;
}

.car-badges {
    position: absolute;
    top: 12px;
    left: 12px;
    display: flex;
    gap: 6px;
}

.car-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
}

.car-badge.economy { background: rgba(16, 185, 129, 0.1); color: #10b981; border: 1px solid rgba(16, 185, 129, 0.3); }
.car-badge.special { background: rgba(245, 158, 11, 0.1); color: #f59e0b; border: 1px solid rgba(245, 158, 11, 0.3); }
.car-badge.premium { background: rgba(168, 85, 247, 0.1); color: #a855f7; border: 1px solid rgba(168, 85, 247, 0.3); }
.car-badge.suv { background: rgba(59, 130, 246, 0.1); color: #3b82f6; border: 1px solid rgba(59, 130, 246, 0.3); }
.car-badge.kasko { background: rgba(200, 16, 46, 0.08); color: var(--primary); border: 1px solid rgba(200, 16, 46, 0.25); }

.car-card-body { padding: 20px; }

.car-card-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.car-card-title h3 { font-size: 1.3rem; font-weight: 700; }

.car-card-title span {
    font-size: 0.7rem;
    color: #10b981;
    background: rgba(16, 185, 129, 0.08);
    padding: 4px 10px;
    border-radius: 20px;
    border: 1px solid rgba(16, 185, 129, 0.25);
}

.car-specs {
    display: flex;
    gap: 16px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.car-spec {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    color: var(--text-gray);
}

.car-spec i { color: #666; font-size: 1rem; }

.car-pricing {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 20px;
}

.price-item {
    background: #fdf2f2;
    border: 1px solid var(--border-light);
    border-radius: 10px;
    padding: 12px;
    text-align: center;
}

.price-item .label { font-size: 0.65rem; color: #777; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 4px; }
.price-item .amount { font-size: 1.1rem; font-weight: 700; color: var(--text-dark); }
.price-item .sub { font-size: 0.7rem; color: var(--primary); margin-top: 2px; }
.price-item.popular { border-color: var(--primary); background: rgba(200, 16, 46, 0.05); }
.price-item.popular .label { color: var(--primary); }

.car-card-actions { display: flex; gap: 10px; }
.car-card-actions .btn { flex: 1; justify-content: center; padding: 12px 16px; font-size: 0.85rem; }

/* ========================================
   WHY US
   ======================================== */
.why-section { padding: 80px 0; background: var(--bg-section); }

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.why-card {
    background: #ffffff;
    border: 1px solid #eee;
    border-radius: 16px;
    padding: 32px;
    transition: all 0.3s;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}

.why-card:hover { border-color: var(--primary); transform: translateY(-4px); box-shadow: 0 12px 30px rgba(0,0,0,0.08); }
.why-card i { font-size: 2.5rem; color: var(--primary); margin-bottom: 16px; display: block; }
.why-card h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 10px; }
.why-card p { color: var(--text-gray); font-size: 0.9rem; line-height: 1.7; }

/* ========================================
   ABOUT
   ======================================== */
.about-section { padding: 80px 0; }
.about-content { max-width: 900px; margin: 0 auto; }
.about-content h2 { font-size: 2rem; font-weight: 700; margin-bottom: 20px; }
.about-content h3 { font-size: 1.4rem; font-weight: 600; margin-top: 32px; margin-bottom: 12px; }
.about-content p { color: var(--text-gray); font-size: 0.95rem; line-height: 1.8; margin-bottom: 16px; }
.about-content strong { color: var(--text-dark); }
.about-content ul { list-style: none; margin: 16px 0; }
.about-content ul li { color: var(--text-gray); font-size: 0.95rem; padding: 8px 0 8px 24px; position: relative; }
.about-content ul li::before { content: '•'; position: absolute; left: 0; color: var(--primary); font-size: 1.2rem; }
.about-content ul li strong { color: var(--text-dark); }

/* ========================================
   CONTACT
   ======================================== */
.contact-section { padding: 60px 0; }

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
    margin-bottom: 48px;
}

.contact-card {
    background: #ffffff;
    border: 1px solid #eee;
    border-radius: 16px;
    padding: 32px;
    text-align: center;
    transition: all 0.3s;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}

.contact-card:hover { border-color: var(--primary); transform: translateY(-4px); }
.contact-card i { font-size: 2.5rem; color: var(--primary); margin-bottom: 12px; display: block; }
.contact-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 8px; }
.contact-card p { color: var(--text-gray); font-size: 0.9rem; }
.contact-card a { color: var(--primary); font-weight: 500; }

.company-info {
    background: #ffffff;
    border: 1px solid #eee;
    border-radius: 16px;
    padding: 32px;
    max-width: 700px;
    margin: 0 auto;
}

.company-info h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 16px; }

.info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.info-grid div {
    font-size: 0.9rem;
    color: var(--text-gray);
}

.info-grid strong { color: var(--text-dark); }

/* ========================================
   RESERVATION
   ======================================== */
.reservation-section { padding: 60px 0; }

.reservation-form-wrapper {
    max-width: 700px;
    margin: 0 auto;
    background: #ffffff;
    border: 1px solid #eee;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}

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

.form-group label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.form-group label i {
    color: var(--primary);
    font-size: 1rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #eee;
    border-radius: 10px;
    font-size: 0.95rem;
    font-family: inherit;
    transition: border-color 0.3s;
    background: #fafafa;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(200, 16, 46, 0.08);
}

.form-group small {
    display: block;
    font-size: 0.75rem;
    color: #999;
    margin-top: 4px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-row.three {
    grid-template-columns: 1fr 1fr 1fr;
}

.form-hint {
    text-align: center;
    font-size: 0.8rem;
    color: #999;
    margin-top: 16px;
}

/* ========================================
   FAQ
   ======================================== */
.faq-section { padding: 80px 0; background: var(--bg-section); }
.faq-list { max-width: 800px; margin: 0 auto; }

.faq-item {
    background: #ffffff;
    border: 1px solid #eee;
    border-radius: 12px;
    margin-bottom: 12px;
    overflow: hidden;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.3s;
}

.faq-question:hover { color: var(--primary); }
.faq-question i { font-size: 1.2rem; transition: transform 0.3s; }
.faq-answer { padding: 0 24px 20px; color: var(--text-gray); font-size: 0.9rem; line-height: 1.7; display: none; }
.faq-item.active .faq-answer { display: block; }
.faq-item.active .faq-question i { transform: rotate(180deg); }

/* ========================================
   FOOTER
   ======================================== */
.footer {
    background: var(--secondary);
    padding: 60px 0 30px;
    border-top: 1px solid #333;
    color: #ffffff;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand .logo-name { margin-bottom: 8px; }
.footer-brand p { color: #aaa; font-size: 0.85rem; margin-bottom: 16px; }

.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    color: #ccc;
    margin-right: 8px;
    transition: all 0.3s;
}

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

.footer-col h4 {
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #ffffff;
}

.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { color: #bbb; font-size: 0.85rem; transition: color 0.3s; }
.footer-col ul li a:hover { color: #ffffff; }

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: #bbb;
    font-size: 0.85rem;
    margin-bottom: 12px;
}

.footer-contact li i { color: var(--primary); margin-top: 2px; }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.15);
    padding-top: 24px;
    text-align: center;
}

.footer-bottom p { color: #999; font-size: 0.8rem; }

/* ========================================
   WHATSAPP FLOAT
   ======================================== */
.whatsapp-btn {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 56px;
    height: 56px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.8rem;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: transform 0.3s;
}

.whatsapp-btn:hover { transform: scale(1.1); }

/* ========================================
   ADMIN PANEL STYLES
   ======================================== */
.admin-body { background: #f1f5f9; }

.admin-login {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 20px;
}

.login-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 40px;
    width: 100%;
    max-width: 400px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.login-header { text-align: center; margin-bottom: 32px; }
.login-header p { color: var(--text-gray); margin-top: 8px; }
.login-hint { text-align: center; font-size: 0.8rem; color: #999; margin-top: 16px; }

.admin-dashboard { display: flex; min-height: 100vh; }

.admin-sidebar {
    width: 260px;
    background: var(--secondary);
    color: #ffffff;
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    z-index: 100;
}

.sidebar-header {
    padding: 24px 20px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    gap: 12px;
}

.admin-badge {
    font-size: 0.65rem;
    background: var(--primary);
    color: #fff;
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: 700;
}

.sidebar-nav { flex: 1; padding: 16px 12px; }

.sidebar-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: 8px;
    color: #bbb;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.2s;
    margin-bottom: 4px;
}

.sidebar-link:hover { background: rgba(255,255,255,0.08); color: #ffffff; }
.sidebar-link.active { background: var(--primary); color: #ffffff; }
.sidebar-link i { font-size: 1.2rem; }

.sidebar-footer { padding: 16px 20px; border-top: 1px solid rgba(255,255,255,0.1); }
.sidebar-footer .btn-outline { background: transparent; color: #bbb; border-color: rgba(255,255,255,0.2); }
.sidebar-footer .btn-outline:hover { border-color: var(--primary); color: var(--primary); }

.admin-content { flex: 1; margin-left: 260px; padding: 32px; min-height: 100vh; }

.admin-section { display: none; }
.admin-section:first-of-type { display: block; }

.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
    flex-wrap: wrap;
    gap: 16px;
}

.admin-header h1 { font-size: 1.8rem; font-weight: 700; display: flex; align-items: center; gap: 12px; }
.admin-header h1 i { color: var(--primary); }
.admin-header p { color: var(--text-gray); font-size: 0.9rem; width: 100%; }

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 32px;
}

.stat-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    border: 1px solid #eee;
}

.stat-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: rgba(200, 16, 46, 0.1);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.stat-icon.green { background: rgba(37, 211, 102, 0.1); color: #25d366; }
.stat-icon.blue { background: rgba(59, 130, 246, 0.1); color: #3b82f6; }
.stat-number { display: block; font-size: 1.5rem; font-weight: 700; }
.stat-label { display: block; font-size: 0.8rem; color: var(--text-gray); }

.quick-actions h3 { font-size: 1.1rem; font-weight: 600; margin-bottom: 16px; }

.actions-grid { display: flex; gap: 12px; flex-wrap: wrap; }

.action-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: #ffffff;
    border: 1px solid #eee;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    color: var(--text-dark);
    font-family: inherit;
}

.action-btn:hover { border-color: var(--primary); color: var(--primary); }

.admin-table-wrapper {
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid #eee;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.admin-table { width: 100%; border-collapse: collapse; }

.admin-table th {
    background: #f8fafc;
    padding: 14px 16px;
    text-align: left;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-gray);
    border-bottom: 1px solid #eee;
}

.admin-table td { padding: 14px 16px; border-bottom: 1px solid #f1f5f9; font-size: 0.9rem; }
.admin-table tr:hover { background: #fafafa; }

.table-car-img { width: 80px; height: 50px; object-fit: contain; border-radius: 6px; background: #f8f8f8; }

.table-badge { display: inline-block; padding: 3px 10px; border-radius: 20px; font-size: 0.7rem; font-weight: 600; }
.table-badge.economy { background: rgba(16, 185, 129, 0.1); color: #10b981; }
.table-badge.special { background: rgba(245, 158, 11, 0.1); color: #f59e0b; }
.table-badge.premium { background: rgba(168, 85, 247, 0.1); color: #a855f7; }
.table-badge.suv { background: rgba(59, 130, 246, 0.1); color: #3b82f6; }

.icon-btn {
    width: 32px;
    height: 32px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: all 0.2s;
    margin-right: 4px;
}

.icon-btn.edit { background: rgba(59, 130, 246, 0.1); color: #3b82f6; }
.icon-btn.edit:hover { background: rgba(59, 130, 246, 0.2); }
.icon-btn.delete { background: rgba(239, 68, 68, 0.1); color: #ef4444; }
.icon-btn.delete:hover { background: rgba(239, 68, 68, 0.2); }

.settings-form { max-width: 600px; }

.settings-card {
    background: #ffffff;
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.settings-card h3 { font-size: 1.1rem; font-weight: 600; margin-bottom: 20px; display: flex; align-items: center; gap: 8px; }
.settings-card h3 i { color: var(--primary); }

.modal-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 20px;
}

.modal-content {
    background: #ffffff;
    border-radius: 16px;
    width: 100%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0,0,0,0.2);
}

.modal-header { display: flex; justify-content: space-between; align-items: center; padding: 20px 24px; border-bottom: 1px solid #eee; }
.modal-header h2 { font-size: 1.3rem; font-weight: 700; }

.modal-close {
    width: 36px; height: 36px; border: none; background: #f1f5f9; border-radius: 8px;
    cursor: pointer; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; transition: background 0.2s;
}

.modal-close:hover { background: #e2e8f0; }
.modal-body { padding: 24px; }
.modal-footer { display: flex; justify-content: flex-end; gap: 12px; padding: 16px 24px; border-top: 1px solid #eee; }

.toast {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    padding: 14px 24px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    z-index: 99999;
    transition: transform 0.3s ease;
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.toast.show { transform: translateX(-50%) translateY(0); }
.toast.success { background: #10b981; color: #ffffff; }
.toast.error { background: #ef4444; color: #ffffff; }

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 1024px) {
    .cars-grid { grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .mobile-toggle { display: block !important; }

    .nav {
        display: none !important;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #ffffff;
        flex-direction: column;
        padding: 20px;
        border-bottom: 1px solid #eee;
        gap: 16px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
        z-index: 9999;
    }

    .nav.active { display: flex !important; }
    .hero h1 { font-size: 2.2rem; }
    .hero-buttons { flex-direction: column; }
    .cars-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .hero-features { gap: 16px; }
    .form-row { grid-template-columns: 1fr; }
    .form-row.three { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr 1fr; }
    .info-grid { grid-template-columns: 1fr; }

    .admin-sidebar { width: 100%; position: relative; }
    .admin-content { margin-left: 0; padding: 20px; }
    .admin-dashboard { flex-direction: column; }
    .sidebar-nav { display: flex; overflow-x: auto; padding: 12px; gap: 4px; }
    .sidebar-link { white-space: nowrap; padding: 10px 14px; font-size: 0.8rem; }
    .admin-table-wrapper { overflow-x: auto; }
}

@media (max-width: 480px) {
    .car-pricing { grid-template-columns: 1fr; }
    .hero h1 { font-size: 1.8rem; }
    .top-bar-left { display: none; }
    .contact-grid { grid-template-columns: 1fr; }
}