/* 
   Menteş Taksi Mersin - Modern Design System 
   Premium, Live & Professional
*/

:root {
    --taxi-yellow: #ffdd00;
    --taxi-yellow-dark: #e6c700;
    --taxi-yellow-glow: rgba(255, 221, 0, 0.4);
    --taxi-black: #050505;
    --taxi-dark-gray: #121212;
    --glass-bg: rgba(20, 20, 20, 0.7);
    --glass-border: rgba(255, 255, 255, 0.08);
    --transition-smooth: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    background-color: var(--taxi-black);
    color: #ffffff;
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
    letter-spacing: -0.01em;
}

/* Background Noise/Grain Effect */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    opacity: 0.03;
    pointer-events: none;
    z-index: 9999;
}

h1, h2, h3, h4, h5, h6, .fw-black {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
}

.fw-black { font-weight: 900; }
.ls-2 { letter-spacing: 2px; }

/* Custom Scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--taxi-light-gray); }
::-webkit-scrollbar-thumb { background: var(--taxi-yellow); border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: var(--taxi-yellow-dark); }

/* Section Transitions */
section {
    position: relative;
    padding: 100px 0;
}

/* Typography V2 */
h1, h2, h3, .display-4 {
    font-weight: 800 !important;
    letter-spacing: -0.03em;
}

.gradient-text {
    background: linear-gradient(135deg, #fff 0%, var(--taxi-yellow) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Professional Header & Logo Styles */
#mainHeader {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1050;
}

#mainNavbar {
    background: transparent !important;
    backdrop-filter: none !important;
    border: none !important;
}

#mainNavbar .container {
    padding-top: 15px;
    padding-bottom: 15px;
}

.navbar-brand {
    padding: 0;
    margin-right: 2rem;
    flex-shrink: 0;
}

#mainHeader.navbar-scrolled {
    background: rgba(10, 10, 10, 0.8) !important;
    backdrop-filter: blur(15px) saturate(180%);
    -webkit-backdrop-filter: blur(15px) saturate(180%);
    border-bottom: 1px solid rgba(255, 193, 7, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

#mainHeader.navbar-scrolled #mainNavbar .container {
    padding-top: 5px;
    padding-bottom: 5px;
}

.brand-logo-wrapper {
    position: relative;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-circle {
    width: 100%;
    height: 100%;
    background: var(--taxi-yellow);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--taxi-black);
    font-size: 1.4rem;
    position: relative;
    z-index: 2;
    transform: rotate(-5deg);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 4px 15px rgba(255, 193, 7, 0.3);
}

.brand-logo-wrapper:hover .logo-circle {
    transform: rotate(0deg) scale(1.1);
    box-shadow: 0 8px 25px rgba(255, 193, 7, 0.5);
}

.logo-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: var(--taxi-yellow);
    filter: blur(15px);
    opacity: 0.3;
    z-index: 1;
    transition: all 0.5s ease;
}

.brand-logo-wrapper:hover .logo-glow {
    opacity: 0.6;
    transform: translate(-50%, -50%) scale(1.3);
}

.brand-text {
    display: flex;
    flex-direction: column;
}

.brand-title {
    display: flex;
    gap: 1px;
}

.brand-title .letter {
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;
    font-size: 1.5rem;
    line-height: 1;
    color: #fff;
    text-shadow: 0 2px 10px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
}

.brand-title .letter:first-child {
    color: var(--taxi-yellow);
}

.navbar-brand:hover .letter {
    transform: translateY(-3px);
    color: var(--taxi-yellow);
}

.brand-subtitle {
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 3px;
    color: var(--taxi-yellow);
    text-transform: uppercase;
    margin-top: 2px;
    opacity: 0.9;
}

@media (min-width: 992px) {
    .navbar-nav {
        display: flex;
        align-items: center;
        gap: 5px;
    }
    
    .navbar-nav .nav-link {
        padding: 10px 15px !important;
        white-space: nowrap;
    }
}

