/* Genel Stiller */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Premium Renk Paleti */
    --bg-cream: #FDFCF0;
    --bg-light: #FAFAFA;
    --text-dark: #1F2937;
    --text-medium: #333333;
    --text-light: #6B7280;
    --primary-gold: #D4AF37;
    --primary-rose: #C6A4A4;
    --primary-color: #D4AF37; /* Şampanya altını */
    --white: #ffffff;
    --success-color: #10B981;
    --danger-color: #EF4444;
    --warning-color: #F59E0B;
    
    /* Fontlar */
    --font-serif: 'Playfair Display', serif;
    --font-sans: 'Inter', sans-serif;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

body {
    font-family: var(--font-sans);
    line-height: 1.7;
    color: var(--text-dark);
    background-color: var(--bg-cream);
    overflow-x: hidden;
    font-weight: 400;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header - Glassmorphism Navbar */
header {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 2rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 600;
    font-family: var(--font-serif);
    color: var(--primary-gold);
    text-decoration: none;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.02);
}

.logo-icon {
    width: 36px;
    height: 36px;
    stroke: var(--primary-gold);
    transition: transform 0.3s ease;
}

.logo:hover .logo-icon {
    transform: rotate(90deg);
}

.logo span {
    background: linear-gradient(135deg, var(--primary-gold) 0%, var(--primary-rose) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-medium);
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-gold);
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: var(--primary-gold);
}

.nav-links a:hover::after {
    width: 100%;
}

.admin-link {
    background: transparent;
    color: var(--primary-gold);
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid var(--primary-gold);
    font-weight: 600;
}

.admin-link:hover {
    background: var(--primary-gold);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.admin-link::after {
    display: none;
}

/* Admin link footer - göze batmayan, en altta */
.admin-link-footer {
    display: inline-block;
    margin-top: 0.75rem;
    font-size: 0.8rem;
    color: var(--text-light);
    text-decoration: none;
    opacity: 0.7;
    transition: opacity 0.2s ease;
}
.admin-link-footer:hover {
    opacity: 1;
    color: var(--text-medium);
}

/* Hero Section - Premium Design */
.hero {
    position: relative;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.15) 0%, rgba(198, 164, 164, 0.15) 100%),
                url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><linearGradient id="a" x1="0%" y1="0%" x2="100%" y2="100%"><stop offset="0%" style="stop-color:%23D4AF37;stop-opacity:0.1" /><stop offset="100%" style="stop-color:%23C6A4A4;stop-opacity:0.1" /></linearGradient></defs><rect width="100" height="100" fill="url(%23a)" /></svg>');
    background-size: cover;
    background-position: center;
    padding: 150px 0;
    text-align: center;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(31, 41, 55, 0.4) 0%, rgba(31, 41, 55, 0.6) 100%);
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 4rem;
    font-family: var(--font-serif);
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--white);
    animation: fadeInUp 1s ease;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    color: rgba(255, 255, 255, 0.95);
    animation: fadeInUp 1.2s ease;
    font-weight: 300;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Butonlar - Premium Style */
.btn {
    display: inline-block;
    padding: 16px 40px;
    background: var(--primary-gold);
    color: var(--white);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    font-family: var(--font-sans);
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn:hover {
    transform: scale(1.05) translateY(-2px);
    box-shadow: var(--shadow-xl);
}

.btn-primary {
    background: var(--primary-gold);
    color: var(--white);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #E5C158 0%, var(--primary-gold) 100%);
}

.btn-full {
    width: 100%;
}

/* Bölümler */
section {
    padding: 100px 0;
}

.section-title {
    text-align: center;
    font-size: 3rem;
    font-family: var(--font-serif);
    font-weight: 600;
    margin-bottom: 4rem;
    color: var(--text-dark);
    letter-spacing: -0.02em;
}

/* Hizmetler - Premium Cards */
.services {
    background: var(--bg-light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.service-card {
    background: var(--white);
    padding: 3rem 2rem;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(212, 175, 55, 0.1);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-gold) 0%, var(--primary-rose) 100%);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-gold);
    transition: transform 0.3s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
}

