/* Otobüs Bilet - Ön yüz (Pamukkale tarzı modern tema) */
:root {
    --primary: #e30613;          /* Pamukkale kırmızısı tarzı */
    --primary-dark: #b10410;
    --accent: #ffb300;
    --bg: #f5f7fb;
    --card: #ffffff;
    --text: #1f2933;
    --muted: #6b7280;
    --border: #e0e4f2;
    --shadow-soft: 0 12px 30px rgba(15, 23, 42, 0.12);
}

* { box-sizing: border-box; }
body {
    margin: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: radial-gradient(circle at top left, #fef3f2 0, var(--bg) 55%);
    color: var(--text);
    line-height: 1.5;
}
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }
.container {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 1.25rem;
}

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(255,255,255,0.96);
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 0 rgba(15,23,42,0.06);
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 0.65rem 0;
}
.logo {
    font-weight: 800;
    font-size: 1.4rem;
    color: var(--primary);
    letter-spacing: 0.03em;
}
.logo span {
    color: var(--text);
    font-weight: 500;
    font-size: 0.8rem;
    display: block;
}
.logo:hover { text-decoration: none; opacity: 0.9; }
.main-nav {
    display: flex;
    gap: 1.25rem;
    align-items: center;
    font-size: 0.92rem;
}
.main-nav a {
    color: var(--muted);
    padding: 0.25rem 0;
}
.main-nav a:hover {
    color: var(--primary);
    text-decoration: none;
}
.header-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.header-actions a {
    font-size: 0.9rem;
    color: var(--primary);
    font-weight: 600;
}
.header-actions a:hover { color: var(--primary-dark); }
.lang-currency select {
    padding: 0.25rem 0.6rem;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: #fff;
    font-size: 0.78rem;
    color: var(--muted);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.6rem 1.15rem;
    border-radius: 999px;
    font-size: 0.95rem;
    cursor: pointer;
    border: none;
    background: var(--primary);
    color: #fff;
    text-align: center;
    font-weight: 600;
    box-shadow: 0 8px 18px rgba(227, 6, 19, 0.35);
    transition: background 0.12s ease, box-shadow 0.12s ease, transform 0.05s ease;
}
.btn:hover {
    background: var(--primary-dark);
    box-shadow: 0 10px 24px rgba(227, 6, 19, 0.4);
    text-decoration: none;
    transform: translateY(-1px);
}
.btn-primary {
    background: var(--accent);
    color: #1f2933;
    box-shadow: 0 8px 18px rgba(251, 191, 36, 0.35);
}
.btn-primary:hover {
    background: #f59e0b;
    box-shadow: 0 10px 24px rgba(251, 191, 36, 0.45);
}
.btn-ghost {
    background: transparent;
    color: var(--primary);
    border: 1px solid rgba(227,6,19,0.2);
    box-shadow: none;
}
.btn-ghost:hover {
    background: rgba(227,6,19,0.04);
    box-shadow: none;
}

/* Hero & search card */
.hero {
    padding: 2.75rem 0 2.25rem;
}
.hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    gap: 2.5rem;
    align-items: center;
}
.hero-copy h1 {
    margin: 0 0 0.5rem;
    font-size: 2.1rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: #111827;
}
.hero-copy h1 span {
    color: var(--primary);
}
.hero-copy p {
    margin: 0 0 1rem;
    color: var(--muted);
    font-size: 0.98rem;
}
.hero-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-top: 0.5rem;
}
.hero-tag {
    padding: 0.2rem 0.65rem;
    border-radius: 999px;
    background: #fee2e2;
    color: #b91c1c;
    font-size: 0.75rem;
}

.search-card {
    background: #ffffff;
    border-radius: 18px;
    box-shadow: var(--shadow-soft);
    padding: 1.1rem 1.3rem 1.2rem;
    border: 1px solid rgba(226, 232, 240, 0.9);
}
.search-tabs {
    display: inline-flex;
    padding: 0.15rem;
    border-radius: 999px;
    background: #f3f4f6;
    margin-bottom: 0.8rem;
}
.search-tab {
    position: relative;
    padding: 0.25rem 0.9rem;
    font-size: 0.85rem;
    border-radius: 999px;
    color: #4b5563;
    cursor: pointer;
    white-space: nowrap;
}
.search-tab input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}
.search-tab.active {
    background: #ffffff;
    color: var(--primary);
    font-weight: 600;
    box-shadow: 0 3px 7px rgba(148, 163, 184, 0.6);
}

