/* ======================================
   VIP Transfer - Custom Styles
   Supplement to TailwindCSS
   ====================================== */

/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

/* ---- Root Variables ---- */
:root {
    --primary: #141b2d;
    --primary-light: #1f2a40;
    --primary-dark: #0c101a;
    --beige: #e6ccb8;
    --beige-light: #f3e0d1;
    --beige-dark: #d6b8a1;
    --secondary: #e6ccb8;
    --secondary-light: #f3e0d1;
    --accent: #06b6d4;
    --success: #10b981;
    --danger: #ef4444;
    --warning: #f59e0b;
    --surface: #ffffff;
    --surface-alt: #f8fafc;
    --surface-card: #ffffff;
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #94a3b8;
    --border: #e2e8f0;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.04);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.08), 0 8px 10px -6px rgba(0, 0, 0, 0.04);
    --radius: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---- Base ---- */
* {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--surface-alt);
    color: var(--text-primary);
    -webkit-font-smoothing: antialiased;
}

/* ---- Scrollbar ---- */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
    background: #94a3b8;
    border-radius: 99px;
}

::-webkit-scrollbar-thumb:hover {
    background: #64748b;
}

/* ---- Hero Section ---- */
.hero-gradient {
    background: linear-gradient(135deg, #0a1628 0%, #0f2557 40%, #1a3a8f 70%, #152e6e 100%);
    position: relative;
    overflow: hidden;
}

/* Turkey Map Background */
.hero-map-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    max-width: 900px;
    height: 80%;
    background-image: url('../img/turkey-map-bg.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.25;
    pointer-events: none;
    z-index: 1;
}

@keyframes float {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(30px, -20px) scale(1.05);
    }
}

/* ---- Glass Card ---- */
.glass-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
}

/* ---- Search Form ---- */
.search-form-wrapper {
    margin-top: -80px;
    padding: 0 16px 40px;
    position: relative;
    z-index: 20;
}

.search-form-container {
    background: var(--beige);
    border-radius: 20px;
    box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.4);
    border: none;
    overflow: visible;
}

/* Force dark text in search form (hero has white text) */
.search-form-container input,
.search-form-container select,
.search-form-container textarea,
.search-form-container button,
.search-form-container label,
.search-form-container span,
.search-form-container div {
    color: var(--text-primary);
}

.search-form-container input::placeholder {
    color: #94a3b8;
}

/* ── Tabs ── */
.search-tab {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
    background: transparent;
    color: #64748b;
    border: none;
}

.search-tab:hover {
    background: var(--beige-dark);
    color: var(--primary);
}

.search-tab.active {
    background: var(--primary);
    color: white !important;
    box-shadow: 0 2px 8px rgba(20, 27, 45, 0.4);
}

/* ── Horizontal Search Bar Row ── */
.search-bar-row {
    display: flex;
    align-items: stretch;
    padding: 16px 16px 16px 24px;
    gap: 0;
}

/* ── Search Cell ── */
.search-cell {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 8px 16px;
    min-height: 60px;
}

.search-cell-location {
    flex: 2.2;
    min-width: 0;
}

.search-cell-date {
    flex: 0.9;
}

.search-cell-time {
    flex: 0.7;
}

