/* ==========================================================================
   MAIN STYLESHEET - NEXT LIMO v3.0 [NEW DESIGN]
   ========================================================================== */

/* 1. :ROOT & VARIABLES */
:root {
    --color-primary: #D4AF37;
    --color-primary-hover: #c8a430;
    --color-dark: #121212;
    --color-dark-accent: #1f1f1f;
    --color-light: #ffffff;
    --color-text: #e0e0e0;
    --color-text-muted: #888888;
    --color-border: #333333;
    --danger-bg: #58151c;
    --danger-text: #ffb8c0;
    --danger-border: #8c3b46;
    --font-primary: 'Montserrat', sans-serif;
    --font-secondary: 'Cormorant Garamond', serif;
    --container-width: 1200px;
    --border-radius: 6px;
    --header-height: 80px;
}

/* 2. BASE & RESET */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
    font-family: var(--font-primary);
    color: var(--color-text);
    background-color: var(--color-dark);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--color-primary); text-decoration: none; transition: color 0.2s ease-in-out; }
a:hover { color: var(--color-primary-hover); }
ul { list-style: none; }

/* 3. GLOBAL LAYOUT & TYPOGRAPHY */
.container {
    max-width: var(--container-width);
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}
main {
    min-height: calc(100vh - 350px);
}
h1, h2, h3, h4 {
    font-family: var(--font-secondary);
    font-weight: 700;
    line-height: 1.2;
    color: var(--color-light);
    margin-bottom: 1rem;
}
h1 { font-size: clamp(2.8rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 1.75rem); }
p { margin-bottom: 1.5rem; max-width: 65ch; }
.subtitle { color: var(--color-text-muted); font-size: 1.1rem; margin-left: auto; margin-right: auto; max-width: 600px; margin-bottom: 3rem; }
.text-center { text-align: center; }

/* 4. HEADER & NAVIGATION */
.site-header {
    background-color: rgba(18, 18, 18, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--color-border);
    padding: 1rem 0;
    height: var(--header-height);
}
.main-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}
.brand { font-family: var(--font-primary); font-size: 1.5rem; font-weight: 700; letter-spacing: 1px; color: var(--color-light); }

.brand-logo {
    display: flex;
    align-items: center;
    max-width: 180px; /* Logonuzun genişliğini buradan ayarlayabilirsiniz */
    color: var(--color-light);
    text-decoration: none;
}

.brand-logo img {
    display: block;
    width: 100%;
    height: auto;
}

.nav-links-desktop { display: none; }

/* 5. MOBILE MENU */
.mobile-menu-toggle { display: flex; flex-direction: column; justify-content: space-around; width: 28px; height: 24px; background: transparent; border: none; cursor: pointer; z-index: 1001; }
.mobile-menu-toggle span { width: 100%; height: 3px; background: var(--color-light); border-radius: var(--border-radius); transition: all 0.3s cubic-bezier(0.68, -0.55, 0.27, 1.55); }
body.mobile-menu-active .mobile-menu-toggle span:nth-child(1) { transform: rotate(45deg) translate(5px, 6px); }
body.mobile-menu-active .mobile-menu-toggle span:nth-child(2) { opacity: 0; }
body.mobile-menu-active .mobile-menu-toggle span:nth-child(3) { transform: rotate(-45deg) translate(5px, -6px); }
.mobile-menu { position: fixed; top: var(--header-height); left: 0; width: 100%; height: calc(100vh - var(--header-height)); background-color: var(--color-dark); z-index: 999; transform: translateX(100%); transition: transform 0.3s ease-in-out; padding: 2rem; display: flex; flex-direction: column; gap: 1rem; }
body.mobile-menu-active .mobile-menu { transform: translateX(0); }
body.mobile-menu-active { overflow: hidden; }
.mobile-menu a { color: var(--color-light); font-size: 1.5rem; padding: 1rem; border-radius: var(--border-radius); }
.mobile-menu a:hover { background-color: var(--color-dark-accent); }
.mobile-menu hr { border: none; border-top: 1px solid var(--color-border); margin: 1rem 0; }
.mobile-menu .btn { margin-top: 1rem; text-align: center; }

