@charset "UTF-8";

/* Eski kahverengi/koyu tema kalıntılarını geçersiz kıl */
.barber-stripe { display: none !important; }
body,
body.theme-barber,
body.theme-corporate,
body.public-body,
body.admin-body {
    background: #f4f8fc !important;
    color: #1e293b !important;
}
.navbar-dark.app-navbar,
.app-navbar.navbar-dark {
    background: #ffffff !important;
    color: #1e293b !important;
}

/* ============================================================
   Kurumsal Açık Mavi Tema
   ============================================================ */

:root {
    --primary: #1a6fd4;
    --primary-light: #3b8ee8;
    --primary-dark: #1558a8;
    --primary-soft: #e8f2fc;
    --primary-muted: #d4e6f7;
    --accent: #0ea5e9;
    --bg-page: #f4f8fc;
    --bg-card: #ffffff;
    --bg-card-hover: #f8fbff;
    --bg-subtle: #eef4fa;
    --text: #1e293b;
    --text-muted: #64748b;
    --text-light: #94a3b8;
    --border: #e2e8f0;
    --success: #16a34a;
    --success-bg: #ecfdf5;
    --danger: #dc2626;
    --danger-bg: #fef2f2;
    --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.06);
    --shadow: 0 4px 20px rgba(26, 111, 212, 0.08);
    --radius: 12px;
    --radius-sm: 8px;
    --font: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body.theme-corporate {
    font-family: var(--font);
    background: var(--bg-page) !important;
    color: var(--text) !important;
    min-height: 100vh;
    line-height: 1.6;
}

body.theme-corporate h1,
body.theme-corporate h2,
body.theme-corporate h3,
body.theme-corporate h4 {
    font-weight: 700;
    color: var(--text);
}

.top-accent {
    height: 4px;
    background: linear-gradient(90deg, var(--primary-dark) 0%, var(--primary-light) 50%, var(--accent) 100%);
}

.app-navbar {
    background: var(--bg-card) !important;
    border-bottom: 1px solid var(--border);
    padding: 0.75rem 0;
    box-shadow: var(--shadow-sm);
}

.salon-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

.brand-icon {
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.15rem;
    box-shadow: 0 4px 12px rgba(26, 111, 212, 0.3);
}

.brand-text {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-dark) !important;
}

.brand-badge {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    background: var(--primary-soft);
    color: var(--primary);
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    margin-left: 0.5rem;
    font-weight: 600;
}

.navbar-light .nav-link {
    color: var(--text-muted) !important;
    border-radius: var(--radius-sm);
    padding: 0.5rem 0.9rem !important;
    font-weight: 500;
}

.navbar-light .nav-link:hover,
.navbar-light .nav-link.active {
    color: var(--primary) !important;
    background: var(--primary-soft);
}

.btn-gold {
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%) !important;
    border: none !important;
    color: #fff !important;
    font-weight: 600;
    border-radius: var(--radius-sm);
}

.btn-gold:hover {
    color: #fff !important;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%) !important;
}

.btn-outline-gold {
    border: 2px solid var(--primary) !important;
    color: var(--primary) !important;
    background: transparent !important;
    border-radius: var(--radius-sm);
    font-weight: 600;
}

.btn-outline-gold:hover {
    background: var(--primary) !important;
    color: #fff !important;
}

.public-body, .admin-body { background: var(--bg-page) !important; }
.public-main { min-height: calc(100vh - 260px); }
.app-main { flex: 1; }

.app-footer, .public-footer {
    border-top: 1px solid var(--border);
    color: var(--text-muted);
    background: var(--bg-card) !important;
}

.public-footer .footer-heading {
    font-size: 0.75rem;
    text-transform: uppercase;
    color: var(--primary);
    font-weight: 700;
}

.hero-section {
    padding: 3.5rem 0 2.5rem;
    background: linear-gradient(180deg, #fff 0%, var(--bg-page) 100%) !important;
    border-bottom: 1px solid var(--border);
    position: relative;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 70% 60% at 80% 20%, rgba(59, 142, 232, 0.08) 0%, transparent 55%);
    pointer-events: none;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: var(--primary-soft);
    border: 1px solid var(--primary-muted);
    color: var(--primary);
    padding: 0.35rem 1rem;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 600;
}

.hero-title {
    font-size: clamp(2rem, 4.5vw, 3.25rem);
    color: var(--text) !important;
}