.navbar-nav .nav-link {
    font-weight: 600;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.85) !important;
    transition: all 0.3s ease;
    position: relative;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 20px;
    right: 20px;
    height: 2px;
    background: var(--taxi-yellow);
    transform: scaleX(0);
    transition: transform 0.3s ease;
    border-radius: 2px;
}

.navbar-nav .nav-link:hover {
    color: #fff !important;
}

.navbar-nav .nav-link:hover::after {
    transform: scaleX(1);
}

.navbar-nav .nav-link.active {
    color: var(--taxi-yellow) !important;
}

.navbar-nav .nav-link.active::after {
    transform: scaleX(1);
}

/* Navbar Scrolled helper */
.navbar-scrolled {
    padding: 10px 0 !important;
    background: rgba(10, 10, 10, 0.8) !important;
    backdrop-filter: blur(15px) saturate(180%);
    -webkit-backdrop-filter: blur(15px) saturate(180%);
    border-bottom: 1px solid rgba(255, 193, 7, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Button V2: Glowing Action */
.btn-primary {
    background: var(--taxi-yellow);
    border: none;
    color: #000;
    font-weight: 700;
    padding: 14px 32px;
    border-radius: 16px;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    transition: 0.5s;
    z-index: -1;
}

.btn-primary:hover {
    background: var(--taxi-yellow-dark);
    color: #000;
    transform: scale(1.05);
    box-shadow: 0 0 30px var(--taxi-yellow-glow);
}

.btn-primary:hover::before {
    left: 100%;
}

.pulse-icon {
    width: 10px;
    height: 10px;
    background: #00ff00;
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 0 rgba(0, 255, 0, 0.4);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(0, 255, 0, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(0, 255, 0, 0); }
    100% { box-shadow: 0 0 0 0 rgba(0, 255, 0, 0); }
}

/* Header & Navbar Styles */
.announcement-bar {
    background: var(--taxi-yellow);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    position: relative;
    z-index: 1060;
}

.x-small {
    font-size: 0.75rem;
}

.hero-wrapper {
    min-height: 100vh;
    background: radial-gradient(circle at 20% 50%, rgba(255, 221, 0, 0.05) 0%, transparent 50%);
    padding-top: 160px; /* Increased for banner */
}

@media (max-width: 991.98px) {
    .hero-wrapper {
        padding-top: 180px; /* Banner + Navbar on mobile */
    }
    
    .announcement-bar .container {
        padding: 0 15px;
    }
}

.hero-wrapper {
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-image-container {
    position: relative;
    z-index: 2;
}

.hero-image-container::before {
    content: '';
    position: absolute;
    width: 140%;
    height: 140%;
    top: -20%;
    left: -20%;
    background: radial-gradient(circle, var(--taxi-yellow-glow) 0%, transparent 70%);
    z-index: -1;
    filter: blur(40px);
    opacity: 0.3;
}

.driver-image {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 20px 80px rgba(0,0,0,0.9));
    mask-image: radial-gradient(circle at 35% 30%, black 10%, transparent 75%), 
                linear-gradient(to bottom, black 50%, transparent 95%),
                linear-gradient(to right, black 60%, transparent 95%);
    -webkit-mask-image: radial-gradient(circle at 35% 30%, black 10%, transparent 75%), 
                        linear-gradient(to bottom, black 50%, transparent 95%),
                        linear-gradient(to right, black 60%, transparent 95%);
    mask-composite: intersect;
    -webkit-mask-composite: source-in;
    transition: var(--transition-smooth);
}

.hero-content-overlap {
    position: relative;
    z-index: 10;
    margin-left: 0;
    padding-left: 2rem;
}

/* Custom Emerge Animation */
[data-aos="custom-emerge"] {
    opacity: 0;
    transform: scale(0.3) translateX(-100px) rotate(-10deg);
    transform-origin: left center;
    filter: blur(10px);
    transition-property: transform, opacity, filter;
}

[data-aos="custom-emerge"].aos-animate {
    opacity: 1;
    transform: scale(1) translateX(0) rotate(0);
    filter: blur(0);
}

.emerge-text {
    position: relative;
    display: inline-block;
}

@media (max-width: 991.98px) {
    .hero-content-overlap {
        margin-left: 0;
        text-align: center;
        padding: 0 15px;
    }

    .driver-image {
        /* Extreme soft triple mask - eliminating the last visible line */
        mask-image: radial-gradient(circle at 15% 15%, black 0%, transparent 75%),
                    linear-gradient(to right, black 0%, transparent 85%),
                    linear-gradient(to bottom, black 0%, transparent 85%);
        -webkit-mask-image: radial-gradient(circle at 15% 15%, black 0%, transparent 75%),
                            linear-gradient(to right, black 0%, transparent 85%),
                            linear-gradient(to bottom, black 0%, transparent 85%);
        mask-composite: intersect;
        -webkit-mask-composite: source-in;
        
        transform: scale(1.4);
        transform-origin: right center;
        margin-top: -10px;
        filter: none !important;
        width: 115% !important;
        max-width: none !important;
        position: relative;
        display: block;
        margin-right: -20% !important;
        margin-left: auto;
        /* Force no shadow or border */
        box-shadow: none !important;
        border: none !important;
    }

    .hero-image-container {
        display: flex;
        justify-content: center;
        overflow: visible;
        position: relative;
        padding: 0;
        width: 100%;
    }
}

.glass-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition-smooth);
}

