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

:root {
    --bg-color: #080808;
    --card-bg: #111111;
    --silver: #c8c8c8;
    --silver-light: #e8e8e8;
    --silver-dark: #888888;
    --gold-tint: #b8a878;
    --accent: #a8a8a8;
    --text-primary: #f0f0f0;
    --text-secondary: #888;
    --glow: rgba(200, 200, 200, 0.15);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: 'Raleway', sans-serif;
    overflow-x: hidden;
}

/* Noise texture overlay */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 9999;
    opacity: 0.4;
}

.whatsapp-floater {
    position: fixed;
    right: 22px;
    bottom: 22px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 18px;
    border-radius: 999px;
    background: linear-gradient(135deg, #25d366, #128c4a);
    color: #ffffff;
    text-decoration: none;
    font-weight: 700;
    letter-spacing: 0.4px;
    box-shadow: 0 18px 40px rgba(18, 140, 74, 0.35);
    z-index: 1100;
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.whatsapp-floater i {
    font-size: 1.3rem;
}

.whatsapp-floater:hover {
    transform: translateY(-2px);
    box-shadow: 0 22px 46px rgba(18, 140, 74, 0.45);
    filter: brightness(1.03);
}

.whatsapp-floater:focus-visible {
    outline: 2px solid rgba(255,255,255,0.7);
    outline-offset: 3px;
}

/* Navigasyon */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 22px 6%;
    border-bottom: 1px solid rgba(200,200,200,0.1);
    background: rgba(8,8,8,0.95);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-brand {
    font-family: 'Cinzel', serif;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 5px;
    color: var(--silver);
    text-shadow: 0 0 20px rgba(200,200,200,0.3);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.booking-button {
    background: transparent;
    border: 1px solid rgba(200,200,200,0.4);
    color: var(--silver);
    padding: 10px 22px;
    cursor: pointer;
    font-family: 'Raleway', sans-serif;
    font-weight: 600;
    font-size: 0.75rem;
    letter-spacing: 2px;
    transition: all 0.3s ease;
    text-transform: uppercase;
}

.nav-link-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.booking-button:hover {
    background: rgba(200,200,200,0.08);
    border-color: var(--silver-light);
    color: var(--silver-light);
    box-shadow: 0 0 20px rgba(200,200,200,0.1);
}

/* Hero Section */
.hero {
    min-height: 92vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    background: 
        radial-gradient(ellipse at 50% 0%, rgba(180,180,180,0.05) 0%, transparent 60%),
        linear-gradient(180deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.6) 50%, rgba(0,0,0,0.95) 100%),
        url('https://images.unsplash.com/photo-1503951914875-452162b0f3f1?auto=format&fit=crop&w=1500&q=80');
    background-size: cover;
    background-position: center;
}

/* Diagonal silver accent lines */
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        linear-gradient(135deg, transparent 40%, rgba(200,200,200,0.02) 50%, transparent 60%),
        linear-gradient(45deg, transparent 40%, rgba(200,200,200,0.02) 50%, transparent 60%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    animation: fadeUp 1s ease both;
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Emblem */
.emblem-wrap {
    position: relative;
    width: 280px;
    height: 280px;
    margin: 0 auto 30px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.emblem-ring {
    position: absolute;
    inset: -8px;
    border-radius: 50%;
    border: 1px solid rgba(200,200,200,0.2);
    box-shadow: 
        0 0 30px rgba(200,200,200,0.08),
        inset 0 0 30px rgba(200,200,200,0.03);
    animation: pulse-ring 3s ease-in-out infinite;
}

.emblem-ring::before {
    content: '';
    position: absolute;
    inset: 6px;
    border-radius: 50%;
    border: 1px solid rgba(200,200,200,0.1);
}

@keyframes pulse-ring {
    0%, 100% { 
        box-shadow: 0 0 20px rgba(200,200,200,0.06), inset 0 0 20px rgba(200,200,200,0.02);
        border-color: rgba(200,200,200,0.15);
    }
    50% { 
        box-shadow: 0 0 50px rgba(200,200,200,0.15), inset 0 0 40px rgba(200,200,200,0.05);
        border-color: rgba(200,200,200,0.35);
    }
}

.hero-logo {
    width: 270px;
    height: 270px;
    object-fit: cover;
    border-radius: 50%;
    filter: drop-shadow(0 0 20px rgba(200,200,200,0.2)) brightness(1.05) contrast(1.1);
    transition: transform 0.4s ease, filter 0.4s ease;
}

.emblem-wrap:hover .hero-logo {
    transform: scale(1.05);
    filter: drop-shadow(0 0 40px rgba(200,200,200,0.35)) brightness(1.1) contrast(1.15);
}

.hero-content h1 {
    font-family: 'Cinzel', serif;
    font-size: 2.6rem;
    font-weight: 900;
    letter-spacing: 8px;
    margin-bottom: 12px;
    color: var(--silver-light);
    text-shadow: 0 0 40px rgba(200,200,200,0.2);
}

.hero-content p {
    font-family: 'Raleway', sans-serif;
    font-size: 0.85rem;
    letter-spacing: 4px;
    color: var(--silver-dark);
    text-transform: uppercase;
    margin-bottom: 10px;
}

/* Decorative divider */
.hero-content p::before,
.hero-content p::after {
    content: ' — ';
    color: rgba(200,200,200,0.3);
}

.cta-btn {
    display: inline-block;
    margin-top: 32px;
    padding: 14px 48px;
    background: linear-gradient(135deg, rgba(200,200,200,0.12), rgba(200,200,200,0.05));
    color: var(--silver-light);
    text-decoration: none;
    font-family: 'Cinzel', serif;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 4px;
    border: 1px solid rgba(200,200,200,0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.cta-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent, rgba(200,200,200,0.08), transparent);
    transform: translateX(-100%);
    transition: transform 0.5s ease;
}

.cta-btn:hover {
    background: linear-gradient(135deg, rgba(200,200,200,0.2), rgba(200,200,200,0.08));
    border-color: rgba(200,200,200,0.6);
    box-shadow: 0 0 30px rgba(200,200,200,0.1);
    color: #fff;
}

.cta-btn:hover::before {
    transform: translateX(100%);
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.9);
    backdrop-filter: blur(4px);
    animation: fadeIn 0.2s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

.modal-content {
    background: linear-gradient(160deg, #141414, #0d0d0d);
    margin: 8% auto;
    padding: 40px 35px;
    width: 90%;
    max-width: 420px;
    border: 1px solid rgba(200,200,200,0.15);
    position: relative;
    text-align: center;
    box-shadow: 0 0 60px rgba(0,0,0,0.8), inset 0 1px 0 rgba(200,200,200,0.05);
    animation: slideUp 0.3s ease both;
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Corner accents */
.modal-content::before,
.modal-content::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    border-color: rgba(200,200,200,0.3);
    border-style: solid;
}

.modal-content::before {
    top: 10px;
    left: 10px;
    border-width: 1px 0 0 1px;
}

.modal-content::after {
    bottom: 10px;
    right: 10px;
    border-width: 0 1px 1px 0;
}

.close-btn {
    position: absolute;
    right: 18px;
    top: 12px;
    font-size: 22px;
    cursor: pointer;
    color: var(--silver-dark);
    transition: color 0.2s;
    line-height: 1;
}

.close-btn:hover { color: var(--silver-light); }

.modal-logo {
    height: 90px;
    margin-bottom: 18px;
    filter: brightness(1.05) contrast(1.1);
}

.modal-header h3 {
    font-family: 'Cinzel', serif;
    font-size: 0.75rem;
    letter-spacing: 4px;
    color: var(--silver-dark);
    text-transform: uppercase;
    margin-bottom: 5px;
}

/* Silver divider */
.modal-header::after {
    content: '';
    display: block;
    width: 40px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--silver-dark), transparent);
    margin: 15px auto 0;
}

.modal-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 28px;
}

.opt-btn {
    padding: 14px 20px;
    border: 1px solid rgba(200,200,200,0.12);
    background: rgba(255,255,255,0.03);
    color: var(--silver);
    cursor: pointer;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: 'Raleway', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: all 0.25s ease;
}

.opt-btn i { font-size: 0.9rem; opacity: 0.7; }

.opt-btn:hover {
    background: rgba(200,200,200,0.06);
    border-color: rgba(200,200,200,0.3);
    color: var(--silver-light);
}

.opt-btn.cancel:hover { 
    border-color: rgba(255,77,77,0.4);
    color: #ff6666; 
}

.opt-btn.call {
    background: linear-gradient(135deg, rgba(200,200,200,0.08), rgba(200,200,200,0.03));
    border-color: rgba(200,200,200,0.2);
}

.opt-btn.call:hover {
    background: rgba(200,200,200,0.12);
    border-color: rgba(200,200,200,0.4);
}

/* ══════════════════════════════════════════
   BOOKING SECTION
══════════════════════════════════════════ */
.booking-section {
    background: var(--bg-color);
    padding: 80px 6% 100px;
    border-top: 1px solid rgba(200,200,200,0.06);
}

.booking-inner {
    max-width: 680px;
    margin: 0 auto;
}

.section-title {
    font-family: 'Cinzel', serif;
    font-size: 1.5rem;
    letter-spacing: 6px;
    color: var(--silver);
    text-align: center;
    margin-bottom: 8px;
}

.section-sub {
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.78rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 48px;
}

.booking-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.form-row { display: flex; flex-direction: column; gap: 8px; }
.form-row.two-col { flex-direction: row; gap: 14px; }
.form-row.two-col .input-field { flex: 1; }

.field-label {
    font-size: 0.65rem;
    letter-spacing: 3px;
    color: var(--text-secondary);
    text-transform: uppercase;
    margin-bottom: 2px;
}

.input-field {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(200,200,200,0.15);
    color: var(--text-primary);
    padding: 14px 16px;
    font-family: 'Raleway', sans-serif;
    font-size: 0.88rem;
    outline: none;
    width: 100%;
    transition: border-color 0.25s;
    border-radius: 2px;
    appearance: none;
    -webkit-appearance: none;
}

.input-field:focus {
    border-color: rgba(200,200,200,0.45);
    background: rgba(255,255,255,0.05);
}

.input-field option { background: #111; color: #f0f0f0; }
.input-field optgroup { color: #555; font-size: 0.75rem; }

/* Date input calendar icon colour */
input[type="date"]::-webkit-calendar-picker-indicator { filter: invert(0.6); cursor: pointer; }

/* ── Barber grid ── */
.barber-grid {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.barber-btn {
    flex: 1;
    min-width: 100px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(200,200,200,0.15);
    color: var(--silver);
    padding: 14px 10px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    font-family: 'Raleway', sans-serif;
    font-size: 0.78rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    transition: all 0.25s;
    border-radius: 2px;
}

.barber-btn:hover {
    background: rgba(200,200,200,0.06);
    border-color: rgba(200,200,200,0.3);
}

.barber-btn.selected {
    background: rgba(200,200,200,0.1);
    border-color: var(--silver);
    color: var(--silver-light);
    box-shadow: 0 0 16px rgba(200,200,200,0.08);
}

.barber-icon { font-size: 1.3rem; }
.barber-name { font-size: 0.72rem; letter-spacing: 2px; }

/* ── Time slots ── */
.time-slots-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 4px;
}

.time-slot-btn {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(200,200,200,0.15);
    color: var(--silver);
    padding: 9px 16px;
    font-family: 'Raleway', sans-serif;
    font-size: 0.78rem;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.2s;
    border-radius: 2px;
}

.time-slot-btn:hover:not(.unavailable) {
    background: rgba(200,200,200,0.08);
    border-color: rgba(200,200,200,0.4);
}

.time-slot-btn.selected {
    background: rgba(200,200,200,0.15);
    border-color: var(--silver);
    color: #fff;
    font-weight: 600;
}

.time-slot-btn.unavailable {
    opacity: 0.3;
    cursor: not-allowed;
    text-decoration: line-through;
}

.slots-loading, .slots-empty {
    color: var(--text-secondary);
    font-size: 0.82rem;
    letter-spacing: 1px;
    padding: 12px 0;
}

/* ── Submit ── */
.submit-btn {
    margin-top: 8px;
    background: linear-gradient(135deg, rgba(200,200,200,0.12), rgba(200,200,200,0.05));
    border: 1px solid rgba(200,200,200,0.3);
    color: var(--silver-light);
    padding: 16px 32px;
    font-family: 'Cinzel', serif;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 4px;
    cursor: pointer;
    width: 100%;
    transition: all 0.3s;
    text-transform: uppercase;
}

.submit-btn:hover:not(:disabled) {
    background: linear-gradient(135deg, rgba(200,200,200,0.22), rgba(200,200,200,0.1));
    border-color: rgba(200,200,200,0.6);
    box-shadow: 0 0 30px rgba(200,200,200,0.08);
}

.submit-btn:disabled { opacity: 0.55; cursor: not-allowed; }

/* ── Hours widget ── */
.hours-widget {
    margin-top: 60px;
    border-top: 1px solid rgba(200,200,200,0.08);
    padding-top: 36px;
}

.hours-status {
    font-size: 0.8rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--silver);
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
    flex-shrink: 0;
}

.status-dot.open   { background: #4caf50; box-shadow: 0 0 8px rgba(76,175,80,0.6); }
.status-dot.closed { background: #ff5252; box-shadow: 0 0 8px rgba(255,82,82,0.4); }

.hours-grid {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.hours-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: var(--text-secondary);
    padding: 6px 0;
    border-bottom: 1px solid rgba(200,200,200,0.05);
}

.hours-row.today { color: var(--silver); font-weight: 600; }
.closed-label { color: #ff5252; font-size: 0.75rem; letter-spacing: 1px; }

/* ── manage note ── */
.manage-note {
    color: var(--text-secondary);
    font-size: 0.78rem;
    text-align: center;
    margin-top: 16px;
    line-height: 1.6;
}

/* ══════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════ */
@media (max-width: 600px) {
    .whatsapp-floater {
        right: 14px;
        bottom: 14px;
        padding: 13px 15px;
    }

    .whatsapp-floater span {
        display: none;
    }

    .hero-content h1 { font-size: 1.8rem; letter-spacing: 5px; }
    .nav-brand { font-size: 0.85rem; letter-spacing: 3px; }
    .emblem-wrap { width: 230px; height: 230px; }
    .hero-logo { width: 220px; height: 220px; }
    .form-row.two-col { flex-direction: column; }
    .barber-btn { min-width: 80px; }
    .booking-section { padding: 60px 5% 80px; }
    .section-title { font-size: 1.2rem; letter-spacing: 4px; }
}