/**
 * Özdamla Araç Kiralama - Custom Styles
 */

:root {
    /* Modern Turkuaz-Beyaz Palet */
    --primary-color: #00abca;
    --primary-dark: #0087a3;
    --primary-light: #7adfeb;
    --secondary-color: #4b93a1;
    --secondary-dark: #2f6f7a;
    --secondary-light: #9fd5dd;
    --accent-color: #0f172a;
    --success-color: #059669;
    --danger-color: #dc2626;
    --warning-color: #d97706;
    --info-color: #4ccfe4;
    --dark-color: #0f172a;
    --dark-secondary: #1e293b;
    --light-color: #f8fafc;
    --white: #ffffff;
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --border-color: #e2e8f0;
    --surface-color: #ffffff;
    --card-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --card-shadow-hover: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --focus-ring: 0 0 0 3px rgba(0, 171, 202, 0.3);
    --gradient-primary: linear-gradient(135deg, #00abca 0%, #4ccfe4 50%, #7adfeb 100%);
    --gradient-secondary: linear-gradient(135deg, #4b93a1 0%, #9fd5dd 100%);
    --gradient-accent: linear-gradient(135deg, #0087a3 0%, #00abca 100%);
    --gradient-hero: linear-gradient(135deg, #00abca 0%, #4ccfe4 35%, #7adfeb 100%);

    /* Bootstrap primary overrides (bg-primary, text-primary, btn-primary, etc.) */
    --bs-primary: #00abca;
    --bs-primary-rgb: 0, 171, 202;
    --bs-primary-text-emphasis: #0087a3;
    --bs-primary-bg-subtle: #d9f4f8;
    --bs-primary-border-subtle: #a9e3ed;
}

/* Sticky Footer Layout + iOS Safari yatay taşma önleme */
html {
    overflow-x: hidden;
    -webkit-text-size-adjust: 100%;
    max-width: 100%;
}

body {
    height: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    max-width: 100%;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--text-primary);
    background: var(--app-bg, linear-gradient(135deg, #f8fafc 0%, #f1f5f9 50%, #e2e8f0 100%));
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    -webkit-overflow-scrolling: touch;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(var(--bs-primary-rgb, 0, 171, 202), 0.06) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(var(--primary-light-rgb, 122, 223, 235), 0.06) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(15, 23, 42, 0.03) 0%, transparent 50%);
    pointer-events: none;
    z-index: -1;
}

/* Typography - modern ve sıkı başlıklar */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--dark-color);
    margin-bottom: 0.6rem;
    line-height: 1.2;
}

p {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Main content wrapper - flexbox için + iOS taşma önleme */
body > main {
    flex: 1 0 auto;
    min-height: 0;
    max-width: 100%;
    overflow-x: hidden;
}

/* Footer - her zaman altta */
body > footer {
    flex-shrink: 0;
    margin-top: auto;
}

/* Navigation */
.navbar {
    background: linear-gradient(135deg, #00abca 0%, #4ccfe4 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.2);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
    padding: 0.5rem 0;
    min-height: 96px;
}

/* Navbar altındaki boşluğu kaldır */
.navbar + .container.mt-3 {
    margin-top: 0 !important;
}

/* Floating Social Buttons */
.floating-social-buttons {
    position: fixed;
    right: 20px;
    bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 1050;
}

.floating-social-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    background: var(--primary-color);
    box-shadow: 0 10px 20px rgba(15, 23, 42, 0.25);
    text-decoration: none;
    position: relative;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.floating-social-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 28px rgba(15, 23, 42, 0.3);
    color: #ffffff;
}

.floating-social-btn.whatsapp { background: var(--primary-dark); }
.floating-social-btn.maps { background: #334155; }
.floating-social-btn.phone { background: var(--primary-color); }
.floating-social-btn.instagram { background: var(--primary-light); }

.floating-social-btn .tooltip-text {
    position: absolute;
    right: 60px;
    top: 50%;
    transform: translateY(-50%) translateX(10px);
    background: #0f172a;
    color: #ffffff;
    padding: 6px 10px;
    border-radius: 6px;
    font-size: 0.75rem;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: all 0.2s ease;
}

.floating-social-btn:hover .tooltip-text {
    opacity: 1;
    transform: translateY(-50%) translateX(0);
}

@media (max-width: 576px) {
    .floating-social-buttons {
        right: 12px;
        bottom: 80px;
        gap: 10px;
    }

    .floating-social-btn {
        width: 44px;
        height: 44px;
    }
}

.navbar.scrolled {
    background: linear-gradient(135deg, #00abca 0%, #4ccfe4 100%);
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.25);
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 800;
    color: #ffffff !important;
    background: none;
    -webkit-text-fill-color: #ffffff;
    transition: all 0.3s ease;
    position: relative;
}

.navbar-brand .brand-logo {
    width: 104px;
    height: 104px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(236, 239, 243, 0.95);
    border-radius: 50%;
    padding: 6px;
    overflow: hidden;
    box-shadow:
        inset 0 0 0 1px rgba(148, 163, 184, 0.5),
        0 6px 16px rgba(15, 23, 42, 0.15);
}

.navbar-brand .brand-logo-object,
.navbar-brand .brand-logo-img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
    object-position: center;
    pointer-events: none;
}

.navbar-brand .brand-logo-fallback {
    font-size: 0.85rem;
    font-weight: 700;
    color: #ffffff;
}

.navbar-brand .brand-text {
    white-space: nowrap;
}

.navbar-brand:hover {
    transform: scale(1.05);
}

.navbar-brand i {
    color: #ffffff;
    background: none;
    -webkit-text-fill-color: #ffffff;
}

.navbar-nav .nav-link {
    font-weight: 500;
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
    margin: 0 0.2rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    color: rgba(255, 255, 255, 0.9) !important;
}

@media (min-width: 992px) {
    .navbar-nav .nav-link {
        white-space: nowrap;
    }
}

.navbar .nav-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.55rem 1.1rem;
    border-radius: 10px;
    font-weight: 600;
    line-height: 1.2;
    min-height: 38px;
}

.navbar-nav .nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    opacity: 0.9;
    transition: left 0.3s ease;
    z-index: -1;
}

.navbar-nav .nav-link:hover::before,
.navbar-nav .nav-link.active::before {
    left: 0;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: #ffffff !important;
    transform: translateY(-2px);
}

/* Hero Section */
.hero-section {
    background: var(--gradient-hero);
    color: white;
    padding: 120px 0;
    margin-bottom: 44px;
    position: relative;
    overflow: hidden;
    animation: gradientShift 15s ease infinite;
    background-size: 400% 400%;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.22;
    animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(100px, 100px); }
}

