/* --- FastyGo Dark Tema vFinal (Tüm Özellikler Dahil) --- */
@font-face {
    font-family: 'PressStart2P-Regular';
    src: url('../fonts/PressStart2P-Regular.woff2') format('woff2'),
         url('../fonts/PressStart2P-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* 1. RENK PALETİ VE TEMEL AYARLAR */
:root {
    --primary-orange: #FF5C00;
    --primary-orange-hover: #FF7F2A;
    --primary-blue: #3A4F6A;
    --bg-dark-primary: #1a1a1a;
    --bg-dark-secondary: #2c2c2c;
    --text-light: #346ce6;
    --text-muted: #bbbbbb;
    --border-color: #444444;
    --danger-color: #dc3545;
    --font-sans: 'PressStart2P-Regular', monospace;
    --font-serif: 'PressStart2P-Regular', monospace;
}

/* 2. BODY */
body, html {
    margin: 0;
    padding: 0;
    height: auto;
    width: 100%;
    overflow-y: auto;           /* sayfa kaydırılabilir */
    font-family: var(--font-sans);
    color: var(--text-light);
    background-color: var(--bg-dark-primary);
}
* { box-sizing: border-box; }
/* --- Ana Site Header Menüsü --- */
.main-header {
    position: absolute;
    top: 0;
    right: 0;
    width: auto;
    z-index: 10;
    padding: 1rem 2rem;
}
.main-header .nav-link {
    color: rgba(255, 255, 255, 0.7);
    font-weight: 600;
    padding: 0.5rem 1rem;
    transition: color .2s ease;
    font-family: var(--font-sans);
    font-size: 0.9rem;
}
.main-header .nav-link:hover {
    color: #ffffff;
}

/* YENİ: MOBİL İÇİN DÜZELTME */
@media (max-width: 991.98px) {
    .main-header {
        position: static; /* Header'ı sayfa akışına dahil et */
        padding: 0.5rem 1rem;
        background-color: var(--bg-dark-secondary); /* Form ile aynı arkaplan rengi */
    }
    .main-header .navbar-nav {
        flex-direction: row; /* Linkler yan yana dursun */
        justify-content: center; /* Linkleri ortala */
        width: 100%;
    }

    .booking-form-side {
        /* Formun tepesindeki boşluğu kaldırarak headera yer açıyoruz */
        padding-top: 2rem;
    }
}

/* Footer'ı gizli tutmaya devam et */
footer { display: none; }

/* 3. ANA YAPI */
.booking-wrapper { display: none; min-height: 100vh; height: auto; } /* kırpmasın */

/* 4. SOL TARAF (GÖRSEL) */
.booking-image-side { flex: 0 0 45%; position: relative; background: #000; }
.booking-image-side .logo { position: absolute; top: 40px; left: 50px; z-index: 2; }
.booking-image-side .logo img { height: 40px; }
.booking-image-side .side-image { width: 100%; height: 100%; object-fit: cover; filter: grayscale(100%); opacity: 0.7; }

/* 5. DİKEY ADIM GÖSTERGESİ */
.step-indicators { position: absolute; top: 50%; right: -20px; transform: translateY(-50%); display: flex; flex-direction: column; gap: 20px; z-index: 3; }
.step { width: 40px; height: 40px; background: var(--bg-dark-secondary); border: 2px solid var(--border-color); border-radius: 50%; color: var(--text-muted); display: flex; align-items: center; justify-content: center; font-weight: 600; transition: all 0.3s ease; box-shadow: 0 4px 15px rgba(0,0,0,0.2); }
.step.active { background-color: var(--primary-orange); border-color: var(--primary-orange); color: var(--text-light); transform: scale(1.1); }

/* 6. SAĞ TARAF (FORM) */
.booking-form-side {
    flex: 1;
    padding: 40px 5%;
    display: flex;
    flex-direction: column;
    background-color: var(--bg-dark-secondary);
    background-image: repeating-linear-gradient(-45deg, transparent, transparent 25px, rgba(255,255,255,0.02) 25px, rgba(255,255,255,0.02) 26px);
}

/* 7. FORM BAŞLIKLARI VE NEON YAZI */
.form-title-section h2 {
    font-family: var(--font-serif);
    font-size: clamp(1.5rem, 2vw, 1.8rem);
    color: var(--text-light);
    margin: 1rem 0 2.5rem 0;
    font-weight: 700;
    white-space: normal;
    word-wrap: break-word;
    text-align: center;
    text-shadow: 0 0 10px #0a18dd, 0 0 10px #0a18dd, 0 0 15px #0a18dd;
}
.form-title-section .sub-heading {
    color: #ffffff;
    font-weight: 600;
    margin-bottom: 8px;
    display: block;
    border-bottom: 2px solid #0a0aff;
    padding-bottom: 8px;
    white-space: normal;
    text-align: center;
}

/* Etiketler ve linkler – mevcut tasarımla aynı */
.input-field label,
.selection-card h5, .selection-card-multi h5,
.selection-card span, .selection-card-multi span,
.form-check-label a {
    color: #202020;
    text-shadow: 0 0 3px #202020, 0 0 6px #202020;
}
.summary-box { color: #ffffff; }
.phone-input-wrapper { display: flex; align-items: center; }

/* 8. FORM HEADER & PROGRESS BAR */
.form-header { display: flex; justify-content: flex-end; align-items: center; width: 100%; margin-bottom: 3rem; }
.progress-bar-container { width: 200px; text-align: right; font-size: 0.9rem; color: var(--text-muted); }
.progress-bar-container .progress-text { font-weight: 600; color: var(--text-light); }
.progress-bar { width: 100%; height: 4px; background-color: #444; border-radius: 2px; margin-top: 8px; }
.progress-bar-fill { height: 100%; background-color: #1f1e1e; border-radius: 2px; box-shadow: 0 0 8px #0a0aff; }

/* 9. FORM BODY */
.form-body {
    width: 100%;
    max-width: 450px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    height: auto;
    position: relative;
}

/* 10. INPUT */
.input-group { display: flex; align-items: center; border: 1px solid var(--border-color); background-color: #383838; border-radius: 8px; padding: 10px 15px; margin-bottom: 1.5rem; transition: all 0.2s ease; }
.input-group:focus-within { border-color: #0a0aff; box-shadow: 0 0 0 3px rgba(10,10,255,0.2); }
.input-group .icon { font-size: 1.2rem; color: var(--text-muted); margin-right: 15px; }
.input-field { flex: 1; }
.input-field label { display: block; font-size: 0.8rem; color: var(--text-muted); margin-bottom: 2px; }
.input-field input { border: none; outline: none; background: transparent; width: 100%; font-size: 1rem; font-weight: 500; color: #8d8d8d; }
.form-control { background-color: #383838; border: 1px solid #555555; color: #f0f0f0; padding: 1rem; font-size: 1rem; font-weight: 500; border-radius: 8px; }
.form-control:focus { background-color: #383838; border-color: #0a0aff; color: #f0f0f0; box-shadow: 0 0 0 3px rgba(10,10,255,0.2); }

/* 10.a TARİH – üst/alt boşluk ve düzen */
input[type="date"].form-control,
#date.form-control {
    padding-right: 44px;                 /* takvim ikonuna yer */
}
#date.form-control { margin-bottom: 1.25rem; }   /* saat grid’iyle arayı aç */

/* 11. BUTONLAR (sabit DEĞİL) */
.form-action { margin-top: 2rem; position: relative; }
.form-action.multi-button { display: flex; justify-content: space-between; gap: 15px; flex-wrap: wrap; }
.btn-submit {
    background-color: #2500f7;
    color: #ffffff;
    border: none;
    padding: 14px 30px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
}
.btn-submit:hover {
    background-color: #1a1a1a;
    transform: translateY(-2px);
    text-shadow: 0 0 8px #0a0aff, 0 0 15px #0a0aff, 0 0 20px #0a0aff;
}
.btn-secondary {
    background-color: #000000;
    color: #ffffff;
    padding: 14px 30px;
    border-radius: 50px;
    border: 1px solid #444444;
    font-weight: 600;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    text-shadow: 0 0 5px #0a0aff, 0 0 10px #0a0aff;
}
.btn-secondary:hover {
    background-color: #1a1a1a;
    transform: translateY(-2px);
    text-shadow: 0 0 8px #0a0aff, 0 0 15px #0a0aff;
}

/* 12. SEÇİM KARTLARI */
.selection-label { display: block; text-align: left; font-weight: 600; color: var(--text-light); margin-bottom: 1rem; }
.selection-grid { display: grid; gap: 1rem; }
.service-grid, .employee-grid { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); }
.selection-card, .selection-card-multi { border: 1px solid var(--border-color); background-color: #383838; color: var(--text-light); border-radius: 8px; padding: 1rem; cursor: pointer; transition: all 0.2s ease; user-select: none; }
.selection-card:hover, .selection-card-multi:hover { border-color: #0a0aff; transform: translateY(-2px); }
.selection-card.selected, .selection-card-multi.selected { background-color: #000000; border-color: #0a0aff; color: var(--text-light); box-shadow: 0 0 10px #0a0aff; }
.selection-card.selected *, .selection-card-multi.selected * { color: var(--text-light) !important; }
.selection-card-multi { text-align: center; }
.selection-card-multi h5, .selection-card h5 { font-size: 1rem; color: var(--text-light); }
.selection-card-multi span, .selection-card span { font-size: 0.8rem; color: var(--text-muted); }
.employee-grid .selection-card { display: flex; align-items: center; text-align: left; padding: 0.75rem; }
.employee-grid .selection-card img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; margin-right: 1rem; }
.employee-grid .selection-card span { font-weight: 600; font-size: 0.9rem; }

/* 12.a SAAT GRID – görünüm/boşluk/scroll */
.time-grid {
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    max-height: 220px;
    overflow-y: auto;
    padding: 1rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background-color: #2b2b2b;
    gap: 0.9rem;                 /* kutular arası mesafe */
    margin-top: 0.75rem;         /* tarih ile arayı aç */
}

.time-grid .no-slots {
    background: transparent !important;   /* arka planı kaldır */
    border: none !important;             /* border kaldır */
    padding: 1rem 0;                     /* üst-alt boşluk */
    text-align: center;                  /* yazıyı ortala */
    color: #ffffff;                      /* yazı rengi */
    font-weight: 600;
    font-size: 1rem;                     /* kutu ile uyumlu boyut */
    display: block;                       /* genişliği kutu kadar olsun */
    width: 100%;                          /* time-grid genişliği */
    box-sizing: border-box;
}          
.time-grid .selection-card {
    text-align: center;
    padding: 0.75rem;
    background: #333;
    border: 1px solid #3f3f3f;
    border-radius: 8px;
    transition: 0.2s ease;
     display: flex;
    justify-content: center; /* yatay ortala */
    align-items: center;     /* dikey ortala */
    text-align: center;
    padding: 0.75rem;
    background: #333;
    border: 1px solid #3f3f3f;
    border-radius: 8px;
    transition: 0.2s ease;
}
.time-grid .selection-card:hover { background: #000; border-color: #0a0aff; }
.time-grid .selection-card h5 { font-weight: 600; margin: 0; color: #fff; }

/* Scrollbar (dark) */
.time-grid::-webkit-scrollbar { width: 10px; }
.time-grid::-webkit-scrollbar-thumb { background: #4a4a4a; border-radius: 8px; }
.time-grid::-webkit-scrollbar-thumb:hover { background: #5c5c5c; }
.time-grid::-webkit-scrollbar-track { background: #242424; }
.time-grid { scrollbar-color: #4a4a4a #242424; scrollbar-width: thin; }

/* 13. DİĞER STİLLER */
.required { color: #2c2c2c !important; margin-left: 3px; }
.form-step { display: none; animation: fadeIn 0.5s; }
.form-step.active { display: block; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
.input-group.is-invalid, .form-control.is-invalid { border-color: var(--danger-color) !important; }
.selection-grid.is-invalid { border: 2px dashed var(--danger-color); padding: 0.5rem; border-radius: 8px; }
.summary-box { text-align: left; background-color: #383838; border: 1px solid var(--border-color); border-radius: 8px; padding: 1.5rem; }
.form-check { text-align: left; padding-left: 1.5em; }
.form-check-label a { font-weight: 600; text-decoration: none; color: #ffffff; }
.form-check-label a:hover { text-decoration: underline; }
.form-check-input:checked { background-color: #0a0aff; border-color: #0a0aff; }

/* 14. MODAL ve RESPONSIVE */
.modal-content { background-color: var(--bg-dark-secondary); color: #ffffff; }
.modal-header, .modal-footer { border-color: var(--border-color); }
.modal-body a { color: #ffffff; }

/* RESPONSIVE */
@media (max-width: 991.98px) {
    body, html { overflow-y: auto; height: auto; }
    .booking-wrapper { flex-direction: column; height: auto; }
    .booking-image-side { display: none; }
    .booking-form-side { flex: 1 1 100%; padding: 2rem 1.5rem; background-color: var(--bg-dark-primary); }
    .form-body { max-width: 100%; }
    .form-title-section h2 { font-size: clamp(1.3rem, 4vw, 1.6rem); }
}
@media (max-width: 575.98px) {
    .time-grid { grid-template-columns: repeat(auto-fill, minmax(88px, 1fr)); max-height: 260px; }
    .btn-submit, .btn-secondary { width: 100%; justify-content: center; }
}
/* --- Galeri Sayfası Stilleri --- */
.gallery-page {
    padding-top: 80px; /* Header'ın altında başlasın */
    background-color: var(--bg-dark-primary); /* Koyu arkaplan */
}
.gallery-title {
    font-family: var(--font-serif);
    color: #00f; /* BURAYA direkt hex/rgb koy */
    text-shadow: 
        0 0 5px #00f,
        0 0 10px #00f,
        0 0 20px #00f,
        0 0 40px #00f;
    font-size: 2.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1rem;
}
.gallery-item {
    display: block;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.gallery-item:hover img {
    transform: scale(1.1);
}
#galleryModal .modal-content {
    background: transparent;
    border: none;
}
/* --- Ana Site Header Menüsü --- */
.main-header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 10;
}
.main-header .nav-link {
    color: rgba(255, 255, 255, 0.7);
    font-weight: 600;
    padding: 1rem;
    transition: color .2s ease;
}
.main-header .nav-link:hover {
    color: #ffffff;
}
/* --- Galeri Sayfası Stilleri (GÜNCELLENDİ: Sabit Kare Grid) --- */
.gallery-page {
    padding-top: 100px;
    background-color: var(--bg-dark-primary);
    min-height: 100vh;
}

.gallery-title-container {
    text-align: center;
    margin-bottom: 4rem;
}

.gallery-title {
     font-family: var(--font-serif);
    color: #00f; /* BURAYA direkt hex/rgb koy */
    text-shadow: 
        0 0 5px #00f,
        0 0 10px #00f,
        0 0 20px #00f,
        0 0 40px #00f;
    font-size: 2.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.gallery-subtitle {
    font-family: var(--font-sans);
    color: var(--text-muted);
    font-size: 1rem;
}

/* Sabit oranlı grid yapısı */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1rem;
}

.gallery-item {
    display: block;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.4);
    cursor: pointer;
    position: relative;
    /* Resim kutularını kare yapar */
    aspect-ratio: 1 / 1;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    /* Resmi kutuya sığdırır ve orantılı şekilde kırpar */
    object-fit: cover;
    transition: all 0.4s ease;
}

/* Hover Efektleri */
.gallery-item:hover img {
    transform: scale(1.05);
    filter: brightness(0.6);
}

.gallery-item::before {
    content: '\f00e'; /* Font Awesome büyüteç ikonu */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    color: white;
    font-size: 3rem;
    opacity: 0;
    transition: all 0.4s ease;
    z-index: 2;
}

.gallery-item:hover::before {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

/* Lightbox (Açılır Pencere) Stili */
#galleryModal .modal-dialog {
    display: flex;
    align-items: center; /* Dikeyde ortala */
    min-height: calc(100% - 1rem);
    max-width: 90vw;
}
#galleryModal .modal-content {
    background: transparent;
    border: none;
    box-shadow: none;
}
#galleryModal .modal-body {
    position: relative;
    padding: 0;
}
#galleryModal .btn-close {
    position: absolute;
    top: -25px; /* Butonu resmin biraz dışına al */
    right: -5px;
    z-index: 10;
    font-size: 1.2rem;
    opacity: 0.8;
    background-color: white;
    border-radius: 50%;
    padding: 0.5em;
}
#galleryModal .btn-close:hover {
    opacity: 1;
}

/* Mobil için tek sütun */
@media (max-width: 576px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }
}

/* Mobil Cihazlar için Galeri Düzeni */
@media (max-width: 991px) {
    .gallery-grid {
        column-count: 2; /* Tablette 2 sütun */
    }
}
@media (max-width: 576px) {
    .gallery-grid {
        column-count: 1; /* Telefonda tek sütun */
    }
}
/* --- Admin Galeri Düzeltmeleri --- */

/* Resim kutularını sabit kare oranda yap */
.gallery-admin-image {
    width: 100%;
    padding-bottom: 100%; /* 1/1 (kare) en-boy oranı */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 0.25rem; /* Bootstrap'in .rounded sınıfına eşdeğer */
}

/* Tıklayınca açılan pencereyi (Modal) ortala */
#galleryModal .modal-dialog {
    display: flex;
    align-items: center; /* Dikeyde ortala */
    min-height: calc(100% - 1rem);
}
/* Lightbox2 Koyu Tema Uyumu */
.lb-dataContainer {
    background-color: rgba(0, 0, 0, 0.8);
}
.lb-data .lb-caption {
    color: #f0f0f0;
}
.lb-data .lb-number {
    color: #bbbbbb;
}
/* --- Arkaplan Müzik Çalar Stilleri --- */
#youtube-player-container {
    position: fixed;
    top: -9999px;
    left: -9999px;
    width: 0;
    height: 0;
    overflow: hidden;
    visibility: hidden;
}

#music-toggle-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 100;
    width: 50px;
    height: 50px;
    background-color: var(--button-color, #FF5C00);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
}

#music-toggle-btn:hover {
    transform: scale(1.1);
    background-color: var(--button-color-hover, #FF7F2A);
}

#music-toggle-btn .fa-volume-up {
    display: none;
}
#music-toggle-btn .fa-volume-mute {
    display: block;
}

#music-toggle-btn.playing .fa-volume-up {
    display: block;
}
#music-toggle-btn.playing .fa-volume-mute {
    display: none;
}
/* --- Videolu Karşılama Ekranı Stilleri --- */
#welcome-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    z-index: 10000;
    overflow: hidden; /* Videonun taşmasını engelle */
    transition: opacity 0.5s ease;
}

#welcome-video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: auto;
    height: auto;
    min-width: 100%;
    min-height: 100%;
    transform: translate(-50%, -50%);
    z-index: 1; /* En alttaki katman */
}

.welcome-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Siyah, %50 opaklıkta. Rengi ve opaklığı değiştirebilirsin. */
    z-index: 2;
}

.welcome-content {
    position: relative; /* İçeriğin overlay'in üzerinde kalmasını sağlar */
    z-index: 3;
    animation: fadeInWelcome 1s ease forwards;
}

.welcome-logo { max-height: 60px; margin-bottom: 2rem; }
.welcome-title { font-family: var(--font-serif); font-size: 3rem; color: var(--text-light); }
.welcome-subtitle { font-size: 1.1rem; color: var(--text-muted); margin-bottom: 2.5rem; }

/* Karşılama ekranı gizlenirken kullanılacak sınıf */
#welcome-screen.hidden {
    opacity: 0;
    pointer-events: none;
}

@keyframes fadeInWelcome {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
.gallery-item-wrapper {
    text-align: center;
    margin-bottom: 20px;
}

.gallery-caption {
    margin-top: 8px;
    font-size: 14px;
     color: rgb(0, 60, 255); /* Neon rengi (cyan) */
    text-shadow: 
        0 0 5px rgb(0, 60, 255),
        0 0 10px rgb(0, 60, 255),
        0 0 20px rgb(0, 60, 255),
        0 0 40px rgb(0, 60, 255);
}