.hero-lead { color: var(--text-muted); font-size: 1.05rem; }

.hero-meta { display: flex; flex-wrap: wrap; gap: 1.25rem; margin-top: 1.75rem; }
.hero-meta-item { display: flex; align-items: center; gap: 0.5rem; color: var(--text-muted); }
.hero-meta-item i { color: var(--primary); }

.hero-card, .glass-card {
    background: var(--bg-card) !important;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: var(--shadow);
}

.hero-card-icon {
    width: 52px;
    height: 52px;
    background: var(--primary-soft);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.hero-steps { list-style: none; padding: 0; margin: 0 0 1rem; }
.hero-steps li { display: flex; align-items: center; gap: 0.75rem; color: var(--text-muted); padding: 0.4rem 0; }
.hero-steps li span {
    width: 26px; height: 26px;
    background: var(--primary);
    color: #fff;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 0.75rem; font-weight: 700;
}

.features-strip { padding: 2rem 0; background: var(--bg-card) !important; border-bottom: 1px solid var(--border); }
.feature-pill i { font-size: 1.75rem; color: var(--primary); }
.feature-pill strong { color: var(--text); }
.feature-pill span { color: var(--text-muted); font-size: 0.85rem; }

.section-block { padding: 3.5rem 0; }
.section-alt { background: var(--bg-subtle) !important; }
.section-label { display: block; font-size: 0.75rem; text-transform: uppercase; color: var(--primary); font-weight: 700; margin-bottom: 0.4rem; }
.section-header h2 { color: var(--text) !important; }
.section-header p { color: var(--text-muted); }

.service-card {
    background: var(--bg-card) !important;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
}

.service-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--primary-muted); }
.service-icon { width: 44px; height: 44px; background: var(--primary-soft); border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; color: var(--primary); }
.service-desc { color: var(--text-muted); }
.service-price { color: var(--primary) !important; font-weight: 700; }

.team-card {
    background: var(--bg-card) !important;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.75rem;
    box-shadow: var(--shadow-sm);
}

.team-avatar {
    width: 72px; height: 72px; margin: 0 auto 1rem;
    background: var(--primary-soft);
    border: 2px solid var(--primary-muted);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 2rem; color: var(--primary);
}

.cta-banner {
    padding: 3.5rem 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%) !important;
    color: #fff;
}

