/* Bursa Oto Kiralama - Ana Stil Dosyası */

:root {
    --primary-blue: #1E40AF;
    --accent-orange: #EA580C;
    --dark-blue: #1E3A8A;
    --light-blue: #3B82F6;
    --success-green: #10B981;
    --warning-yellow: #F59E0B;
    --danger-red: #EF4444;
    --gray-100: #F3F4F6;
    --gray-200: #E5E7EB;
    --gray-300: #D1D5DB;
    --gray-600: #4B5563;
    --gray-800: #1F2937;
    --gray-900: #111827;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--gray-800);
}

/* Navigation */
.navbar {
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

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

.nav-link {
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--accent-orange) !important;
}

/* Hero Section */
.parallax {
    background: linear-gradient(rgba(30, 64, 175, 0.8), rgba(30, 64, 175, 0.8)),
                url('../images/hero-bg.webp') no-repeat center center;
    background-size: cover;
    background-attachment: fixed;
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-overlay {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
}

.hero-features .badge {
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
}

/* Buttons */
.btn {
    border-radius: 8px;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--primary-blue);
    border-color: var(--primary-blue);
}

.btn-primary:hover {
    background-color: var(--dark-blue);
    border-color: var(--dark-blue);
}

.btn-warning {
    background-color: var(--accent-orange);
    border-color: var(--accent-orange);
    color: white;
}

.btn-warning:hover {
    background-color: #C2410C;
    border-color: #C2410C;
    color: white;
}

.btn-outline-primary {
    color: var(--primary-blue);
    border-color: var(--primary-blue);
}

.btn-outline-primary:hover {
    background-color: var(--primary-blue);
    border-color: var(--primary-blue);
}

/* Vehicle Cards */
.vehicle-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
}

.vehicle-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.vehicle-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

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

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

.vehicle-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    color: white;
}

.vehicle-badge.economy {
    background-color: var(--success-green);
}

.vehicle-badge.suv {
    background-color: var(--primary-blue);
}

.vehicle-badge.luxury {
    background-color: var(--accent-orange);
}

.vehicle-badge.van {
    background-color: var(--gray-600);
}

.vehicle-details {
    padding: 1.5rem;
}

.vehicle-details h4 {
    color: var(--gray-900);
    margin-bottom: 1rem;
    font-weight: 600;
}

.vehicle-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.vehicle-specs span {
    font-size: 0.85rem;
    color: var(--gray-600);
    background-color: var(--gray-100);
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
}

.vehicle-location {
    color: var(--primary-blue);
    font-weight: 500;
    margin-bottom: 1rem;
}

.price-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-blue);
}

.price small {
    font-size: 0.9rem;
    color: var(--gray-600);
}

/* Location Cards */
.location-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
}

.location-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.location-image {
    height: 200px;
    overflow: hidden;
}

.location-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.location-details {
    padding: 1.5rem;
}

.location-details h4 {
    color: var(--gray-900);
    margin-bottom: 1rem;
    font-weight: 600;
}

.location-details p {
    margin-bottom: 0.5rem;
    color: var(--gray-600);
}

.location-features {
    margin-top: 1rem;
}

.location-features .badge {
    margin-right: 0.25rem;
    margin-bottom: 0.25rem;
}

/* Testimonial Cards */
.testimonial-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    height: 100%;
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.testimonial-rating {
    margin-bottom: 1rem;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 1.5rem;
    color: var(--gray-600);
}

.testimonial-author {
    border-top: 1px solid var(--gray-200);
    padding-top: 1rem;
}

.testimonial-author strong {
    display: block;
    color: var(--gray-900);
}

.testimonial-author small {
    color: var(--gray-600);
}

/* Contact Info */
.contact-info {
    background: var(--gray-100);
    padding: 2rem;
    border-radius: 12px;
    height: 100%;
}

.contact-info h4 {
    color: var(--gray-900);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.contact-info p {
    margin-bottom: 1rem;
    color: var(--gray-600);
}

/* Form Styles */
.form-control, .form-select {
    border-radius: 8px;
    border: 2px solid var(--gray-200);
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
}

.form-control:focus, .form-select:focus {
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 0.2rem rgba(30, 64, 175, 0.25);
}

/* Section Headers */
section h2 {
    color: var(--gray-900);
    font-weight: 700;
    margin-bottom: 3rem;
}

/* Footer */
footer {
    background: var(--gray-900);
}

footer h5 {
    color: white;
    margin-bottom: 1rem;
    font-weight: 600;
}

footer a {
    text-decoration: none;
    transition: color 0.3s ease;
}

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

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

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

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

/* Utility Classes */
.text-primary {
    color: var(--primary-blue) !important;
}

.text-warning {
    color: var(--accent-orange) !important;
}

.bg-primary {
    background-color: var(--primary-blue) !important;
}

.bg-warning {
    background-color: var(--accent-orange) !important;
}

.bg-success {
    background-color: var(--success-green) !important;
}

.bg-info {
    background-color: var(--light-blue) !important;
}

/* Scroll to top button */
.scroll-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: var(--primary-blue);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
}

.scroll-to-top.show {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    background: var(--dark-blue);
    transform: translateY(-3px);
}

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

::-webkit-scrollbar-track {
    background: var(--gray-100);
}

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

::-webkit-scrollbar-thumb:hover {
    background: var(--dark-blue);
} 