/* ═══════════════════════════════════════════════════════════════
   Otel Rezervasyon Formu — Frontend Stilleri
   Estetik: Lüks / Art Deco inspired, altın vurgular
   ═══════════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,600;1,400&family=Jost:wght@300;400;500&display=swap');

:root {
    --hrf-accent:    #b8860b;
    --hrf-dark:      #1a1410;
    --hrf-surface:   #faf8f4;
    --hrf-border:    #e5ddd0;
    --hrf-text:      #3a3028;
    --hrf-muted:     #8a7f72;
    --hrf-error:     #c0392b;
    --hrf-success:   #27ae60;
    --hrf-radius:    6px;
    --hrf-shadow:    0 20px 60px rgba(0,0,0,.18), 0 4px 16px rgba(0,0,0,.10);
    --hrf-transition: .25s cubic-bezier(.4,0,.2,1);
}

/* ── Buton ─────────────────────────────────────────────────── */
.hrf-buton-kapsayici {
    margin: 28px 0;
    text-align: center;
}

.hrf-rezervasyon-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 36px;
    background: var(--hrf-accent);
    color: #fff;
    font-family: 'Jost', sans-serif;
    font-weight: 500;
    font-size: 15px;
    letter-spacing: .08em;
    text-transform: uppercase;
    border: none;
    border-radius: var(--hrf-radius);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: transform var(--hrf-transition), box-shadow var(--hrf-transition), background var(--hrf-transition);
    box-shadow: 0 4px 18px rgba(184,134,11,.35);
}

.hrf-rezervasyon-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent 40%, rgba(255,255,255,.18) 60%, transparent 70%);
    transform: translateX(-100%);
    transition: transform .5s ease;
}

.hrf-rezervasyon-btn:hover::before { transform: translateX(100%); }
.hrf-rezervasyon-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(184,134,11,.45);
}
.hrf-rezervasyon-btn:active { transform: translateY(0); }

.hrf-btn-icon { font-size: 18px; }

/* ── Modal Overlay ─────────────────────────────────────────── */
.hrf-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(20,15,10,.65);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 99990;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: hrf-fade-in .2s ease;
}

.hrf-modal-overlay[hidden] { display: none; }

@keyframes hrf-fade-in {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* ── Modal Kutu ────────────────────────────────────────────── */
.hrf-modal-kutu {
    background: var(--hrf-surface);
    border-radius: 12px;
    width: 100%;
    max-width: 640px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: var(--hrf-shadow);
    animation: hrf-slide-up .3s cubic-bezier(.34,1.56,.64,1);
    font-family: 'Jost', sans-serif;
}

@keyframes hrf-slide-up {
    from { opacity: 0; transform: translateY(30px) scale(.97); }
    to   { opacity: 1; transform: translateY(0)    scale(1);   }
}

/* Scrollbar */
.hrf-modal-kutu::-webkit-scrollbar { width: 6px; }
.hrf-modal-kutu::-webkit-scrollbar-track { background: transparent; }
.hrf-modal-kutu::-webkit-scrollbar-thumb { background: var(--hrf-border); border-radius: 3px; }

/* ── Modal Header ──────────────────────────────────────────── */
.hrf-modal-header {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 24px 28px 20px;
    border-bottom: 1px solid var(--hrf-border);
    background: linear-gradient(135deg, var(--hrf-dark) 0%, #2d2218 100%);
    border-radius: 12px 12px 0 0;
    position: relative;
}

.hrf-modal-logo {
    font-size: 32px;
    flex-shrink: 0;
}

.hrf-modal-header h2 {
    margin: 0 0 2px;
    font-family: 'Cormorant Garamond', serif;
    font-size: 22px;
    font-weight: 600;
    color: #fff;
    letter-spacing: .03em;
}

.hrf-modal-otel {
    margin: 0;
    font-size: 13px;
    color: var(--hrf-accent);
    letter-spacing: .05em;
    font-weight: 500;
}

.hrf-modal-kapat {
    position: absolute;
    top: 14px;
    right: 16px;
    background: rgba(255,255,255,.1);
    border: none;
    color: #fff;
    font-size: 20px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    cursor: pointer;
    line-height: 1;
    transition: background var(--hrf-transition);
    display: flex;
    align-items: center;
    justify-content: center;
}
.hrf-modal-kapat:hover { background: rgba(255,255,255,.2); }

/* ── Form Grid ─────────────────────────────────────────────── */
.hrf-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px 20px;
    padding: 24px 28px 0;
}

.hrf-alan { display: flex; flex-direction: column; gap: 5px; }
.hrf-alan.hrf-tam { grid-column: 1 / -1; }

.hrf-alan label {
    font-size: 12px;
    font-weight: 500;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--hrf-muted);
}