.glass-item:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateX(10px);
    border-color: rgba(255, 221, 0, 0.2);
}

.icon-box-sm {
    width: 40px;
    height: 40px;
    background: rgba(255, 221, 0, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

/* Statistics V2 */
.stat-item {
    padding: 20px;
    text-align: center;
}

.stat-item h3 {
    font-size: 3rem;
    margin-bottom: 5px;
    color: var(--taxi-yellow);
    text-shadow: 0 0 20px var(--taxi-yellow-glow);
}

.stat-item p {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    opacity: 0.6;
    font-weight: 700;
}

/* Advanced Glassmorphism */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid var(--glass-border);
    border-radius: 30px;
    padding: 40px;
    transition: var(--transition-smooth);
    position: relative;
    z-index: 1;
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.glass-card:hover {
    transform: translateY(-10px);
    border-color: rgba(255, 221, 0, 0.3);
    box-shadow: 0 30px 60px rgba(0,0,0,0.6), 0 0 20px var(--taxi-yellow-glow);
}

/* Custom Checkered Patterns V2 (Even Thinner & Integrated) */
.glass-card::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: 31px;
    padding: 1.5px;
    background-image: conic-gradient(
        #000 0.25turn, 
        var(--taxi-yellow) 0 0.5turn, 
        #000 0 0.75turn, 
        var(--taxi-yellow) 0
    );
    background-size: 6px 6px;
    -webkit-mask: 
        linear-gradient(#fff 0 0) content-box, 
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    opacity: 0.4;
}

/* Form Controls V2 */
.form-control, .form-select {
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    border-radius: 15px !important;
    color: #fff !important;
    padding: 14px 20px !important;
    transition: var(--transition-smooth);
    min-height: 58px;
}

.form-control::placeholder {
    color: rgba(255, 255, 255, 0.3) !important;
}

.form-select option {
    background: #1a1a1a !important;
    color: #fff !important;
}

/* Fix for File Input in Dark Theme */
input[type="file"].form-control {
    line-height: 1.5;
    padding: 12px 15px !important;
}

input[type="file"]::file-selector-button {
    background: var(--taxi-yellow);
    color: #000;
    border: none;
    border-radius: 10px;
    padding: 5px 15px;
    margin-right: 15px;
    font-weight: 700;
    transition: all 0.3s ease;
}

input[type="file"]::file-selector-button:hover {
    background: #fff;
    transform: scale(1.05);
}

.form-control:focus, .form-select:focus {
    background: rgba(255, 255, 255, 0.08) !important;
    border-color: var(--taxi-yellow) !important;
    box-shadow: 0 0 20px var(--taxi-yellow-glow) !important;
    outline: none;
}

/* Fix for date and time inputs in floating labels */
input[type="date"].form-control,
input[type="time"].form-control {
    display: flex;
    align-items: center;
}

.form-floating > .form-control {
    padding-left: 1.2rem !important;
}

.form-floating > label {
    padding-left: 1.2rem;
    color: rgba(255, 255, 255, 0.5);
    transition: all 0.2s ease-in-out;
    background: transparent !important;
}

/* Date & Time Picker Icon Styles */
::-webkit-calendar-picker-indicator {
    filter: invert(1) sepia(100%) saturate(500%) hue-rotate(10deg);
    cursor: pointer;
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

::-webkit-calendar-picker-indicator:hover {
    opacity: 1;
}
.gallery-grid-item {
    border-radius: 24px;
    border: 1px solid var(--glass-border);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    height: 300px;
}

.gallery-grid-item img {
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-grid-item:hover {
    transform: scale(1.02);
    border-color: var(--taxi-yellow);
    box-shadow: 0 20px 40px rgba(0,0,0,0.6);
}

.gallery-grid-item:hover img {
    transform: scale(1.1) rotate(1deg);
}

/* Icon Box V2 */
.icon-box-v2 {
    width: 80px;
    height: 80px;
    background: var(--taxi-yellow);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: rotate(15deg);
    transition: var(--transition-smooth);
    position: relative;
    box-shadow: 0 10px 20px var(--taxi-yellow-glow);
}

.icon-box-v2 i {
    transform: rotate(-15deg);
    transition: var(--transition-smooth);
}

.icon-box-v2.sm {
    width: 45px;
    height: 45px;
    border-radius: 12px;
}

.glass-card:hover .icon-box-v2 {
    transform: rotate(0deg) scale(1.1);
    background: #fff;
}

.glass-card:hover .icon-box-v2 i {
    transform: rotate(0deg);
}

.border-taxi-v2 {
    border: 1px solid rgba(255, 221, 0, 0.2);
    position: relative;
}

.border-taxi-v2::after {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    padding: 1px;
    background: conic-gradient(#000 0.25turn, var(--taxi-yellow) 0 0.5turn, #000 0 0.75turn, var(--taxi-yellow) 0);
    background-size: 4px 4px;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0.3;
}

.hover-scale {
    transition: var(--transition-smooth);
}

.hover-scale:hover {
    transform: scale(1.02);
}

/* bg-white-5 fix */
.bg-white-5 {
    background-color: rgba(255, 255, 255, 0.05) !important;
}

.list-group-item-action:hover {
    background-color: rgba(255, 255, 255, 0.1) !important;
    color: #fff !important;
}

.list-group-item-action.active {
    background-color: var(--taxi-yellow) !important;
    color: #000 !important;
    border: none !important;
}

.list-group-item {
    background-color: transparent;
    border-color: rgba(255, 255, 255, 0.1);
}

/* Floating Elements Animation */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

.floating {
    animation: float 4s ease-in-out infinite;
}

.form-floating > label {
    padding-left: 1.5rem;
    color: rgba(255, 255, 255, 0.5);
}

.form-floating > .form-control:focus ~ label,
.form-floating > .form-control:not(:placeholder-shown) ~ label {
    color: var(--taxi-yellow);
}

/* Footer Overhaul */
.footer-modern {
    background: var(--taxi-black);
    color: var(--taxi-white);
    padding: 100px 0 50px;
}

.footer-link {
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    transition: var(--transition-base);
    display: block;
    margin-bottom: 10px;
}

.footer-link:hover {
    color: var(--taxi-yellow);
    padding-left: 10px;
}

.social-circle {
    width: 45px;
    height: 45px;
    background: rgba(255,255,255,0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: var(--transition-base);
}

.social-circle:hover {
    background: var(--taxi-yellow);
    color: var(--taxi-black);
    transform: rotate(360deg);
}

.footer-bottom {
    border-top: 4px solid transparent !important;
    background: linear-gradient(var(--taxi-black), var(--taxi-black)) padding-box,
                conic-gradient(#000 0.25turn, var(--taxi-yellow) 0 0.5turn, #000 0 0.75turn, var(--taxi-yellow) 0) border-box;
    background-size: auto, 8px 8px;
}

hr, .dropdown-divider {
    height: 2px;
    background: conic-gradient(#000 0.25turn, var(--taxi-yellow) 0 0.5turn, #000 0 0.75turn, var(--taxi-yellow) 0) !important;
    background-size: 6px 6px !important;
    border: none !important;
    opacity: 0.4;
    margin: 1.2rem 0;
}

/* Dropdown Item Styles */
.dropdown-item {
    transition: all 0.3s ease;
    border-radius: 12px;
    margin: 2px 8px;
    width: calc(100% - 16px);
    padding: 10px 15px !important;
}

.dropdown-item:hover, .dropdown-item:focus {
    background: rgba(255, 255, 255, 0.1) !important;
    color: var(--taxi-yellow) !important;
}

.dropdown-item:active {
    background: var(--taxi-yellow) !important;
    color: #000 !important;
}

.dropdown-menu.glass-card {
    padding: 10px 0;
    min-width: 220px;
}

/* Button Outline Hover Fix */
.btn-outline-light:hover {
    background: var(--taxi-yellow) !important;
    border-color: var(--taxi-yellow) !important;
    color: #000 !important;
}

/* Admin Components V2 */
.admin-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 30px;
    transition: var(--transition-smooth);
    position: relative;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.admin-card:hover {
    border-color: rgba(255, 221, 0, 0.2);
    box-shadow: 0 15px 40px rgba(0,0,0,0.5);
}

.shadow-glow {
    box-shadow: 0 0 20px var(--taxi-yellow-glow);
}

.hover-up {
    transition: var(--transition-smooth);
}

.hover-up:hover {
    transform: translateY(-5px);
}

.ls-1 { letter-spacing: 1px; }

/* Table V2 Styles */
.table {
    --bs-table-bg: transparent !important;
    --bs-table-accent-bg: transparent !important;
    --bs-table-striped-color: #fff !important;
    --bs-table-striped-bg: rgba(255, 255, 255, 0.02) !important;
    --bs-table-hover-color: #fff !important;
    --bs-table-hover-bg: rgba(255, 221, 0, 0.05) !important;
    --bs-table-color: rgba(255, 255, 255, 0.8) !important;
    --bs-table-border-color: rgba(255, 255, 255, 0.05) !important;
    color: rgba(255, 255, 255, 0.8) !important;
    background-color: transparent !important;
}

.table > :not(caption) > * > * {
    background-color: transparent !important;
    box-shadow: none !important;
}

.table thead th {
    background: rgba(255, 255, 255, 0.05) !important;
    border-bottom: 2px solid rgba(255, 221, 0, 0.3) !important;
    color: var(--taxi-yellow) !important;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 1px;
    padding: 20px 15px;
}

.table tbody td {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
    padding: 15px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8) !important;
    vertical-align: middle;
}

.table-hover tbody tr:hover td {
    background: rgba(255, 221, 0, 0.05) !important;
    color: #fff !important;
}

/* Utilities & Overrides */
.bg-dark {
    background-color: var(--taxi-black) !important;
}

.text-warning {
    color: var(--taxi-yellow) !important;
}

.bg-warning {
    background-color: var(--taxi-yellow) !important;
    color: #000 !important;
}

.badge.bg-warning {
    color: #000 !important;
}

.text-dark {
    color: #000 !important;
}

/* Dark Theme Fixes for Admin & Tables */
.admin-card .table {
    background-color: transparent !important;
}

.admin-card .table tr, 
.admin-card .table td, 
.admin-card .table th {
    background-color: transparent !important;
}

/* Force dark theme for common white elements */
.bg-white {
    background-color: rgba(255, 255, 255, 0.05) !important;
}

.list-group-item {
    background-color: transparent !important;
    color: #fff !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
}

.card {
    background-color: var(--glass-bg) !important;
    border-color: var(--glass-border) !important;
}

/* Scrollbar Fix for Dark Theme */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--taxi-black);
}

::-webkit-scrollbar-thumb {
    background: rgba(255, 221, 0, 0.3);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--taxi-yellow);
}
@media (max-width: 991.98px) {
    .navbar-collapse {
        background: rgba(0, 0, 0, 0.95);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        margin-top: 15px;
        border-radius: 20px;
        padding: 20px;
        border: 1px solid var(--glass-border);
    }
    
    .nav-link {
        padding: 12px 0 !important;
        text-align: center;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }
    
    .nav-item:last-child .nav-link {
        border-bottom: none;
    }

    .btn-taxi {
        width: 100%;
        justify-content: center;
        margin-top: 15px;
    }
}

@media (max-width: 767.98px) {
    .hero-section {
        padding-top: 100px;
        padding-bottom: 50px;
        text-align: center;
    }

    .driver-image-container {
        margin-bottom: 30px;
    }

    .driver-image {
        max-width: 280px;
        margin: 0 auto;
        mask-image: radial-gradient(circle at 50% 40%, black 20%, transparent 90%) !important;
        -webkit-mask-image: radial-gradient(circle at 50% 40%, black 20%, transparent 90%) !important;
    }

    .display-3 {
        font-size: 2.5rem !important;
    }

    .lead {
        font-size: 1rem !important;
        padding-right: 0 !important;
        margin-bottom: 30px !important;
    }

    .stat-number {
        font-size: 1.5rem !important;
    }

    .stat-card {
        padding: 15px 5px;
    }

    .glass-card {
        padding: 20px !important;
    }

    .section-title {
        font-size: 2rem !important;
    }
    
    /* Form inputs mobile focus fix */
    input, select, textarea {
        font-size: 16px !important; /* Prevents iOS zoom */
    }
}

/* Horizontal Scroll Prevention */
html, body {
    overflow-x: hidden;
    width: 100%;
    position: relative;
}

.row {
    margin-right: 0;
    margin-left: 0;
}

.container {
    padding-right: 20px;
    padding-left: 20px;
}

/* Price Calculator Styles */
#priceCalculator {
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    background: rgba(0, 0, 0, 0.6) !important;
}

.price-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 193, 7, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 193, 7, 0.2);
}

#calcLoading .spinner-border {
    width: 1.5rem;
    height: 1.5rem;
    border-width: 0.2em;
}