.service-icon i {
    width: 48px;
    height: 48px;
    stroke-width: 1.5;
}

.service-card h3 {
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 600;
}

.service-card p {
    color: var(--text-light);
    line-height: 1.7;
    font-size: 0.95rem;
}

/* Hakkında */
.about {
    background: var(--white);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text p {
    margin-bottom: 1.5rem;
    color: var(--text-light);
    font-size: 1.1rem;
    line-height: 1.8;
}

.about-image {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

/* Randevu Formu - Two Column Layout, gri tonlar, kompakt */
.appointment-section {
    background: #e8e9eb;
    padding: 24px 0;
}

.appointment-section .section-title {
    display: none;
}

.appointment-section .container {
    max-width: 820px;
    padding-left: 12px;
    padding-right: 12px;
}

.appointment-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: 0;
    align-items: stretch;
    max-width: 100%;
    margin: 0 auto;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
}

.appointment-left {
    background: linear-gradient(145deg, #5c5f66 0%, #4b4d52 50%, #3d3f43 100%);
    padding: 1.1rem 1rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    color: var(--white);
}

.appointment-info-panel {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.info-title {
    font-family: var(--font-serif);
    font-size: 1.3rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.98);
    margin-bottom: 0.45rem;
    line-height: 1.2;
}

.info-description {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.45;
    margin-bottom: 0.65rem;
    font-weight: 400;
}

.pricing-card {
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
    padding: 0.65rem 0.9rem;
    border-radius: 8px;
    margin-bottom: 0.65rem;
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.pricing-header {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    color: rgba(255, 255, 255, 0.88);
    margin-bottom: 0.25rem;
}

.pricing-amount {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--white);
    font-family: var(--font-sans);
}

.info-features {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    margin-top: auto;
}

.info-feature-item {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 500;
    font-size: 0.78rem;
}

.info-feature-item i {
    width: 16px;
    height: 16px;
    color: rgba(255, 255, 255, 0.95);
    stroke-width: 2;
    flex-shrink: 0;
}

.appointment-right {
    background: #f2f3f5;
    padding: 1.1rem 1rem;
}

.appointment-form {
    background: transparent;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
    border: none;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
}

.form-group-half {
    width: 100%;
}

.form-group {
    margin-bottom: 0.7rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.35rem;
    color: #374151;
    font-weight: 600;
    font-size: 0.82rem;
}

.form-group input[type="text"],
.form-group input[type="tel"],
.form-group input[type="date"],
.form-group select {
    width: 100%;
    padding: 8px 10px;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid #d1d5db;
    font-size: 0.9rem;
    font-family: var(--font-sans);
    color: var(--text-dark);
    transition: all 0.2s ease;
    border-radius: 6px;
    box-sizing: border-box;
}

.form-group input[type="date"] {
    position: relative;
    cursor: pointer;
}

.form-group input[type="date"]::-webkit-calendar-picker-indicator {
    cursor: pointer;
    opacity: 0.5;
    filter: invert(0.4);
}

.form-group input[type="text"]:focus,
.form-group input[type="tel"]:focus,
.form-group input[type="date"]:focus,
.form-group select:focus {
    outline: none;
    border-color: #6b7280;
    background: #fff;
    box-shadow: 0 0 0 2px rgba(107, 114, 128, 0.2);
}

.form-group input[type="text"]::placeholder,
.form-group input[type="tel"]::placeholder {
    color: var(--text-light);
    opacity: 0.6;
}

/* Select Wrapper (no pattern) */
.select-wrapper {
    position: relative;
}

.select-wrapper select {
    width: 100%;
    padding: 8px 10px;
    padding-right: 36px;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid #d1d5db;
    font-size: 0.9rem;
    font-family: var(--font-sans);
    color: var(--text-dark);
    cursor: pointer;
    appearance: none;
    background-image: none !important;
    border-radius: 6px;
    box-sizing: border-box;
    transition: all 0.2s ease;
}

.select-wrapper::after {
    content: '';
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 12px;
    height: 12px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24'%3E%3Cpath fill='%236b7280' d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: 12px 12px;
    pointer-events: none;
    opacity: 0.85;
}

.select-wrapper select:focus {
    outline: none;
    border-color: #6b7280;
    background: #fff;
    box-shadow: 0 0 0 2px rgba(107, 114, 128, 0.2);
}

/* Note: `.form-group select` styling is handled via `.select-wrapper select` to prevent tiling artifacts. */

/* Time Slots Grid - kompakt, gri, mobil uyumlu */
.time-slots-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.35rem;
    margin-top: 0.25rem;
}

.time-slot-btn {
    padding: 8px 10px;
    min-height: 36px;
    background: #fff;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 0.82rem;
    font-weight: 500;
    color: #374151;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: var(--font-sans);
    -webkit-tap-highlight-color: transparent;
}

.time-slot-btn:hover {
    background: #f3f4f6;
    border-color: #9ca3af;
}

.time-slot-btn.selected {
    background: #4b5563;
    color: #fff;
    border-color: #4b5563;
    box-shadow: 0 2px 4px rgba(75, 85, 99, 0.25);
}

.btn-continue {
    background: linear-gradient(145deg, #5c5f66 0%, #4b4d52 100%);
    margin-top: 0.4rem;
    border-radius: 8px;
    padding: 10px 14px;
    font-size: 0.9rem;
    font-weight: 600;
    border: none;
    color: #fff;
}

.btn-continue:hover {
    background: linear-gradient(145deg, #4b4d52 0%, #3d3f43 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Mesajlar */
.message {
    padding: 1.25rem;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    text-align: center;
    font-weight: 500;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.message.success {
    background: #D1FAE5;
    color: #065F46;
    border: 1px solid #A7F3D0;
}

.message.error {
    background: #FEE2E2;
    color: #991B1B;
    border: 1px solid #FECACA;
}

/* İletişim */
.contact {
    background: var(--white);
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.contact-item {
    text-align: center;
    padding: 2.5rem 2rem;
    background: var(--bg-light);
    border-radius: 16px;
    transition: transform 0.3s ease;
    border: 1px solid rgba(212, 175, 55, 0.1);
}

.contact-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.contact-item h3 {
    color: var(--primary-gold);
    margin-bottom: 1rem;
    font-family: var(--font-serif);
    font-size: 1.3rem;
    font-weight: 600;
}

.contact-item p {
    color: var(--text-light);
    line-height: 1.8;
}

/* Footer */
footer {
    background: var(--text-dark);
    color: rgba(255, 255, 255, 0.8);
    text-align: center;
    padding: 2rem 0;
    font-weight: 400;
}

footer .container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

footer .admin-link-footer {
    color: rgba(255, 255, 255, 0.5);
}
footer .admin-link-footer:hover {
    color: rgba(255, 255, 255, 0.85);
}

/* Admin Panel Stilleri */
.admin-container {
    min-height: 100vh;
    background: var(--bg-light);
    display: flex;
}

/* Hamburger (3 çizgi) menü butonu */
.sidebar-toggle-btn {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 0;
    border: none;
    background: rgba(212, 175, 55, 0.12);
    color: var(--primary-gold);
    border-radius: 10px;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}
.sidebar-toggle-btn:hover {
    background: rgba(212, 175, 55, 0.2);
}
.sidebar-toggle-btn:focus {
    outline: 2px solid var(--primary-gold);
    outline-offset: 2px;
}
.sidebar-toggle-line {
    display: block;
    width: 20px;
    height: 2px;
    background: currentColor;
    border-radius: 1px;
    transition: transform 0.25s ease, opacity 0.25s ease;
}
.sidebar-toggle-btn.in-header {
    margin-right: auto;
    margin-left: 0;
}
.dashboard-header .sidebar-toggle-btn.in-header {
    flex-shrink: 0;
}

/* Sidebar: soldan açılan overlay panel, sayfa kaymaz */
.sidebar-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 998;
    opacity: 0;
    transition: opacity 0.25s ease;
}
.dashboard.main-content {
    flex: 1;
    min-width: 0;
    overflow-x: hidden;
}

.login-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.login-box {
    background: var(--white);
    padding: 3rem;
    border-radius: 24px;
    box-shadow: var(--shadow-xl);
    width: 100%;
    max-width: 400px;
    border: 1px solid rgba(212, 175, 55, 0.1);
}

.login-box h2 {
    text-align: center;
    color: var(--primary-gold);
    margin-bottom: 2rem;
    font-family: var(--font-serif);
    font-size: 2rem;
}

.dashboard {
    padding: 2rem;
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.dashboard-header h1 {
    flex: 1;
    color: var(--primary-gold);
    font-family: var(--font-serif);
    font-size: 2.5rem;
}

.logout-btn {
    background: var(--danger-color);
    color: var(--white);
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
}

.logout-btn:hover {
    background: #DC2626;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.appointments-table {
    width: 100%;
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(212, 175, 55, 0.1);
}

.appointments-table table {
    width: 100%;
    border-collapse: collapse;
}

.appointments-table th,
.appointments-table td {
    padding: 1.25rem;
    text-align: left;
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
}

.appointments-table th {
    background: linear-gradient(135deg, var(--primary-gold) 0%, var(--primary-rose) 100%);
    color: var(--white);
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.appointments-table tr:hover {
    background: var(--bg-light);
}

.appointment-actions {
    width: 56px;
    text-align: center;
}

.appointment-delete-btn {
    width: 28px;
    height: 28px;
    border-radius: 999px;
    border: 1px solid rgba(239, 68, 68, 0.7);
    background: rgba(255, 255, 255, 0.9);
    color: #EF4444;
    font-size: 16px;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, transform 0.1s ease, box-shadow 0.2s ease;
}

.appointment-delete-btn:hover {
    background: #FEE2E2;
    color: #B91C1C;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.15);
    transform: translateY(-1px);
}

.appointment-delete-btn:active {
    transform: translateY(0);
    box-shadow: none;
}

/* Müşteriler */
.customers-section {
    margin-top: 2rem;
}

.customers-title {
    color: var(--primary-gold);
    font-family: var(--font-serif);
    font-size: 2rem;
    margin-bottom: 1rem;
}

.customers-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 1rem;
    align-items: start;
}

.customers-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(212, 175, 55, 0.1);
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    min-height: 440px;
    max-height: 440px;
}

.customers-card-title {
    color: var(--text-dark);
    font-family: var(--font-serif);
    font-size: 1.35rem;
    margin-bottom: 1rem;
}

.customers-form textarea,
.new-customer-fields textarea,
.customers-form input[type="text"],
.customers-form input[type="tel"] {
    width: 100%;
    padding: 12px 14px;
    border-radius: 14px;
    border: 1px solid rgba(31, 41, 55, 0.08);
    background: rgba(255, 255, 255, 0.9);
    color: var(--text-dark);
    font-family: var(--font-sans);
    transition: all 0.2s ease;
    box-shadow: var(--shadow-sm);
}

.customers-form textarea,
.new-customer-fields textarea {
    resize: vertical;
}

.customers-form textarea:focus,
.new-customer-fields textarea:focus,
.customers-form input[type="text"]:focus,
.customers-form input[type="tel"]:focus {
    outline: none;
    border-color: rgba(212, 175, 55, 0.6);
    box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.12);
}

.customers-form .btn {
    width: 100%;
    margin-top: 0.75rem;
    padding-top: 16px;
    padding-bottom: 16px;
    font-size: 1rem;
}

.customers-list-toolbar {
    margin-bottom: 0.75rem;
}

.customers-table {
    width: 100%;
    border-radius: 14px;
    overflow-x: auto;
    border: 1px solid rgba(212, 175, 55, 0.1);
}

.customers-card-list .customers-table {
    flex: 1;
    overflow-y: auto;
}

.customers-table table {
    width: 100%;
    border-collapse: collapse;
}

.customers-table th,
.customers-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
    vertical-align: top;
}

.customers-table th {
    background: linear-gradient(135deg, var(--primary-gold) 0%, var(--primary-rose) 100%);
    color: var(--white);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.customers-table tr:hover {
    background: var(--bg-light);
}

/* Admin Toolbar (filters + stats) */
.admin-toolbar {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.admin-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.75rem;
}

.stat-card {
    background: var(--white);
    border: 1px solid rgba(212, 175, 55, 0.12);
    border-radius: 14px;
    padding: 0.9rem 1rem;
    box-shadow: var(--shadow-sm);
}

.stat-label {
    color: var(--text-light);
    font-size: 0.85rem;
    font-weight: 600;
}

.stat-value {
    margin-top: 0.35rem;
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--text-dark);
    font-family: var(--font-serif);
}

.stat-warn .stat-value { color: #B45309; }
.stat-success .stat-value { color: #047857; }
.stat-danger .stat-value { color: #B91C1C; }

.admin-filters {
    display: grid;
    grid-template-columns: 1.4fr 0.6fr;
    gap: 0.75rem;
}

.admin-control {
    width: 100%;
    padding: 12px 14px;
    border-radius: 14px;
    border: 1px solid rgba(31, 41, 55, 0.08);
    background: rgba(255, 255, 255, 0.9);
    color: var(--text-dark);
    font-family: var(--font-sans);
    transition: all 0.2s ease;
    box-shadow: var(--shadow-sm);
}

.admin-control:focus {
    outline: none;
    border-color: rgba(212, 175, 55, 0.6);
    box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.12);
}

.phone-link {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 600;
}

.phone-link:hover {
    color: var(--primary-gold);
    text-decoration: underline;
}

.status-select {
    padding: 0.5rem 1rem;
    border: 2px solid rgba(212, 175, 55, 0.2);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: var(--white);
    font-family: var(--font-sans);
    font-weight: 500;
}

.status-select:focus {
    outline: none;
    border-color: var(--primary-gold);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

.status-bekliyor {
    color: var(--warning-color);
    font-weight: 600;
}

.status-onaylandi {
    color: var(--success-color);
    font-weight: 600;
}

.status-iptal {
    color: var(--danger-color);
    font-weight: 600;
}

/* Randevu Ajandası - Haftalık Takvim */
.agenda-section {
    margin-top: 2.5rem;
    padding: 1.5rem 0;
    background: var(--white);
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(212, 175, 55, 0.1);
    overflow: hidden;
}

.agenda-title {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    color: var(--primary-gold);
    margin-bottom: 1rem;
    padding: 0 1.25rem;
}

.agenda-toolbar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1rem;
    padding: 0 1.25rem;
}

.agenda-nav-btn {
    padding: 0.5rem 1rem;
    border: 1px solid rgba(212, 175, 55, 0.4);
    background: var(--white);
    color: var(--text-dark);
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.2s ease;
}

.agenda-nav-btn:hover {
    background: rgba(212, 175, 55, 0.1);
    border-color: var(--primary-gold);
}

.agenda-week-label {
    font-weight: 600;
    color: var(--text-dark);
    min-width: 200px;
    text-align: center;
}

.agenda-grid-wrapper {
    overflow-x: auto;
    padding: 0 1rem 1rem;
}

.agenda-grid {
    display: grid;
    min-width: 700px;
    grid-template-columns: 56px repeat(7, 1fr);
    grid-template-rows: 36px repeat(25, 24px);
    gap: 1px;
    background: rgba(212, 175, 55, 0.15);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 8px;
}

.agenda-cell {
    background: var(--white);
    min-height: 24px;
    font-size: 0.7rem;
    padding: 2px;
    overflow: hidden;
}

.agenda-cell.agenda-time {
    background: var(--bg-light);
    font-weight: 600;
    color: var(--text-light);
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 6px;
}

.agenda-cell.agenda-day {
    background: linear-gradient(135deg, var(--primary-gold) 0%, var(--primary-rose) 100%);
    color: var(--white);
    font-weight: 600;
    font-size: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.agenda-cell.agenda-day.today {
    box-shadow: inset 0 0 0 2px var(--white);
}

.agenda-cell.agenda-slot {
    cursor: pointer;
    transition: background 0.15s ease;
}

.agenda-cell.agenda-slot:hover {
    background: rgba(212, 175, 55, 0.12);
}

.agenda-cell.agenda-slot-busy {
    cursor: default;
    background: rgba(212, 175, 55, 0.25);
    padding: 2px 4px;
}

.agenda-cell.agenda-slot-busy:hover {
    background: rgba(212, 175, 55, 0.3);
}

.agenda-appointment-block {
    font-size: 0.65rem;
    line-height: 1.2;
    color: var(--text-dark);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    border-radius: 4px;
    padding: 1px 4px;
    background: rgba(255, 255, 255, 0.9);
    border-left: 3px solid var(--primary-gold);
}

/* Mobilde ajanda görünümü iyileştirme */
@media (max-width: 768px) {
    .agenda-section {
        margin-top: 1.5rem;
        padding: 1rem 0.75rem;
        border-radius: 12px;
    }

    .agenda-toolbar {
        flex-direction: column;
        align-items: stretch;
        gap: 0.5rem;
        padding: 0 0.5rem;
    }

    .agenda-nav-btn {
        width: 100%;
        font-size: 0.85rem;
        padding: 0.45rem 0.75rem;
    }

    .agenda-week-label {
        font-size: 0.9rem;
        min-width: 0;
    }

    .agenda-grid-wrapper {
        padding: 0 0.25rem 0.75rem;
    }

    .agenda-grid {
        min-width: 580px;
    }

    .agenda-cell {
        font-size: 0.65rem;
        padding: 1px;
    }

    .agenda-cell.agenda-day {
        font-size: 0.7rem;
    }

    .agenda-appointment-block {
        font-size: 0.6rem;
        padding: 1px 3px;
    }
}

@media (max-width: 480px) {
    .agenda-grid {
        min-width: 540px;
    }
}

/* Modal - Yeni Randevu */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 1rem;
}

.modal-overlay.is-open {
    display: flex;
}

.modal-dialog {
    background: var(--white);
    border-radius: 16px;
    box-shadow: var(--shadow-xl);
    max-width: 440px;
    width: 100%;
    max-height: 90vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.modal-appointment .modal-body {
    overflow-y: auto;
    padding: 1rem 1.5rem 1.5rem;
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid rgba(212, 175, 55, 0.15);
    background: var(--bg-light);
}

.modal-header h3 {
    font-family: var(--font-serif);
    font-size: 1.35rem;
    color: var(--primary-gold);
    margin: 0;
}

.modal-close {
    width: 36px;
    height: 36px;
    border: none;
    background: transparent;
    font-size: 1.5rem;
    line-height: 1;
    color: var(--text-light);
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.modal-close:hover {
    background: rgba(0, 0, 0, 0.06);
    color: var(--text-dark);
}

.modal-body .form-group {
    margin-bottom: 0.9rem;
}

.modal-body .form-group label {
    display: block;
    margin-bottom: 0.35rem;
    color: var(--text-medium);
    font-weight: 600;
    font-size: 0.85rem;
}

.form-control {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 0.9rem;
    font-family: var(--font-sans);
    color: var(--text-dark);
    background: var(--white);
    box-sizing: border-box;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-gold);
    box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.2);
}

.form-group-with-btn {
    display: flex;
    gap: 0.5rem;
    align-items: stretch;
}

.form-group-with-btn .form-control {
    flex: 1;
}

.btn-outline {
    padding: 10px 14px;
    border: 1px solid var(--primary-gold);
    background: transparent;
    color: var(--primary-gold);
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.8rem;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s ease;
}

.btn-outline:hover {
    background: rgba(212, 175, 55, 0.1);
}

.btn-outline.btn-sm {
    padding: 6px 12px;
    font-size: 0.8rem;
}

.new-customer-fields {
    margin-bottom: 1rem;
    padding: 0.75rem;
    background: var(--bg-light);
    border-radius: 8px;
    border: 1px solid rgba(212, 175, 55, 0.15);
}

.new-customer-fields .form-group {
    margin-bottom: 0.5rem;
}

.form-group-checkbox label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    font-weight: 500;
}

.form-group-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--primary-gold);
}

.modal-actions {
    margin-top: 1.25rem;
}

.modal-actions .btn-block {
    width: 100%;
    padding: 12px 20px;
}

/* Müşteri Detay Modal */
.modal-customer-detail {
    max-width: 520px;
}

.customer-detail-body {
    overflow-y: auto;
    padding: 1.25rem 1.5rem 1.5rem;
}

.customer-detail-info {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid rgba(212, 175, 55, 0.15);
}

.customer-detail-row {
    display: flex;
    align-items: baseline;
    gap: 1rem;
}

.customer-detail-label {
    min-width: 100px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.customer-detail-value {
    font-size: 0.95rem;
    color: var(--text-dark);
    word-break: break-word;
}

.customer-photos-section {
    margin-top: 0.25rem;
}

.customer-photos-title {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    color: var(--primary-gold);
    margin-bottom: 0.75rem;
}

.customer-photo-upload {
    margin-bottom: 1rem;
}

.photo-upload-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 10px 18px;
    background: linear-gradient(135deg, var(--primary-gold) 0%, #c9a028 100%);
    color: var(--white);
    border: none;
    border-radius: 10px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(212, 175, 55, 0.25);
}

.photo-upload-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.35);
}

.photo-upload-btn.is-uploading {
    pointer-events: none;
    opacity: 0.7;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.photo-upload-btn.is-uploading .upload-icon {
    animation: spin 1.2s linear infinite;
}

.photo-upload-btn svg {
    flex-shrink: 0;
}

.photo-upload-text {
    margin-top: 0.4rem;
    font-size: 0.8rem;
    color: var(--primary-gold);
    font-weight: 500;
}

.photo-upload-progress {
    margin-top: 0.75rem;
    width: 100%;
    height: 6px;
    background: #e5e7eb;
    border-radius: 3px;
    overflow: hidden;
}

.photo-upload-progress-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--primary-gold), #e8c547);
    border-radius: 3px;
    transition: width 0.3s ease;
}