.hero-section::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.22), transparent 45%),
                radial-gradient(circle at 80% 10%, rgba(255, 255, 255, 0.18), transparent 40%),
                radial-gradient(circle at 50% 80%, rgba(255, 255, 255, 0.15), transparent 35%);
    opacity: 0.75;
    pointer-events: none;
    animation: pulseGlow 8s ease-in-out infinite;
}

@keyframes pulseGlow {
    0%, 100% { opacity: 0.75; }
    50% { opacity: 0.95; }
}

.hero-section > .container {
    position: relative;
    z-index: 1;
}

.hero-section h1,
.hero-section .display-4,
.hero-section .display-5 {
    font-size: 3.8rem;
    font-weight: 800;
    margin-bottom: 1.2rem;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1s ease-out;
    background: linear-gradient(45deg, #ffffff, #f0f9ff, #ffffff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% auto;
    animation: fadeInUp 1s ease-out, textShine 3s linear infinite;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes textShine {
    to {
        background-position: 200% center;
    }
}

.hero-section p,
.hero-section .lead {
    font-size: 1.4rem;
    margin-bottom: 2.4rem;
    text-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
    line-height: 1.8;
    animation: fadeInUp 1.2s ease-out;
    font-weight: 400;
}

/* About Page */
.hero-section.hero-about {
    padding: 110px 0 90px;
    margin-bottom: 0;
}

.hero-section.hero-about + .container {
    margin-top: -44px;
}

.about-section-title {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: -0.3px;
}

.about-section-subtitle {
    color: var(--text-secondary);
}

.about-intro-card {
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(148, 163, 184, 0.35);
    border-radius: 24px;
    padding: 36px 34px;
    box-shadow: 0 18px 36px rgba(15, 23, 42, 0.10);
    backdrop-filter: blur(10px);
}

.about-lead {
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.9;
}

.about-intro-text-box {
    background: #e5e7eb;
    border: 1px solid rgba(148, 163, 184, 0.55);
    border-radius: 18px;
    padding: 16px 18px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65);
}

.about-intro-text-box .about-lead {
    font-weight: 500;
}

.about-quick-stats {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.about-chip {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    border-radius: 16px;
    border: 1px solid rgba(148, 163, 184, 0.28);
    background: #ffffff;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.06);
}

.about-chip-icon {
    width: 40px;
    height: 40px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(29, 78, 216, 0.10);
    color: var(--primary-color);
    flex: 0 0 auto;
}

.about-chip-icon i {
    font-size: 16px;
}

.about-chip-text {
    font-weight: 700;
    color: #0f172a;
    font-size: 0.95rem;
}

.about-card {
    background: #ffffff;
    border: 1px solid rgba(148, 163, 184, 0.28);
    border-radius: 22px;
    padding: 26px 26px 22px;
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.10);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.about-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 38px rgba(15, 23, 42, 0.14);
    border-color: rgba(29, 78, 216, 0.22);
}

.about-card-icon {
    width: 56px;
    height: 56px;
    border-radius: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
}

.about-card-icon i {
    font-size: 20px;
}

.about-card-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 10px;
}

.about-card-text {
    color: var(--text-secondary);
    line-height: 1.85;
    margin-bottom: 0;
}

.about-icon-tile {
    background: #ffffff;
    border: 1px solid rgba(148, 163, 184, 0.26);
    border-radius: 22px;
    padding: 22px 20px;
    box-shadow: 0 12px 26px rgba(15, 23, 42, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    text-align: center;
}

.about-icon-tile:hover {
    transform: translateY(-4px);
    border-color: rgba(29, 78, 216, 0.22);
    box-shadow: 0 16px 32px rgba(15, 23, 42, 0.12);
}

.about-icon-tile-icon {
    width: 54px;
    height: 54px;
    border-radius: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 14px;
}

.about-icon-tile-icon i {
    font-size: 20px;
}

.about-icon-tile-title {
    font-weight: 800;
    margin-bottom: 10px;
    color: #0f172a;
}

.about-icon-tile-text {
    color: var(--text-secondary);
    margin-bottom: 0;
    line-height: 1.75;
    font-size: 0.95rem;
}

.about-media-card {
    background: #ffffff;
    border: 1px solid rgba(148, 163, 184, 0.26);
    border-radius: 22px;
    padding: 18px 18px;
    box-shadow: 0 12px 26px rgba(15, 23, 42, 0.08);
    display: flex;
    gap: 14px;
    align-items: flex-start;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.about-media-card:hover {
    transform: translateY(-4px);
    border-color: rgba(29, 78, 216, 0.22);
    box-shadow: 0 16px 32px rgba(15, 23, 42, 0.12);
}

.about-media-card-icon {
    width: 54px;
    height: 54px;
    border-radius: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
}

.about-media-card-icon i {
    font-size: 20px;
}

.about-media-card-title {
    font-weight: 800;
    margin-bottom: 6px;
    color: #0f172a;
}

.about-media-card-text {
    color: var(--text-secondary);
    line-height: 1.75;
    font-size: 0.95rem;
}

.about-stats-wrap {
    background: linear-gradient(180deg, #ffffff 0%, #f5f9ff 100%);
    border: 1px solid rgba(29, 78, 216, 0.12);
    border-radius: 24px;
    padding: 40px 26px;
    box-shadow: 0 18px 36px rgba(15, 23, 42, 0.08);
}

.about-stat-value {
    font-size: 2.4rem;
    font-weight: 900;
    letter-spacing: -0.6px;
    line-height: 1.1;
}

.about-stat-label {
    color: var(--text-secondary);
    font-weight: 700;
    margin-top: 8px;
}

.about-cta {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: #ffffff;
    border-radius: 26px;
    padding: 52px 34px;
    text-align: center;
    box-shadow: 0 22px 44px rgba(29, 78, 216, 0.34);
    position: relative;
    overflow: hidden;
}

.about-cta::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.20), transparent 45%),
                radial-gradient(circle at 80% 10%, rgba(255, 255, 255, 0.16), transparent 40%),
                radial-gradient(circle at 55% 85%, rgba(255, 255, 255, 0.12), transparent 35%);
    pointer-events: none;
}