@media (max-width: 767.98px) {
    #estimatedPrice {
        font-size: 1.75rem !important;
    }
}

/* Floating Taxi Animation */
.floating-taxi {
    animation: floating 4s ease-in-out infinite;
}

@keyframes floating {
    0% { transform: translateY(0) rotate(0); }
    50% { transform: translateY(-20px) rotate(2deg); }
    100% { transform: translateY(0) rotate(0); }
}

/* Form Geliştirmeleri */
.input-group-custom {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 18px;
    padding: 0 18px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    min-height: 62px;
}

.input-group-custom:focus-within {
    border-color: var(--taxi-yellow);
    box-shadow: 0 0 20px var(--taxi-yellow-glow);
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-2px);
}

/* Autofill Fix for Dark Theme */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
    -webkit-text-fill-color: white !important;
    -webkit-box-shadow: 0 0 0 1000px #1a1a1a inset !important;
    transition: background-color 5000s ease-in-out 0s;
}

.input-icon-wrapper {
    width: 35px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.3rem;
    color: var(--taxi-yellow);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.input-group-custom:focus-within .input-icon-wrapper {
    opacity: 1;
    transform: scale(1.1);
}

.input-group-custom .form-control {
    background: transparent !important;
    border: none !important;
    color: #fff !important;
    box-shadow: none !important;
    padding-left: 5px !important;
    height: 60px;
    font-weight: 500;
}

.input-group-custom .form-control[type="date"],
.input-group-custom .form-control[type="time"] {
    padding-top: 0 !important;
    display: flex;
    align-items: center;
}

.input-group-custom .form-control::placeholder {
    color: rgba(255, 255, 255, 0.3) !important;
}

.input-group-custom .form-floating label {
    padding-left: 5px;
    color: rgba(255, 255, 255, 0.5);
    background: transparent !important;
    display: flex;
    align-items: center;
}

.input-group-custom .form-floating > .form-control:focus ~ label,
.input-group-custom .form-floating > .form-control:not(:placeholder-shown) ~ label,
.input-group-custom .form-floating > .form-control[type="date"] ~ label,
.input-group-custom .form-floating > .form-control[type="time"] ~ label {
    transform: scale(0.8) translateY(-1rem) translateX(0);
    color: var(--taxi-yellow);
    opacity: 1;
    font-weight: 700;
    letter-spacing: 0.5px;
}

/* Fix for browser default date/time picker UI */
input[type="date"]::-webkit-inner-spin-button,
input[type="date"]::-webkit-calendar-picker-indicator,
input[type="time"]::-webkit-inner-spin-button,
input[type="time"]::-webkit-calendar-picker-indicator {
    filter: invert(1) sepia(100%) saturate(500%) hue-rotate(10deg);
    margin-right: 5px;
}

.btn-icon-only {
    background: transparent;
    border: none;
    padding: 10px;
    border-radius: 50%;
    transition: all 0.2s ease;
    cursor: pointer;
}

.btn-icon-only:hover {
    background: rgba(255, 193, 7, 0.1);
    transform: scale(1.1);
}

.route-line-vertical {
    width: 8px;
    height: 40px;
    background: conic-gradient(
        #000 0.25turn, 
        var(--taxi-yellow) 0 0.5turn, 
        #000 0 0.75turn, 
        var(--taxi-yellow) 0
    );
    background-size: 8px 8px;
    border-radius: 0;
    opacity: 0.8;
}

.autocomplete-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #1a1a1a;
    border: 1px solid rgba(255, 193, 7, 0.2);
    border-radius: 0 0 15px 15px;
    z-index: 1000;
    max-height: 200px;
    overflow-y: auto;
    box-shadow: 0 10px 25px rgba(0,0,0,0.5);
}