.search-form {
    margin-top: 0.4rem;
}
.search-form-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.2fr) minmax(0, 1fr) auto;
    gap: 0.6rem;
    align-items: flex-end;
}
.form-field {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    font-size: 0.8rem;
    color: var(--muted);
}
.field-label {
    font-weight: 600;
}
.field-control {
    position: relative;
}
.field-control select,
.field-control input[type=date] {
    width: 100%;
    padding: 0.55rem 0.7rem;
    border-radius: 10px;
    border: 1px solid var(--border);
    font-size: 0.9rem;
    color: var(--text);
    background: #f9fafb;
}
.field-control select:focus,
.field-control input[type=date]:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 1px rgba(227,6,19,0.28);
    background: #ffffff;
}
.search-hint {
    margin-top: 0.55rem;
    font-size: 0.78rem;
    color: var(--muted);
}

/* Section layout */
.section {
    padding: 1.75rem 0 2rem;
}
.section h1 {
    margin: 0 0 1rem;
    font-size: 1.35rem;
}
.section h2 {
    margin: 0 0 0.6rem;
    font-size: 1.2rem;
}
.section-sub {
    margin: 0 0 1.1rem;
    font-size: 0.9rem;
    color: var(--muted);
}
.no-results {
    padding: 1rem;
    background: #fff3cd;
    border-radius: 10px;
    border: 1px solid #facc15;
    font-size: 0.9rem;
}

/* Trip list (search results) */
.trip-list {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}
.trip-card {
    display: grid;
    grid-template-columns: minmax(0,1.3fr) minmax(0,0.8fr) auto;
    gap: 0.75rem;
    align-items: center;
    padding: 0.9rem 1rem;
    background: var(--card);
    border-radius: 14px;
    border: 1px solid var(--border);
    box-shadow: 0 4px 10px rgba(15,23,42,0.04);
}
.trip-info {
    min-width: 200px;
}
.trip-info .service {
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 0.2rem;
}
.trip-info .time {
    margin-right: 0.5rem;
    color: var(--text);
    font-weight: 500;
}
.trip-info .seats {
    margin-left: 0.25rem;
    font-size: 0.82rem;
    color: var(--muted);
}
.trip-meta {
    font-size: 0.8rem;
    color: var(--muted);
}
.trip-price {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
    text-align: right;
}
.trip-action {
    flex-shrink: 0;
}

/* Route grid (popular routes) */
.route-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 0.75rem;
}
.route-card {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.6rem 1rem;
    background: #ffffff;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.5);
    font-size: 0.9rem;
    color: #111827;
}
.route-card:hover {
    border-color: var(--primary);
    box-shadow: 0 3px 6px rgba(148, 163, 184, 0.35);
    text-decoration: none;
}

/* City chips & feature band (home page extras) */
.city-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-top: 0.5rem;
}
.city-chip {
    padding: 0.25rem 0.65rem;
    border-radius: 999px;
    background: #e5f0ff;
    color: #1d4ed8;
    font-size: 0.78rem;
}

.feature-band {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 0.9rem;
    margin-top: 1rem;
}
.feature-card {
    background: #ffffff;
    border-radius: 14px;
    padding: 0.9rem 1rem;
    border: 1px solid rgba(226, 232, 240, 0.9);
    font-size: 0.86rem;
}
.feature-card strong {
    display: block;
    margin-bottom: 0.25rem;
}