/* 6. FOOTER */
.site-footer { background-color: var(--color-dark-accent); padding: 4rem 1.5rem 2rem; margin-top: 4rem; border-top: 1px solid var(--color-border); color: var(--color-text-muted); font-size: 0.9rem; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 2.5rem; margin-bottom: 3rem; }
.footer-column h4 { font-family: var(--font-primary); font-size: 1rem; font-weight: 700; color: var(--color-light); margin-bottom: 1rem; letter-spacing: 1px; text-transform: uppercase; }
.footer-column p { max-width: 100%; }
.footer-column ul li { margin-bottom: 0.75rem; }
.footer-column ul li a { display: inline-flex; align-items: center; gap: 0.75rem; }
.footer-column a { color: var(--color-text-muted); }
.footer-column a:hover { color: var(--color-primary); }
.footer-column i { font-size: 0.9rem; width: 20px; text-align: center; color: var(--color-primary); }
.footer-bottom { text-align: center; padding-top: 2rem; border-top: 1px solid var(--color-border); }

/* 7. COMPONENTS */
.btn { display: inline-block; padding: 0.8rem 2rem; border-radius: var(--border-radius); text-decoration: none; cursor: pointer; border: 2px solid transparent; transition: all 0.2s ease-in-out; font-weight: 700; font-family: var(--font-primary); font-size: 0.9rem; text-transform: uppercase; letter-spacing: 1px; text-align: center; }
.btn-primary { background-color: var(--color-primary); color: var(--color-dark); border-color: var(--color-primary); }
.btn-primary:hover { background-color: var(--color-primary-hover); border-color: var(--color-primary-hover); color: #000; transform: translateY(-2px); box-shadow: 0 4px 10px rgba(0,0,0,0.2); }
.btn-secondary { background-color: transparent; color: var(--color-light); border: 1px solid var(--color-border); }
.btn-secondary:hover { background-color: var(--color-dark-accent); border-color: var(--color-text-muted); }
.btn-sm { padding: 0.5rem 1.2rem; font-size: 0.8rem; }
.btn-danger-outline { background-color: transparent; color: var(--danger-text); border: 1px solid var(--danger-border); }
.btn-danger-outline:hover { background-color: var(--danger-bg); color: var(--danger-text); border-color: var(--danger-text); }
.form-group { margin-bottom: 1.5rem; }
.form-group label { display: block; margin-bottom: 0.5rem; font-weight: 500; }
input, select, textarea { font-family: var(--font-primary); font-size: 1rem; padding: 0.8rem 1rem; border: 1px solid var(--color-border); border-radius: var(--border-radius); width: 100%; background-color: var(--color-dark-accent); color: var(--color-text); transition: border-color 0.2s, box-shadow 0.2s; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--color-primary); box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.2); }

/* 8. PAGE-SPECIFIC STYLES (HOME) */
.content-section { padding: 5rem 0; }
.bg-accent { background-color: var(--color-dark-accent); }
.section-header { margin-bottom: 4rem; }

.hero-section { position: relative; background-image: url('/assets/images/hero-background.webp'); background-size: cover; background-position: center; text-align: center; padding: 10rem 1.5rem; display: flex; align-items: center; justify-content: center; min-height: 80vh; }
.hero-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(to bottom, rgba(18, 18, 18, 0.8) 0%, rgba(18, 18, 18, 1) 100%); z-index: 1; }
.hero-content { position: relative; z-index: 2; max-width: 800px; }
.hero-content h1 { font-size: clamp(2.5rem, 6vw, 4rem); text-shadow: 0 4px 15px rgba(0,0,0,0.5); }
.hero-content .subtitle { font-size: clamp(1.1rem, 2.5vw, 1.1rem); color: var(--color-text); opacity: 0.9; max-width: 700px; }
.hero-actions { margin-top: 2.5rem; display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; }
.quick-quote-section { padding-top: 0; margin-top: -5rem; position: relative; z-index: 10; }
.quote-form-container { background: var(--color-dark-accent); padding: 2.5rem; border-radius: var(--border-radius); box-shadow: 0 10px 30px rgba(0,0,0,0.3); max-width: 900px; margin: auto; border: 1px solid var(--color-border); }
.quote-form-container h2 { text-align: center; margin-top: 0; }
.quote-form-container form { display: flex; flex-direction: column; gap: 1rem; }
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2.5rem; }
.feature-card { text-align: center; }
.feature-icon { font-size: 2.5rem; color: var(--color-primary); margin-bottom: 1.5rem; }
.service-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; }
.service-card-link { text-decoration: none; color: inherit; display: block; }
.service-card { background: var(--color-dark); border-radius: var(--border-radius); overflow: hidden; transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease; display: flex; flex-direction: column; border: 1px solid var(--color-border); }
.service-card:hover { transform: translateY(-8px); box-shadow: 0 20px 40px rgba(0,0,0,0.3); border-color: var(--color-primary); }
.service-card img { width: 100%; height: 250px; object-fit: cover; }
.service-content { padding: 1.5rem; flex-grow: 1; }
.final-cta { padding: 5rem 0; }