.about-cta-title {
    font-weight: 900;
    font-size: 2rem;
    letter-spacing: -0.4px;
    margin-bottom: 14px;
    position: relative;
    z-index: 1;
}

.about-cta-text {
    position: relative;
    z-index: 1;
    opacity: 0.95;
    font-size: 1.08rem;
    line-height: 1.75;
    margin-bottom: 26px;
}

.about-cta-btn {
    position: relative;
    z-index: 1;
    border-radius: 999px;
    padding: 12px 22px;
    font-weight: 800;
}

/* Hero Slider - Dengeli boyut: görseller okunaklı, sitede sırıtmaz */
#heroSlider {
    margin-bottom: 50px;
}
#heroSlider .carousel-item {
    height: 600px;
    min-height: 560px;
    transition-duration: 1s;
}
#heroSlider .carousel-item .hero-section.hero-slider-slide {
    height: 100%;
    min-height: 560px;
    padding: 100px 0;
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    display: flex;
    align-items: center;
}
#heroSlider .carousel-item .hero-section.hero-slider-slide > .container {
    flex: 1;
}
#heroSlider .carousel-control-prev,
#heroSlider .carousel-control-next {
    width: 50px;
    opacity: 0.9;
}
#heroSlider .carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.7);
}
#heroSlider .carousel-indicators button.active {
    background-color: #fff;
}

/* Slider kartı biraz yukarı al */
#heroSlider .hero-vehicle-card {
    margin-top: -36px;
}

/* Kart hizası: her ekranda ortada */
#heroSlider .hero-vehicle-card-wrap {
    display: flex;
    justify-content: center;
}

/* Hero araç kartı (modern gradient tasarım) */
.hero-vehicle-card {
    background: rgba(15, 23, 42, 0.38);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 24px;
    padding: 2.5rem 3rem;
    max-width: 480px;
    margin: 0 auto;
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.16);
    position: relative;
    overflow: hidden;
    transform: translateZ(0);
    will-change: transform, opacity;
}

.hero-vehicle-card-wrap {
    animation: cardFloat 6s ease-in-out infinite;
}

/* Kart içindeki yazıları ortala */
#heroSlider .hero-vehicle-card {
    text-align: center;
}

@keyframes cardFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

/* Hero slider geçişi: arkaplan fade + kart sürüklenerek gelsin */
#heroSlider.hero-carousel .carousel-item .hero-vehicle-card {
    opacity: 0;
    transform: translateX(-28px);
    transition: opacity 0.75s ease, transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
}

#heroSlider.hero-carousel .carousel-item.active .hero-vehicle-card {
    opacity: 1;
    transform: translateX(0);
}

.hero-vehicle-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: transparent;
    transition: left 0.8s ease;
}

.hero-vehicle-card:hover::before {
    left: 100%;
}
.hero-vehicle-card .hero-vehicle-title {
    font-size: 1.65rem;
    font-weight: 700;
    color: var(--primary-color) !important;
    background: none !important;
    -webkit-text-fill-color: var(--primary-color) !important;
    -webkit-background-clip: initial !important;
    background-clip: initial !important;
    margin-bottom: 0.5rem;
    text-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
    letter-spacing: 0.01em;
}
.hero-vehicle-card .hero-vehicle-price {
    font-size: 2.1rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.25rem;
    text-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
}
.hero-vehicle-card .hero-vehicle-price-suffix {
    font-size: 0.95rem;
    color: var(--white);
    margin-bottom: 1rem;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}
.hero-vehicle-card .hero-vehicle-subtitle,
.hero-vehicle-card .lead {
    color: var(--white);
    margin-bottom: 1rem;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}
.btn-hero-cta {
    background: var(--gradient-primary);
    color: var(--white) !important;
    border: none;
    border-radius: 16px;
    font-weight: 700;
    padding: 0.9rem 2rem;
    font-size: 1.1rem;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 25px rgba(99, 102, 241, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-hero-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s ease;
}

.btn-hero-cta:hover::before {
    left: 100%;
}

.btn-hero-cta:hover {
    background: var(--gradient-accent);
    color: var(--white) !important;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 35px rgba(124, 58, 237, 0.4);
}

.btn-hero-cta:active {
    transform: translateY(-1px) scale(1.02);
}

/* Search Form */
.search-form {
    background: var(--surface-color);
    padding: 24px;
    border-radius: 14px;
    box-shadow: var(--card-shadow);
    border: 1px solid transparent;
    background-image: linear-gradient(var(--surface-color), var(--surface-color)),
                      linear-gradient(135deg, rgba(29, 78, 216, 0.25), rgba(14, 165, 233, 0.25));
    background-origin: border-box;
    background-clip: padding-box, border-box;
    margin-top: -40px;
    position: relative;
    z-index: 10;
}

/* Car Card */
.car-card {
    border: 1px solid rgba(229, 231, 235, 0.6);
    border-radius: 20px;
    overflow: hidden;
    background: var(--white);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    height: 100%;
    position: relative;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.car-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.car-card:hover::before {
    opacity: 1;
}

.car-card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: rgba(99, 102, 241, 0.3);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.15), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.car-card-img-link {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 240px;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    overflow: hidden;
    text-decoration: none;
    position: relative;
}

.car-card-img-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.car-card:hover .car-card-img-link::before {
    opacity: 0.1;
}

.car-card-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.1));
}

.car-card:hover .car-card-img {
    transform: scale(1.08) rotate(1deg);
    filter: drop-shadow(0 8px 12px rgba(0, 0, 0, 0.15));
}

.car-card-no-image {
    width: 100%;
    height: 220px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
}