.app-strip {
    margin-top: 1.5rem;
    padding: 1.2rem 1rem;
    border-radius: 16px;
    background: linear-gradient(135deg, #111827 0%, #020617 100%);
    color: #e5e7eb;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
    justify-content: space-between;
}
.app-strip h3 {
    margin: 0 0 0.25rem;
    font-size: 1.1rem;
    color: #f9fafb;
}
.app-strip p {
    margin: 0;
    font-size: 0.9rem;
    color: #9ca3af;
}
.store-buttons {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}
.store-pill {
    padding: 0.35rem 0.9rem;
    border-radius: 999px;
    border: 1px solid rgba(156, 163, 175, 0.7);
    font-size: 0.8rem;
    color: #e5e7eb;
}

/* Trip detail & seat map */
.trip-detail {
    padding: 1rem 1.1rem;
    background: var(--card);
    border-radius: 16px;
    margin-bottom: 1.1rem;
    box-shadow: 0 8px 20px rgba(15,23,42,0.04);
}
.seat-map {
    max-width: 360px;
    margin: 1.2rem 0;
}
.seat-row {
    display: flex;
    gap: 0.4rem;
    margin-bottom: 0.4rem;
    justify-content: center;
}
.seat {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    font-size: 0.82rem;
    font-weight: 600;
    background: #16a34a;
    color: #fff;
    box-shadow: 0 3px 6px rgba(22,163,74,0.35);
}
.seat:hover { text-decoration: none; opacity: 0.9; }
.seat.available { background: #16a34a; }
.seat.reserved, .seat.sold, .seat.blocked {
    background: #9ca3af;
    cursor: not-allowed;
    box-shadow: none;
}
.seat.disabled { pointer-events: none; }
.seat-legend {
    font-size: 0.9rem;
    color: var(--muted);
    margin-top: 0.6rem;
}
.seat-legend .seat {
    margin-right: 0.35rem;
    width: 24px;
    height: 24px;
    border-radius: 6px;
    box-shadow: none;
}

/* Booking & member */
.booking-summary,
.booking-ok-box {
    padding: 1.4rem 1.5rem;
    background: var(--card);
    border-radius: 16px;
    max-width: 520px;
    box-shadow: 0 10px 26px rgba(15,23,42,0.08);
}
.booking-ok-box .code {
    font-size: 1.6rem;
    font-weight: 800;
    letter-spacing: 0.25em;
}
.booking-form-wrap .form-group {
    margin-bottom: 1rem;
    max-width: 420px;
}
.booking-form-wrap label {
    display: block;
    margin-bottom: 0.25rem;
    font-weight: 600;
}
.booking-form-wrap input {
    width: 100%;
    padding: 0.55rem 0.7rem;
    border: 1px solid var(--border);
    border-radius: 10px;
}
.member-forms {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
}
.card {
    background: var(--card);
    border-radius: 14px;
    box-shadow: 0 10px 28px rgba(15,23,42,0.06);
    overflow: hidden;
    margin-bottom: 1.2rem;
}
.card-header {
    padding: 0.85rem 1rem;
    background: #f3f4f6;
    font-weight: 600;
}
.card-body {
    padding: 1rem 1.1rem 1.2rem;
}
.form-group {
    margin-bottom: 0.8rem;
}
.form-group label {
    display: block;
    margin-bottom: 0.25rem;
    font-weight: 600;
    font-size: 0.9rem;
}
.form-group input {
    width: 100%;
    padding: 0.55rem 0.7rem;
    border: 1px solid var(--border);
    border-radius: 10px;
}
.alert {
    padding: 0.75rem 0.9rem;
    border-radius: 10px;
    font-size: 0.88rem;
}
.alert-danger {
    background: #fef2f2;
    color: #b91c1c;
    border: 1px solid #fecaca;
}
.page-content .content-body {
    padding: 1.1rem 0;
}

/* Footer */
.site-footer {
    background: #111827;
    color: #9ca3af;
    padding: 2.2rem 0 1.5rem;
    margin-top: 2.5rem;
}
.footer-inner {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 1.4rem;
}
.footer-col a {
    color: #e5e7eb;
    margin-right: 1rem;
    font-size: 0.88rem;
}
.footer-col a:hover {
    color: #ffffff;
}
.footer-bottom {
    margin-top: 1.2rem;
    padding-top: 0.9rem;
    border-top: 1px solid #1f2937;
    font-size: 0.86rem;
}

/* Responsive tweaks */
@media (max-width: 900px) {
    .hero-inner {
        grid-template-columns: minmax(0, 1fr);
    }
    .search-form-grid {
        grid-template-columns: minmax(0,1fr);
    }
    .trip-card {
        grid-template-columns: minmax(0,1fr);
        text-align: left;
    }
    .trip-price {
        text-align: left;
    }
}

@media (max-width: 640px) {
    .header-inner {
        flex-wrap: wrap;
        align-items: flex-start;
    }
    .main-nav {
        display: none; /* basitlik için mobilde gizle */
    }
}
