/* ============================================
   Nailcan Barber — Modern Berber Teması
   ============================================ */

:root {
    --bg-color: #ffffff;
    --text-color: #111111;
    --primary-color: #000000;
    --secondary-color: #f4f4f4;
    --border-color: #e0e0e0;
    --white: #ffffff;
    --black: #000000;
    --gold: #c8a24e;
    --gold-light: #e8c868;
    --green-vivid: #00c853;
    --green-bright: #00e676;
    --red-vivid: #e53935;
    --red-dark: #c62828;
    --gray-muted: #bdbdbd;
    --gray-dark: #424242;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.18);
    --radius: 12px;
    --radius-sm: 8px;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.container {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
}

/* ============================================
   HEADER
   ============================================ */
header {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 50%, #0d0d0d 100%);
    color: var(--white);
    padding: 15px 0;
    border-bottom: 2px solid var(--gold);
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(10px);
}

header nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header .logo {
    font-size: 24px;
    font-weight: 800;
    color: var(--white);
    text-decoration: none;
    letter-spacing: -0.5px;
}

header .logo span {
    color: var(--gold);
}

header nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 5px;
}

header nav ul li a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 8px 16px;
    border-radius: 6px;
}

header nav ul li a:hover {
    color: var(--gold);
    background: rgba(200, 162, 78, 0.1);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(160deg, #0a0a0a 0%, #1a1a2e 40%, #0d0d0d 100%);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 30% 50%, rgba(200, 162, 78, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 70% 30%, rgba(200, 162, 78, 0.05) 0%, transparent 40%);
    animation: heroGlow 8s ease-in-out infinite alternate;
}

@keyframes heroGlow {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }

    100% {
        transform: translate(2%, -2%) rotate(3deg);
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    color: var(--white);
    padding: 40px 20px;
}

.hero-content h1 {
    font-size: clamp(36px, 6vw, 64px);
    font-weight: 900;
    letter-spacing: -2px;
    margin: 0 0 15px;
    line-height: 1.1;
}

.hero-content h1 .gold {
    color: var(--gold);
}

.hero-content p {
    font-size: clamp(16px, 2vw, 20px);
    color: rgba(255, 255, 255, 0.65);
    margin: 0 0 35px;
    font-weight: 300;
}

.hero-cta {
    display: inline-block;
    padding: 16px 40px;
    background: var(--gold);
    color: var(--text, #111);
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
    border-radius: 50px;
    transition: all 0.4s ease;
    box-shadow: 0 4px 25px rgba(200, 162, 78, 0.35);
}

.hero-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 35px rgba(200, 162, 78, 0.5);
    background: var(--gold-light);
}

/* ── Makas Animasyonu ── */
.scissors-container {
    position: relative;
    width: 120px;
    height: 120px;
    margin: 0 auto 30px;
}

.scissors-svg {
    width: 120px;
    height: 120px;
}

.scissor-blade-top {
    transform-origin: 60px 65px;
    animation: scissorCutTop 2s ease-in-out infinite;
}

.scissor-blade-bottom {
    transform-origin: 60px 65px;
    animation: scissorCutBottom 2s ease-in-out infinite;
}

@keyframes scissorCutTop {

    0%,
    100% {
        transform: rotate(0deg);
    }

    30% {
        transform: rotate(-18deg);
    }

    50% {
        transform: rotate(-18deg);
    }

    80% {
        transform: rotate(0deg);
    }
}

@keyframes scissorCutBottom {

    0%,
    100% {
        transform: rotate(0deg);
    }

    30% {
        transform: rotate(18deg);
    }

    50% {
        transform: rotate(18deg);
    }

    80% {
        transform: rotate(0deg);
    }
}

/* Saç kırpıntısı parçacıkları */
.hair-particle {
    position: absolute;
    width: 3px;
    height: 12px;
    background: var(--gold);
    border-radius: 2px;
    opacity: 0;
    animation: particleFall 2s ease-in infinite;
}

.hair-particle:nth-child(2) {
    left: 35%;
    animation-delay: 0.5s;
    width: 2px;
    height: 8px;
}

.hair-particle:nth-child(3) {
    left: 55%;
    animation-delay: 0.3s;
    height: 10px;
}

.hair-particle:nth-child(4) {
    left: 70%;
    animation-delay: 0.7s;
    width: 2px;
}

.hair-particle:nth-child(5) {
    left: 25%;
    animation-delay: 0.9s;
    height: 6px;
}

@keyframes particleFall {
    0% {
        top: 70px;
        opacity: 0;
        transform: rotate(0deg);
    }

    20% {
        opacity: 0.8;
    }

    100% {
        top: 140px;
        opacity: 0;
        transform: rotate(45deg) translateX(15px);
    }
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    padding: 12px 24px;
    text-decoration: none;
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    transition: all 0.3s ease;
    font-family: inherit;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-primary {
    background: var(--black);
    color: var(--white);
    border: 2px solid var(--black);
    position: relative;
    overflow: hidden;
}

.btn-primary:hover {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--text, #111);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(200, 162, 78, 0.3);
}

.btn-primary:active {
    transform: translateY(0);
}

/* ============================================
   SECTIONS
   ============================================ */
main {
    padding: 0;
}

.section {
    padding: 60px 0;
    text-align: center;
}

.section h2 {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 10px;
    letter-spacing: -1px;
}

.section .section-subtitle {
    font-size: 15px;
    color: var(--muted, #666);
    margin-bottom: 35px;
}

/* ============================================
   HİZMET KARTLARI
   ============================================ */
.hizmet-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
    max-width: 900px;
    margin: 0 auto;
}

.hizmet-kart {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 28px 20px;
    text-align: center;
    transition: all 0.35s ease;
    box-shadow: var(--shadow-sm);
}

.hizmet-kart:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: var(--gold);
}

.hizmet-kart .hizmet-icon {
    font-size: 32px;
    margin-bottom: 12px;
}

.hizmet-kart h3 {
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 8px;
}

.hizmet-kart .hizmet-sure {
    font-size: 13px;
    color: var(--muted, #666);
    margin-bottom: 10px;
}

.hizmet-kart .hizmet-fiyat {
    font-size: 20px;
    font-weight: 800;
    color: var(--gold);
}

/* ============================================
   EKİP - PERSONEL KARTLARI
   ============================================ */
.ekip-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 25px;
    margin-top: 30px;
}

.personel-kart {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    width: 220px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: all 0.4s ease;
}

.personel-kart:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--gold);
}