.car-card-body {
    padding: 1.8rem;
    position: relative;
    background: linear-gradient(135deg, #ffffff 0%, #fafbfc 100%);
}

.car-card-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.6rem;
    color: var(--dark-color);
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: all 0.3s ease;
}
.car-card-title-link {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    color: inherit;
}
.car-card-logo-wrap {
    width: 96px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border-radius: 9px;
    padding: 4px 8px;
    box-shadow: 0 4px 10px rgba(15, 23, 42, 0.12);
    flex-shrink: 0;
}
.car-card-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
}

.car-card:hover .car-card-title {
    transform: translateX(4px);
}

.car-card-price {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 1rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
    position: relative;
}

.car-card-price::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width 0.3s ease;
}

.car-card:hover .car-card-price::after {
    width: 100%;
}

.car-features {
    list-style: none;
    padding: 0;
    margin: 0 0 1rem 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.35rem 0.75rem;
}

.car-features li {
    padding: 0.15rem 0;
    color: #5b6b82;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.car-features li i {
    color: var(--primary-color);
    margin-right: 0.4rem;
    width: 18px;
}

/* Car Gallery (detail page) */
.car-gallery-slider {
    position: relative;
    width: 100%;
    background: #f2f6ff;
    border-radius: 14px;
    overflow: hidden;
}

.car-gallery-slider .carousel-viewport {
    position: relative;
    width: 100%;
    min-height: 460px;
}

.car-gallery-slider .carousel-slide {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f2f6ff;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
}

.car-gallery-slider .carousel-slide.active {
    opacity: 1;
    pointer-events: auto;
}

.car-gallery-slider .carousel-main-img {
    max-width: 100%;
    max-height: 520px;
    width: auto;
    height: auto;
    object-fit: contain;
    object-position: center;
}

.car-gallery-slider .carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 46px;
    height: 46px;
    border: none;
    border-radius: 50%;
    background: rgba(15, 23, 42, 0.6);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s ease;
}

.car-gallery-slider .carousel-btn:hover {
    background: rgba(15, 23, 42, 0.8);
}

.car-gallery-slider .carousel-prev {
    left: 12px;
}

.car-gallery-slider .carousel-next {
    right: 12px;
}

.car-gallery-thumbs .car-thumb-wrap {
    width: 100%;
    padding: 0;
    aspect-ratio: 4 / 3;
    background: #f2f6ff;
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: 2px solid #dee2e6;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.car-gallery-thumbs .car-thumb-wrap.active,
.car-gallery-thumbs .car-thumb-wrap:hover,
.car-gallery-thumbs .car-thumb-wrap:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(29, 78, 216, 0.2);
}

.car-gallery-thumbs .car-thumb-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Teknik Özellikler (Araç Detay) */
.tech-specs {
    border: 0 !important;
    border-collapse: separate !important;
    border-spacing: 0 10px;
}

.tech-specs th {
    font-weight: 800;
    width: 44%;
    white-space: nowrap;
    letter-spacing: 0.01em;
}

.tech-specs td {
    font-weight: 600;
}

.tech-specs th,
.tech-specs td {
    padding: 0.75rem 0.95rem;
    border: 1px solid #e5e7eb !important;
    color: #111827;
    vertical-align: middle;
}

.tech-specs th {
    border-right: 1px solid #d1d5db !important;
}

.tech-specs td {
    border-left: 0 !important;
    color: #111827;
}

.tech-specs tr:nth-child(odd) th,
.tech-specs tr:nth-child(odd) td {
    background: #e5e7eb;
}

.tech-specs tr:nth-child(even) th,
.tech-specs tr:nth-child(even) td {
    background: #ffffff;
}

.tech-specs tr th:first-child {
    border-top-left-radius: 14px;
    border-bottom-left-radius: 14px;
}

.tech-specs tr td:last-child {
    border-top-right-radius: 14px;
    border-bottom-right-radius: 14px;
}

.tech-specs tr:hover th,
.tech-specs tr:hover td {
    border-color: #9ca3af !important;
    box-shadow: 0 10px 22px rgba(17, 24, 39, 0.06);
}

/* Section Title */
.section-title {
    text-align: center;
    margin-bottom: 2rem;
}

.section-title h2 {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 0.75rem;
}

.section-title p {
    color: var(--text-secondary);
    font-size: 1rem;
    max-width: 720px;
    margin: 0 auto;
}

/* Included Services */
.included-services {
    background: linear-gradient(180deg, #ffffff 0%, #f5f9ff 100%);
    border-radius: 22px;
    padding: 44px;
    box-shadow: 0 18px 36px rgba(15, 23, 42, 0.1);
    margin-top: 50px;
    border: 1px solid rgba(29, 78, 216, 0.12);
}

.service-item {
    display: flex;
    align-items: center;
    padding: 20px 22px;
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid rgba(29, 78, 216, 0.12);
    box-shadow: 0 10px 20px rgba(15, 23, 42, 0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    position: relative;
    overflow: hidden;
}

.service-item::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
    pointer-events: none;
}

.service-item:hover {
    transform: translateX(6px);
    border-color: rgba(29, 78, 216, 0.3);
    box-shadow: 0 16px 28px rgba(15, 23, 42, 0.12);
}

.service-icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-right: 18px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: #ffffff;
    font-size: 22px;
    box-shadow: 0 10px 18px rgba(29, 78, 216, 0.25);
}

.service-content {
    min-width: 0;
    flex: 1 1 auto;
}

.service-content h5 {
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 4px 0;
    color: var(--text-primary);
}

.service-content p {
    font-size: 13px;
    color: var(--text-secondary);
    margin: 0;
}

/* Info Notes - Modern ve Göze Hitap Eden Tasarım */
.km-info-notes {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 50%, #f1f5f9 100%);
    border-radius: 24px;
    padding: 3rem;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    border: 2px solid transparent;
    background-image: linear-gradient(135deg, #ffffff 0%, #f8fafc 50%, #f1f5f9 100%),
                      linear-gradient(135deg, rgba(30, 64, 175, 0.1), rgba(14, 165, 233, 0.1));
    background-origin: border-box;
    background-clip: padding-box, border-box;
    position: relative;
    overflow: hidden;
}

.km-info-notes::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    opacity: 0.8;
}

.km-info-notes::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(30, 64, 175, 0.05) 0%, transparent 70%);
    animation: float 20s ease-in-out infinite;
    pointer-events: none;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(-20px, -20px) rotate(120deg); }
    66% { transform: translate(20px, -10px) rotate(240deg); }
}

