:root {
    --primary-color: #98c93c; /* Logodaki Yeşil */
    --secondary-color: #212529;
    --light-bg: #f8f9fa;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--light-bg);
}

.text-primary-custom {
    color: var(--primary-color);
}

.bg-primary-custom {
    background-color: var(--primary-color);
}

.btn-primary-custom {
    background-color: var(--primary-color);
    color: white;
    border: none;
    transition: all 0.3s ease;
}

.btn-primary-custom:hover {
    background-color: #82ad31;
    color: white;
}

.hero-section {
    padding: 100px 0;
    text-align: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: white;
    min-height: 700px;
    display: flex;
    align-items: center;
    position: relative;
}

@media (max-width: 991.98px) {
    .hero-section {
        min-height: 500px;
        padding: 60px 0;
    }
    
    .hero-section h1 {
        font-size: 2.2rem;
    }
}

.hero-section h1 {
    color: white;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.booking-widget {
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
    padding: 30px;
    position: relative;
    z-index: 10;
    text-align: left;
}

.nav-pills .nav-link {
    color: var(--secondary-color);
    border-radius: 30px;
    padding: 10px 25px;
    font-weight: 500;
}

.nav-pills .nav-link.active {
    background-color: rgba(152, 201, 60, 0.1);
    color: var(--primary-color);
    font-weight: 600;
}

.form-control, .form-select {
    border-radius: 10px;
    padding: 12px 15px;
    border: 1px solid #eee;
    background-color: var(--light-bg);
    transition: all 0.2s ease;
}

.form-control:focus, .form-select:focus {
    box-shadow: none;
    border-color: var(--primary-color);
}

.input-group-text {
    background: transparent;
    border: none;
    color: #aaa;
}

.hero-image {
    border-radius: 20px;
    overflow: hidden;
    margin-top: 40px;
    position: relative;
}

.hero-image img {
    width: 100%;
    object-fit: cover;
    min-height: 400px;
}

/* Note: The globe widget is complex. 
   If it's the 3D globe, it might not respect CSS easily.
   We try to contain it. 
*/

/* Custom Utilities */
.letter-spacing-1 {
    letter-spacing: 1px;
}

.bg-light-custom {
    background-color: #f8f9fa; /* Or match var(--light-bg) */
}

/* Nav Pills Custom */
.nav-pills-custom .nav-link {
    color: var(--secondary-color);
    background: white;
    margin: 0 5px;
    border: 1px solid #eee;
    border-radius: 50px;
    padding: 10px 25px;
    transition: all 0.3s;
}

.nav-pills-custom .nav-link:hover {
    background: #f8f9fa;
}

.nav-pills-custom .nav-link.active {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

/* Route List Styles - Excel Minimal Grid */
.route-list-row {
    background: white;
    border-radius: 0;
    border-bottom: 1px solid #dee2e6;
    padding: 12px 15px !important;
    transition: background-color 0.1s ease;
    margin-bottom: 0;
}

.route-list-row:first-child {
    border-top: 1px solid #dee2e6;
}

.route-list-row:hover {
    background-color: #f8f9fa;
    transform: none;
    box-shadow: none;
    border-color: #dee2e6;
}

.route-icon-circle {
    width: 32px;
    height: 32px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
}

.route-price-tag {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--secondary-color);
}

/* Vehicle Cards Pro */
.vehicle-card-pro {
    border: none;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    overflow: hidden;
    background: white;
}

.vehicle-card-pro:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

/* Feature Items (Why Us) */
.feature-icon-circle {
    width: 80px;
    height: 80px;
    background: rgba(152, 201, 60, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.feature-item:hover .feature-icon-circle {
    background: var(--primary-color);
    transform: translateY(-5px);
}

.feature-item:hover .feature-icon-circle i {
    color: white !important;
}

.feature-item h6 {
    font-size: 1.1rem;
    letter-spacing: -0.5px;
}

.feature-item p {
    line-height: 1.5;
    color: #6c757d;
}

@media (max-width: 767.98px) {
    .feature-icon-circle {
        width: 65px;
        height: 65px;
    }
    
    .feature-icon-circle i {
        font-size: 1.5rem !important;
    }
}

.vehicle-card-media {
    position: relative;
    height: 220px;
    overflow: hidden;
    background-color: #f8f9fa;
}

.vehicle-card-media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 20px;
    transition: transform 0.5s ease;
}

.vehicle-card-pro:hover .vehicle-card-media img {
    transform: scale(1.05);
}

.vehicle-card-body {
    padding: 25px;
}

.vehicle-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
}

.vehicle-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 5px;
}

