/* Luxe Antalya Transfer - Custom Styles */

:root {
    --primary-color: #0d6efd;
    --secondary-color: #6c757d;
    --success-color: #198754;
    --danger-color: #dc3545;
    --warning-color: #ffc107;
    --info-color: #0dcaf0;
    --light-color: #f8f9fa;
    --dark-color: #212529;
}

/* Global Styles */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Navigation */
.navbar {
    position: relative;
    z-index: 1001;
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
}

.navbar-nav .nav-link {
    font-weight: 500;
    padding: 0.5rem 1rem;
    transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: rgba(255, 255, 255, 0.8) !important;
}

.navbar-nav .nav-link.active {
    color: #fff !important;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 0.375rem;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, #0056b3 100%);
    min-height: 600px;
    display: flex;
    align-items: center;
    position: relative;
    z-index: 1;
    padding: 4rem 0;
}

.hero-section h1 {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    line-height: 1.2;
}

.hero-section .lead {
    font-size: 1.1rem;
    line-height: 1.6;
}

/* Responsive Hero */
@media (max-width: 991.98px) {
    .hero-section {
        min-height: auto;
        padding: 3rem 0;
    }
    
    .hero-section h1 {
        font-size: 2.5rem;
        margin-bottom: 1.5rem;
    }
    
    .modern-booking-form {
        margin-top: 2rem;
    }
}

@media (max-width: 767.98px) {
    .hero-section {
        padding: 2rem 0;
    }
    
    .hero-section h1 {
        font-size: 2rem;
        margin-bottom: 1rem;
    }
    
    .hero-section .lead {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .modern-booking-form .card-body {
        padding: 1.5rem;
    }
}

/* Modern Booking Form in Hero */
.modern-booking-form {
    border-radius: 1rem;
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.2);
    border: none;
    overflow: hidden;
    position: relative;
    z-index: 1000;
}

.modern-booking-form .card-header {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-bottom: 3px solid var(--primary-color);
    border-radius: 0;
}

.modern-booking-form .form-control {
    border: 2px solid #e9ecef;
    border-radius: 0.5rem;
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
    font-weight: 500;
}

.modern-booking-form .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25);
    transform: translateY(-2px);
}

.modern-booking-form .form-label {
    color: var(--dark-color);
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    font-weight: 600;
}

.modern-booking-form .btn {
    border-radius: 0.5rem;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.modern-booking-form .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

.modern-booking-form .btn-success {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    border: none;
}


/* Booking Page Form */
.container.py-5 {
    position: relative;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 1rem;
    margin-top: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.1);
    padding: 3rem !important;
    min-height: 100vh;
}

.container.py-5 .card {
    border: none;
    box-shadow: none;
    background: transparent;
}

.container.py-5 .form-control,
.container.py-5 .form-select {
    border: 2px solid #e9ecef;
    border-radius: 0.5rem;
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.9);
}

.container.py-5 .form-control:focus,
.container.py-5 .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25);
    background: white;
}

.container.py-5 .btn {
    border-radius: 0.5rem;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    transition: all 0.3s ease;
}

.container.py-5 .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

.hero-section h1 {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-image i {
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

/* Feature Cards */
.feature-card {
    border: 1px solid #e9ecef;
    border-radius: 1rem;
    transition: all 0.3s ease;
    background: #fff;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color);
}

.feature-icon {
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1);
}

/* Car Cards */
.card {
    border: none;
    border-radius: 1rem;
    transition: all 0.3s ease;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.car-icon i {
    transition: all 0.3s ease;
}

.card:hover .car-icon i {
    transform: scale(1.1);
    color: var(--primary-color) !important;
}

/* Transfer Cards */
.transfer-icon i {
    transition: all 0.3s ease;
}

.card:hover .transfer-icon i {
    transform: scale(1.1);
    color: var(--success-color) !important;
}

/* About Section */
.stat-item h3 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.about-image i {
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.25; }
    50% { opacity: 0.5; }
}

/* Contact Cards */
.contact-card {
    border: 1px solid #e9ecef;
    border-radius: 1rem;
    transition: all 0.3s ease;
    background: #fff;
}

.contact-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color);
}