.km-info-notes h5 {
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.km-info-notes h5 i {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 1.3rem;
}

.info-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 1rem;
    position: relative;
    z-index: 1;
}

.info-list li {
    padding: 1.2rem 1.5rem;
    font-size: 0.95rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 1rem;
    background: linear-gradient(135deg, #ffffff 0%, #fafbfc 100%);
    border: 1px solid rgba(30, 64, 175, 0.1);
    border-radius: 16px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.info-list li::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    opacity: 0.05;
    transition: left 0.4s ease;
}

.info-list li:hover::before {
    left: 100%;
}

.info-list li:hover {
    transform: translateY(-2px) scale(1.02);
    border-color: rgba(30, 64, 175, 0.2);
    box-shadow: 0 10px 15px -3px rgba(30, 64, 175, 0.1), 0 4px 6px -2px rgba(30, 64, 175, 0.05);
}

.info-list i {
    background: var(--gradient-primary);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 0.9rem;
    flex-shrink: 0;
    box-shadow: 0 4px 6px -1px rgba(30, 64, 175, 0.3);
    transition: all 0.3s ease;
}

.info-list li:hover i {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 6px 8px -1px rgba(30, 64, 175, 0.4);
}

/* Services */
.service-card {
    text-align: center;
    padding: 2.2rem 2rem;
    border-radius: 24px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(229, 231, 235, 0.6);
    background: linear-gradient(135deg, #ffffff 0%, #fafbfc 100%);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.05), rgba(6, 182, 212, 0.05));
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.service-card:hover::before {
    opacity: 1;
}

.service-card:hover::after {
    opacity: 1;
}

.service-card:hover {
    transform: translateY(-12px) scale(1.03);
    border-color: rgba(99, 102, 241, 0.3);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15), 0 12px 12px -6px rgba(0, 0, 0, 0.05);
}

.service-card i {
     font-size: 2.8rem;
     color: var(--primary-color);
     margin-bottom: 1.2rem;
     width: 80px;
     height: 80px;
     display: inline-flex;
     align-items: center;
     justify-content: center;
     border-radius: 50%;
     background: transparent;
     box-shadow: 0 10px 25px rgba(99, 102, 241, 0.2);
     position: relative;
     z-index: 1;
     transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.service-card i::before {
     color: inherit;
     background: var(--gradient-primary);
     -webkit-background-clip: text;
     -webkit-text-fill-color: transparent;
     background-clip: text;
}

.service-card i::after {
     content: '';
     position: absolute;
     inset: -8px;
     border-radius: 50%;
     background: var(--gradient-primary);
     opacity: 0.1;
     z-index: -1;
     transition: all 0.4s ease;
}

.service-card:hover i {
     transform: scale(1.1) rotate(5deg);
     box-shadow: 0 15px 35px rgba(99, 102, 241, 0.3);
}

.service-card:hover i::after {
     opacity: 0.2;
     transform: scale(1.2);
}

.service-card h4 {
    font-weight: 700;
    margin-bottom: 0.8rem;
    color: var(--text-primary);
    font-size: 1.3rem;
    transition: all 0.3s ease;
}

.service-card:hover h4 {
    transform: translateY(-2px);
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.service-card p {
    margin-bottom: 1.3rem;
    color: var(--text-secondary);
    line-height: 1.7;
    transition: all 0.3s ease;
}

.service-card:hover p {
    color: var(--text-primary);
}

/* KM Packages Palette Fix */
.km-package-card {
    background: #ffffff;
    border: 1px solid #e0ebff;
    border-radius: 22px;
    padding: 36px 28px;
    text-align: center;
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.12);
    position: relative;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    box-sizing: border-box;
    min-height: 400px;
}

.km-package-card:hover {
    transform: translateY(-5px);
    border-color: rgba(29, 78, 216, 0.25);
    box-shadow: 0 20px 36px rgba(15, 23, 42, 0.16);
}

/* Orta kart icin cizgili vurgu (opsiyonel) */
.km-package-card.is-highlight {
    border: 2px solid var(--primary-color);
    box-shadow: 0 16px 32px rgba(29, 78, 216, 0.18);
}

.km-package-card.featured {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: #ffffff;
    border-color: transparent;
    box-shadow: 0 20px 40px rgba(29, 78, 216, 0.32);
}

.km-package-card.featured:hover {
    transform: translateY(-4px);
}

.km-badge {
    font-size: 28px;
    font-weight: 800;
    padding: 12px 26px;
    letter-spacing: 0.4px;
    background: var(--primary-color);
    color: #ffffff;
    border-radius: 999px;
    box-shadow: 0 8px 18px rgba(29, 78, 216, 0.28);
}

.km-package-card.featured .km-badge {
    background: #ffffff;
    color: var(--primary-color);
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.12);
}

.km-period {
    color: #5a6a84;
    letter-spacing: 1.1px;
    font-size: 13px;
    text-transform: uppercase;
}

.km-package-card.featured .km-period {
    color: rgba(255, 255, 255, 0.9);
}

.km-icon {
    color: var(--primary-color);
    font-size: 52px;
    margin: 20px 0;
}

.km-package-card.featured .km-icon {
    color: #ffffff;
}

.km-package-card h4 {
    color: var(--text-primary);
    font-size: 20px;
    font-weight: 700;
}

.km-package-card p {
    color: var(--text-secondary);
    font-size: 15px;
}

.km-desc-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    text-align: center;
}

.km-desc-box {
    border: 2px solid rgba(29, 78, 216, 0.35);
    background: var(--primary-color);
    border-radius: 16px;
    padding: 11px 14px;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.35;
    color: #ffffff;
    word-break: break-word;
    box-shadow: 0 1px 0 rgba(29, 78, 216, 0.10), 0 10px 18px rgba(29, 78, 216, 0.18);
}

.km-package-card.featured .km-desc-box {
    background: rgba(29, 78, 216, 0.45);
    border-color: rgba(255, 255, 255, 0.30);
    color: #ffffff;
    box-shadow: none;
}

.km-feature-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    text-align: left;
}