/* 9. UTILITIES & RESPONSIVE */
.skip-link:not(:focus) { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border-width: 0; }
.skip-link:focus { position: fixed; top: 10px; left: 10px; background: var(--color-primary); color: var(--color-dark); padding: 0.5rem 1rem; z-index: 9999; border-radius: var(--border-radius); font-weight: bold; }

@keyframes fadeInUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.animate-fade-in-up { animation: fadeInUp 0.8s ease-out forwards; opacity: 0; }

@media (min-width: 768px) {
    .quote-form-container form { flex-direction: row; align-items: flex-end; }
    .quote-form-container .form-group { flex-grow: 1; margin-bottom: 0; }
    .quote-form-container .btn { flex-shrink: 0; }
}

@media (min-width: 992px) {
    .mobile-menu-toggle, .mobile-menu { display: none; }
    .nav-links-desktop { display: flex; align-items: center; gap: 1rem; }
    .nav-links-desktop a { color: var(--color-light); padding: 0.5rem 1rem; font-weight: 500; position: relative; }
    .nav-links-desktop a:not(.btn)::after { content: ''; position: absolute; bottom: -5px; left: 50%; width: 0; height: 2px; background-color: var(--color-primary); transition: all 0.3s ease; transform: translateX(-50%); }
    .nav-links-desktop a:not(.btn):hover::after { width: 100%; }
    .nav-links-desktop .btn { margin-left: 1rem; }
}


/* ==========================================================================
   FLEET PAGE STYLES - v3.2
   ========================================================================== */
.page-header {
    text-align: center;
    margin-bottom: 4rem;
}
.fleet-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 2rem;
}
.vehicle-card {
    background-color: var(--color-dark-accent);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.vehicle-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.25);
}
.vehicle-card-image-link {
    display: block;
}
.vehicle-card-image {
    width: 100%;
    aspect-ratio: 16 / 10;
    background-color: var(--color-dark);
    overflow: hidden;
}
.vehicle-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.vehicle-card:hover .vehicle-card-image img {
    transform: scale(1.05);
}
.vehicle-card-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}
.vehicle-card-title {
    font-size: 1.75rem;
    margin: 0 0 0.5rem;
    font-family: var(--font-secondary);
}
.vehicle-card-title a {
    color: var(--color-light);
    text-decoration: none;
}
.vehicle-specs {
    display: flex;
    gap: 1.5rem;
    color: var(--color-text-muted);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}
.vehicle-specs span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.vehicle-specs i {
    color: var(--color-primary);
}
.vehicle-card-description {
    margin-bottom: 1.5rem;
    flex-grow: 1;
    color: var(--color-text-muted);
}
.vehicle-card-actions {
    margin-top: auto;
    display: flex;
    gap: 1rem;
}
.vehicle-card-actions .btn {
    flex-grow: 1;
    padding: 0.7rem 1rem;
}



/* ==========================================================================
   RESERVATION PAGE STYLES - v3.3
   ========================================================================== */
.reservation-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: flex-start;
}
.reservation-form-wrapper {
    background-color: var(--color-dark-accent);
    padding: 2rem;
    border-radius: var(--border-radius);
    border: 1px solid var(--color-border);
}
.form-step { display: none; }
.form-step.active { display: block; animation: fadeIn 0.5s; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
.form-step h3 {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--font-primary);
    font-size: 1.25rem;
    border-bottom: 1px solid var(--color-border);
    padding-bottom: 1rem;
    margin-bottom: 2rem;
}
.step-number {
    background-color: var(--color-primary);
    color: var(--color-dark);
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1rem;
    flex-shrink: 0;
}
.form-grid-half {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}
.service-type-selector {
    display: flex;
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius);
    overflow: hidden;
}
.service-type-selector label {
    flex: 1;
    text-align: center;
    padding: 0.8rem;
    cursor: pointer;
    background-color: var(--color-dark);
    transition: background-color 0.2s;
    font-weight: 500;
}
.service-type-selector input[type="radio"] { display: none; }
.service-type-selector input[type="radio"]:checked + label {
    background-color: var(--color-primary);
    color: var(--color-dark);
}
.hourly-options, .point-to-point-options { display: none; }
#stops-container .stop-item { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 1rem; }
.btn-add-stop { background: none; border: none; color: var(--color-primary); cursor: pointer; font-weight: bold; padding: 0.5rem 0; margin-bottom: 1rem; }
.btn-remove-stop { background: var(--color-dark); color: var(--color-text-muted); border: 1px solid var(--color-border); border-radius: 50%; width: 28px; height: 28px; font-size: 1.2rem; line-height: 1; cursor: pointer; transition: background-color 0.2s, color 0.2s; }
.btn-remove-stop:hover { background-color: var(--danger-bg); color: var(--danger-text); }
.form-navigation-buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 2rem;
    border-top: 1px solid var(--color-border);
    padding-top: 2rem;
}