.personel-kart img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    border-bottom: 3px solid var(--gold);
}

.personel-kart h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--text, #111);
    margin: 16px 0;
}

/* ============================================
   RANDEVU FORMU
   ============================================ */
.randevu-section {
    background: linear-gradient(160deg, #fafafa 0%, #f0f0f0 100%);
}

.form-container {
    max-width: 650px;
    margin: 0 auto;
    text-align: left;
    background: var(--white);
    padding: 35px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.form-group {
    margin-bottom: 20px;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 14px;
    color: var(--text, #333);
}

.form-control {
    width: 100%;
    padding: 13px 15px;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-sm);
    box-sizing: border-box;
    font-size: 15px;
    font-family: inherit;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    background: var(--white);
}

.form-control:focus {
    border-color: var(--gold);
    outline: none;
    box-shadow: 0 0 0 3px rgba(200, 162, 78, 0.15);
}

.form-control:disabled {
    background: #f5f5f5;
    color: #aaa;
}

/* ============================================
   GÖRSEL TAKVİM — DATE PICKER
   ============================================ */
.takvim-wrapper {
    margin-bottom: 20px;
}

.takvim-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.takvim-header h4 {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
}

.takvim-nav-btn {
    width: 36px;
    height: 36px;
    border: 2px solid var(--border-color);
    background: var(--white);
    border-radius: 50%;
    cursor: pointer;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    font-family: inherit;
}

.takvim-nav-btn:hover {
    background: var(--black);
    color: var(--white);
    border-color: var(--text, #111);
}

.takvim-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
}

.takvim-gun-label {
    text-align: center;
    font-size: 11px;
    font-weight: 700;
    color: #999;
    padding: 6px 0;
    text-transform: uppercase;
}

.takvim-gun {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s;
    border: 2px solid transparent;
    background: transparent;
    font-family: inherit;
}

.takvim-gun:hover:not(.disabled):not(.empty) {
    background: rgba(200, 162, 78, 0.12);
    border-color: var(--gold);
}

.takvim-gun.today {
    border-color: var(--gold);
    font-weight: 700;
}

.takvim-gun.selected {
    background: var(--gold) !important;
    color: var(--black) !important;
    font-weight: 800;
    border-color: var(--gold);
    box-shadow: 0 2px 10px rgba(200, 162, 78, 0.4);
}

.takvim-gun.disabled {
    color: #ccc;
    cursor: not-allowed;
}

.takvim-gun.empty {
    cursor: default;
}

/* ============================================
   GÖRSEL TAKVİM — SLOT PICKER (Saat Seçimi)
   ============================================ */
.slot-picker-wrapper {
    margin-top: 15px;
}

.slot-picker-wrapper h4 {
    font-size: 15px;
    font-weight: 700;
    margin: 0 0 5px;
}

.slot-picker-info {
    font-size: 12px;
    color: var(--muted, #666);
    margin-bottom: 12px;
}

.slot-legend {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 14px;
    font-size: 12px;
}

.slot-legend span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.slot-legend .dot {
    width: 12px;
    height: 12px;
    border-radius: 3px;
    flex-shrink: 0;
}

.slot-legend .dot-available {
    background: var(--green-vivid);
}

.slot-legend .dot-short {
    background: #e0e0e0;
    border: 1px solid #ccc;
}

.slot-legend .dot-busy {
    background: var(--red-vivid);
}

.slot-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(72px, 1fr));
    gap: 8px;
    max-height: 320px;
    overflow-y: auto;
    padding: 4px;
}

.slot-grid::-webkit-scrollbar {
    width: 6px;
}

.slot-grid::-webkit-scrollbar-track {
    background: var(--surface, #f5f5f5);
    border-radius: 3px;
}

.slot-grid::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 3px;
}

.slot-item {
    padding: 10px 6px;
    text-align: center;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
    border: 2px solid transparent;
    user-select: none;
    font-family: inherit;
}

/* Müsait — hizmet süresine uyuyor */
.slot-item.musait {
    background: var(--green-vivid);
    color: var(--white);
    box-shadow: 0 2px 8px rgba(0, 200, 83, 0.25);
}

.slot-item.musait:hover {
    background: var(--green-bright);
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(0, 200, 83, 0.35);
}

/* Müsait ama hizmet süresine kısa */
.slot-item.kisa {
    background: var(--surface, #f5f5f5);
    color: #999;
    cursor: not-allowed;
}

/* Dolu */
.slot-item.dolu {
    background: var(--red-vivid);
    color: var(--white);
    cursor: not-allowed;
    opacity: 0.85;
}

/* Geçmiş */
.slot-item.gecmis {
    background: #e0e0e0;
    color: #bbb;
    cursor: not-allowed;
    opacity: 0.6;
}

/* Seçili */
.slot-item.secili {
    background: #007e33 !important;
    color: var(--white) !important;
    border-color: var(--gold) !important;
    box-shadow: 0 0 0 3px rgba(200, 162, 78, 0.3), 0 4px 15px rgba(0, 126, 51, 0.3) !important;
    transform: scale(1.08);
}

/* Slot yükleniyor */
.slot-loading {
    text-align: center;
    padding: 30px;
    color: #999;
    font-size: 14px;
}

.slot-loading .spinner {
    width: 28px;
    height: 28px;
    border: 3px solid #e0e0e0;
    border-top-color: var(--gold);
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
    margin: 0 auto 10px;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.slot-empty-msg {
    text-align: center;
    padding: 25px;
    color: #999;
    font-size: 14px;
    background: var(--surface, #f5f5f5);
    border-radius: var(--radius-sm);
}

.slot-error-msg {
    text-align: center;
    padding: 20px;
    color: var(--red-vivid);
    font-size: 14px;
    background: #fef2f2;
    border-radius: var(--radius-sm);
    border: 1px solid #fecaca;
}

/* ============================================
   FOOTER
   ============================================ */
footer {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    color: rgba(255, 255, 255, 0.6);
    text-align: center;
    padding: 30px 0;
    margin-top: 0;
    border-top: 2px solid var(--gold);
}

footer a {
    color: var(--gold);
    text-decoration: none;
    transition: color 0.3s;
}

footer a:hover {
    color: var(--gold-light);
}

footer .footer-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 10px;
    flex-wrap: wrap;
}

/* ============================================
   ADMIN TABLOLAR & NAV (değişmemiş)
   ============================================ */
.admin-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    text-align: left;
}

.admin-table th,
.admin-table td {
    padding: 12px 15px;
    border: 1px solid var(--border-color);
}

.admin-table th {
    background-color: var(--text, #111);
    color: var(--white);
    font-weight: 600;
}

.admin-table tr:nth-child(even) {
    background-color: var(--secondary-color);
}

.admin-table tr:hover {
    background-color: #e9e9e9;
}

.admin-table a {
    color: #007bff;
    text-decoration: none;
}

.admin-table a:hover {
    text-decoration: underline;
}

.admin-nav {
    background: var(--black);
    padding: 10px 0;
    margin-bottom: 30px;
}

.admin-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.admin-nav ul li a {
    color: var(--white);
    padding: 10px 20px;
    text-decoration: none;
    display: block;
    font-weight: 500;
}

.admin-nav ul li a:hover,
.admin-nav ul li a.active {
    background: var(--gold);
    color: var(--text, #111);
}

.admin-nav .hamburger-admin {
    display: none;
}

.hata {
    color: #7f1d1d;
    background-color: #fef2f2;
    border: 1px solid #fca5a5;
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    margin-bottom: 15px;
    font-weight: 500;
}

.basari {
    color: #14532d;
    background-color: #f0fdf4;
    border: 1px solid #86efac;
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    margin-bottom: 15px;
    font-weight: 500;
}

/* ============================================
   MOBILE HAMBURGERs
   ============================================ */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--white);
    margin: 3px 0;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

.mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
}

.mobile-menu-overlay.active {
    display: block;
}

.table-responsive {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.mobile-card {
    display: none;
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 15px;
    margin-bottom: 15px;
    box-shadow: var(--shadow-sm);
}

.mobile-card-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
}

.mobile-card-row:last-child {
    border-bottom: none;
}

.mobile-card-label {
    font-weight: 600;
    color: #666;
    font-size: 13px;
}

.mobile-card-value {
    text-align: right;
    font-size: 14px;
}

/* ============================================
   ANİMASYONLAR
   ============================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.92);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.animate-on-scroll.animate-visible {
    opacity: 1;
    transform: translateY(0);
}

.animate-visible .personel-kart {
    animation: fadeInScale 0.5s ease-out forwards;
    opacity: 0;
}

.animate-visible .personel-kart:nth-child(1) {
    animation-delay: 0.1s;
}

.animate-visible .personel-kart:nth-child(2) {
    animation-delay: 0.2s;
}

.animate-visible .personel-kart:nth-child(3) {
    animation-delay: 0.3s;
}

.animate-visible .personel-kart:nth-child(4) {
    animation-delay: 0.4s;
}

.animate-visible .personel-kart:nth-child(5) {
    animation-delay: 0.5s;
}

.animate-visible .personel-kart:nth-child(6) {
    animation-delay: 0.6s;
}

.animate-visible .hizmet-kart {
    animation: fadeInScale 0.4s ease-out forwards;
    opacity: 0;
}

.animate-visible .hizmet-kart:nth-child(1) {
    animation-delay: 0.05s;
}

.animate-visible .hizmet-kart:nth-child(2) {
    animation-delay: 0.1s;
}

.animate-visible .hizmet-kart:nth-child(3) {
    animation-delay: 0.15s;
}

.animate-visible .hizmet-kart:nth-child(4) {
    animation-delay: 0.2s;
}

.animate-visible .hizmet-kart:nth-child(5) {
    animation-delay: 0.25s;
}

.animate-visible .hizmet-kart:nth-child(6) {
    animation-delay: 0.3s;
}

.animate-visible .admin-table tbody tr {
    animation: fadeInUp 0.4s ease-out forwards;
    opacity: 0;
}

.animate-visible .admin-table tbody tr:nth-child(1) {
    animation-delay: 0.05s;
}

.animate-visible .admin-table tbody tr:nth-child(2) {
    animation-delay: 0.1s;
}

.animate-visible .admin-table tbody tr:nth-child(3) {
    animation-delay: 0.15s;
}

.animate-visible .admin-table tbody tr:nth-child(4) {
    animation-delay: 0.2s;
}

.animate-visible .admin-table tbody tr:nth-child(5) {
    animation-delay: 0.25s;
}

.animate-visible .form-container {
    animation: fadeInScale 0.6s ease-out 0.2s forwards;
    opacity: 0;
}

.btn-primary {
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

/* Admin panel section styling */
.admin-section-blue {
    background: var(--secondary-color);
    border: 1px solid var(--border-color);
    padding: 20px;
    border-radius: var(--radius-sm);
    margin-bottom: 20px;
}

.admin-section-orange {
    background: var(--secondary-color);
    border: 1px solid var(--border-color);
    padding: 20px;
    border-radius: var(--radius-sm);
    margin-bottom: 20px;
}

.admin-section-red {
    background: var(--surface, #f5f5f5);
    border: 1px solid var(--border-color);
    padding: 20px;
    border-radius: var(--radius-sm);
    margin-bottom: 20px;
}

/* ============================================
   RESPONSIVE — TABLET
   ============================================ */
@media (max-width: 992px) {
    .container {
        width: 95%;
    }

    .admin-nav ul {
        flex-wrap: wrap;
        justify-content: flex-start;
    }

    .admin-nav ul li a {
        padding: 8px 12px;
        font-size: 13px;
    }

    .hizmet-grid {
        grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    }
}

/* ============================================
   RESPONSIVE — MOBİL
   ============================================ */
@media (max-width: 768px) {
    .hero {
        min-height: 70vh;
    }

    .hero-content h1 {
        font-size: 32px;
    }

    header nav {
        flex-direction: column;
    }

    header nav ul {
        display: none;
        flex-direction: column;
        width: 100%;
        text-align: center;
        margin-top: 15px;
        position: absolute;
        top: 60px;
        left: 0;
        background: var(--black);
        padding: 20px 0;
        z-index: 1000;
    }

    header nav ul.active {
        display: flex;
    }

    header nav ul li {
        margin: 10px 0;
    }

    header .container {
        position: relative;
    }

    .hamburger {
        display: flex;
    }

    .admin-nav {
        padding: 0;
    }

    .admin-nav .container {
        padding: 0;
    }

    .admin-nav ul {
        display: none;
        flex-direction: column;
        width: 100%;
        background: var(--black);
    }

    .admin-nav ul.active {
        display: flex;
    }

    .admin-nav ul li {
        width: 100%;
    }

    .admin-nav ul li a {
        display: block;
        padding: 15px 20px;
        border-bottom: 1px solid #333;
        text-align: left;
    }

    .admin-nav .hamburger-admin {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 15px 20px;
        color: white;
        cursor: pointer;
    }

    .admin-nav .hamburger-admin span.menu-text {
        font-weight: 500;
    }

    .admin-table {
        font-size: 13px;
    }

    .admin-table th,
    .admin-table td {
        padding: 10px 8px;
        white-space: nowrap;
    }

    .admin-table th:first-child,
    .admin-table td:first-child {
        position: sticky;
        left: 0;
        background: inherit;
        z-index: 1;
    }

    .form-container {
        padding: 22px 18px;
    }

    .form-group {
        margin-bottom: 15px;
    }

    .form-control {
        padding: 14px 12px;
        font-size: 16px;
    }

    .btn {
        width: 100%;
        padding: 14px;
        font-size: 16px;
        justify-content: center;
    }

    [style*="display: flex"][style*="gap"] {
        flex-wrap: wrap;
    }

    h2 {
        font-size: 24px;
    }

    .btn-mini {
        padding: 8px 10px;
        font-size: 11px;
        display: block;
        margin: 3px 0;
        text-align: center;
    }

    .ekip-container {
        gap: 15px;
    }

    .personel-kart {
        width: calc(50% - 10px);
    }

    .personel-kart img {
        height: 180px;
    }

    .personel-kart h3 {
        font-size: 14px;
    }

    .dashboard-cards,
    .stat-cards {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    form[style*="display: flex"] {
        flex-direction: column !important;
        gap: 10px !important;
    }

    form[style*="display: flex"] .form-group {
        width: 100% !important;
        margin: 0 !important;
    }

    form[style*="display: flex"] button[type="submit"] {
        width: 100%;
    }

    .hizmet-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .slot-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 480px) {
    .container {
        width: 100%;
        padding: 0 12px;
    }

    header {
        padding: 10px 0;
    }

    header .logo {
        font-size: 18px;
    }

    header .logo img {
        max-height: 35px !important;
    }

    .hero {
        min-height: 60vh;
    }

    .scissors-container {
        width: 90px;
        height: 90px;
    }

    .scissors-svg {
        width: 90px;
        height: 90px;
    }

    .personel-kart {
        width: 100%;
    }

    .personel-kart img {
        height: 220px;
    }

    .dashboard-cards,
    .stat-cards {
        grid-template-columns: 1fr;
    }

    .admin-table th {
        font-size: 12px;
        padding: 8px 6px;
    }

    .admin-table td {
        font-size: 12px;
        padding: 8px 6px;
    }

    .hata,
    .basari {
        padding: 12px;
        font-size: 14px;
        margin: 10px 0;
    }

    .form-control {
        padding: 16px;
    }

    select.form-control {
        height: auto;
        appearance: none;
        background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
        background-repeat: no-repeat;
        background-position: right 12px center;
        background-size: 16px;
        padding-right: 40px;
    }

    .hizmet-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .hizmet-kart {
        padding: 20px 14px;
    }

    .slot-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 6px;
    }

    .slot-item {
        padding: 8px 4px;
        font-size: 13px;
    }
}
/* CBB_DUAL_THEME_20261111 */