.search-cell-return,
.search-cell-return-add {
    flex: 0.9;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-cell-passengers {
    flex: 0.7;
    position: relative;
}

.search-cell-label {
    display: block;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(15, 23, 42, 0.6) !important;
    margin-bottom: 4px;
    white-space: nowrap;
}

.search-cell-input {
    background: transparent;
    border: none;
    outline: none;
    font-size: 14px;
    font-weight: 500;
    color: #1e293b !important;
    padding: 2px 0;
    width: 100%;
}

.search-cell-input::placeholder {
    color: #94a3b8 !important;
    font-weight: 400;
}

.search-cell-input:focus {
    outline: none;
}

/* Hover effect on cells */
.search-cell:hover {
    background: var(--beige-light);
    border-radius: 12px;
}

/* ── Date/Time Display ── */
.search-cell-value {
    font-size: 15px;
    font-weight: 600;
    color: #1e293b !important;
    line-height: 1.3;
}

/* ── Time Select ── */
.time-select {
    display: block;
    width: 100%;
    margin-top: 2px;
    padding: 0;
    border: none;
    background: transparent;
    font-size: 14px;
    font-weight: 500;
    color: #64748b !important;
    cursor: pointer;
    outline: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0 center;
    padding-right: 16px;
}

.time-select:focus {
    outline: none;
}

/* ── Cell Divider ── */
.search-cell-divider {
    width: 1px;
    background: rgba(20, 27, 45, 0.1);
    margin: 8px 0;
    flex-shrink: 0;
}

/* ── Dashed Return Date Add Button ── */
.return-date-add-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 16px;
    border: 2px dashed var(--primary-light);
    border-radius: 12px;
    background: transparent;
    color: var(--primary) !important;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.return-date-add-btn:hover {
    background: #eff6ff;
    border-color: var(--primary);
}

.return-date-add-btn svg {
    color: var(--primary) !important;
}

/* ── Circular Search Button ── */
.search-cell-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px 0 12px;
    flex-shrink: 0;
}

.search-circle-btn {
    width: auto;
    padding: 0 16px;
    height: 52px;
    border-radius: 10px;
    background: var(--primary);
    color: white !important;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 4px 12px rgba(20, 27, 45, 0.35);
    flex-shrink: 0;
}

.search-circle-btn:hover:not(:disabled) {
    background: var(--primary-light);
    transform: scale(1.02);
    box-shadow: 0 6px 20px rgba(20, 27, 45, 0.45);
}

.search-circle-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.search-circle-btn svg {
    color: white !important;
}

/* ── Mobile Responsive ── */
@media (max-width: 768px) {
    .search-bar-row {
        flex-direction: column;
        padding: 16px;
        gap: 4px;
    }

    .search-cell-divider {
        width: 100%;
        height: 1px;
        margin: 4px 0;
    }

    .search-cell {
        padding: 10px 12px;
    }

    .search-cell-location,
    .search-cell-date,
    .search-cell-return,
    .search-cell-return-add,
    .search-cell-passengers {
        flex: none;
        width: 100%;
    }

    .search-cell-btn {
        padding: 8px 0 4px;
    }

    .search-circle-btn {
        width: 100%;
        height: 48px;
        border-radius: 12px;
    }

    .search-circle-btn::after {
        content: 'Transfer Ara';
        margin-left: 8px;
        font-weight: 600;
        font-size: 15px;
    }
}

/* Autocomplete dropdown */
.autocomplete-dropdown {
    position: absolute;
    top: 100%;
    left: -16px;
    right: -16px;
    background: white;
    border: 1px solid var(--border);
    border-radius: 16px;
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.15);
    max-height: 300px;
    overflow-y: auto;
    z-index: 50;
    margin-top: 12px;
}

.autocomplete-item {
    padding: 12px 16px;
    cursor: pointer;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    transition: all 0.15s ease;
    border-bottom: 1px solid #f1f5f9;
}

.autocomplete-item:hover,
.autocomplete-item.active {
    background: #eff6ff;
}

.autocomplete-item:last-child {
    border-bottom: none;
}

/* ---- Passenger Counter ---- */
.passenger-counter {
    display: flex;
    align-items: center;
    gap: 12px;
}

.passenger-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid var(--border);
    background: white;
    color: var(--text-secondary) !important;
}

.passenger-btn:hover:not(:disabled) {
    border-color: var(--primary);
    color: var(--primary) !important;
    background: #eff6ff;
}

.passenger-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

/* ---- Vehicle Card ---- */
.vehicle-card {
    background: white;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    overflow: hidden;
    transition: var(--transition);
    position: relative;
}

.vehicle-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-light);
}

.vehicle-card .vehicle-image {
    aspect-ratio: 16/10;
    overflow: hidden;
    position: relative;
}

.vehicle-card .vehicle-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.vehicle-card:hover .vehicle-image img {
    transform: scale(1.05);
}

