/**
 * Modern Theme CSS
 * Custom styles for the Halı Saha redesign
 */

:root {
    --primary: #0f172a;
    --neon: #39ff14;
    --accent: #22c55e;
}

/* Base Styles */
body {
    background-color: var(--primary);
    color: white;
}

.section-title {
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    letter-spacing: -0.02em;
}

/* Glassmorphism */
.glass-card {
    background: rgba(30, 41, 59, 0.4);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

/* Neon Glows */
.text-neon {
    color: var(--neon);
    text-shadow: 0 0 10px rgba(57, 255, 20, 0.3);
}

.bg-neon {
    background-color: var(--neon);
}

.shadow-neon {
    box-shadow: 0 0 20px rgba(57, 255, 20, 0.1);
}

.shadow-neon-strong {
    box-shadow: 0 0 40px rgba(57, 255, 20, 0.3);
}

/* Scroll Animations */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-on-scroll.active {
    opacity: 1;
    transform: translateY(0);
}

.delay-100 { transition-delay: 100ms; }
.delay-200 { transition-delay: 200ms; }
.delay-300 { transition-delay: 300ms; }
.delay-400 { transition-delay: 400ms; }
.delay-500 { transition-delay: 500ms; }

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--primary);
}

::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--neon);
}

/* Form Styles */
input, select, textarea {
    background-color: rgba(30, 41, 59, 0.5) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: white !important;
    transition: all 0.3s ease;
}

input:focus, select:focus, textarea:focus {
    border-color: var(--neon) !important;
    box-shadow: 0 0 10px rgba(57, 255, 20, 0.15) !important;
    outline: none !important;
}

/* Tactical label helper (used across pages) */
.tactical-label {
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    color: rgba(30, 41, 59, 0.75);
}

.bg-secondary .tactical-label {
    color: rgba(255, 255, 255, 0.6);
}

/* Form içindeki tactical-label daha koyu */
#appointmentForm .tactical-label {
    color: rgba(30, 41, 59, 0.85) !important;
}

/* Light form overrides (index appointment card) */
#appointmentForm input,
#appointmentForm select,
#appointmentForm textarea {
    background-color: #f8fafc !important;
    border: 2px solid rgba(0, 0, 0, 0.08) !important;
    color: #1e293b !important;
}

#appointmentForm input::placeholder,
#appointmentForm textarea::placeholder {
    color: rgba(30, 41, 59, 0.35) !important;
}

#appointmentForm input:focus,
#appointmentForm select:focus,
#appointmentForm textarea:focus {
    border-color: var(--neon) !important;
    box-shadow: 0 0 0 4px rgba(57, 255, 20, 0.12) !important;
}

#appointmentForm .bx {
    color: rgba(30, 41, 59, 0.45) !important;
}

/* Hide native date picker icon so Boxicons stays consistent */
#appointmentForm input[type="date"]::-webkit-calendar-picker-indicator {
    opacity: 0;
}

/* Logo Animation */
.logo-icon {
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}
