/* 
 * ESBK Premium Wellness Design System
 * -----------------------------------
 * Palette: Soft Neutrals, Earthy Greens, Deep Charcoal
 * Typography: Playfair Display (Headings), Inter (Body)
 */

:root {
  /* Colors */
  --color-bg: #f9fafb;
  --color-surface: #ffffff;
  --color-primary: #e84031;
  /* Deep Pastel Blue */
  /* Earthy Green */
  --color-secondary: #6b7280;
  /* Muted Taupe */
  --color-text: #2c2c2c;
  --color-text-light: #666666;
  --color-accent: #9ca3af;
  --color-footer-bg: #111827;
  --color-border: #e8e2d9;

  /* Typography */
  --font-heading: "Inter", sans-serif;
  --font-body: "Inter", sans-serif;
  --font-sans: "Inter", sans-serif;

  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --space-xl: 8rem;
  --space-2xl: 12rem;

  /* Shadows */
  --shadow-soft: 0 4px 12px rgba(0, 0, 0, 0.03), 0 1px 2px rgba(0, 0, 0, 0.02);
  --shadow-premium: 0 20px 40px rgba(74, 93, 78, 0.08);

  /* Transitions */
  --transition-smooth: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  overflow-x: hidden;
  width: 100%;
  -webkit-text-size-adjust: 100%;
}

body {
  background-color: var(--color-bg);
  color: var(--color-text);
  font-family:
    "Inter",
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    "Helvetica Neue",
    Arial,
    sans-serif !important;
  line-height: 1.7;
  overflow-x: hidden;
}

/* Force Inter on ALL elements */
* {
  font-family:
    "Inter",
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    "Helvetica Neue",
    Arial,
    sans-serif !important;
}

::selection {
  background-color: var(--color-primary);
  color: white;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--color-bg);
}

::-webkit-scrollbar-thumb {
  background: var(--color-secondary);
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--color-primary);
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-heading) !important;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1.2;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-smooth);
}

/* Social Icons (ET Support) */
.et-social-icon {
  font-family: "Inter", sans-serif;
  /* Fallback */
  font-style: normal;
  display: inline-block;
  width: 24px;
  height: 24px;
  line-height: 24px;
  text-align: center;
  transition: var(--transition-smooth);
}

.et-social-facebook::before {
  content: "f";
  font-weight: bold;
}

.et-social-instagram::before {
  content: "i";
  font-weight: bold;
}

/* If the user has ETmodules font later, these will be replaced by icons */

/* Utility Classes */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.section-padding {
  padding: var(--space-xl) 0;
}

.text-center {
  text-align: center;
}

/* Grid System */
.grid {
  display: grid;
  gap: var(--space-md);
}

.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid-balanced {
  grid-template-columns: 1.25fr 0.75fr;
}

.items-center {
  align-items: center;
}

@media (max-width: 992px) {

  .grid-2,
  .grid-3,
  .grid-balanced {
    grid-template-columns: 1fr;
  }
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 1rem 2.5rem;
  border-radius: 50px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  border: none;
  transition: var(--transition-smooth);
}

.btn-primary {
  background-color: var(--color-primary);
  color: white;
}

.btn-primary:hover {
  background-color: var(--color-accent);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--color-primary);
  color: var(--color-primary);
}

.btn-outline:hover {
  background: var(--color-primary);
  color: white;
}

/* Page Specific & Reusable Components */
.hero-small {
  padding: calc(var(--space-lg) + 80px) 0 var(--space-lg);
  background: var(--color-primary);
  color: white;
  text-align: center;
}

.hero-small h1 {
  font-size: 3rem;
  margin-bottom: var(--space-xs);
}

.feature-card {
  background: var(--color-surface);
  padding: var(--space-lg) var(--space-md);
  border-radius: 24px;
  margin-top: var(--space-md);
  border: 1px solid var(--color-border);
  transition: var(--transition-smooth);
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  height: 100%;
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-premium);
  border-color: var(--color-primary);
}

.feature-card h3 {
  margin-bottom: var(--space-xs);
  color: var(--color-primary);
}

.check-list {
  list-style: none;
  margin-top: var(--space-sm);
}

.check-list li {
  padding-left: 1.5rem;
  position: relative;
  margin-bottom: var(--space-xs);
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--color-accent);
  font-weight: bold;
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Contact Page Additions */
.contact-details {
  margin-top: var(--space-md);
}

.contact-item {
  margin-bottom: var(--space-sm);
}

.contact-item a {
  color: var(--color-primary);
}

.contact-item a:hover {
  color: var(--color-accent);
}

.social-links {
  margin-top: var(--space-md);
}

.social-links a {
  margin-right: var(--space-sm);
  color: var(--color-primary);
  font-weight: 600;
}

.map-box {
  background: var(--color-border);
  aspect-ratio: 4/3;
  border-radius: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-light);
}

.fade-in {
  animation: fadeIn 1.2s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

/* Scroll Reveal Classes */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Glassmorphism */
.glass {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

/* Image Premium Hover */
.image-placeholder {
  overflow: hidden;
  position: relative;
  transition: var(--transition-smooth);
}

.image-placeholder:hover {
  transform: scale(1.02);
}

/* Utility: Hide Scrollbar */
.scrollbar-hide::-webkit-scrollbar {
  display: none;
}

.scrollbar-hide {
  -ms-overflow-style: none;
  /* IE and Edge */
  scrollbar-width: none;
  /* Firefox */
}

/* Swiper Optimization: Allow vertical page scroll while swiping horizontal sliders */
.swiper {
  touch-action: pan-y;
}

.swiper-wrapper {
  cursor: grab;
}

.swiper-wrapper:active {
  cursor: grabbing;
}