/* --- Map Area --- */
.reservation-map-wrapper {
    min-height: 250px;
    position: sticky;
    top: calc(var(--header-height) + 2rem);
}
#map-desktop-container {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden; /* Ensures the button corners match the container */
    border: 1px solid var(--color-border);
}
#map {
    width: 100%;
    height: 450px;
    background-color: var(--color-dark-accent);
}
#map-mobile-placeholder { display: none; }

/* --- Use My Location Button (NEW) --- */
.btn-use-location {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 10;
    background-color: var(--color-primary);
    color: var(--color-dark);
    border: none;
    padding: 0.8rem 1rem;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: background-color 0.2s ease-in-out;
    border-radius: 0; /* Flush with the top */
    text-align: center;
}
.btn-use-location:hover {
    background-color: var(--color-primary-hover);
}

/* --- Price Quote Result (ENHANCED) --- */
#quote-and-payment-section { margin-top: 2rem; }
.price-quote-result {
    transition: all 0.3s ease-in-out;
    min-height: 50px;
}
.price-quote-result.loading p {
    text-align: center;
    padding: 1rem;
    color: var(--color-text-muted);
    font-size: 1rem;
}
.quote-card {
    background-color: var(--color-dark-accent);
    border: 1px solid var(--color-border);
    border-left: 5px solid var(--color-primary);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    margin-top: 1rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.quote-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(212, 175, 55, 0.1);
}
.quote-card--error {
    border-color: var(--danger-border);
    border-left-color: var(--danger-border);
    background-color: var(--danger-bg);
    color: var(--danger-text);
}
.quote-card--error p {
    margin: 0;
    font-weight: 500;
}
.quote-card__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 1.25rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid var(--color-border);
}
.quote-card__title {
    font-family: var(--font-primary);
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--color-text-muted);
    letter-spacing: 1px;
}
.quote-card__amount {
    font-family: var(--font-secondary);
    font-size: clamp(2rem, 6vw, 2.8rem);
    font-weight: 700;
    color: var(--color-primary);
    line-height: 1;
    text-shadow: 0 0 15px rgba(212, 175, 55, 0.2);
}
.quote-breakdown {
    list-style: none;
    padding: 0;
    margin: 0;
}
.qb-line {
    display: flex;
    justify-content: space-between;
    font-size: 1rem;
    padding: 0.75rem 0.25rem;
    border-bottom: 1px solid var(--color-dark);
}
.qb-line:last-child {
    border-bottom: none;
}
.qb-line span:first-child {
    color: var(--color-text-muted);
}
.qb-line span:last-child {
    font-weight: 600;
    color: var(--color-light);
}

.quote-trip-info {
    padding-top: 1rem;
    margin-top: 1rem;
    border-top: 1px solid var(--color-border);
    display: flex;
    justify-content: space-around;
    align-items: center;
    gap: 1rem;
    font-size: 0.9rem;
    color: var(--color-text-muted);
}
.quote-trip-info span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.quote-trip-info i {
    color: var(--color-primary);
}

#payment-options {
    margin-top: 1.5rem;
    display: none;
    flex-direction: column;
    gap: 1rem;
    text-align: center;
}
#payment-options h4 {
    font-family: var(--font-primary);
    font-size: 1rem;
    text-transform: uppercase;
    color: var(--color-text-muted);
    letter-spacing: 1px;
}

/* --- Modal Styles --- */
.modal-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.8); display: none; justify-content: center; align-items: center; z-index: 2000; }
.modal-content { background: var(--color-dark-accent); border: 1px solid var(--color-border); padding: 1.5rem; border-radius: var(--border-radius); width: 90%; max-width: 450px; }
.modal-header { display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--color-border); padding-bottom: 1rem; margin-bottom: 1rem; }
.modal-header h3 { margin: 0; font-size: 1.25rem; }
.modal-close { background: none; border: none; font-size: 1.5rem; cursor: pointer; color: var(--color-text-muted); padding: 0; line-height: 1; }

