/* ============================================
   STAYS MEXICO - THEME VARIABLES
   ============================================ */

:root {
  /* Common Colors */
  --accent-primary: #ff6b6b;
  --accent-secondary: #4ecdc4;
  --accent-tertiary: #ffd93d;
  --whatsapp-green: #25d366;
  --stays-teal: #28AAAE;
  
  /* Light Theme (Default) */
  --bg-primary: #ffffff;
  --bg-secondary: #f8f9fa;
  --bg-tertiary: #f0f2f5;
  --text-primary: #2c3e50;
  --text-secondary: #7f8c8d;
  --text-light: #ecf0f1;
  --border-color: #e1e8ed;
  --header-bg: rgba(255, 255, 255, 0.95);
  --card-bg: #ffffff;
  --shadow-color: rgba(0, 0, 0, 0.08);
  --hero-overlay: rgba(0, 0, 0, 0.4);
}

[data-theme="dark"] {
  /* Dark Theme */
  --bg-primary: #121212;
  --bg-secondary: #1e1e1e;
  --bg-tertiary: #2d2d2d;
  --text-primary: #e1e8ed;
  --text-secondary: #a0a0a0;
  --text-light: #ffffff;
  --border-color: #333333;
  --header-bg: rgba(18, 18, 18, 0.95);
  --card-bg: #1e1e1e;
  --shadow-color: rgba(0, 0, 0, 0.4);
  --hero-overlay: rgba(0, 0, 0, 0.6);
}

/* Base transitions for theme switching */
body {
  transition: background-color 0.3s ease, color 0.3s ease;
}

/* Theme Toggle Styles */
.theme-switch-wrapper {
  display: flex;
  align-items: center;
  margin-left: 1rem;
}

.theme-switch {
  display: inline-block;
  height: 24px;
  position: relative;
  width: 44px;
}

.theme-switch input {
  display: none;
}

.slider {
  background-color: #ccc;
  bottom: 0;
  cursor: pointer;
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
  transition: .4s;
  border-radius: 34px;
}

.slider:before {
  background-color: #fff;
  bottom: 4px;
  content: "";
  height: 16px;
  left: 4px;
  position: absolute;
  transition: .4s;
  width: 16px;
  border-radius: 50%;
}

input:checked + .slider {
  background-color: var(--stays-teal);
}

input:checked + .slider:before {
  transform: translateX(20px);
}

.theme-icon {
  margin: 0 5px;
  color: var(--text-secondary);
}
