:root {
    --bg-dark: #0a0a0a;
    --bg-panel: rgba(20, 20, 20, 0.7);
    --gold: #d4af37;
    --gold-glow: rgba(212, 175, 55, 0.3);
    --text-light: #f4f4f5;
    --text-muted: #a1a1aa;
    --border-color: rgba(255, 255, 255, 0.08);
    
    --font-sans: 'Outfit', sans-serif;
    --font-serif: 'Playfair Display', serif;
    
    --radius: 16px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-light);
    font-family: var(--font-sans);
    line-height: 1.6;
    overflow-x: hidden;
    cursor: none; /* For custom cursor */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

@media (pointer: coarse) {
    body {
        cursor: auto;
    }
    .cursor-dot, .cursor-outline {
        display: none !important;
    }
}

/* Custom Cursor */
.cursor-dot, .cursor-outline {
    position: fixed;
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    z-index: 9999;
    pointer-events: none;
}
.cursor-dot {
    width: 8px;
    height: 8px;
    background-color: var(--gold);
}
.cursor-outline {
    width: 40px;
    height: 40px;
    border: 1px solid var(--gold);
    transition: width 0.2s, height 0.2s, background-color 0.2s;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    transition: all 0.3s ease;
}
.header.scrolled {
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    padding: 1rem 0;
}
.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    line-height: 1;
}
.logo-evren {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    color: var(--text-light);
    letter-spacing: 2px;
}
.logo-salon {
    font-size: 0.7rem;
    color: var(--gold);
    letter-spacing: 4px;
    margin-top: 2px;
}
.btn-nav {
    color: var(--bg-dark);
    background: var(--gold);
    padding: 0.6rem 1.5rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: transform 0.3s, box-shadow 0.3s;
}
.btn-nav:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px var(--gold-glow);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 80px;
    overflow: hidden;
}
.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, rgba(212, 175, 55, 0.05) 0%, rgba(10, 10, 10, 1) 70%);
    z-index: -1;
}
.hero-content {
    text-align: center;
    max-width: 800px;
}
.hero-title {
    font-family: var(--font-serif);
    font-size: clamp(3rem, 8vw, 6rem);
    line-height: 1.1;
    margin-bottom: 1.5rem;
    font-weight: 400;
}
.hero-title .highlight {
    color: var(--gold);
    font-style: italic;
}
.hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    color: #e4e4e7;
    margin-bottom: 3rem;
    font-weight: 400;
}
.btn-primary {
    display: inline-block;
    color: var(--bg-dark);
    background: var(--gold);
    padding: 1rem 2.5rem;
    border-radius: 40px;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 600;
    transition: background-color 0.3s, transform 0.3s, box-shadow 0.3s;
    position: relative;
    overflow: hidden;
}
.btn-primary::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}
.btn-primary:hover::after {
    left: 100%;
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
}
.mouse {
    width: 26px;
    height: 42px;
    border: 2px solid var(--text-muted);
    border-radius: 20px;
    position: relative;
}
.wheel {
    width: 4px;
    height: 8px;
    background: var(--gold);
    border-radius: 2px;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 1.5s infinite;
}
@keyframes scroll {
    0% { transform: translate(-50%, 0); opacity: 1; }
    100% { transform: translate(-50%, 15px); opacity: 0; }
}

/* Booking Section */
.booking-section {
    padding: 6rem 0;
    position: relative;
}
.glass-panel {
    background: var(--bg-panel);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 4rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}
.booking-header {
    text-align: center;
    margin-bottom: 4rem;
}
.booking-header h2 {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    color: var(--gold);
    margin-bottom: 0.5rem;
}
.booking-header p {
    color: #e4e4e7;
    font-size: 1.1rem;
    font-weight: 400;
}

/* Form Steps */
.form-step {
    margin-bottom: 3rem;
}
.step-title {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 10px;
}
.step-title::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border-color);
}

/* Services */
.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}
.service-card {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius);
    padding: 2rem 1.5rem;
    text-align: center;
    cursor: pointer;
    transition: background-color 0.3s, border-color 0.3s, box-shadow 0.3s, transform 0.3s;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}
