@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

/* Aktiv Grotesk Font Ailesi */
@font-face {
    font-family: 'Aktiv Grotesk';
    font-style: normal;
    font-weight: 400;
    src: local('Aktiv Grotesk'), local('AktivGrotesk-Regular'), local('Aktiv Grotesk Trial'),
         url('../fonts/AktivGrotesk_Trial_Rg.woff') format('woff'),
         url('https://fonts.cdnfonts.com/s/83745/AktivGrotesk_Trial_Rg.woff') format('woff');
    font-display: swap;
}
@font-face {
    font-family: 'Aktiv Grotesk';
    font-style: normal;
    font-weight: 500;
    src: local('Aktiv Grotesk Medium'), local('AktivGrotesk-Medium'),
         url('../fonts/AktivGrotesk_Trial_Md.woff') format('woff'),
         url('https://fonts.cdnfonts.com/s/83745/AktivGrotesk_Trial_Md.woff') format('woff');
    font-display: swap;
}
@font-face {
    font-family: 'Aktiv Grotesk';
    font-style: normal;
    font-weight: 600;
    src: local('Aktiv Grotesk SemiBold'), local('AktivGrotesk-SemiBold'),
         url('../fonts/AktivGrotesk_Trial_SBd.woff') format('woff'),
         url('https://fonts.cdnfonts.com/s/83745/AktivGrotesk_Trial_SBd.woff') format('woff');
    font-display: swap;
}
@font-face {
    font-family: 'Aktiv Grotesk';
    font-style: normal;
    font-weight: 700;
    src: local('Aktiv Grotesk Bold'), local('AktivGrotesk-Bold'),
         url('../fonts/AktivGrotesk_Trial_Bd.woff') format('woff'),
         url('https://fonts.cdnfonts.com/s/83745/AktivGrotesk_Trial_Bd.woff') format('woff');
    font-display: swap;
}
@font-face {
    font-family: 'Aktiv Grotesk';
    font-style: normal;
    font-weight: 800;
    src: local('Aktiv Grotesk ExtraBold'), local('AktivGrotesk-ExtraBold'),
         url('../fonts/AktivGrotesk_Trial_XBd.woff') format('woff'),
         url('https://fonts.cdnfonts.com/s/83745/AktivGrotesk_Trial_XBd.woff') format('woff');
    font-display: swap;
}

:root {
    --bg-dark: #0f1115;
    --card-dark: #181b21;
    --card-border: rgba(255, 255, 255, 0.08);
    --brand-gold: #c59a6f;
    --brand-gold-hover: #dbaf82;
    --text-muted: #94a3b8;
}

body {
    font-family: 'Inter', sans-serif;
}

/* Ana Başlıklar - Aktiv Grotesk */
h1, h2, h3, h4, .font-heading, .font-serif, #cal-month-title {
    font-family: 'Aktiv Grotesk', 'Aktiv Grotesk Trial', 'Inter', -apple-system, sans-serif !important;
    letter-spacing: -0.02em;
}

/* ========================================================
   KOYU TEMA (DARK THEME - Varsayılan / Image 1)
   ======================================================== */
body.theme-dark {
    background-color: var(--bg-dark);
    color: #e2e8f0;
}

.theme-dark .booking-card {
    background: linear-gradient(180deg, rgba(26, 29, 36, 0.95) 0%, rgba(20, 23, 29, 0.98) 100%);
    border: 1px solid var(--card-border);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5), 0 0 40px rgba(197, 154, 111, 0.05);
    border-radius: 1.25rem;
}

/* Adım Göstergesi */
.step-item {
    transition: all 0.3s ease;
}
.step-item.active {
    color: var(--brand-gold);
}
.step-item.completed {
    color: #10b981;
}