.km-feature-box {
    border: 2px solid rgba(29, 78, 216, 0.35);
    background: var(--primary-color);
    border-radius: 16px;
    padding: 11px 14px;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.35;
    color: #ffffff;
    box-shadow: 0 1px 0 rgba(29, 78, 216, 0.10), 0 10px 18px rgba(29, 78, 216, 0.18);
}

.km-package-card.featured .km-feature-box {
    background: rgba(29, 78, 216, 0.45);
    border-color: rgba(255, 255, 255, 0.30);
    color: #ffffff;
    box-shadow: none;
}

.km-package-card.featured h4 {
    color: #ffffff;
}

.km-package-card.featured p {
    color: rgba(255, 255, 255, 0.9);
}

.popular-badge {
    position: absolute;
    top: 16px;
    right: -34px;
    background: var(--info-color);
    color: #ffffff;
    padding: 4px 36px;
    font-size: 11px;
    font-weight: 700;
    transform: rotate(45deg);
    box-shadow: 0 6px 14px rgba(15, 23, 42, 0.18);
}

/* Empty State */
.empty-state {
    padding: 3rem 1.5rem;
}

.empty-state i {
    opacity: 0.5;
}

/* Stat Item */
.stat-item {
    padding: 1rem;
}

.stat-item h2 {
    font-weight: 700;
    line-height: 1.2;
}

/* Why Us Section */
.why-us {
    background: linear-gradient(180deg, #f5f9ff 0%, #eef5ff 100%);
    padding: 56px 0;
}

.why-us-item {
    text-align: center;
    padding: 2rem;
    background: var(--white);
    border-radius: 16px;
    border: 1px solid var(--border-color);
    box-shadow: var(--card-shadow);
}

.why-us-item i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.why-us-item h4 {
    font-weight: 600;
    margin-bottom: 1rem;
}

/* Footer */
footer.bg-dark {
    background: linear-gradient(135deg, #2b2b2b 0%, #3a3a3a 50%, #2b2b2b 100%) !important;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #e6efff;
    position: relative;
    overflow: hidden;
}

footer.bg-dark::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.06) 0%, transparent 55%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.05) 0%, transparent 55%);
    pointer-events: none;
}

/* Maps embed: admin panelden yapıştırılan iframe'leri responsive yap */
.map-embed iframe {
    width: 100% !important;
    height: 100% !important;
    border: 0 !important;
}

footer.bg-dark .container {
    position: relative;
    z-index: 1;
}

footer.bg-dark h1,
footer.bg-dark h2,
footer.bg-dark h3,
footer.bg-dark h4,
footer.bg-dark h5,
footer.bg-dark h6 {
    color: #ffffff;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

footer.bg-dark p,
footer.bg-dark li,
footer.bg-dark span,
footer.bg-dark small,
footer.bg-dark .text-muted,
footer.bg-dark .text-secondary {
    color: rgba(230, 239, 255, 0.85) !important;
}

footer.bg-dark a,
footer.bg-dark .nav-link {
    color: rgba(230, 239, 255, 0.9) !important;
    transition: all 0.3s ease;
    position: relative;
    text-decoration: none;
}

footer.bg-dark a::after,
footer.bg-dark .nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width 0.3s ease;
}

footer.bg-dark a:hover::after,
footer.bg-dark .nav-link:hover::after {
    width: 100%;
}

footer.bg-dark a:hover,
footer.bg-dark .nav-link:hover {
    color: #ffffff !important;
}

/* Buttons */
.btn-primary {
    background-image: var(--gradient-primary);
    border-color: transparent;
    padding: 0.75rem 1.8rem;
    font-weight: 600;
    border-radius: 16px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(99, 102, 241, 0.2);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.95rem;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s ease;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    background-image: var(--gradient-accent);
    border-color: transparent;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 35px rgba(124, 58, 237, 0.3);
    color: var(--white);
}

.btn-primary:active {
    transform: translateY(-1px) scale(1.02);
}

.btn-secondary {
    background-image: var(--gradient-secondary);
    border-color: transparent;
    padding: 0.75rem 1.8rem;
    font-weight: 600;
    border-radius: 16px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    color: var(--white);
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(6, 182, 212, 0.2);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.95rem;
}

.btn-secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s ease;
}

.btn-secondary:hover::before {
    left: 100%;
}

.btn-secondary:hover {
    background-image: linear-gradient(135deg, #0891b2 0%, #0e7490 100%);
    border-color: transparent;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 35px rgba(6, 182, 212, 0.3);
    color: var(--white);
}

.btn-secondary:active {
    transform: translateY(-1px) scale(1.02);
}

.btn-outline-primary {
    color: var(--primary-color);
    border: 2px solid transparent;
    background-image: linear-gradient(var(--white), var(--white)), var(--gradient-primary);
    background-origin: border-box;
    background-clip: padding-box, border-box;
    border-radius: 50px;
    padding: 0.65rem 1.6rem;
    font-weight: 600;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.9rem;
}

.btn-outline-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.btn-outline-primary:hover::before {
    opacity: 1;
}

.btn-outline-primary:hover {
    color: var(--white);
    border-color: transparent;
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 10px 25px rgba(99, 102, 241, 0.3);
}

/* Form Styles */
.form-control,
.form-select {
    border-radius: 16px;
    border: 2px solid var(--border-color);
    background: linear-gradient(135deg, #ffffff 0%, #fafbfc 100%);
    padding: 0.75rem 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary-color);
    box-shadow: var(--focus-ring), 0 4px 12px rgba(99, 102, 241, 0.15);
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    transform: translateY(-1px);
}

.form-control::placeholder,
.form-select::placeholder {
    color: var(--text-secondary);
    font-weight: 400;
}

/* Loading Spinner */
.spinner-border {
    width: 3rem;
    height: 3rem;
}

/* Text palette helpers */
.text-muted {
    color: var(--text-secondary) !important;
}

.text-secondary {
    color: var(--text-secondary) !important;
}

.text-dark {
    color: var(--text-primary) !important;
}

.text-primary {
    color: var(--primary-color) !important;
}

/* ===============================
   Toast / Notification Tasarımı
   (JS: public/assets/js/main.js -> #toast-container, .toast-notification)
   =============================== */
.toast-container {
    position: fixed;
    top: 16px;
    right: 16px;
    z-index: 2147483000; /* modal/backdrop üstü */
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: min(420px, calc(100vw - 32px));
    pointer-events: none;
}

.toast-notification {
    pointer-events: auto;
    display: grid;
    grid-template-columns: 32px 1fr 32px;
    align-items: center;
    gap: 10px;
    padding: 12px 12px;
    border-radius: 12px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
    background: #111827;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transform: translateY(-8px);
    opacity: 0;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.toast-notification.show {
    transform: translateY(0);
    opacity: 1;
}

.toast-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.08);
    font-size: 18px;
}