.cta-banner h2 { color: #fff !important; }
.cta-banner p { color: rgba(255,255,255,0.9); }
.cta-banner .btn-gold { background: #fff !important; color: var(--primary) !important; }

.page-header h1 { color: var(--text) !important; }
.page-header p { color: var(--text-muted); }

.stat-card, .card-panel, .form-panel, .service-card, .hero-card, .success-card {
    background: var(--bg-card) !important;
    border: 1px solid var(--border);
    color: var(--text);
}

.stat-card .stat-value { color: var(--text) !important; }
.stat-card .stat-label { color: var(--text-muted); }
.icon-gold { background: var(--primary-soft) !important; color: var(--primary) !important; }

.card-panel .card-header { background: var(--bg-subtle) !important; color: var(--text); border-color: var(--border); }

.table-app { color: var(--text) !important; }
.table-app thead th { background: var(--bg-subtle) !important; color: var(--text-muted); border-color: var(--border); }
.table-app tbody td { border-color: var(--border); }
.table-app tbody tr:hover { background: var(--bg-card-hover) !important; }

.form-control, .form-select {
    background: var(--bg-card) !important;
    border: 1px solid var(--border);
    color: var(--text) !important;
}

.form-control:focus, .form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(26, 111, 212, 0.15);
}

.form-label { color: var(--text) !important; }

.appointment-slot {
    background: var(--primary-soft) !important;
    border-left: 4px solid var(--primary);
    color: var(--text);
}

.text-gold { color: var(--primary) !important; }
.text-muted { color: var(--text-muted) !important; }

.empty-state { color: var(--text-muted); }
.empty-state i { color: var(--primary-muted); }

.alert-success { background: var(--success-bg) !important; color: #166534 !important; border-color: #bbf7d0; }
.alert-danger { background: var(--danger-bg) !important; color: #991b1b !important; }

.wizard-step { color: var(--text-muted); border-color: var(--border); }
.wizard-step.active { color: var(--primary); border-color: var(--primary); }
.wizard-step span { background: var(--bg-subtle); border: 1px solid var(--border); color: var(--text-muted); }
.wizard-step.active span, .wizard-step.done span { background: var(--primary); color: #fff; }

.select-card-body {
    background: var(--bg-card) !important;
    border: 2px solid var(--border);
    color: var(--text);
}

.select-card input:checked + .select-card-body {
    border-color: var(--primary);
    background: var(--primary-soft) !important;
}

.calendar-nav .btn { background: var(--bg-card) !important; color: var(--text) !important; border-color: var(--border); }

.btn-outline-secondary.text-light {
    color: var(--text-muted) !important;
    border-color: var(--border);
}

/* —— Haftalık randevu takvimi —— */
.week-calendar { margin-bottom: 0; }

.week-range strong { color: var(--text); }

.week-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 0.65rem;
    min-height: 280px;
}

.week-day {
    background: var(--bg-subtle);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    display: flex;
    flex-direction: column;
    min-height: 220px;
    overflow: hidden;
    transition: box-shadow 0.2s, border-color 0.2s;
}

.week-day:hover { border-color: var(--primary-muted); }

.week-day-today {
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(26, 111, 212, 0.15);
}

.week-day-today .week-day-head {
    background: var(--primary-soft);
}

.week-day-head {
    background: var(--bg-card);
    border-bottom: 1px solid var(--border);
    padding: 0.65rem 0.5rem;
    text-align: center;
}

.week-day-name {
    display: block;
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--primary-dark);
}

.week-day-date {
    display: block;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text);
    line-height: 1.2;
}

.week-day-count {
    display: block;
    font-size: 0.7rem;
    color: var(--text-muted);
    margin-top: 0.15rem;
}

.week-day-body {
    flex: 1;
    padding: 0.4rem;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    overflow-y: auto;
    max-height: 320px;
}

.week-empty {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-size: 0.8rem;
    gap: 0.35rem;
    padding: 1rem 0;
}

.week-empty i { font-size: 1.5rem; opacity: 0.5; }

.week-appt {
    display: block;
    text-decoration: none;
    border-radius: 6px;
    padding: 0.4rem 0.45rem;
    border-left: 3px solid var(--primary);
    background: var(--bg-card);
    color: var(--text);
    font-size: 0.78rem;
    line-height: 1.3;
    position: relative;
    transition: transform 0.15s, box-shadow 0.15s;
    cursor: pointer;
}

.week-appt:hover {
    transform: translateX(2px);
    box-shadow: var(--shadow-sm);
    color: var(--text);
    z-index: 5;
}

.week-appt-bekliyor { border-left-color: #d97706; background: #fffbeb; }
.week-appt-onaylandi { border-left-color: var(--primary); background: var(--primary-soft); }
.week-appt-tamamlandi { border-left-color: var(--success); background: var(--success-bg); }

.week-appt-time {
    display: block;
    font-weight: 700;
    color: var(--primary-dark);
    font-size: 0.8rem;
}

.week-appt-name {
    display: block;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.week-appt-meta {
    display: block;
    color: var(--text-muted);
    font-size: 0.7rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Hover tooltip */
.week-appt::after {
    content: attr(data-tooltip);
    position: absolute;
    left: 50%;
    bottom: calc(100% + 8px);
    transform: translateX(-50%) scale(0.95);
    min-width: 200px;
    max-width: 260px;
    padding: 0.65rem 0.75rem;
    background: #1e293b;
    color: #f8fafc;
    font-size: 0.75rem;
    font-weight: 500;
    line-height: 1.45;
    white-space: pre-line;
    text-align: left;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
    z-index: 100;
}

.week-appt::before {
    content: "";
    position: absolute;
    left: 50%;
    bottom: calc(100% + 2px);
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-top-color: #1e293b;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s, visibility 0.2s;
    z-index: 101;
}

.week-appt:hover::after,
.week-appt:hover::before {
    opacity: 1;
    visibility: visible;
}

.week-appt:hover::after {
    transform: translateX(-50%) scale(1);
}

@media (max-width: 1200px) {
    .week-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 768px) {
    .hero-title { font-size: 1.85rem; }
    .week-grid { grid-template-columns: repeat(2, 1fr); }
    .week-day { min-height: 160px; }
}

@media (max-width: 480px) {
    .week-grid { grid-template-columns: 1fr; }
}