.suggestion-item {
    padding: 12px 15px;
    cursor: pointer;
    color: white;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
}

.suggestion-item i {
    margin-right: 10px;
    font-size: 0.9rem;
    opacity: 0.7;
}

.suggestion-item:hover {
    background: rgba(255, 193, 7, 0.1);
    color: var(--taxi-yellow);
}

.suggestion-item:last-child {
    border-bottom: none;
}

@media (max-width: 768px) {
    .input-group-custom {
        padding: 0 10px;
    }
}

/* Yukarı Çık Butonu */
.btn-scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--taxi-yellow);
    color: var(--taxi-black);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 5px 15px rgba(248, 193, 2, 0.4);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
}

.btn-scroll-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.btn-scroll-top:hover {
    background: #ffffff;
    color: var(--taxi-black);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(255, 255, 255, 0.2);
}

@media (max-width: 768px) {
    .btn-scroll-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
}

/* Mobile Optimizations */
@media (max-width: 991.98px) {
    .contact-info-card {
        margin-bottom: 2rem;
    }
    
    .map-container {
        height: 300px !important;
        margin-top: 1rem;
        border-radius: 20px;
        overflow: hidden;
    }

    /* Edge-to-Edge Mobile Contact Section */
    #iletisim .container {
        padding-left: 0 !important;
        padding-right: 0 !important;
        max-width: 100% !important;
    }

    #iletisim .glass-card.p-5 {
        padding: 0 !important;
        background: transparent !important;
        border: none !important;
        box-shadow: none !important;
        border-radius: 0 !important;
    }

    #iletisim .row.g-5 {
        margin: 0 !important;
        padding: 0 !important;
    }

    #iletisim .col-lg-6 {
        padding: 0 !important;
        margin: 0 !important;
    }

    #iletisim h2, #iletisim p.lead, #iletisim .badge {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }

    .contact-info-boxes {
        margin: 30px 10px 0 10px !important; /* Kenarlardan çok hafif içeri alalım ki kart olduğu belli olsun */
        width: calc(100% - 20px) !important;
        padding: 0 !important;
    }

    .contact-info-boxes a, .contact-info-boxes .glass-card {
        padding: 1.5rem 20px !important;
        flex-direction: row !important;
        text-align: left !important;
        width: 100% !important;
        margin: 0 0 10px 0 !important; /* Kartlar arasına boşluk */
        display: flex !important;
        align-items: center !important;
        border: 1px solid rgba(255, 255, 255, 0.05) !important; /* Çok hafif bir sınır */
        border-radius: 15px !important; /* Köşeleri biraz yuvarlayalım, daha şık durur */
        background: rgba(20, 20, 20, 0.95) !important; /* Hafif transparan koyu arka plan */
        box-shadow: 0 4px 15px rgba(0,0,0,0.3) !important;
        -webkit-backdrop-filter: blur(10px) !important;
        backdrop-filter: blur(10px) !important;
    }

    .contact-info-boxes .icon-box-v2 {
        width: 40px !important;
        height: 40px !important;
        margin-right: 1.2rem !important;
        margin-bottom: 0 !important;
        flex-shrink: 0 !important;
        font-size: 1.2rem !important;
        background: transparent !important;
        color: var(--primary-color) !important;
    }

    /* Map Edge-to-Edge */
    .map-container {
        border-radius: 0 !important;
        margin: 0 !important;
        width: 100% !important;
    }

    .map-container iframe {
        border-radius: 0 !important;
        width: 100% !important;
        height: 350px !important;
        display: block;
    }

    .brand-title {
        font-size: 1.2rem !important;
    }

    .brand-subtitle {
        font-size: 0.6rem !important;
    }
    
    .hero-section {
        padding-top: 120px;
        padding-bottom: 60px;
    }
    
    .section-padding {
        padding: 60px 0;
    }
}