.contact-icon {
    transition: all 0.3s ease;
}

.contact-card:hover .contact-icon {
    transform: scale(1.1);
}

/* Form Styles */
.form-control, .form-select {
    border-radius: 0.5rem;
    border: 2px solid #e9ecef;
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
}

.form-control:focus, .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25);
}

.form-label {
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

/* Button Styles */
.btn {
    border-radius: 0.5rem;
    font-weight: 500;
    padding: 0.75rem 1.5rem;
    transition: all 0.3s ease;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, #0056b3 100%);
    border: none;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(13, 110, 253, 0.4);
}

.btn-outline-primary {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(13, 110, 253, 0.4);
}

/* Alert Styles */
.alert {
    border-radius: 0.75rem;
    border: none;
    padding: 1rem 1.5rem;
}

.alert-success {
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
    color: #155724;
}

.alert-danger {
    background: linear-gradient(135deg, #f8d7da 0%, #f5c6cb 100%);
    color: #721c24;
}

.alert-info {
    background: linear-gradient(135deg, #d1ecf1 0%, #bee5eb 100%);
    color: #0c5460;
}

/* Footer */
footer {
    background: linear-gradient(135deg, var(--dark-color) 0%, #343a40 100%);
    color: #ffffff !important;
}

footer * {
    color: #ffffff !important;
}

footer h5, footer h6 {
    color: #ffffff !important;
}

footer p, footer li, footer span, footer div {
    color: #ffffff !important;
}

footer a {
    color: #ffffff !important;
    transition: color 0.3s ease;
}

footer a:hover {
    color: var(--primary-color) !important;
}

/* Override Bootstrap text-muted in footer */
footer .text-muted {
    color: #ffffff !important;
}

footer .text-light {
    color: #ffffff !important;
}

.social-links a {
    display: inline-block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section {
        min-height: 400px;
        text-align: center;
    }
    
    .hero-section h1 {
        font-size: 2.5rem;
    }
    
    .display-5 {
        font-size: 2rem;
    }
    
    .feature-card, .contact-card {
        margin-bottom: 1rem;
    }
}

@media (max-width: 576px) {
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .btn-lg {
        padding: 0.5rem 1rem;
        font-size: 1rem;
    }
    
    .card-body {
        padding: 1.5rem;
    }
}

/* Animation Classes - Removed fade animations */

.slide-in-left {
    animation: slideInLeft 0.6s ease-out;
}

@keyframes slideInLeft {
    from { opacity: 0; transform: translateX(-30px); }
    to { opacity: 1; transform: translateX(0); }
}

.slide-in-right {
    animation: slideInRight 0.6s ease-out;
}

@keyframes slideInRight {
    from { opacity: 0; transform: translateX(30px); }
    to { opacity: 1; transform: translateX(0); }
}

/* Utility Classes */
.text-gradient {
    background: linear-gradient(135deg, var(--primary-color) 0%, #0056b3 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.shadow-custom {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.border-gradient {
    border: 2px solid;
    border-image: linear-gradient(135deg, var(--primary-color) 0%, #0056b3 100%) 1;
}

/* Loading Animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
}

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

/* Car Selection Rows */
.car-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.car-selection-row {
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid #e9ecef;
    border-radius: 0.75rem;
    padding: 1.5rem;
    background: #fff;
    position: relative;
    overflow: hidden;
}

.car-selection-row:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color);
}

.car-selection-row.selected {
    border-color: var(--success-color);
    background: linear-gradient(135deg, rgba(40, 167, 69, 0.05) 0%, rgba(40, 167, 69, 0.1) 100%);
    box-shadow: 0 8px 25px rgba(40, 167, 69, 0.2);
}

.car-selection-row.selected::before {
    content: '✓';
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--success-color);
    color: white;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 18px;
    z-index: 2;
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.3);
}

.car-selection-row .car-image {
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.car-selection-row .car-info h6 {
    color: var(--dark-color);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.car-selection-row .car-features {
    margin-top: 0.75rem;
}

.car-selection-row .car-features .badge {
    font-size: 0.8rem;
    padding: 0.5rem 0.75rem;
    border-radius: 0.5rem;
}

.car-selection-row .car-price {
    text-align: right;
}

.car-selection-row .price-amount {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--success-color);
    line-height: 1;
}

.car-selection-row .price-unit {
    font-size: 0.875rem;
    color: var(--text-secondary);
    font-weight: 500;
    margin-top: 0.25rem;
}

.car-selection-row .price-note {
    margin-top: 0.5rem;
    padding: 0.5rem;
    background: rgba(13, 110, 253, 0.05);
    border-radius: 0.5rem;
    border-left: 3px solid var(--primary-color);
}

.car-selection-row .price-note small {
    display: block;
    line-height: 1.3;
}

.car-selection-row .price-note .text-muted {
    font-weight: 600;
    color: var(--dark-color) !important;
}

.car-selection-row .price-note .text-info {
    color: var(--info-color) !important;
    font-weight: 500;
}

/* Responsive design for car selection rows */
@media (max-width: 768px) {
    .car-selection-row {
        padding: 1rem;
    }
    
    .car-selection-row .car-image {
        margin-bottom: 1rem;
    }
    
    .car-selection-row .car-info {
        text-align: center;
        margin-bottom: 1rem;
    }
    
    .car-selection-row .car-price {
        text-align: center;
    }
    
    .car-selection-row .price-amount {
        font-size: 1.25rem;
    }
}

/* Navbar Booking Search */
.booking-search {
    min-width: 200px;
}

.booking-input {
    width: 150px;
    transition: width 0.3s ease;
}

.booking-input:focus {
    width: 200px;
}

@media (max-width: 991px) {
    .booking-search {
        display: none !important;
    }
}

@media (max-width: 768px) {
    .booking-search {
        display: none !important;
    }
}

/* Content Articles Section */
.content-card {
    transition: all 0.3s ease;
    border: none;
    border-radius: 1rem;
    overflow: hidden;
}

.content-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.15);
}

.content-image {
    position: relative;
    overflow: hidden;
}

.content-image img {
    transition: transform 0.3s ease;
}

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

.content-meta {
    font-size: 0.875rem;
}

.content-card .card-title a {
    transition: color 0.3s ease;
}

.content-card .card-title a:hover {
    color: var(--primary-color) !important;
}

.older-content-list {
    max-height: 400px;
    overflow-y: auto;
}

.older-content-item:last-child {
    border-bottom: none !important;
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

.older-content-item h6 a {
    transition: color 0.3s ease;
    font-size: 0.9rem;
    line-height: 1.4;
}

.older-content-item h6 a:hover {
    color: var(--primary-color) !important;
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .content-card {
        margin-bottom: 2rem;
    }
}

@media (max-width: 768px) {
    .content-image {
        height: 150px !important;
    }
    
    .content-card .card-body {
        padding: 1rem;
    }
}

.car-selection-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    border-color: var(--primary-color);
}

.car-selection-card.selected {
    border-color: var(--primary-color);
    background: linear-gradient(135deg, rgba(13, 110, 253, 0.1) 0%, rgba(13, 110, 253, 0.05) 100%);
    box-shadow: 0 0 0 3px rgba(13, 110, 253, 0.2);
}

.car-selection-card.selected::before {
    content: '✓';
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--primary-color);
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 16px;
    z-index: 2;
}