.toast-content {
    min-width: 0;
}

.toast-message {
    font-size: 14px;
    line-height: 1.35;
    word-break: break-word;
}

.toast-close {
    width: 32px;
    height: 32px;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: rgba(255, 255, 255, 0.85);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.toast-close:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
}

.toast-success {
    border-left: 4px solid #22c55e;
}

.toast-success .toast-icon {
    background: rgba(34, 197, 94, 0.18);
    color: #22c55e;
}

.toast-error {
    border-left: 4px solid #ef4444;
}

.toast-error .toast-icon {
    background: rgba(239, 68, 68, 0.18);
    color: #ef4444;
}

.toast-warning {
    border-left: 4px solid #f59e0b;
}

.toast-warning .toast-icon {
    background: rgba(245, 158, 11, 0.18);
    color: #f59e0b;
}

.toast-info {
    border-left: 4px solid #00abca;
}

.toast-info .toast-icon {
    background: rgba(59, 130, 246, 0.18);
    color: #00abca;
}

@media (max-width: 576px) {
    .toast-container {
        left: 12px;
        right: 12px;
        top: 12px;
        max-width: none;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .hero-section {
        padding: 80px 0;
    }

    .hero-section h1,
    .hero-section .display-4,
    .hero-section .display-5 {
        font-size: 2.4rem;
    }
    
    .hero-section p,
    .hero-section .lead {
        font-size: 1.1rem;
    }

    .hero-section.hero-about {
        padding: 80px 0 60px;
    }

    .hero-section.hero-about + .container {
        margin-top: -28px;
    }

    .about-intro-card {
        padding: 22px 18px;
        border-radius: 22px;
    }

    .about-cta {
        padding: 42px 18px;
        border-radius: 24px;
    }

    .about-stat-value {
        font-size: 2.0rem;
    }
     
    /* Hero slider mobilde daha kompakt */
    #heroSlider .carousel-item {
        height: 440px;
        min-height: 400px;
    }
    #heroSlider .carousel-item .hero-section.hero-slider-slide {
        min-height: 400px;
        padding: 18px 14px 10px;
        align-items: flex-end;
        background-position: center 30% !important;
    }
    #heroSlider .carousel-item .hero-section.hero-slider-slide > .container {
        display: flex;
        align-items: flex-end;
        justify-content: center;
        min-height: 100%;
    }
    .hero-vehicle-card {
        padding: 0.9rem 1.05rem;
        max-width: 100%;
        margin: -28px 0.45rem 1rem;
        border-radius: 20px;
        background: rgba(15, 23, 42, 0.44);
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
    }
    .hero-vehicle-card-wrap {
        animation: none;
    }
    .hero-vehicle-card .hero-vehicle-title {
        font-size: 1.18rem;
        color: var(--primary-color) !important;
        background: none !important;
        -webkit-text-fill-color: var(--primary-color) !important;
        -webkit-background-clip: initial !important;
        background-clip: initial !important;
    }
    .hero-vehicle-card .hero-vehicle-price {
        font-size: 1.6rem;
    }
    .hero-vehicle-card .hero-vehicle-price-suffix {
        font-size: 0.75rem;
        margin-bottom: 0.45rem;
    }
    .hero-vehicle-card .hero-vehicle-subtitle,
    .hero-vehicle-card .lead {
        font-size: 0.9rem;
        margin-bottom: 0.45rem;
    }
    .btn-hero-cta {
        font-size: 1rem;
        padding: 0.8rem 1.5rem;
    }

    .search-form {
        margin-top: 0;
        padding: 1.5rem;
        border-radius: 16px;
    }

    .section-title h2 {
        font-size: 2rem;
    }

    .campaign-card,
    .blog-card {
        margin-bottom: 1.5rem;
    }

    .stat-item h2 {
        font-size: 2.5rem;
    }

    /* Araç slider mobil */
    .car-gallery-slider .carousel-viewport {
        min-height: 280px;
    }
    .car-gallery-slider .carousel-slide {
        min-height: 280px;
    }
    .car-gallery-slider .carousel-main-img {
        max-height: 360px;
    }
    
    .km-package-card {
        margin-bottom: 0;
        padding: 2rem 1.5rem;
        -webkit-transform: none;
        transform: none;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        border-radius: 20px;
    }

    .km-badge {
        font-size: 1.5rem;
        padding: 12px 20px;
        max-width: calc(100% - 16px);
    }

    .km-icon {
        font-size: 2.5rem;
        margin: 1rem 0;
    }

    .included-services {
        padding: 2rem 1.5rem;
        margin-top: 2rem;
        border-radius: 20px;
    }

    .service-item {
        display: block !important;
        -webkit-box-orient: vertical;
        margin-bottom: 1rem;
        padding: 1.5rem;
        text-align: center;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        border-radius: 16px;
    }

    .service-item .service-icon {
        min-width: 60px;
        width: 60px;
        height: 60px;
        margin: 0 auto 1rem;
        margin-right: auto;
        font-size: 1.5rem;
    }
    
    /* Enhanced mobile card effects */
    .car-card:hover {
        transform: translateY(-4px) scale(1.01);
    }
    
    .service-card:hover {
        transform: translateY(-6px) scale(1.02);
    }
    
    .btn {
        font-size: 0.9rem;
        padding: 0.7rem 1.5rem;
    }
    
    .navbar {
        padding: 0.5rem 0;
    }
    
    .navbar-brand {
        font-size: 1.3rem;
    }
}