/* ---- Feature Card ---- */
.feature-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    text-align: center;
    border: 1px solid var(--border);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    opacity: 0;
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 28px;
    background: linear-gradient(135deg, #eff6ff, #dbeafe);
    color: var(--primary);
}

/* ---- Step Card (How it works) ---- */
.step-card {
    text-align: center;
    position: relative;
}

.step-number {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
    font-size: 24px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 4px 14px rgba(30, 64, 175, 0.3);
}

/* ---- Primary Button ---- */
.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
    padding: 14px 32px;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 15px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 14px rgba(30, 64, 175, 0.25);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(30, 64, 175, 0.35);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-secondary {
    background: white;
    color: var(--primary);
    padding: 14px 32px;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 15px;
    border: 2px solid var(--primary);
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-secondary:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
}

/* ---- Price Badge ---- */
.price-badge {
    display: inline-flex;
    align-items: baseline;
    gap: 4px;
    padding: 6px 14px;
    border-radius: 999px;
    font-weight: 700;
    background: linear-gradient(135deg, #ecfdf5, #d1fae5);
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.price-badge.active {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
    border-color: transparent;
    box-shadow: 0 2px 8px rgba(30, 64, 175, 0.3);
}

/* ---- Currency Switcher ---- */
.currency-btn {
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    border: 1px solid var(--border);
    background: white;
    color: var(--text-secondary);
}

.currency-btn.active,
.currency-btn:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

/* ---- FAQ Accordion ---- */
.faq-item {
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition);
    margin-bottom: 8px;
}

.faq-item:hover {
    border-color: var(--primary-light);
}

.faq-question {
    padding: 18px 24px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    color: var(--text-primary);
    transition: var(--transition);
}

.faq-question:hover {
    color: var(--primary);
}

.faq-answer {
    padding: 0 24px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: var(--text-secondary);
    line-height: 1.7;
}

.faq-item.active .faq-answer {
    padding: 0 24px 18px;
    max-height: 500px;
}

.faq-item.active .faq-chevron {
    transform: rotate(180deg);
}

/* ---- Results Page ---- */
.results-vehicle-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 20px;
    display: flex;
    gap: 20px;
    transition: var(--transition);
    margin-bottom: 16px;
}

.results-vehicle-card:hover {
    border-color: var(--primary-light);
    box-shadow: var(--shadow-md);
}

/* ---- Map Container ---- */
.map-container {
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-md);
}

/* ---- Booking Summary Card ---- */
.summary-card {
    background: linear-gradient(135deg, #f0f9ff, #e0f2fe);
    border: 1px solid #bae6fd;
    border-radius: var(--radius-lg);
    padding: 24px;
}

/* ---- Form Styles ---- */
.form-group label {
    display: block;
    font-weight: 500;
    margin-bottom: 6px;
    color: var(--text-primary);
    font-size: 14px;
}

.form-input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    font-size: 15px;
    transition: var(--transition);
    background: white;
    color: var(--text-primary);
}

.form-input:focus {
    border-color: var(--primary-light);
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
    outline: none;
}

.form-input::placeholder {
    color: var(--text-muted);
}

/* ---- Swap Button ---- */
.swap-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    border: 3px solid white;
    box-shadow: var(--shadow-md);
    position: absolute;
    z-index: 5;
}

.swap-btn:hover {
    background: var(--primary-dark);
    transform: rotate(180deg);
}

/* ---- Navbar ---- */
.navbar {
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: var(--transition);
}

.navbar.scrolled {
    box-shadow: var(--shadow-md);
}

@media (min-width: 768px) {
    .navbar.scrolled {
        background: rgba(255, 255, 255, 0.97) !important;
    }
}

@media (max-width: 767px) {
    .navbar.scrolled {
        background: rgba(20, 27, 45, 0.97) !important;
    }
}

.nav-link {
    font-weight: 500;
    font-size: 15px;
    color: var(--text-secondary);
    padding: 8px 16px;
    border-radius: 8px;
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--primary);
    background: #eff6ff;
}