.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gold);
    opacity: 0;
    transition: opacity 0.3s;
    z-index: 0;
}
.service-card > * {
    position: relative;
    z-index: 1;
}
.service-card:hover {
    border-color: var(--gold);
    transform: translateY(-5px);
}
.service-card.selected {
    border-color: var(--gold);
    background: rgba(212, 175, 55, 0.1);
}
.service-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}
.service-card h4 {
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}
.service-card .price {
    color: var(--gold);
    font-family: var(--font-sans);
    font-size: 1.4rem;
    font-weight: 600;
}

/* Date & Time */
.datetime-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}
.input-label {
    display: block;
    margin-bottom: 0.8rem;
    color: #e4e4e7;
    font-size: 1rem;
    font-weight: 500;
}
.flatpickr-input, .modern-input {
    width: 100%;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-color);
    color: var(--text-light);
    padding: 1.2rem;
    border-radius: 12px;
    font-family: var(--font-sans);
    font-size: 1rem;
    transition: all 0.3s;
}
.flatpickr-input:focus, .modern-input:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 2px var(--gold-glow);
}

.slots-container {
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.5rem;
    min-height: 200px;
}
.slots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    gap: 0.8rem;
}
.slot-btn {
    background: transparent;
    border: 1px solid var(--border-color);
    color: #e4e4e7;
    padding: 0.8rem;
    border-radius: 8px;
    cursor: pointer;
    font-family: var(--font-sans);
    font-weight: 500;
    transition: background-color 0.2s, border-color 0.2s, color 0.2s, transform 0.2s;
}
.slot-btn:hover:not(:disabled) {
    border-color: var(--gold);
    color: var(--gold);
}
.slot-btn.selected {
    background: var(--gold);
    color: var(--bg-dark);
    border-color: var(--gold);
    font-weight: 600;
}
.slot-btn:disabled {
    opacity: 0.2;
    cursor: not-allowed;
    text-decoration: line-through;
}

/* Inputs Row */
.input-group-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.btn-submit {
    width: 100%;
    background: var(--gold);
    color: var(--bg-dark);
    border: none;
    padding: 1.2rem;
    border-radius: 12px;
    font-family: var(--font-sans);
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}
.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px var(--gold-glow);
}

.message {
    padding: 1.5rem;
    border-radius: 12px;
    margin-bottom: 2rem;
    display: none;
    text-align: center;
    font-weight: 500;
}
.message.success {
    display: block;
    background: rgba(16, 185, 129, 0.1);
    color: #34d399;
    border: 1px solid rgba(16, 185, 129, 0.2);
}
.message.error {
    display: block;
    background: rgba(239, 68, 68, 0.1);
    color: #f87171;
    border: 1px solid rgba(239, 68, 68, 0.2);
}

/* Footer */
.footer {
    border-top: 1px solid var(--border-color);
    padding: 4rem 0;
    margin-top: 4rem;
}
.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    color: var(--text-muted);
}
.footer-logo {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    color: var(--gold);
    letter-spacing: 2px;
}

/* Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}
.modal-overlay.active {
    opacity: 1;
    pointer-events: all;
}
.modal-content {
    text-align: center;
    max-width: 450px;
    width: 90%;
    padding: 3rem 2rem;
    transform: translateY(50px) scale(0.9);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.modal-overlay.active .modal-content {
    transform: translateY(0) scale(1);
}
.modal-icon {
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
}
.modal-content h3 {
    font-family: var(--font-serif);
    font-size: 2rem;
    color: var(--gold);
    margin-bottom: 1rem;
}
.modal-content p {
    color: #e4e4e7;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}
.modal-details {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 1.5rem;
    margin-bottom: 2rem;
    text-align: left;
}
.modal-details p {
    margin-bottom: 0.8rem;
    color: #a1a1aa;
    font-size: 1.05rem;
}
.modal-details p:last-child {
    margin-bottom: 0;
}
.modal-details strong {
    color: var(--gold);
    display: inline-block;
    width: 70px;
}
.modal-details span {
    color: #fff;
    font-weight: 500;
}

/* Responsive */
@media (max-width: 900px) {
    .datetime-wrapper {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 768px) {
    .glass-panel {
        padding: 2rem;
        background: rgba(20, 20, 20, 0.95);
    }
    .input-group-row {
        grid-template-columns: 1fr;
    }
    .hero-title {
        font-size: 2.5rem;
    }
}