/* Mobile Bottom Nav Bar */
.mobile-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #000; /* Tam siyah daha asil durur */
    border-top: 2px solid var(--primary-color); /* Üstte ince bir sarı çizgi */
    z-index: 9999;
    padding: 12px 0 calc(12px + env(safe-area-inset-bottom));
    box-shadow: 0 -15px 40px rgba(0,0,0,0.8);
}

.mobile-nav-content {
    display: flex;
    justify-content: space-around;
    align-items: center;
    max-width: 500px;
    margin: 0 auto;
    position: relative;
    padding: 0 15px;
}

.mobile-nav-content .nav-item {
    color: #fff; /* Tam beyaz daha net okunur */
    font-size: 1.4rem;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
    text-decoration: none !important;
}

.mobile-nav-content .nav-item:active {
    background: var(--primary-color);
    color: #000;
    transform: scale(0.9) translateY(-5px);
}

.taxi-call-btn {
    position: relative;
    top: -35px; /* Biraz daha yukarı çekelim */
    background: #ffd300 !important; /* Direkt parlak sarı renk */
    color: #000 !important;
    text-decoration: none !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 90px; /* Boyutu biraz daha büyütelim */
    height: 90px;
    border-radius: 50%;
    box-shadow: 0 0 30px rgba(255, 211, 0, 0.8), 0 0 60px rgba(255, 211, 0, 0.4) !important; /* Çift katmanlı parlama */
    border: 4px solid #fff; /* Beyaz çerçeve sarıyı patlatır */
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 10000;
}

.taxi-icon {
    font-size: 2.2rem !important; /* İkonu büyütelim */
    margin-bottom: -5px;
    color: #000 !important;
    animation: shake-phone 0.5s infinite; /* Titreme efekti daha belirgin olsun */
}

@keyframes shake-phone {
    0% { transform: rotate(0deg); }
    25% { transform: rotate(10deg); }
    50% { transform: rotate(0deg); }
    75% { transform: rotate(-10deg); }
    100% { transform: rotate(0deg); }
}

.taxi-call-btn span {
    font-size: 0.8rem !important;
    font-weight: 900 !important;
    letter-spacing: 1px;
    color: #000 !important;
    margin-top: 2px;
}

/* Hide scroll top on mobile to prevent overlap */
@media (max-width: 991.98px) {
    #scrollTop {
        display: none !important;
    }
    /* Add padding to body to prevent footer content overlap */
    body {
        padding-bottom: 80px !important;
    }
}

