:root {
    --primary: #f59e0b;
    --primary-dark: #d97706;
    --primary-light: #fde68a;
    --dark: #1a1a2e;
    --dark2: #16213e;
    --dark3: #0f3460;
    --text: #1e293b;
    --text-muted: #64748b;
    --bg-light: #f8fafc;
    --radius: 16px;
    --shadow: 0 10px 40px rgba(0,0,0,.12);
    --shadow-lg: 0 20px 60px rgba(0,0,0,.2);
    --transition: all .3s cubic-bezier(.4,0,.2,1);
}

*, *::before, *::after { box-sizing: border-box; }

body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    color: var(--text);
    background: #fff;
    overflow-x: hidden;
}

/* ─── LICENSE ALERT ─── */
.license-alert {
    position: sticky; top: 0; z-index: 9999;
    padding: 10px 20px;
    font-size: .9rem;
    font-weight: 600;
    text-align: center;
    display: flex; align-items: center; justify-content: center; gap: 8px;
}
.license-alert.alert-success { background: #16a34a; color: #fff; }
.license-alert.alert-warning { background: #d97706; color: #fff; }
.license-alert.alert-danger  { background: #dc2626; color: #fff; }

/* ─── HEADER ─── */
.site-header {
    background: var(--dark);
    box-shadow: 0 2px 20px rgba(0,0,0,.3);
    position: sticky; top: 0; z-index: 1000;
}
.site-logo {
    display: flex; align-items: center; gap: 10px;
    font-size: 1.6rem; font-weight: 900; color: #fff;
    text-decoration: none;
}
.logo-icon { color: var(--primary); font-size: 2rem; }
.logo-text { color: #fff; }
.btn-call-header {
    background: var(--primary); color: #000;
    border: none; border-radius: 50px;
    padding: 8px 20px; font-weight: 700;
    transition: var(--transition);
    white-space: nowrap;
}
.btn-call-header:hover { background: var(--primary-dark); color: #000; transform: scale(1.05); }

/* ─── HERO ─── */
.hero-section {
    position: relative; padding: 80px 0 100px; overflow: hidden;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
}
.min-vh-section { min-height: 60vh; }
.hero-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 900; color: #000;
    line-height: 1.15; margin-bottom: 16px;
    text-shadow: 0 2px 10px rgba(255,255,255,.3);
}
.hero-subtitle {
    font-size: 1.25rem; color: rgba(0,0,0,.75);
    margin-bottom: 24px; font-weight: 500;
}
.hero-rating { display: flex; align-items: center; gap: 6px; font-size: 1.1rem; color: #000; }
.hero-rating .bi-star-fill { color: #000; }
.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; }
.btn-hero-primary {
    background: #000; color: var(--primary);
    border-radius: 50px; padding: 14px 32px;
    font-weight: 700; font-size: 1.1rem;
    border: none; transition: var(--transition);
    display: inline-flex; align-items: center; gap: 8px;
}
.btn-hero-primary:hover { background: #111; color: var(--primary); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,.3); }
.btn-hero-secondary {
    background: rgba(0,0,0,.15); color: #000;
    border: 2px solid rgba(0,0,0,.3);
    border-radius: 50px; padding: 12px 28px;
    font-weight: 700; font-size: 1.1rem;
    transition: var(--transition);
    display: inline-flex; align-items: center; gap: 8px;
}
.btn-hero-secondary:hover { background: rgba(0,0,0,.25); color: #000; transform: translateY(-2px); }
.hero-taxi-icon {
    font-size: 12rem; color: rgba(0,0,0,.15);
    animation: float 3s ease-in-out infinite;
    line-height: 1;
}
@keyframes float {
    0%,100%{transform:translateY(0)} 50%{transform:translateY(-20px)}
}
.hero-wave { position: absolute; bottom: -1px; left: 0; right: 0; }
.hero-wave svg { display: block; }

/* ─── SECTION HEADER ─── */
.section-header { text-align: center; margin-bottom: 48px; }
.section-header h2 {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 800; color: var(--dark);
    margin-bottom: 8px;
}
.section-header p { color: var(--text-muted); font-size: 1.05rem; margin: 0; }

/* ─── ANNOUNCEMENTS ─── */
.announcements-section { background: #fff; }
.announcement-card {
    border-radius: 10px; padding: 14px 24px;
    font-weight: 600; font-size: 1rem;
    border: none; text-align: center;
}
.announcement-card.alert-info    { background: #dbeafe; color: #1e40af; }
.announcement-card.alert-warning { background: #fef3c7; color: #92400e; }
.announcement-card.alert-success { background: #d1fae5; color: #065f46; }
.announcement-card.alert-danger  { background: #fee2e2; color: #991b1b; }

/* ─── CAMPAIGNS ─── */
.campaigns-section { background: #fff; }
.campaign-card {
    background: var(--dark); color: #fff;
    border-radius: var(--radius); padding: 28px 24px;
    position: relative; overflow: hidden;
    transition: var(--transition); cursor: pointer;
    height: 100%;
}
.campaign-card::before {
    content: ''; position: absolute;
    top: -50%; right: -30%; width: 200px; height: 200px;
    background: rgba(245,158,11,.15);
    border-radius: 50%;
}
.campaign-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.campaign-badge {
    display: inline-block; background: var(--primary); color: #000;
    font-weight: 900; font-size: .9rem; border-radius: 20px;
    padding: 4px 14px; margin-bottom: 12px;
}
.campaign-card h5 { font-weight: 700; font-size: 1.2rem; margin-bottom: 8px; }
.campaign-card p { color: rgba(255,255,255,.7); margin: 0; font-size: .95rem; }
.campaign-countdown { font-size: .85rem; color: var(--primary-light); margin-top: 12px; }
.btn-campaign {
    background: var(--primary); color: #000; border: none;
    border-radius: 50px; padding: 8px 20px; font-weight: 700;
    transition: var(--transition); display: inline-flex; align-items: center; gap: 6px;
}
.btn-campaign:hover { background: var(--primary-dark); color: #000; }

/* ─── HOW IT WORKS ─── */
.how-section { background: var(--bg-light); }
.how-card { padding: 32px 24px; }
.how-icon {
    width: 80px; height: 80px; border-radius: 50%;
    background: var(--primary); color: #000;
    font-size: 2rem; display: flex; align-items: center;
    justify-content: center; margin: 0 auto 20px;
    box-shadow: 0 8px 24px rgba(245,158,11,.4);
    transition: var(--transition);
}
.how-card:hover .how-icon { transform: scale(1.1) rotate(5deg); }
.how-card h5 { font-weight: 700; margin-bottom: 8px; }
.how-card p { color: var(--text-muted); margin: 0; }

/* ─── PRICE CALCULATOR ─── */
.price-section { background: #fff; }
.price-calc-card {
    background: var(--dark); border-radius: var(--radius);
    padding: 36px; box-shadow: var(--shadow-lg);
}
.price-calc-card .form-label { color: rgba(255,255,255,.8); font-weight: 600; }
.price-calc-card .form-control {
    background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2);
    color: #fff; border-radius: 10px;
}
.price-calc-card .form-control::placeholder { color: rgba(255,255,255,.4); }
.price-calc-card .form-control:focus {
    background: rgba(255,255,255,.15); border-color: var(--primary);
    color: #fff; box-shadow: 0 0 0 .2rem rgba(245,158,11,.25);
}
.price-calc-card .btn-outline-warning { border-color: var(--primary); color: var(--primary); }
.price-calc-card .btn-outline-warning:hover { background: var(--primary); color: #000; }
.btn-calculate {
    background: var(--primary); color: #000; border: none;
    border-radius: 10px; padding: 12px; font-weight: 700;
    font-size: 1.05rem; transition: var(--transition);
}
.btn-calculate:hover { background: var(--primary-dark); color: #000; transform: scale(1.02); }
.price-result { border-top: 1px solid rgba(255,255,255,.15); padding-top: 24px; }
.price-box {
    background: rgba(255,255,255,.08); border-radius: 12px;
    padding: 16px 8px;
}
.price-box.highlight { background: var(--primary); }
.price-label { font-size: .8rem; color: rgba(255,255,255,.6); margin-bottom: 4px; }
.price-box.highlight .price-label { color: rgba(0,0,0,.7); }
.price-value { font-size: 1.4rem; font-weight: 800; color: #fff; }
.price-box.highlight .price-value { color: #000; }

/* ─── DISCOUNT LOOKUP ─── */
.discount-lookup-card {
    background: #fff; border-radius: var(--radius);
    padding: 40px 32px; box-shadow: var(--shadow);
}
.discount-lookup-card .form-control {
    border-radius: 12px 0 0 12px; border-color: #e2e8f0;
}
.discount-lookup-card .btn-warning {
    border-radius: 0 12px 12px 0; font-weight: 700;
}

/* ─── REVIEWS ─── */
.reviews-section { background: #fff; }
.avg-rating-display {
    display: flex; align-items: center; justify-content: center;
    gap: 16px; margin-bottom: 16px;
}
.big-rating { font-size: 4rem; font-weight: 900; color: var(--dark); line-height: 1; }
.stars-display { font-size: 1.4rem; }
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}
.review-card {
    background: var(--bg-light); border-radius: var(--radius);
    padding: 20px; border: 1px solid #e2e8f0;
    transition: var(--transition);
}
.review-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.review-header { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.reviewer-avatar {
    width: 42px; height: 42px; border-radius: 50%;
    background: var(--primary); color: #000;
    font-weight: 900; font-size: 1.1rem;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.reviewer-name { font-weight: 700; color: var(--dark); }
.review-date { font-size: .8rem; color: var(--text-muted); }
.review-stars .bi { font-size: .9rem; }
.review-text { color: var(--text-muted); font-size: .92rem; line-height: 1.6; margin: 0; }
.btn-review-add {
    background: var(--dark); color: var(--primary);
    border: 2px solid var(--primary); border-radius: 50px;
    padding: 12px 36px; font-weight: 700; font-size: 1.05rem;
    transition: var(--transition);
}
.btn-review-add:hover { background: var(--primary); color: #000; transform: scale(1.05); }

/* ─── REVIEW MODAL ─── */
.review-modal-content {
    background: var(--dark); color: #fff; border: none;
    border-radius: var(--radius);
}
.review-modal-content .modal-header {
    border-bottom: 1px solid rgba(255,255,255,.1);
}
.review-modal-content .form-control {
    background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.2);
    color: #fff; border-radius: 10px;
}
.review-modal-content .form-control::placeholder { color: rgba(255,255,255,.4); }
.review-modal-content .form-control:focus {
    background: rgba(255,255,255,.15); border-color: var(--primary);
    color: #fff; box-shadow: 0 0 0 .2rem rgba(245,158,11,.25);
}
.stars-input { display: flex; justify-content: center; gap: 8px; }
.star-btn {
    font-size: 2.5rem; color: rgba(255,255,255,.2);
    cursor: pointer; transition: var(--transition);
}
.star-btn.active, .star-btn:hover { color: var(--primary); transform: scale(1.2); }
.rating-label { color: var(--primary); font-weight: 600; }

/* ─── FLOATING BUTTONS ─── */
.floating-buttons {
    position: fixed; bottom: 24px; right: 20px;
    display: flex; flex-direction: column;
    align-items: flex-end; gap: 12px;
    z-index: 9998;
}
.float-btn {
    display: flex; align-items: center; gap: 10px;
    padding: 12px 18px; border-radius: 50px;
    font-weight: 700; font-size: .9rem;
    text-decoration: none; border: none;
    cursor: pointer; transition: var(--transition);
    box-shadow: 0 6px 20px rgba(0,0,0,.25);
    white-space: nowrap;
}
.float-btn span {
    max-width: 0; overflow: hidden;
    transition: max-width .3s ease, opacity .3s ease;
    opacity: 0;
}
.float-btn:hover span { max-width: 100px; opacity: 1; }
.float-call  { background: #16a34a; color: #fff; }
.float-call:hover  { background: #15803d; color: #fff; transform: scale(1.05); }
.float-wa    { background: #25d366; color: #fff; }
.float-wa:hover    { background: #22c55e; color: #fff; transform: scale(1.05); }
.float-map   { background: #2563eb; color: #fff; }
.float-map:hover   { background: #1d4ed8; color: #fff; transform: scale(1.05); }
.float-taxi  { background: var(--primary); color: #000; }
.float-taxi:hover  { background: var(--primary-dark); color: #000; transform: scale(1.05); }
.float-btn i { font-size: 1.2rem; }

/* ─── FOOTER ─── */
.site-footer { background: var(--dark); color: rgba(255,255,255,.7); }
.footer-logo { font-size: 1.4rem; font-weight: 900; color: var(--primary); }
.footer-heading { color: var(--primary); font-weight: 700; margin-bottom: 12px; font-size: 1rem; }
.site-footer a { color: rgba(255,255,255,.7); text-decoration: none; transition: color .2s; }
.site-footer a:hover { color: var(--primary); }
.site-footer p { margin-bottom: 8px; }

/* ─── ADMIN PANEL ─── */
.admin-body {
    background: #f1f5f9; min-height: 100vh;
    font-family: 'Segoe UI', system-ui, sans-serif;
}
.admin-sidebar {
    width: 260px; background: var(--dark);
    min-height: 100vh; position: fixed;
    top: 0; left: 0; z-index: 1000;
    display: flex; flex-direction: column;
    transition: transform .3s ease;
}
.sidebar-logo {
    padding: 24px 20px; border-bottom: 1px solid rgba(255,255,255,.1);
    font-size: 1.3rem; font-weight: 900; color: var(--primary);
}
.sidebar-logo span { color: #fff; }
.sidebar-nav { flex: 1; padding: 12px 0; overflow-y: auto; }
.sidebar-nav a {
    display: flex; align-items: center; gap: 12px;
    padding: 11px 20px; color: rgba(255,255,255,.7);
    text-decoration: none; font-weight: 500;
    transition: var(--transition); border-left: 3px solid transparent;
}
.sidebar-nav a:hover, .sidebar-nav a.active {
    color: var(--primary); background: rgba(245,158,11,.1);
    border-left-color: var(--primary);
}
.sidebar-nav a i { font-size: 1.1rem; width: 20px; }
.sidebar-nav .nav-group {
    font-size: .75rem; color: rgba(255,255,255,.35);
    padding: 16px 20px 6px; text-transform: uppercase; letter-spacing: 1px;
}
.admin-main {
    margin-left: 260px; padding: 0;
    min-height: 100vh;
}
.admin-topbar {
    background: #fff; border-bottom: 1px solid #e2e8f0;
    padding: 0 28px; height: 64px;
    display: flex; align-items: center; justify-content: space-between;
    position: sticky; top: 0; z-index: 100;
    box-shadow: 0 1px 6px rgba(0,0,0,.06);
}
.topbar-title { font-size: 1.1rem; font-weight: 700; color: var(--dark); }
.admin-content { padding: 28px; }
.stat-card {
    background: #fff; border-radius: 14px;
    padding: 24px; box-shadow: 0 2px 12px rgba(0,0,0,.06);
    display: flex; align-items: center; gap: 20px;
    border-left: 4px solid var(--primary);
    transition: var(--transition);
}
.stat-card:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0,0,0,.1); }
.stat-icon {
    width: 56px; height: 56px; border-radius: 14px;
    background: rgba(245,158,11,.15); color: var(--primary);
    font-size: 1.6rem; display: flex;
    align-items: center; justify-content: center; flex-shrink: 0;
}
.stat-icon.blue   { background: rgba(37,99,235,.1);  color: #2563eb; }
.stat-icon.green  { background: rgba(22,163,74,.1);  color: #16a34a; }
.stat-icon.purple { background: rgba(124,58,237,.1); color: #7c3aed; }
.stat-icon.red    { background: rgba(220,38,38,.1);  color: #dc2626; }
.stat-value { font-size: 2rem; font-weight: 900; color: var(--dark); line-height: 1; }
.stat-label { font-size: .85rem; color: var(--text-muted); margin-top: 4px; }
.admin-card {
    background: #fff; border-radius: 14px;
    box-shadow: 0 2px 12px rgba(0,0,0,.06); overflow: hidden;
}
.admin-card-header {
    padding: 16px 24px; border-bottom: 1px solid #f1f5f9;
    display: flex; align-items: center; justify-content: space-between;
}
.admin-card-header h5 {
    margin: 0; font-weight: 700; color: var(--dark); font-size: 1rem;
}
.admin-card-body { padding: 24px; }
.admin-table { width: 100%; border-collapse: separate; border-spacing: 0; }
.admin-table th {
    background: var(--bg-light); padding: 12px 16px;
    font-size: .8rem; text-transform: uppercase;
    letter-spacing: .5px; color: var(--text-muted);
    font-weight: 700; border-bottom: 2px solid #e2e8f0;
}
.admin-table td {
    padding: 12px 16px; border-bottom: 1px solid #f1f5f9;
    vertical-align: middle;
}
.admin-table tr:last-child td { border-bottom: none; }
.admin-table tr:hover td { background: #fafafa; }
.badge-status {
    display: inline-flex; align-items: center; gap: 4px;
    padding: 4px 10px; border-radius: 20px;
    font-size: .78rem; font-weight: 700;
}
.badge-active   { background: #d1fae5; color: #065f46; }
.badge-inactive { background: #fee2e2; color: #991b1b; }
.badge-pending  { background: #fef3c7; color: #92400e; }
.badge-approved { background: #d1fae5; color: #065f46; }
.badge-rejected { background: #fee2e2; color: #991b1b; }
.license-status-card {
    border-radius: var(--radius); padding: 32px;
    background: var(--dark); color: #fff;
    text-align: center;
}
.license-status-card .lic-icon { font-size: 4rem; margin-bottom: 16px; }
.license-status-card .lic-valid   { color: #4ade80; }
.license-status-card .lic-warning { color: var(--primary); }
.license-status-card .lic-invalid { color: #f87171; }

/* ─── FORMS ─── */
.form-section { background: #fff; border-radius: 14px; padding: 28px; box-shadow: 0 2px 12px rgba(0,0,0,.06); margin-bottom: 24px; }
.form-section h5 { font-weight: 700; color: var(--dark); margin-bottom: 20px; padding-bottom: 12px; border-bottom: 2px solid var(--primary); display: inline-block; }
.form-control, .form-select {
    border-radius: 10px; border-color: #e2e8f0;
    padding: 10px 14px; transition: var(--transition);
}
.form-control:focus, .form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 .2rem rgba(245,158,11,.2);
}
.btn-save {
    background: var(--primary); color: #000; border: none;
    border-radius: 10px; padding: 10px 28px;
    font-weight: 700; transition: var(--transition);
}
.btn-save:hover { background: var(--primary-dark); color: #000; }
.btn-danger-sm {
    background: #fee2e2; color: #dc2626; border: none;
    border-radius: 8px; padding: 6px 12px;
    font-size: .82rem; transition: var(--transition);
}
.btn-danger-sm:hover { background: #dc2626; color: #fff; }

/* ─── RESPONSIVE ─── */
@media (max-width: 768px) {
    .admin-sidebar { transform: translateX(-100%); }
    .admin-sidebar.open { transform: translateX(0); }
    .admin-main { margin-left: 0; }
    .floating-buttons { bottom: 16px; right: 12px; gap: 8px; }
    .float-btn { padding: 10px 14px; font-size: .85rem; }
    .hero-section { padding: 50px 0 80px; }
    .hero-title { font-size: 2rem; }
    .price-calc-card { padding: 20px; }
    .reviews-grid { grid-template-columns: 1fr; }
    .btn-call-header { font-size: .85rem; padding: 7px 14px; }
}