.hrf-alan label span { color: var(--hrf-accent); }

.hrf-alan input,
.hrf-alan select,
.hrf-alan textarea {
    padding: 10px 13px;
    border: 1.5px solid var(--hrf-border);
    border-radius: var(--hrf-radius);
    background: #fff;
    color: var(--hrf-text);
    font-family: 'Jost', sans-serif;
    font-size: 14px;
    transition: border-color var(--hrf-transition), box-shadow var(--hrf-transition);
    outline: none;
    width: 100%;
    box-sizing: border-box;
}

.hrf-alan input:focus,
.hrf-alan select:focus,
.hrf-alan textarea:focus {
    border-color: var(--hrf-accent);
    box-shadow: 0 0 0 3px rgba(184,134,11,.12);
}

.hrf-alan input.hrf-gecersiz,
.hrf-alan select.hrf-gecersiz,
.hrf-alan textarea.hrf-gecersiz {
    border-color: var(--hrf-error);
}

.hrf-alan textarea { resize: vertical; min-height: 80px; }

.hrf-hata {
    font-size: 11px;
    color: var(--hrf-error);
    display: none;
}
.hrf-hata.aktif { display: block; }

/* ── Form Footer ───────────────────────────────────────────── */
.hrf-form-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    padding: 20px 28px 24px;
    border-top: 1px solid var(--hrf-border);
    margin-top: 20px;
}

.hrf-kvkk {
    font-size: 11px;
    color: var(--hrf-muted);
    margin: 0;
    max-width: 300px;
    line-height: 1.5;
}

.hrf-kvkk a {
    color: var(--hrf-accent);
    text-decoration: none;
}
.hrf-kvkk a:hover { text-decoration: underline; }

.hrf-gonder-btn {
    padding: 12px 32px;
    background: var(--hrf-accent);
    color: #fff;
    border: none;
    border-radius: var(--hrf-radius);
    font-family: 'Jost', sans-serif;
    font-weight: 500;
    font-size: 14px;
    letter-spacing: .06em;
    text-transform: uppercase;
    cursor: pointer;
    transition: transform var(--hrf-transition), box-shadow var(--hrf-transition), opacity var(--hrf-transition);
    box-shadow: 0 3px 14px rgba(184,134,11,.3);
}

.hrf-gonder-btn:hover:not(:disabled) {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(184,134,11,.4);
}

.hrf-gonder-btn:disabled {
    opacity: .65;
    cursor: not-allowed;
}

/* ── Mesaj Kutusu ──────────────────────────────────────────── */
.hrf-mesaj {
    margin: 0 28px;
    padding: 14px 18px;
    border-radius: var(--hrf-radius);
    font-size: 14px;
    line-height: 1.5;
    border-left: 4px solid;
}

.hrf-mesaj.hrf-basarili {
    background: #f0faf3;
    border-color: var(--hrf-success);
    color: #1d6b38;
}

.hrf-mesaj.hrf-hata-mesaj {
    background: #fdf0ef;
    border-color: var(--hrf-error);
    color: #8c1c14;
}

/* ── Responsive ────────────────────────────────────────────── */
@media (max-width: 600px) {
    .hrf-form-grid { grid-template-columns: 1fr; }
    .hrf-alan.hrf-tam { grid-column: 1; }
    .hrf-form-footer { flex-direction: column; align-items: stretch; }
    .hrf-gonder-btn { text-align: center; }
    .hrf-modal-kutu { border-radius: 10px; }
}