.customer-photos-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.65rem;
}

.photos-empty {
    grid-column: 1 / -1;
    text-align: center;
    color: var(--text-light);
    font-size: 0.85rem;
    padding: 1.5rem 0;
}

.customer-photo-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    aspect-ratio: 1;
    background: var(--bg-light);
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.customer-photo-item:hover {
    transform: scale(1.03);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.customer-photo-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.photo-count-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    background: var(--primary-gold);
    color: var(--white);
    border-radius: 11px;
    font-family: var(--font-sans);
    font-size: 0.7rem;
    font-weight: 700;
    margin-left: 0.4rem;
    vertical-align: middle;
}

.photo-date-label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 3px 6px;
    background: linear-gradient(transparent, rgba(0,0,0,0.6));
    color: white;
    font-size: 0.65rem;
    text-align: center;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.customer-photo-item:hover .photo-date-label {
    opacity: 1;
}

.customer-photo-delete {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 24px;
    height: 24px;
    border: none;
    background: rgba(239, 68, 68, 0.85);
    color: var(--white);
    border-radius: 50%;
    font-size: 1rem;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.customer-photo-item:hover .customer-photo-delete {
    opacity: 1;
}

.customer-name-link {
    color: var(--primary-gold);
    cursor: pointer;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.2s ease;
}

.customer-name-link:hover {
    color: #b8941f;
    text-decoration: underline;
}

/* Fotoğraf Lightbox */
.photo-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.9);
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.photo-lightbox img {
    max-width: 90%;
    max-height: 90vh;
    border-radius: 8px;
    object-fit: contain;
}

