/* ==========================================================================
   REZERVASYONUM VAR — REDESIGN DESIGN SYSTEM & STYLE SHEET
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
  /* Sand Color Tokens */
  --sand-bg: #faf8f5;
  --sand-surface: #f0ebe3;
  --sand-accent: #c9b99a;
  --sand-deep: #8b7355;
  --deep-brown: #2a2118;
  
  --border-color: rgba(42, 33, 24, 0.08);
  --border-color-hover: rgba(42, 33, 24, 0.16);
  
  --font-display: 'Outfit', sans-serif;
  --font-sans: 'Plus Jakarta Sans', sans-serif;
}

/* Base resets & styles */
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

/* Screen reader only — SEO & erişilebilirlik */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.sr-only:focus,
.focus\:not-sr-only:focus {
  position: static;
  width: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  clip: auto;
  white-space: normal;
}

body {
  background-color: var(--sand-bg);
  color: var(--deep-brown);
  font-family: var(--font-sans);
  overflow-x: hidden;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--sand-bg);
}
::-webkit-scrollbar-thumb {
  background: var(--sand-deep);
  border-radius: 99px;
  border: 2px solid var(--sand-bg);
}

/* Typography Overrides */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--deep-brown);
}

/* --- Warm Editorial Radial Backgrounds --- */
.aurora-container {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  overflow: hidden;
  z-index: 0;
  pointer-events: none;
}