.vehicle-subtitle {
    color: #6c757d;
    font-size: 0.9rem;
}

.vehicle-rating {
    display: flex;
    align-items: center;
    background-color: rgba(152, 201, 60, 0.05);
    padding: 5px 10px;
    border-radius: 8px;
}

.rating-text {
    font-weight: 600;
    color: var(--primary-color);
    margin-right: 5px;
}

/* Section Headers */
.section-title-wrapper {
    position: relative;
    margin-bottom: 3rem;
    text-align: center;
}

.section-title {
    font-weight: 700 !important;
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
    margin-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

.section-subtitle {
    color: #6c757d;
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
}

.why-choose-us {
    position: relative;
    z-index: 5;
}

.vehicle-features {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.vehicle-features div {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: #495057;
    background-color: #f8f9fa;
    padding: 6px 12px;
    border-radius: 8px;
}

.vehicle-features i {
    color: var(--primary-color);
    font-size: 1rem;
}

.vehicle-actions {
    display: flex;
    gap: 10px;
    margin-top: auto;
}

.vehicle-actions .btn {
    flex: 1;
    padding: 10px;
    font-weight: 600;
    border-radius: 10px;
}

/* Vehicle List Item (Minimal) */
.vehicle-list-item {
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 15px;
    transition: all 0.2s ease;
    background: white;
}

.vehicle-list-item:hover {
    border-color: var(--primary-color);
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

/* Flatpickr Custom Modern Theme */
.flatpickr-calendar {
    width: 350px !important;
    border-radius: 15px !important;
    box-shadow: 0 15px 35px rgba(152, 201, 60, 0.1) !important;
    border: 1px solid #e9ecef !important;
    padding: 10px;
    font-family: 'Poppins', sans-serif;
}

@media (max-width: 480px) {
    .flatpickr-calendar {
        width: 100% !important;
        max-width: 320px !important;
    }
    .flatpickr-days, .dayContainer, .flatpickr-innerContainer {
        width: 100% !important;
        min-width: 0 !important;
        max-width: none !important;
    }
    .flatpickr-day {
        max-width: none !important;
        flex-basis: 14.28% !important;
    }
}

.flatpickr-days {
    width: 330px !important;
}

.dayContainer {
    width: 330px !important;
    min-width: 330px !important;
    max-width: 330px !important;
}

.flatpickr-day {
    max-width: 45px !important;
    height: 45px !important;
    line-height: 45px !important;
    margin: 1px !important;
}

.flatpickr-months .flatpickr-month {
    height: 40px !important;
}

.flatpickr-current-month {
    font-size: 1.1rem !important;
}

.flatpickr-months {
    padding: 10px 0;
}

.flatpickr-current-month {
    font-weight: 700;
    font-size: 110%;
    color: var(--secondary-color);
}

.flatpickr-monthDropdown-months {
    font-weight: 700 !important;
    background: transparent !important;
}

.flatpickr-weekday {
    color: #b2bec3;
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
}

.flatpickr-day {
    border-radius: 8px;
    height: 38px;
    line-height: 38px;
    margin: 2px;
    font-weight: 500;
    color: var(--secondary-color);
    transition: all 0.2s ease;
}

.flatpickr-day.today {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.flatpickr-day.selected, 
.flatpickr-day.selected:hover {
    background: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
    color: #fff !important;
    box-shadow: 0 4px 10px rgba(152, 201, 60, 0.3);
}

.flatpickr-day:hover {
    background: rgba(152, 201, 60, 0.1);
    border-color: rgba(152, 201, 60, 0.1);
}

.flatpickr-time {
    border-top: 1px solid #eee;
    margin-top: 10px;
    padding-top: 10px;
    height: 50px;
    line-height: 50px;
}

.flatpickr-time input {
    font-weight: 700;
    font-size: 18px;
    color: var(--secondary-color);
}

.flatpickr-time .flatpickr-time-separator {
    font-weight: 700;
    font-size: 18px;
}

.flatpickr-time input:hover, 
.flatpickr-time input:focus {
    background: rgba(152, 201, 60, 0.1);
}

.flatpickr-am-pm {
    font-weight: 700;
}

.flatpickr-calendar.hasTime .flatpickr-time {
    border-top: 1px solid #f0f0f0;
}

.flatpickr-innerContainer {
    margin-top: 5px;
}

/* Custom styles for altInput */
.flatpickr-input[readonly] {
    background-color: transparent !important;
}

.form-control.flatpickr-input {
    cursor: pointer;
}

.flatpickr-confirm-btn {
    background: var(--primary-color);
    color: #fff;
    text-align: center;
    padding: 12px;
    margin: 10px -10px -10px -10px;
    border-radius: 0 0 12px 12px;
    font-weight: 700;
    font-size: 13px;
    cursor: pointer;
    transition: background 0.2s;
    letter-spacing: 0.5px;
}

.flatpickr-confirm-btn:hover {
    background: #82ad31;
}

/* Locations Page */
.locations-wrapper {
    background: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

/* Rating removed from minimal view */

.price-tag {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-color);
}

/* Features minimal */
.vehicle-features-minimal {
    font-size: 0.85rem;
}

/* Badges minimal */
.vehicle-badges-minimal {
    display: flex;
    align-items: center;
}

/* Booking Page Extras */
.extra-card-modern {
    transition: all 0.3s ease;
}

.extra-card-modern:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.05) !important;
}

.extra-img-box {
    width: 60px;
    height: 60px;
    border-radius: 10px;
    overflow: hidden;
}

.quantity-control {
    border: 1px solid #eee;
}

.extra-qty {
    appearance: none;
    -moz-appearance: textfield;
}

.extra-qty::-webkit-outer-spin-button,
.extra-qty::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Google Maps Autocomplete Styling */
.pac-container {
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
    border: 1px solid #e9ecef;
    margin-top: 8px;
    font-family: 'Poppins', sans-serif;
    padding: 8px 0;
    z-index: 9999 !important;
    min-width: 400px !important;
}

@media (max-width: 768px) {
    .pac-container {
        min-width: 0 !important;
        width: 100% !important;
        left: 0 !important;
        border-radius: 0 0 12px 12px;
        margin-top: 0;
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    }
}

.pac-item {
    padding: 12px 20px;
    cursor: pointer;
    border-top: 1px solid #f8f9fa;
    color: #495057;
    font-size: 0 !important;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    line-height: 1.4;
}

.pac-item:hover {
    background-color: #f8f9fa;
    padding-left: 25px;
}

.pac-item:first-child {
    border-top: none;
}

.pac-item-query {
    color: #212529;
    font-weight: 600;
    font-size: 14px !important;
    margin-right: 5px;
    display: inline-block;
}

.pac-matched {
    color: var(--primary-color);
}

.pac-icon {
    margin-right: 10px;
    margin-top: 0;
}

/* Secondary text in autocomplete */
.pac-item span:not(.pac-item-query) {
    font-size: 12px !important;
    color: #6c757d;
}

/* Hide default icon */
.pac-icon {
    display: none; 
}

/* Custom Icon */
.pac-item::before {
    content: '\f3c5'; /* FontAwesome map-marker-alt */
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    margin-right: 8px;
    color: var(--primary-color);
    font-size: 12px; /* Küçük ikon */
    min-width: 16px;
    text-align: center;
}

/* Make the matched text darker */
.pac-matched {
    font-weight: 700;
    color: var(--primary-color);
}

/* Mobile Nav Grid Layout */
@media (max-width: 768px) {
    .nav-scroller-custom {
        display: block !important;
        overflow: visible !important;
        padding: 0 !important;
        margin-bottom: 2rem !important;
    }
    
    .nav-pills-custom {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        width: 100% !important;
        justify-content: center;
        flex-wrap: wrap !important;
        margin: 0 !important;
    }

    .nav-pills-custom .nav-item {
        width: 100%;
        margin: 0 !important;
    }
    
    .nav-pills-custom .nav-link {
        font-size: 0.85rem;
        padding: 12px 5px !important;
        text-align: center;
        width: 100%;
        height: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        white-space: normal;
        border-radius: 12px !important;
        margin: 0 !important;
        background-color: white;
        border: 1px solid #eee;
    }
    
    .nav-pills-custom .nav-link i {
        margin-right: 0 !important;
        margin-bottom: 6px;
        font-size: 1.2rem;
        display: block;
    }

    .nav-pills-custom .nav-link.active {
        background-color: var(--primary-color);
        color: white;
        border-color: var(--primary-color);
        box-shadow: 0 4px 10px rgba(152, 201, 60, 0.2);
    }
}

/* Mobile Booking Form Styles */
.mobile-booking-container {
    max-width: 600px;
    margin: 0 auto;
}

.mobile-booking-card {
    border: none;
    /* overflow: hidden; Removed to allow shadow */
}

/* Modern Mobile Inputs */
.mobile-input-group {
    background-color: #f8f9fa;
    border: 2px solid #f1f3f5;
    border-radius: 16px !important;
    transition: all 0.2s ease;
    padding: 4px 8px;
}

.mobile-input-group:focus-within {
    background-color: #fff;
    border-color: var(--primary-color);
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.mobile-input-group .input-group-text {
    background: transparent;
    border: none;
    color: var(--primary-color);
    font-size: 1.2rem;
    padding-left: 10px;
}

.mobile-input-group .form-control {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    font-weight: 600;
    color: #2d3436;
    height: auto;
    padding: 12px 10px;
}

.mobile-input-group .form-control::placeholder {
    color: #b2bec3;
    font-weight: 500;
}

.mobile-label {
    font-size: 0.75rem;
    font-weight: 700;
    color: #636e72;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
    margin-left: 4px;
    display: block;
}

/* Mobile Return Button */
.mobile-return-btn {
    background-color: #f8f9fa;
    border: 2px solid #f1f3f5;
    border-radius: 16px;
    padding: 15px 20px;
    transition: all 0.2s ease;
    color: #636e72;
    font-weight: 600;
}

.mobile-return-btn:hover, .mobile-return-btn:active {
    background-color: #fff;
    border-color: var(--primary-color);
    color: var(--primary-color);
}

/* Top Bar & GTranslate Fixes */
.top-bar {
    font-size: 0.85rem;
}

.top-bar .dropdown-toggle::after {
    display: none;
}

.gtranslate_wrapper {
    display: flex;
    align-items: center;
}

/* GTranslate widget often adds unwanted margins */
.gtranslate_wrapper a {
    text-decoration: none !important;
}

.gtranslate_wrapper img {
    border-radius: 4px;
    margin-right: 5px;
}

/* Ensure topbar items are vertically centered */
.top-bar-right {
    min-height: 32px;
}

/* Header & Navbar Styles */
.navbar {
    background-color: #f8f9fa !important;
    box-shadow: none !important;
    border-bottom: 1px solid #eee;
}

.navbar .nav-link {
    color: #333 !important;
    font-weight: 600 !important;
}

.navbar .nav-link:hover {
    color: var(--primary-color) !important;
}

.navbar .navbar-toggler {
    border-color: #ddd !important;
}

.navbar .navbar-toggler-icon {
    filter: none !important; /* Siyah görünmesi için */
}

/* Giriş Yap Butonu */
.navbar .btn-outline-light {
    color: #333 !important;
    border: 1px solid #eee !important;
    background: #f8f9fa !important;
}

.navbar .btn-outline-light:hover {
    background: #eee !important;
    border-color: #ccc !important;
}

.navbar .btn-outline-light .text-white,
.navbar .btn-outline-light .small.text-white {
    color: #333 !important;
}

/* Hemen Ara Butonu */
.navbar .btn-primary-custom {
    background-color: var(--primary-color) !important;
    color: #fff !important;
    border: none !important;
}

.navbar .btn-primary-custom:hover {
    filter: brightness(0.9);
}

/* Mobile Toggle Icon */
.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%2398c93c' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

/* Offcanvas (Mobile Menu) */
.offcanvas.bg-white {
    background-color: #ffffff !important;
}

.offcanvas .nav-link {
    color: #333 !important;
    font-weight: 500;
}

.offcanvas .btn-close {
    filter: none !important;
}

@media (max-width: 991.98px) {
    .navbar {
        padding-top: 1rem !important;
        padding-bottom: 1rem !important;
    }

    /* Offcanvas Enhancements */
    .offcanvas {
        width: 80% !important;
        max-width: 300px;
    }

    .offcanvas-header {
        padding: 1.5rem;
    }

    .offcanvas-body {
        padding: 1.5rem;
    }

    .offcanvas .nav-link {
        padding: 0.8rem 0;
        border-radius: 10px;
        transition: all 0.2s ease;
    }

    .offcanvas .nav-link:active {
        background-color: rgba(255,255,255,0.05);
        padding-left: 10px;
    }

    .offcanvas .nav-link i {
        width: 25px;
        color: var(--primary-color);
    }
}

/* Floating Action Buttons */
.floating-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 9999;
}

.floating-button {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 28px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-decoration: none !important;
}

.floating-button:hover {
    transform: scale(1.1) translateY(-5px);
    color: #fff;
}

.floating-button.whatsapp {
    background-color: #25d366;
}

.floating-button.phone {
    background-color: var(--primary-color);
}

@media (max-width: 767.98px) {
    .floating-container {
        bottom: 20px;
        right: 20px;
        gap: 10px;
    }
    
    .floating-button {
        width: 50px;
        height: 50px;
        font-size: 24px;
    }
}