/* --- Responsive Improvements --- */
@media (min-width: 768px) {
    .form-grid-half { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 992px) {
    .reservation-layout { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); }
    #map { height: 100%; min-height: 500px; }
}
@media (max-width: 991px) {
    .reservation-map-wrapper { margin-top: 2rem; position: static; }
    #map-desktop-container { display: none; } /* On mobile, we might hide the complex map view */
    #map-mobile-placeholder { display: block; } /* A placeholder can be shown instead */
    #map { height: 300px; }
}


/* ==========================================================================
   ABOUT PAGE STYLES - v3.4
   ========================================================================== */
.about-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: center;
}
.about-image img {
    border-radius: var(--border-radius);
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.about-content h2 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    margin-bottom: 1.5rem;
}
.about-content p {
    color: var(--color-text-muted);
}
.values-grid {
    margin-top: 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}
.value-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
}
.value-item i {
    font-size: 1.75rem;
    color: var(--color-primary);
    margin-top: 5px;
    width: 30px;
    text-align: center;
}
.value-item h4 {
    margin-bottom: 0.25rem;
    font-family: var(--font-primary);
    font-size: 1.1rem;
    color: var(--color-light);
}
.value-item p {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    margin-bottom: 0;
}
.cta-buttons {
    margin-top: 2rem;
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}
@media (min-width: 992px) {
    .about-layout {
        grid-template-columns: 2fr 3fr;
        gap: 4rem;
    }
}


/* ==========================================================================
   VEHICLE DETAILS PAGE STYLES - v3.5
   ========================================================================== */
.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    padding: 0;
    margin: 0 0 1rem;
    list-style: none;
    justify-content: center;
}
.breadcrumb-item {
    font-size: 0.9rem;
    color: var(--color-text-muted);
}
.breadcrumb-item a {
    color: var(--color-text-muted);
    text-decoration: none;
}
.breadcrumb-item a:hover {
    color: var(--color-primary);
}
.breadcrumb-item + .breadcrumb-item::before {
    display: inline-block;
    padding-right: .5rem;
    padding-left: .5rem;
    color: var(--color-text-muted);
    content: "/";
}
.breadcrumb-item.active {
    color: var(--color-text);
}
.vehicle-detail-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: flex-start;
    margin-bottom: 4rem;
}
.vehicle-gallery .main-image img {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    border: 1px solid var(--color-border);
}
.vehicle-info-card {
    background-color: var(--color-dark-accent);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius);
    position: sticky;
    top: calc(var(--header-height) + 2rem);
}
.info-card-body { padding: 1.5rem; }
.info-card-body h4 { font-family: var(--font-primary); text-transform: uppercase; letter-spacing: 1px; font-size: 0.9rem; color: var(--color-text-muted); margin: 0 0 1rem; padding-top: 1.5rem; border-top: 1px solid var(--color-border); }
.info-card-footer { padding: 1.5rem; background-color: var(--color-dark); border-top: 1px solid var(--color-border); border-radius: 0 0 var(--border-radius) var(--border-radius); }
.btn-full { display: block; width: 100%; }
.vehicle-specs-large { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; text-align: left; margin-bottom: 1.5rem; }
.spec-item span { display: flex; align-items: center; gap: 0.75rem; font-weight: bold; font-size: 1.5rem; line-height: 1; color: var(--color-light); }
.spec-item small { color: var(--color-text-muted); font-size: 0.9rem; }
.features-list { display: flex; flex-wrap: wrap; gap: 0.75rem; padding: 0; list-style: none; }
.features-list li { display: inline-flex; align-items: center; gap: 0.5rem; background-color: var(--color-dark); color: var(--color-text-muted); padding: 0.5rem 1rem; border-radius: var(--border-radius); font-size: 0.9rem; border: 1px solid var(--color-border); }
.features-list i { color: var(--color-primary); }
.vehicle-description { padding: 0; }
.vehicle-description .section-header { text-align: left; margin-bottom: 2rem; }
.description-content p,
.description-content ul,
.description-content li {
    color: var(--color-text-muted);
    max-width: 80ch;
}
@media (min-width: 992px) {
    .vehicle-detail-layout {
        grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
        gap: 3rem;
    }
}


/* ==========================================================================
   CONFIRMATION & ERROR PAGES - v3.6
   ========================================================================== */
.confirmation-container,
.error-page-container {
    text-align: center;
    padding: 4rem 1.5rem;
    background-color: var(--color-dark-accent);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius);
    max-width: 700px;
    margin: 4rem auto;
}
.confirmation-icon {
    font-size: 5rem;
    color: var(--color-primary);
    margin-bottom: 1.5rem;
    line-height: 1;
}
.confirmation-container h1,
.error-page-container h1 {
    font-size: clamp(2rem, 5vw, 2.8rem);
}
.confirmation-container p,
.error-page-container p {
    color: var(--color-text-muted);
    line-height: 1.7;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}