/* Çok küçük ekranlar (iPhone SE vb.) */
@media (max-width: 576px) {
    .hero-section {
        padding: 60px 0;
    }
    
    .hero-section h1,
    .hero-section .display-4,
    .hero-section .display-5 {
        font-size: 2rem;
    }

    #heroSlider .carousel-item {
        height: 400px;
        min-height: 360px;
    }
    #heroSlider .carousel-item .hero-section.hero-slider-slide {
        min-height: 360px;
        padding: 16px 12px 10px;
        background-position: center 35% !important;
    }
    .hero-vehicle-card {
        padding: 0.8rem 0.95rem;
        margin: -34px 0.4rem 0.85rem;
        background: rgba(15, 23, 42, 0.48);
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
    }
    .hero-vehicle-card-wrap {
        animation: none;
    }
    .hero-vehicle-card .hero-vehicle-title {
        font-size: 1.05rem;
    }
    .hero-vehicle-card .hero-vehicle-price {
        font-size: 1.5rem;
    }
    .hero-vehicle-card .hero-vehicle-price-suffix {
        font-size: 0.74rem;
    }
    
    .km-package-card {
        padding: 1.5rem 1rem;
        border-radius: 16px;
    }
    
    .km-badge {
        font-size: 1.3rem;
        padding: 10px 16px;
    }
    
    .included-services {        
        padding: 1.5rem 1rem;
        border-radius: 16px;
    }
    
    .service-item {
        padding: 1rem;
        border-radius: 12px;
    }
    
    .service-item .service-icon {
        min-width: 50px;
        width: 50px;
        height: 50px;
        margin: 0 auto 0.8rem;
        font-size: 1.3rem;
    }
    
    .car-card {
        border-radius: 16px;
    }
    
    .service-card {
        border-radius: 16px;
        padding: 1.5rem 1rem;
    }
    
    .btn {
        font-size: 0.85rem;
        padding: 0.6rem 1.2rem;
    }
    
    .navbar-brand {
        font-size: 1.2rem;
    }

    .navbar-brand .brand-logo {
        width: 72px;
        height: 72px;
    }
}


/* ============================================
   Ekstralar Bölümü (Reservation Extras)
   ============================================ */
.extras-section {
    border-top: 1px solid #dee2e6;
    padding-top: 1rem;
}

.extras-list {
    max-height: none;
    overflow: visible;
}

.extra-item {
    transition: all 0.2s ease;
    background: #f8f9fa;
    cursor: pointer;
}

.extra-item:hover {
    background: #e9ecef;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.extra-item .form-check-input {
    width: 1.2rem;
    height: 1.2rem;
    margin-top: 0.25rem;
    cursor: pointer;
}

.extra-item .form-check-input:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.extra-item label {
    cursor: pointer;
    margin-bottom: 0;
}

.extra-item strong {
    color: #212529;
}

.extra-item .text-primary {
    font-size: 1.1rem;
}

/* Responsive */
@media (max-width: 768px) {
    .extra-item {
        padding: 0.75rem !important;
    }
    
    .extra-item .text-primary {
        font-size: 1rem;
    }
}

/* ==============================
   Corporate Panel (isolated styles)
   ============================== */
.corporate-shell {
    background: var(--app-bg, #f6f7fb);
}

.corporate-topbar {
    position: sticky;
    top: 0;
    z-index: 1030;
}

.corporate-tabs .nav-link {
    font-weight: 600;
    color: var(--text-secondary);
}

.corporate-tabs .nav-link.active {
    color: var(--primary-color);
}

.corporate-card {
    border-radius: 12px;
}

.corporate-guest-left {
    background: linear-gradient(
        135deg,
        rgba(var(--bs-primary-rgb, 0, 171, 202), 0.14),
        rgba(var(--primary-light-rgb, 122, 223, 235), 0.10)
    );
}

.corporate-guest-card {
    border-radius: 14px;
}

.corporate-topbar.navbar {
    background: var(--gradient-primary) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.20);
}

.corporate-topbar .navbar-brand,
.corporate-topbar .nav-link,
.corporate-topbar .dropdown-toggle {
    color: rgba(255, 255, 255, 0.95) !important;
}

.corporate-topbar .nav-link.active,
.corporate-topbar .nav-link:hover {
    color: #ffffff !important;
}

.corporate-topbar .corporate-tabs .nav-link {
    border-bottom: 3px solid transparent;
}

.corporate-topbar .corporate-tabs .nav-link:hover {
    border-bottom-color: rgba(255, 255, 255, 0.6);
}

.corporate-topbar .corporate-tabs .nav-link.active {
    border-bottom-color: rgba(255, 255, 255, 0.9);
}

.corporate-topbar .navbar-toggler {
    border-color: rgba(255, 255, 255, 0.35);
}

.corporate-topbar .navbar-toggler-icon {
    filter: invert(1) grayscale(1) brightness(2);
}

.corporate-table thead th {
    position: sticky;
    top: 0;
    z-index: 1;
}

/* Customer Dashboard */
.customer-dashboard {
    background: linear-gradient(180deg, #f8fafc 0%, #eef2f7 60%, #ffffff 100%);
}

.customer-dashboard .customer-stat,
.customer-dashboard .reservation-card {
    border-radius: 14px;
}

.customer-dashboard .customer-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.customer-dashboard .customer-tabs .nav-link {
    border: none;
    color: var(--text-secondary);
    font-weight: 600;
}

.customer-dashboard .customer-tabs .nav-link.active {
    color: var(--primary-color);
    border-bottom: 3px solid var(--primary-color);
    background: transparent;
}

.customer-dashboard .reservation-card .reservation-car-img {
    width: 90px;
    height: 90px;
    border-radius: 12px;
    overflow: hidden;
    background: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
}

.customer-dashboard .reservation-card .reservation-car-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.customer-dashboard .no-image-placeholder-sm {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-light) 100%);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.customer-dashboard .reservation-detail {
    background: #f8fafc;
    border-radius: 12px;
    padding: 12px;
}

.customer-dashboard .reservation-detail .detail-item {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    margin-bottom: 6px;
}

.customer-dashboard .customer-filter {
    max-width: 320px;
}

@media (max-width: 768px) {
    .customer-dashboard .customer-filter {
        max-width: 100%;
    }
    .customer-dashboard .reservation-card .reservation-car-img {
        width: 70px;
        height: 70px;
    }
}