/* ---- Footer ---- */
.footer {
    background: linear-gradient(135deg, #0f172a, #1e293b);
    color: #94a3b8;
}

.footer a {
    color: #cbd5e1;
    transition: var(--transition);
}

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

/* ---- Loading Spinner ---- */
.spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--border);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* ---- Pulse Animation ---- */
@keyframes pulse-gentle {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.7;
    }
}

.pulse-gentle {
    animation: pulse-gentle 2s ease-in-out infinite;
}

/* ---- Responsive ---- */
@media (max-width: 768px) {
    .search-form-container {
        padding: 16px;
    }

    .results-vehicle-card {
        flex-direction: column;
    }

    .hero-gradient {
        padding-top: 100px;
        padding-bottom: 40px;
    }
}

/* ---- Toast Notifications ---- */
.toast {
    position: fixed;
    top: 24px;
    right: 24px;
    padding: 16px 24px;
    border-radius: var(--radius);
    color: white;
    font-weight: 500;
    z-index: 9999;
    transform: translateX(120%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-lg);
}

.toast.show {
    transform: translateX(0);
}

.toast.success {
    background: var(--success);
}

.toast.error {
    background: var(--danger);
}

.toast.warning {
    background: var(--warning);
}

/* ---- Admin Styles ---- */
.admin-sidebar {
    background: linear-gradient(180deg, #0f172a, #1e293b);
    min-height: 100vh;
    color: white;
}

.admin-nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    border-radius: 8px;
    color: #94a3b8;
    transition: var(--transition);
    font-weight: 500;
    text-decoration: none;
}

.admin-nav-item:hover,
.admin-nav-item.active {
    background: rgba(59, 130, 246, 0.15);
    color: white;
}

.admin-nav-item.active {
    background: rgba(59, 130, 246, 0.25);
    color: var(--primary-light);
}

.admin-stat-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 24px;
    border: 1px solid var(--border);
    transition: var(--transition);
}

.admin-stat-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

/* ---- Confirmation Page ---- */
.success-checkmark {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: linear-gradient(135deg, #10b981, #34d399);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    animation: scaleIn 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 24px rgba(16, 185, 129, 0.3);
}

@keyframes scaleIn {
    0% {
        transform: scale(0);
        opacity: 0;
    }

    50% {
        transform: scale(1.15);
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* ---- Ride Type Toggle ---- */
.ride-toggle {
    display: flex;
    background: var(--surface-alt);
    border-radius: var(--radius);
    padding: 4px;
    border: 1px solid var(--border);
}

.ride-toggle-btn {
    flex: 1;
    padding: 10px 20px;
    text-align: center;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    font-size: 14px;
    color: var(--text-secondary);
    background: transparent;
    border: none;
}

.ride-toggle-btn.active {
    background: var(--primary);
    color: white;
    box-shadow: var(--shadow-sm);
}

/* ---- Tooltip ---- */
[data-tooltip] {
    position: relative;
}

[data-tooltip]::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    padding: 6px 12px;
    background: var(--text-primary);
    color: white;
    font-size: 12px;
    border-radius: 6px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
    margin-bottom: 6px;
}

[data-tooltip]:hover::after {
    opacity: 1;
}


.cke_notification_warning {
    display: none !important;
}




.text-tema h1,
.text-tema h2 {
    font-size: 36px;
    line-height: 40px;
    font-weight: 700;
    letter-spacing: -0.5px;
    margin-bottom: 20px;
}

.text-tema p {
    font-size: 16px;
    line-height: 24px;
    font-weight: 400;
    color: rgb(100, 116, 139);
}

.text-tema li {
    margin-bottom: 10px;
}


.slider-text h1,
.slider-text h2 {
    font-size: clamp(2.5rem, 6vw, 5.5rem);
    line-height: 1.05;
    font-weight: 800;
    letter-spacing: -0.03em;
    margin: 0 0 20px;
    text-wrap: balance;
}

.slider-text p {
    font-size: clamp(1rem, 1.5vw, 1.25rem);
    line-height: 1.8;
    font-weight: 400;
    margin: 0;

}