.confirmation-container .subtitle,
.error-page-container .subtitle {
    font-size: 1.1rem;
    color: var(--color-text);
}
.confirmation-actions,
.error-actions {
    margin-top: 2.5rem;
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}
.error-code {
    font-family: var(--font-primary);
    font-size: clamp(6rem, 20vw, 10rem);
    font-weight: 700;
    color: var(--color-border);
    line-height: 1;
}
.error-page-container h1 {
    margin-top: 0;
}


/* ==========================================================================
   AUTH PAGES - v3.7
   ========================================================================== */
.auth-layout {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 4rem 1.5rem;
    min-height: 80vh;
}
.auth-card {
    background-color: var(--color-dark-accent);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius);
    padding: 2.5rem;
    width: 100%;
    max-width: 450px;
}
.auth-card h1 {
    text-align: center;
    margin-bottom: 0.5rem;
}
.auth-card .subtitle {
    text-align: center;
    margin-bottom: 2rem;
}
.auth-card form {
    display: flex;
    flex-direction: column;
}
.auth-card .alert p {
    margin-bottom: 0.5rem;
}
.auth-card .alert p:last-child {
    margin-bottom: 0;
}
.auth-link {
    text-align: center;
    margin-top: 1.5rem;
    font-size: 0.9rem;
}
.auth-link a {
    font-weight: bold;
}
.g-recaptcha {
    margin: 0 auto 1.5rem;
    display: flex;
    justify-content: center;
}
@media (min-width: 768px) {
    .auth-card .form-grid-half {
        grid-template-columns: 1fr 1fr;
    }
}


/* ==========================================================================
   BLOG PAGES - v3.8
   ========================================================================== */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 2rem;
}
.post-card {
    text-decoration: none;
    color: var(--color-text);
    background-color: var(--color-dark-accent);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}
.post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}
.post-card-image {
    width: 100%;
    aspect-ratio: 16 / 9;
    background-color: var(--color-dark);
    overflow: hidden;
}
.post-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}
.post-card:hover .post-card-image img {
    transform: scale(1.05);
}
.post-card-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}
.post-card-date {
    font-size: 0.8rem;
    color: var(--color-text-muted);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.post-card-title {
    font-size: 1.5rem;
    margin: 0 0 0.75rem;
    line-height: 1.3;
    color: var(--color-light);
    font-family: var(--font-secondary);
}
.post-card-excerpt {
    margin: 0 0 1.5rem;
    flex-grow: 1;
    color: var(--color-text);
    font-size: 0.95rem;
}
.post-card-readmore {
    font-weight: 700;
    color: var(--color-primary);
    margin-top: auto;
}
.image-placeholder {
    width: 100%;
    height: 100%;
    background-color: var(--color-dark);
}
.post-layout {
    max-width: 800px;
    margin: 2rem auto;
}
.post-header {
    text-align: center;
    margin-bottom: 3rem;
}
.post-header .breadcrumb {
    margin-bottom: 2rem;
}
.post-featured-image {
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: var(--border-radius);
    overflow: hidden;
    margin-bottom: 2rem;
    border: 1px solid var(--color-border);
}
.post-featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.post-title {
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    line-height: 1.2;
}
.post-meta {
    color: var(--color-text-muted);
    font-size: 0.9rem;
    margin-top: -0.5rem;
}
.post-content {
    font-size: 1.1rem;
    line-height: 1.8;
}
.post-content h2, .post-content h3 {
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}
.post-content p, .post-content ul, .post-content ol {
    margin-bottom: 1.5rem;
    color: var(--color-text-muted);
}
.post-content a {
    text-decoration: underline;
    text-underline-offset: 4px;
}
.post-cta-divider {
    height: 1px;
    background: var(--color-border);
    margin: 4rem 0;
}
.post-cta {
    text-align: center;
    padding: 2.5rem;
    background-color: var(--color-dark-accent);
    border-radius: var(--border-radius);
    border: 1px solid var(--color-border);
    margin-bottom: 4rem;
}
.post-cta h2 {
    margin-top: 0;
}
.related-posts {
    padding-top: 2rem;
    border-top: 1px solid var(--color-border);
}
.related-posts h3 {
    text-align: center;
    margin-bottom: 2rem;
    font-family: var(--font-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 1rem;
    color: var(--color-text-muted);
}
.related-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}
.related-post-card {
    display: block;
    padding: 1.5rem;
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius);
    text-decoration: none;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}