/* Kişi Sayısı Butonları */
.guest-btn {
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}
.theme-dark .guest-btn:hover {
    transform: translateY(-2px);
    border-color: var(--brand-gold);
}
.theme-dark .guest-btn.active {
    background: linear-gradient(135deg, #c59a6f 0%, #a87948 100%);
    color: #ffffff;
    border-color: #c59a6f;
    box-shadow: 0 4px 15px rgba(197, 154, 111, 0.35);
}

/* Saat Butonları */
.time-btn {
    transition: all 0.2s ease;
}
.theme-dark .time-btn:hover:not(:disabled) {
    border-color: var(--brand-gold);
    color: var(--brand-gold);
    background: rgba(197, 154, 111, 0.08);
    transform: translateY(-1px);
}
.theme-dark .time-btn.active {
    background: linear-gradient(135deg, #c59a6f 0%, #a87948 100%);
    color: #ffffff !important;
    border-color: #c59a6f;
    box-shadow: 0 4px 12px rgba(197, 154, 111, 0.3);
}

/* ========================================================
   ALAN SEÇİM KARTLARI (Image 1 Tasarımı)
   ======================================================== */
.area-card {
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.theme-dark .area-card {
    background: #181d26;
    border: 1px solid #272d3b;
}

.theme-dark .area-card .area-icon-box {
    background-color: #222834;
    color: #c59a6f;
    transition: all 0.2s ease;
}

.theme-dark .area-card:hover {
    border-color: #384152;
    background: #1e2430;
    transform: translateY(-2px);
}

.theme-dark .area-card.active {
    border: 1.5px solid #c59a6f !important;
    background: #181d26 !important;
    box-shadow: 0 0 22px rgba(197, 154, 111, 0.16) !important;
}

.theme-dark .area-card.active .area-icon-box {
    background-color: #2a241e !important;
    color: #dfb17b !important;
}

.theme-dark .area-card-title {
    color: #ffffff;
}
.theme-dark .area-card-desc {
    color: rgba(255, 255, 255, 0.6);
}

/* Takvim Izgarası */
.cal-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 6px;
}
.cal-day {
    aspect-ratio: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 0.75rem;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.2s ease;
    cursor: pointer;
    border: 1px solid transparent;
}
.theme-dark .cal-day:hover:not(.disabled):not(.closed) {
    background: rgba(197, 154, 111, 0.15);
    border-color: var(--brand-gold);
    color: var(--brand-gold);
}
.theme-dark .cal-day.active {
    background: linear-gradient(135deg, #c59a6f 0%, #a87948 100%) !important;
    color: #ffffff !important;
    font-weight: 700;
    box-shadow: 0 4px 14px rgba(197, 154, 111, 0.35);
}
.theme-dark .cal-day.today {
    border-color: rgba(197, 154, 111, 0.4);
}
.cal-day.disabled {
    opacity: 0.25;
    cursor: not-allowed;
    background: transparent !important;
}
.cal-day.closed {
    opacity: 0.35;
    cursor: not-allowed;
    background: rgba(239, 68, 68, 0.05);
    color: #ef4444;
    text-decoration: line-through;
}

/* ========================================================
   AÇIK TEMA (LIGHT THEME - Mod Cafe&Bistro Image 3)
   Palette:
   Primary: #0a1931 (Derin Kurumsal Lacivert)
   Accent:  #e5252a (Canlı Kırmızı)
   Bg:      #faf8f5 (Sıcak Krem / Fildişi)
   Card:    #ffffff (Saf Beyaz)
   Border:  #e2e8f0 (Slate Gri)
   ======================================================== */
body.theme-light {
    background-color: #faf8f5 !important;
    color: #334155 !important;
}

.theme-light .booking-card {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 20px 45px -10px rgba(10, 25, 49, 0.08), 0 4px 16px rgba(10, 25, 49, 0.03) !important;
    border-radius: 1.25rem;
}

/* Breadcrumbs / Adım Göstergesi */
.theme-light .border-white\/10 {
    border-color: #e2e8f0 !important;
}
.theme-light .wizard-step-indicator {
    color: #94a3b8;
}
.theme-light .wizard-step-indicator.active {
    color: #e5252a !important;
    font-weight: 700;
}
.theme-light .wizard-step-indicator.completed {
    color: #0f4ba4 !important;
}
.theme-light #btn-prev-step {
    background-color: #f1f5f9 !important;
    border-color: #e2e8f0 !important;
    color: #334155 !important;
}
.theme-light #btn-prev-step:hover {
    background-color: #e2e8f0 !important;
    color: #0a1931 !important;
}

/* Başlıklar & Tipografi */
.theme-light h1, 
.theme-light h2, 
.theme-light h3, 
.theme-light h4 {
    color: #0a1931 !important;
}
.theme-light .text-white {
    color: #0a1931 !important;
}
.theme-light .text-white\/60,
.theme-light .text-white\/70,
.theme-light .text-white\/80 {
    color: #475569 !important;
}
.theme-light .text-white\/50,
.theme-light .text-white\/40 {
    color: #64748b !important;
}
.theme-light .text-brand-200 {
    color: #0a1931 !important;
}

/* Üst Prestij Rozeti */
.theme-light .bg-brand-500\/10 {
    background-color: rgba(229, 37, 42, 0.08) !important;
    color: #e5252a !important;
    border-color: rgba(229, 37, 42, 0.2) !important;
}

/* 1. ADIM: Kişi Butonları */
.theme-light .guest-btn {
    background: #f8fafc !important;
    border-color: #e2e8f0 !important;
    color: #0a1931 !important;
}
.theme-light .guest-btn:hover {
    border-color: rgba(229, 37, 42, 0.5) !important;
    background: #fff5f5 !important;
    color: #e5252a !important;
    transform: translateY(-2px);
}
.theme-light .guest-btn.active {
    background: linear-gradient(135deg, #e5252a 0%, #c01b20 100%) !important;
    color: #ffffff !important;
    border-color: #e5252a !important;
    box-shadow: 0 6px 18px rgba(229, 37, 42, 0.35) !important;
}
.theme-light .guest-btn.active span {
    color: #ffffff !important;
}

/* Büyük Grup Uyarısı */
.theme-light .bg-white\/\[0\.03\] {
    background-color: #f8fafc !important;
    border-color: #e2e8f0 !important;
}
.theme-light .bg-brand-500\/10 {
    background-color: rgba(229, 37, 42, 0.1) !important;
    color: #e5252a !important;
}
.theme-light .bg-brand-600 {
    background-color: #0a1931 !important;
    color: #ffffff !important;
}
.theme-light .bg-brand-600:hover {
    background-color: #122b48 !important;
}

/* 2. ADIM: Takvim */
.theme-light .bg-black\/30 {
    background-color: #f8fafc !important;
    border-color: #e2e8f0 !important;
}
.theme-light #cal-month-title {
    color: #0a1931 !important;
}
.theme-light #cal-prev-month,
.theme-light #cal-next-month {
    background-color: #ffffff !important;
    border-color: #cbd5e1 !important;
    color: #0a1931 !important;
}
.theme-light #cal-prev-month:hover,
.theme-light #cal-next-month:hover {
    background-color: #f1f5f9 !important;
}
.theme-light .cal-day {
    color: #1e293b !important;
}
.theme-light .cal-day:hover:not(.disabled):not(.closed) {
    background: #fee2e2 !important;
    border-color: #e5252a !important;
    color: #e5252a !important;
}
.theme-light .cal-day.active {
    background: linear-gradient(135deg, #e5252a 0%, #c01b20 100%) !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    box-shadow: 0 4px 14px rgba(229, 37, 42, 0.35) !important;
}
.theme-light .cal-day.today {
    border-color: #0a1931 !important;
    color: #0a1931 !important;
    font-weight: 700;
}
.theme-light .cal-day.disabled {
    color: #cbd5e1 !important;
    opacity: 0.3;
}

/* 3. ADIM: Saat Butonları */
.theme-light .time-btn {
    background: #f8fafc !important;
    border-color: #e2e8f0 !important;
    color: #0a1931 !important;
}
.theme-light .time-btn:hover:not(:disabled) {
    border-color: #e5252a !important;
    color: #e5252a !important;
    background: #fff5f5 !important;
    transform: translateY(-1px);
}
.theme-light .time-btn.active {
    background: linear-gradient(135deg, #e5252a 0%, #c01b20 100%) !important;
    color: #ffffff !important;
    border-color: #e5252a !important;
    box-shadow: 0 4px 14px rgba(229, 37, 42, 0.35) !important;
}
.theme-light .time-btn.active span {
    color: #ffffff !important;
}
.theme-light .text-brand-500 {
    color: #e5252a !important;
}

/* 4. ADIM: Alan Kartları (Light Theme) */
.theme-light .area-card {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 2px 6px rgba(10, 25, 49, 0.03);
}
.theme-light .area-card:hover {
    border-color: #0a1931 !important;
    box-shadow: 0 8px 20px rgba(10, 25, 49, 0.08) !important;
    transform: translateY(-2px);
}
.theme-light .area-card .area-icon-box {
    background-color: #f1f5f9 !important;
    color: #0a1931 !important;
}
.theme-light .area-card.active {
    border: 1.5px solid #e5252a !important;
    background: #fffcfc !important;
    box-shadow: 0 0 0 3px rgba(229, 37, 42, 0.12), 0 8px 22px rgba(229, 37, 42, 0.08) !important;
}
.theme-light .area-card.active .area-icon-box {
    background-color: #fee2e2 !important;
    color: #e5252a !important;
}
.theme-light .area-card.active .area-card-title {
    color: #0a1931 !important;
}
.theme-light .area-card.active .area-card-desc {
    color: #475569 !important;
}
.theme-light .area-card-title {
    color: #0a1931 !important;
}
.theme-light .area-card-desc {
    color: #64748b !important;
}

/* 5. ADIM: İletişim Formu */
.theme-light input[type="text"],
.theme-light input[type="email"],
.theme-light input[type="tel"],
.theme-light textarea {
    background-color: #f8fafc !important;
    border-color: #cbd5e1 !important;
    color: #0a1931 !important;
}
.theme-light input::placeholder,
.theme-light textarea::placeholder {
    color: #94a3b8 !important;
}
.theme-light input:focus,
.theme-light textarea:focus {
    background-color: #ffffff !important;
    border-color: #e5252a !important;
    box-shadow: 0 0 0 3px rgba(229, 37, 42, 0.15) !important;
}
.theme-light label {
    color: #334155 !important;
}

/* Özel Durum / Kutlama Butonları */
.theme-light .occasion-btn {
    background: #f8fafc !important;
    border-color: #e2e8f0 !important;
    color: #475569 !important;
}
.theme-light .occasion-btn:hover {
    border-color: rgba(229, 37, 42, 0.5) !important;
    color: #e5252a !important;
}
.theme-light .occasion-btn.active {
    background: #fee2e2 !important;
    border-color: #e5252a !important;
    color: #e5252a !important;
    font-weight: 700;
}

/* Rezervasyonu Tamamla Butonu */
.theme-light #btn-submit-booking {
    background: linear-gradient(135deg, #e5252a 0%, #c01b20 100%) !important;
    box-shadow: 0 6px 20px rgba(229, 37, 42, 0.35) !important;
    color: #ffffff !important;
}

/* 6. ADIM: Onay Kartı */
.theme-light .bg-white\/5 {
    background-color: #f8fafc !important;
    border-color: #e2e8f0 !important;
}
.theme-light .bg-black\/40 {
    background-color: #f8fafc !important;
    border-color: #e2e8f0 !important;
}
.theme-light #conf-ref-code {
    color: #e5252a !important;
}
.theme-light #conf-copy-btn,
.theme-light #conf-calendar-btn {
    background-color: #ffffff !important;
    border-color: #cbd5e1 !important;
    color: #0a1931 !important;
}
.theme-light #conf-restart-btn {
    background-color: #0a1931 !important;
    color: #ffffff !important;
}
.theme-light #conf-restart-btn:hover {
    background-color: #122b48 !important;
}