.photo-lightbox-close {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    width: 44px;
    height: 44px;
    border: none;
    background: rgba(255, 255, 255, 0.15);
    color: white;
    font-size: 2rem;
    line-height: 1;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease;
}

.photo-lightbox-close:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .appointment-section .container {
        max-width: 100%;
        padding-left: 12px;
        padding-right: 12px;
    }
    
    .appointment-wrapper {
        grid-template-columns: 1fr;
        gap: 0;
        border-radius: 12px;
    }
    
    .appointment-left {
        order: 1;
        padding: 1rem 1rem;
    }
    
    .appointment-right {
        order: 2;
        padding: 1rem 1rem;
    }
    
    .time-slots-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 0.35rem;
    }
}

@media (max-width: 768px) {
    nav {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
    }
    
    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }

    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .appointment-section {
        padding: 20px 0;
    }
    
    .appointment-section .container {
        padding-left: 10px;
        padding-right: 10px;
    }
    
    .appointment-wrapper {
        border-radius: 10px;
        max-width: 100%;
        overflow: hidden;
    }
    
    .appointment-left {
        padding: 0.9rem 0.85rem;
    }
    
    .info-title {
        font-size: 1.15rem;
    }
    
    .info-description {
        font-size: 0.78rem;
        margin-bottom: 0.5rem;
    }
    
    .pricing-amount {
        font-size: 1.05rem;
    }
    
    .appointment-right {
        padding: 0.9rem 0.85rem;
    }
    
    .time-slots-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 0.3rem;
    }
    
    .time-slot-btn {
        padding: 6px 6px;
        font-size: 0.78rem;
        min-height: 34px;
    }
    
    .form-group {
        margin-bottom: 0.6rem;
    }
    
    .form-group label {
        font-size: 0.8rem;
    }
    
    .form-group input[type="text"],
    .form-group input[type="tel"],
    .form-group input[type="date"],
    .select-wrapper select {
        padding: 7px 8px;
        font-size: 0.85rem;
    }
    
    .btn-continue {
        padding: 9px 12px;
        font-size: 0.85rem;
    }

    .dashboard-header {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }
    
    .dashboard-header h1 {
        font-size: 2rem;
    }

    .admin-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .admin-filters {
        grid-template-columns: 1fr;
    }

    .appointments-table {
        overflow-x: auto;
        margin-top: 1rem;
    }

    .dashboard {
        padding: 1.25rem 1rem 2rem;
    }

    .admin-toolbar {
        margin-bottom: 1.5rem;
    }

    .customers-section {
        margin-top: 1.5rem;
    }

    .customers-card {
        min-height: 420px;
        max-height: 420px;
    }

    .customers-grid {
        grid-template-columns: 1fr;
    }
    .customers-table th,
    .customers-table td {
        padding: 0.85rem;
    }
    
    .contact-info {
        grid-template-columns: 1fr;
    }

    .customer-photos-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .customer-detail-row {
        flex-direction: column;
        gap: 0.2rem;
    }

    .customer-detail-label {
        min-width: unset;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 100px 0;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    section {
        padding: 32px 0;
    }

    .dashboard {
        padding: 1rem 0.75rem 1.75rem;
    }

    .dashboard-header h1 {
        font-size: 1.7rem;
    }

    .admin-stats {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .customers-card {
        min-height: 400px;
        max-height: 400px;
    }
    
    .appointment-section {
        padding: 16px 0;
    }
    
    .appointment-section .container {
        padding-left: 8px;
        padding-right: 8px;
        max-width: 100%;
    }
    
    .appointment-form {
        padding: 0;
    }
    
    .appointment-left,
    .appointment-right {
        padding: 0.75rem 0.7rem;
    }
    
    .info-title {
        font-size: 1.05rem;
        margin-bottom: 0.35rem;
    }
    
    .info-description {
        font-size: 0.75rem;
        margin-bottom: 0.4rem;
    }
    
    .info-feature-item {
        font-size: 0.72rem;
        gap: 0.35rem;
    }
    
    .info-feature-item i {
        width: 14px;
        height: 14px;
    }
    
    .time-slots-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 0.25rem;
    }
    
    .time-slot-btn {
        padding: 6px 4px;
        font-size: 0.72rem;
        min-height: 32px;
    }
    
    .form-group {
        margin-bottom: 0.5rem;
    }
    
    .form-group label {
        font-size: 0.78rem;
        margin-bottom: 0.25rem;
    }
    
    .form-group input[type="text"],
    .form-group input[type="tel"],
    .form-group input[type="date"],
    .select-wrapper select {
        padding: 6px 8px;
        font-size: 16px; /* iOS zoom önleme */
        min-height: 36px;
    }
    
    .btn-continue {
        padding: 8px 10px;
        font-size: 0.82rem;
    }
    
    footer .container {
        padding: 1rem 16px;
    }
    
    .admin-link-footer {
        font-size: 0.75rem;
        margin-top: 0.5rem;
    }
}