.related-post-card:hover {
    background-color: var(--color-dark-accent);
    border-color: var(--color-primary);
}
.related-post-card h4 {
    font-family: var(--font-secondary);
    font-size: 1.2rem;
    color: var(--color-light);
    margin-bottom: 0.5rem;
}
.related-post-card span {
    font-size: 0.9rem;
    font-weight: bold;
    color: var(--color-primary);
}


/* ==========================================================================
   CUSTOMER DASHBOARD - v3.9
   ========================================================================== */
.dashboard-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    align-items: flex-start;
}
.dashboard-nav {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.5rem;
    border-bottom: 1px solid var(--color-border);
    margin-bottom: 1.5rem;
}
.dashboard-nav-item {
    color: var(--color-text-muted);
    font-weight: 500;
    padding: 1rem 0.75rem;
    border-bottom: 3px solid transparent;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.2s ease-in-out;
    white-space: nowrap;
}
.dashboard-nav-item i {
    width: 20px;
    text-align: center;
}
.dashboard-nav-item:hover {
    color: var(--color-light);
}
.dashboard-nav-item.active {
    color: var(--color-primary);
    border-bottom-color: var(--color-primary);
}
.dashboard-tab { display: none; }
.dashboard-tab.active { display: block; animation: fadeIn 0.4s; }
.dashboard-card {
    background-color: var(--color-dark-accent);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius);
    overflow: hidden;
    margin-bottom: 2rem;
}
.dashboard-card-header {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--color-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.dashboard-card-header h3 {
    margin: 0;
    font-size: 1.2rem;
    font-family: var(--font-primary);
}
.dashboard-card-body {
    padding: 1.5rem;
}
.dashboard-card-body .form-group input[readonly][disabled] {
    background-color: var(--color-dark);
    opacity: 0.7;
}
.dashboard-table-wrapper { overflow-x: auto; }
.dashboard-table { width: 100%; border-collapse: collapse; }
.dashboard-table th, .dashboard-table td { padding: 1rem; text-align: left; border-bottom: 1px solid var(--color-border); vertical-align: middle; font-size: 0.9rem; }
.dashboard-table th { color: var(--color-text-muted); font-weight: bold; text-transform: uppercase; letter-spacing: 0.5px; font-size: 0.8rem; }
.status-tag { padding: 0.3em 0.7em; font-size: 0.75rem; font-weight: 700; border-radius: var(--border-radius); text-transform: uppercase; }
.status-pending { background-color: #8d6e00; color: #ffefb8; }
.status-confirmed, .status-on-the-way, .status-at-pickup, .status-in-progress { background-color: #1e6a39; color: #aee9c1; }
.status-completed { background-color: #3e444c; color: #c4c8ce; }
.status-cancelled { background-color: #8c2a32; color: #ffb8bb; }
.actions-cell { display: flex; gap: 0.5rem; align-items: center; }
.actions-cell .btn { padding: 0.5rem 0.8rem; font-size: 0.8rem; }
.action-icon-btn { background: none; border: none; cursor: pointer; padding: 0.25rem; font-size: 1.1rem; color: var(--color-text-muted); transition: color 0.2s; }
.action-icon-btn:hover { color: var(--color-primary); }
.action-icon-btn.cancel:hover { color: #ff8a8a; }
.address-list { margin-bottom: 2rem; }
.address-item { display: flex; justify-content: space-between; align-items: flex-start; padding: 1rem 0; border-bottom: 1px solid var(--color-border); }
.address-item:last-child { border-bottom: none; }
.address-details strong { display: block; color: var(--color-light); }
.address-details span { font-size: 0.9em; color: var(--color-text-muted); }
.add-address-form { margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--color-border); }
.add-address-form h4 { font-family: var(--font-primary); font-size: 1rem; text-transform: uppercase; letter-spacing: 1px; }
.modal-footer { display: flex; justify-content: flex-end; padding-top: 1.5rem; border-top: 1px solid var(--color-border); margin-top: 1.5rem; gap: 0.5rem; }
@media (min-width: 992px) {
    .dashboard-layout { grid-template-columns: 280px 1fr; gap: 2rem; }
    .dashboard-nav { flex-direction: column; border-bottom: none; margin-bottom: 0; flex-wrap: nowrap; }
    .dashboard-nav-item { border-bottom: none; border-left: 3px solid transparent; padding: 1rem 1.5rem; }
    .dashboard-nav-item.active { border-left-color: var(--color-primary); border-bottom-color: transparent; }
}
.alert { padding: 1rem; margin-bottom: 1.5rem; border: 1px solid transparent; border-radius: var(--border-radius); }
.alert-danger { background-color: var(--danger-bg); color: var(--danger-text); border-color: var(--danger-border); }
.alert-danger p { margin: 0; }
.alert-success { background-color: #0c4a2a; color: #aee9c1; border-color: #1e6a39; }



/* ==========================================================================
   MAP PRICE OVERLAY STYLES
   ========================================================================== */

.map-price-overlay {
    position: absolute;
    bottom: 1.5rem;
    left: 1.5rem;
    z-index: 10;
    background-color: rgba(31, 31, 31, 0.85); /* Yarı saydam koyu arka plan */
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius);
    padding: 1rem 1.5rem;
    color: var(--color-light);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    box-shadow: 0 5px 20px rgba(0,0,0,0.3);
    animation: fadeIn 0.5s ease-out;
}

.map-price-title {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-text-muted);
    margin-bottom: 0.5rem;
}

.map-price-amount {
    font-family: var(--font-secondary);
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--color-primary);
    line-height: 1;
}

/* ==========================================================================
   PWA INSTALL BANNER STYLES - v1.0
   ========================================================================== */
.pwa-install-banner {
    background-color: var(--color-dark-accent);
    color: var(--color-text);
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1001; /* Must be above the header */
    border-bottom: 1px solid var(--color-border);
    animation: slideDown 0.5s ease-out;
}
.pwa-install-content p {
    margin: 0;
    font-size: 0.9rem;
    font-weight: 500;
}
.pwa-install-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-shrink: 0;
}
.btn-small {
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
}
.pwa-dismiss-btn {
    background: none;
    border: none;
    color: var(--color-text-muted);
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    padding: 0.25rem;
    transition: color 0.2s ease;
}
.pwa-dismiss-btn:hover {
    color: var(--color-light);
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-100%);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 480px) {
    .pwa-install-banner {
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
    }
}


/* ==========================================================================
   CUSTOMER DASHBOARD ENHANCEMENTS - v4.0
   ========================================================================== */

/* Booking Tabs */
.tabs {
    display: flex;
    border-bottom: 1px solid var(--color-border);
    margin-bottom: 1.5rem;
}
.tab-link {
    background: none;
    border: none;
    color: var(--color-text-muted);
    padding: 0.75rem 1.5rem;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    position: relative;
    top: 1px;
    border-bottom: 3px solid transparent;
    transition: color 0.2s, border-color 0.2s;
}
.tab-link:hover {
    color: var(--color-light);
}
.tab-link.active {
    color: var(--color-primary);
    border-bottom-color: var(--color-primary);
}
.booking-tab-content {
    display: none;
}
.booking-tab-content.active {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    animation: fadeIn 0.4s;
}
.empty-tab-message {
    padding: 2rem;
    text-align: center;
    color: var(--color-text-muted);
    background-color: var(--color-dark);
    border-radius: var(--border-radius);
}

/* Booking Card */
.booking-card {
    background-color: var(--color-dark);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius);
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.3s ease;
}
.booking-card:hover {
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}
.booking-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--color-border);
    background-color: rgba(0,0,0,0.2);
}
.booking-date {
    display: flex;
    flex-direction: column;
    line-height: 1.3;
}
.booking-date strong {
    color: var(--color-light);
    font-size: 1rem;
}
.booking-date small {
    color: var(--color-text-muted);
    font-size: 0.9rem;
}
.booking-card-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}
.booking-route {
    position: relative;
    padding-left: 2rem;
}
.booking-route::before {
    content: '';
    position: absolute;
    left: 11px;
    top: 12px;
    bottom: 12px;
    width: 2px;
    background-color: var(--color-border);
}
.route-point {
    display: flex;
    align-items: center;
    gap: 1rem;
    position: relative;
}
.route-point:not(:last-child) {
    margin-bottom: 1.5rem;
}
.route-icon {
    font-size: 1.5rem;
    background-color: var(--color-dark);
    z-index: 1;
}
.route-icon.pickup { color: var(--color-primary); }
.route-icon.dropoff { color: #4caf50; }
.route-point p {
    margin: 0;
    color: var(--color-text);
}
.booking-vehicle {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding-top: 1rem;
    border-top: 1px solid var(--color-border);
    color: var(--color-text-muted);
    font-size: 0.9rem;
}
.booking-vehicle i {
    color: var(--color-primary);
}
.booking-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    padding: 1rem 1.5rem;
    background-color: var(--color-dark-accent);
    border-top: 1px solid var(--color-border);
}
.booking-id small {
    font-size: 0.8rem;
    color: var(--color-text-muted);
}
.booking-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}