.aurora-bg {
  position: absolute;
  width: 150%;
  height: 120%;
  top: -20%;
  left: -25%;
  background: 
    radial-gradient(circle at 10% 20%, rgba(201, 185, 154, 0.12) 0%, transparent 60%),
    radial-gradient(circle at 90% 10%, rgba(139, 115, 85, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 50% 90%, rgba(240, 235, 227, 0.8) 0%, transparent 60%);
  filter: blur(40px);
}

/* --- Sand Minimalist Cards (Glass replacements) --- */
.glass-panel {
  background: rgba(240, 235, 227, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-color);
  box-shadow: 
    0 10px 30px -10px rgba(42, 33, 24, 0.04),
    inset 0 1px 0px rgba(255, 255, 255, 0.6);
}

.glass-panel-hover {
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.glass-panel-hover:hover {
  transform: translateY(-4px);
  border-color: var(--sand-accent);
  background: rgba(240, 235, 227, 0.95);
  box-shadow: 
    0 20px 40px -15px rgba(42, 33, 24, 0.08),
    inset 0 1px 0px rgba(255, 255, 255, 0.8);
}

/* --- Hero Dynamic Headline Text Changer --- */
.hero-dynamic-text-wrapper {
  display: inline-block;
  position: relative;
  overflow: hidden;
  vertical-align: bottom;
}

.hero-dynamic-text {
  color: var(--sand-deep);
  display: inline-block;
  transition: transform 0.5s cubic-bezier(0.76, 0, 0.24, 1), opacity 0.5s ease;
}

/* --- Interactive Booking Simulator (Sand Theme) --- */
.simulator-card {
  position: relative;
  background: #ffffff;
  border: 1px solid rgba(42, 33, 24, 0.08);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 30px 60px -15px rgba(42, 33, 24, 0.08);
}

.simulator-step {
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-btn {
  background: var(--sand-bg);
  border: 1px solid rgba(42, 33, 24, 0.05);
  color: var(--deep-brown);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-btn:hover {
  background: var(--sand-surface);
  border-color: var(--sand-accent);
  transform: translateY(-2px);
}

.service-btn.active {
  background: var(--deep-brown);
  border-color: var(--deep-brown);
  color: #ffffff;
  box-shadow: 0 10px 20px -8px rgba(42, 33, 24, 0.3);
}

.specialist-bubble {
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  border: 2px solid transparent;
  background: var(--sand-bg);
}

.specialist-bubble:hover {
  transform: scale(1.03);
  background: var(--sand-surface);
}

.specialist-bubble.active {
  border-color: var(--deep-brown);
  background: #ffffff;
  box-shadow: 0 8px 20px -6px rgba(42, 33, 24, 0.12);
}

.time-slot {
  background: var(--sand-bg);
  border: 1px solid rgba(42, 33, 24, 0.06);
  color: var(--deep-brown);
  transition: all 0.2s ease;
}

.time-slot:hover {
  background: var(--sand-surface);
  border-color: var(--sand-accent);
}

.time-slot.active {
  background: var(--deep-brown);
  border-color: var(--deep-brown);
  color: #ffffff;
  box-shadow: 0 8px 16px -6px rgba(42, 33, 24, 0.2);
}

/* --- Bento Grid Features (Sand Theme) --- */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 24px;
}

.bento-card {
  grid-column: span 12;
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid rgba(42, 33, 24, 0.06);
  box-shadow: 0 10px 30px -10px rgba(42, 33, 24, 0.04);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.bento-card:hover {
  transform: translateY(-4px);
  border-color: var(--sand-accent);
  box-shadow: 
    0 30px 50px -20px rgba(42, 33, 24, 0.08),
    inset 0 1px 0px rgba(255, 255, 255, 0.6);
}

@media (min-width: 768px) {
  .bento-card-6 { grid-column: span 6; }
  .bento-card-4 { grid-column: span 4; }
  .bento-card-8 { grid-column: span 8; }
}

@media (min-width: 1024px) {
  .bento-card-4-lg { grid-column: span 4; }
  .bento-card-8-lg { grid-column: span 8; }
}

/* Dynamic Glowing Borders on Hover */
.glow-border-card {
  position: relative;
}

.glow-border-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1.5px;
  background: linear-gradient(135deg, var(--sand-accent), var(--sand-deep), transparent 60%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.glow-border-card:hover::before {
  opacity: 1;
}

/* --- Interactive Admin Mockup Dashboard --- */
.dashboard-tab {
  border-bottom: 2px solid transparent;
  transition: all 0.3s ease;
  color: var(--sand-deep);
}

.dashboard-tab.active {
  border-color: var(--deep-brown);
  color: var(--deep-brown);
}

/* Custom interactive notification popups */
.notification-bubble {
  animation: slide-in-notification 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  background: #ffffff;
  border: 1px solid rgba(42, 33, 24, 0.08);
  box-shadow: 0 10px 25px -10px rgba(42, 33, 24, 0.1);
}

@keyframes slide-in-notification {
  from {
    transform: translateY(20px) scale(0.95);
    opacity: 0;
  }
  to {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
}

/* --- SVG Animated Chart --- */
.chart-path {
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
  animation: draw-chart 2.5s ease-in-out forwards;
}

@keyframes draw-chart {
  to {
    stroke-dashoffset: 0;
  }
}

.chart-grid-line {
  stroke: rgba(42, 33, 24, 0.04);
}

/* --- Editorial Sand Buttons --- */
.btn-editorial-primary {
  background: var(--deep-brown);
  color: #faf8f5;
  border: 1px solid var(--deep-brown);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 10px 25px -8px rgba(42, 33, 24, 0.35);
}

.btn-editorial-primary:hover {
  transform: translateY(-2px);
  background: #3e3224;
  box-shadow: 0 15px 30px -10px rgba(42, 33, 24, 0.45);
}

.btn-editorial-secondary {
  background: #ffffff;
  color: var(--deep-brown);
  border: 1px solid rgba(42, 33, 24, 0.12);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-editorial-secondary:hover {
  background: var(--sand-surface);
  border-color: var(--sand-accent);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px -8px rgba(42, 33, 24, 0.06);
}

/* Custom interactive input field styles */
.custom-input {
  background: #ffffff;
  border: 1px solid rgba(42, 33, 24, 0.1);
  color: var(--deep-brown);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.custom-input:focus {
  background: #ffffff;
  border-color: var(--deep-brown);
  box-shadow: 
    0 0 0 3px rgba(42, 33, 24, 0.05),
    0 8px 24px -8px rgba(42, 33, 24, 0.1);
  outline: none;
}

/* FAQ Accordions */
.faq-accordion {
  border-bottom: 1px solid rgba(42, 33, 24, 0.08);
}

.faq-header {
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  transition: color 0.3s ease;
  color: var(--deep-brown);
}

.faq-header:hover {
  color: var(--sand-deep);
}

.faq-icon {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  border-color: rgba(42, 33, 24, 0.1);
}

.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1), padding 0.4s ease;
  color: var(--sand-deep);
  line-height: 1.6;
}

.faq-accordion.active .faq-content {
  padding-bottom: 24px;
}

.faq-accordion.active .faq-icon {
  transform: rotate(180deg);
}

/* Floating Badges */
.floating-badge {
  background: var(--sand-surface);
  border: 1px solid rgba(42, 33, 24, 0.08);
  color: var(--sand-deep);
}

/* Grid background details */
.grid-bg-overlay {
  background-image: 
    linear-gradient(rgba(42, 33, 24, 0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(42, 33, 24, 0.015) 1px, transparent 1px);
  background-size: 40px 40px;
  background-position: center center;
  mask-image: radial-gradient(circle at center, black, transparent 80%);
  -webkit-mask-image: radial-gradient(circle at center, black, transparent 80%);
}

/* Custom Floating Confetti Animation for Success booking */
.confetti-piece {
  position: absolute;
  width: 8px;
  height: 8px;
  background: var(--sand-accent);
  border-radius: 50%;
  opacity: 0;
}