/* Animasyonlar */
.fade-in {
    animation: fadeIn 0.3s ease-out forwards;
}
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
.theme-dark ::-webkit-scrollbar-track {
    background: #0f1115;
}
.theme-dark ::-webkit-scrollbar-thumb {
    background: #2d3748;
    border-radius: 4px;
}
.theme-light ::-webkit-scrollbar-track {
    background: #f1f5f9;
}
.theme-light ::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}

/* Etkinlik Akşamı Seçenekleri (Single-choice Radio Cards) */
.event-option-label {
    transition: all 0.2s ease-in-out;
}
.event-option-label:has(input:checked),
.event-option-label.active {
    border-color: #c59a6f !important;
    background-color: rgba(197, 154, 111, 0.15) !important;
}
.event-option-label:has(input:checked) .event-option-text,
.event-option-label.active .event-option-text {
    color: #ffffff !important;
    font-weight: 600;
}

/* Light Theme için Etkinlik Akşamı Seçenekleri */
.theme-light .event-option-label {
    background-color: #f8fafc !important;
    border-color: #e2e8f0 !important;
}
.theme-light .event-option-label:hover {
    border-color: rgba(229, 37, 42, 0.4) !important;
}
.theme-light .event-option-label.active,
.theme-light .event-option-label:has(input:checked) {
    background-color: #fff1f2 !important;
    border-color: #e5252a !important;
    box-shadow: 0 2px 8px rgba(229, 37, 42, 0.08) !important;
}
.theme-light .event-option-label.active .event-option-text,
.theme-light .event-option-label:has(input:checked) .event-option-text {
    color: #e5252a !important;
    font-weight: 600;
}
.theme-light .event-option-text {
    color: #334155 !important;
}
.theme-light input[name="event_choice"] {
    accent-color: #e5252a !important;
}