.car-image img {
    transition: transform 0.3s ease;
}

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

.car-info h6 {
    color: var(--dark-color);
    font-size: 1.1rem;
}

.car-info .badge {
    font-size: 0.8rem;
    padding: 0.4rem 0.8rem;
}

.car-info .text-success {
    font-size: 1.1rem;
}

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

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

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #0056b3;
}

/* Yeni 3 sütunlu grid için kart stilleri */
.car-selection-card {
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid #e9ecef;
    border-radius: 0.75rem;
    background: #fff;
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.car-selection-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    border-color: var(--primary-color);
}

.car-selection-card.selected {
    border-color: var(--success-color);
    background: linear-gradient(135deg, rgba(40, 167, 69, 0.05) 0%, rgba(40, 167, 69, 0.1) 100%);
    box-shadow: 0 8px 25px rgba(40, 167, 69, 0.2);
}

.car-selection-card.selected::before {
    content: '✓';
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--success-color);
    color: white;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: bold;
    z-index: 10;
}

.car-selection-card .car-image {
    border-radius: 0.5rem 0.5rem 0 0;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.car-selection-card .car-image img {
    transition: transform 0.3s ease;
}

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

.car-selection-card .car-info {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.car-selection-card .car-info h6 {
    color: var(--dark-color);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.car-selection-card .car-features {
    margin-bottom: 1rem;
}

.car-selection-card .car-features .badge {
    font-size: 0.8rem;
    padding: 0.5rem 0.75rem;
    border-radius: 0.5rem;
}

.car-selection-card .car-price {
    margin-top: auto;
}

.car-selection-card .price-amount {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--success-color);
    line-height: 1;
}

.car-selection-card .price-unit {
    font-size: 0.875rem;
    color: var(--text-secondary);
    font-weight: 500;
    margin-top: 0.25rem;
}

.car-selection-card .price-note {
    margin-top: 0.5rem;
    padding: 0.5rem;
    background: rgba(13, 110, 253, 0.05);
    border-radius: 0.5rem;
    border-left: 3px solid var(--primary-color);
}

.car-selection-card .price-note small {
    display: block;
    line-height: 1.3;
}

.car-selection-card .price-note .text-muted {
    font-weight: 600;
    color: var(--dark-color) !important;
}

.car-selection-card .price-note .text-info {
    color: var(--info-color) !important;
    font-weight: 500;
}

/* Google Maps Autocomplete Styles */
.pac-container {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 0.375rem;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    margin-top: 0.25rem;
    z-index: 1000;
}

.pac-item {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid #f0f0f0;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.pac-item:hover {
    background-color: #f8f9fa;
}

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

.pac-item-query {
    font-weight: 600;
    color: #333;
    margin-bottom: 0.25rem;
}

.pac-matched {
    font-weight: 700;
    color: var(--primary-color);
}

.pac-item-query .pac-matched {
    background-color: rgba(13, 110, 253, 0.1);
    padding: 0.125rem 0.25rem;
    border-radius: 0.25rem;
}

.pac-item-query .pac-item-query {
    font-size: 0.875rem;
    color: #6c757d;
    margin-top: 0.25rem;
}

/* Autocomplete input focus styles */
#pickup_location:focus,
#dropoff_location:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25);
}

/* Loading indicator for autocomplete */
.autocomplete-loading {
    position: relative;
}

.autocomplete-loading::after {
    content: '';
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    width: 1rem;
    height: 1rem;
    border: 2px solid #f3f3f3;
    border-top: 2px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: translateY(-50%) rotate(0deg); }
    100% { transform: translateY(-50%) rotate(360deg); }
}

/* Responsive design for car selection cards */
@media (max-width: 768px) {
    .car-selection-card {
        margin-bottom: 1rem;
    }
    
    .car-selection-card .car-image {
        height: 150px;
    }
    
    .car-selection-card .car-info {
        padding: 1rem;
    }
    
    .pac-container {
        margin-top: 0.5rem;
    }
    
    .pac-item {
        padding: 0.5rem 0.75rem;
    }
}
