/* 
  Abira Clinic & Salon 
  2026 Premium Design System 
*/

:root {
  /* Color Palette (Soft, Luxury, Feminine Appeal) */
  --primary-color: #0d3b30; /* Very Deep Emerald */
  --secondary-color: #e6c594; /* Soft Luxury Gold */
  --accent-color: #d8a7a9; /* Dusty Rose / Blush */
  --bg-color: #fcfbf9; /* Warm Pearl White */
  --surface-color: #ffffff;
  --text-dark: #1a1a1a;
  --text-light: #ffffff;
  --text-muted: #7a7a7a;
  --wa-color: #25d366;
  
  /* Typography */
  --font-heading: 'Playfair Display', serif;
  --font-body: 'Inter', sans-serif;
  
  /* Spacing & Layout */
  --section-padding: 120px 5%;
  --container-width: 1300px; /* Wider for 2026 feel */
  --border-radius: 20px;
  --border-radius-lg: 32px;
  
  /* Modern Shadows & Glassmorphism */
  --shadow-sm: 0 10px 30px rgba(0, 0, 0, 0.03);
  --shadow-md: 0 20px 40px rgba(0, 0, 0, 0.06);
  --shadow-float: 0 30px 60px rgba(13, 59, 48, 0.1);
  --glass-bg: rgba(255, 255, 255, 0.85);
  --glass-border: 1px solid rgba(255, 255, 255, 0.4);
  
  /* Transitions */
  --transition-fast: 0.3s ease;
  --transition-slow: 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Reset & Base Styles */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background-color: var(--bg-color);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 400; /* Lighter weight for modern elegance */
  color: var(--primary-color);
  line-height: 1.1;
}

a { text-decoration: none; color: inherit; transition: var(--transition-fast); }
img { max-width: 100%; height: auto; display: block; border-radius: 8px; }

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
}
section { padding: var(--section-padding); }

/* Typography Utilities */
.section-title {
  text-align: center;
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  letter-spacing: -1px;
}
.section-subtitle {
  text-align: center;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 4rem;
  font-size: 1.2rem;
  font-weight: 300;
}

/* 2026 Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 36px;
  border-radius: 50px;
  font-weight: 400;
  cursor: pointer;
  border: none;
  transition: var(--transition-slow);
  font-size: 1rem;
  letter-spacing: 0.5px;
  overflow: hidden;
  position: relative;
  z-index: 1;
}

.btn-primary {
  background-color: var(--primary-color);
  color: var(--text-light);
}
.btn-primary:hover {
  background-color: var(--secondary-color);
  color: var(--primary-color);
  transform: translateY(-3px);
  box-shadow: var(--shadow-float);
}

.btn-wa {
  background-color: var(--wa-color);
  color: white;
}
.btn-wa:hover {
  background-color: #1ebd5c;
  transform: translateY(-3px);
  box-shadow: 0 20px 40px rgba(37, 211, 102, 0.3);
}

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

/* Navbar (Glassmorphism) */
.navbar {
  position: fixed;
  top: 0; left: 0; width: 100%;
  padding: 25px 5%;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition-slow);
  background: transparent;
}
.navbar.scrolled {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: var(--glass-border);
  padding: 15px 5%;
  box-shadow: var(--shadow-sm);
}

.navbar .logo {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 400;
  color: var(--text-dark);
}
.navbar .logo span { color: var(--secondary-color); }

.nav-links {
  display: flex;
  gap: 35px;
  list-style: none;
}
.nav-links a {
  color: var(--text-dark);
  font-weight: 400;
  font-size: 1.05rem;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -6px; left: 0;
  width: 0; height: 1px;
  background-color: var(--primary-color);
  transition: var(--transition-slow);
}
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }

/* Hamburger Menu */
.hamburger {
  display: none;
  cursor: pointer;
  flex-direction: column;
  gap: 6px;
}
.hamburger span {
  width: 30px; height: 1px;
  background-color: var(--text-dark);
  transition: var(--transition-fast);
}

/* 2026 Hero Section: Split Layout with Horizontal Image Scroller */
.hero-split {
  height: 100vh;
  display: flex;
  align-items: center;
  padding: 0 5%;
  background: var(--bg-color);
  overflow: hidden;
  position: relative;
  padding-top: 80px;
}
.hero-content {
  flex: 1;
  padding-right: 5%;
  z-index: 2;
}
.hero-content h1 {
  font-size: 4.5rem;
  line-height: 1.05;
  margin-bottom: 30px;
  color: var(--primary-color);
}
.hero-content h1 span {
  color: var(--accent-color);
  font-style: italic;
}
.hero-content p {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin-bottom: 40px;
  max-width: 500px;
  font-weight: 300;
}

/* Horizontal Scroller for Hero */
.hero-scroller {
  flex: 1;
  height: 80vh;
  position: relative;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  mask-image: linear-gradient(to bottom, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(to bottom, transparent, black 10%, black 90%, transparent);
}
.scroller-track {
  display: flex;
  flex-direction: column;
  gap: 20px;
  animation: scrollVertical 30s linear infinite;
}
.scroller-track img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: var(--border-radius-lg);
}

/* Bento Box Layouts (2026 Trend) */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 300px;
  gap: 20px;
  margin-top: 50px;
}
.bento-item {
  background: var(--surface-color);
  border-radius: var(--border-radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-slow);
  position: relative;
  overflow: hidden;
}
.bento-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}
.bento-large { grid-column: span 2; grid-row: span 2; }
.bento-wide { grid-column: span 2; }
.bento-tall { grid-row: span 2; }

/* Image styling inside bento */
.bento-item img.bg {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  object-fit: cover;
  z-index: 1;
  transition: var(--transition-slow);
}
.bento-item:hover img.bg {
  transform: scale(1.05);
}
.bento-item .content-overlay {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.bento-item.has-bg::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; width: 100%; height: 60%;
  background: linear-gradient(transparent, rgba(0,0,0,0.8));
  z-index: 1;
}
.bento-item.has-bg h3, .bento-item.has-bg p {
  color: white;
}

/* Modern Service Cards */
.service-card {
  background: var(--surface-color);
  border-radius: var(--border-radius-lg);
  padding: 30px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-slow);
  border: 1px solid rgba(0,0,0,0.02);
}
.service-card:hover {
  box-shadow: var(--shadow-md);
}
.service-img-wrapper {
  height: 250px;
  border-radius: var(--border-radius);
  overflow: hidden;
  margin-bottom: 20px;
}
.service-img-wrapper img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}
.service-card:hover .service-img-wrapper img {
  transform: scale(1.05);
}

/* Floating WhatsApp Integration Widget */
.wa-widget {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: var(--glass-border);
  padding: 15px 25px;
  border-radius: 50px;
  display: flex;
  align-items: center;
  gap: 15px;
  box-shadow: var(--shadow-float);
  position: fixed;
  bottom: 40px;
  right: 40px;
  z-index: 999;
  transition: var(--transition-slow);
  cursor: pointer;
  text-decoration: none;
  color: var(--text-dark);
}
.wa-widget:hover {
  transform: translateY(-5px);
  background: white;
}
.wa-widget .wa-icon {
  background: var(--wa-color);
  color: white;
  width: 40px; height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}
.wa-widget .wa-text {
  font-weight: 500;
  font-size: 0.95rem;
}

/* Footer */
.footer {
  background-color: var(--primary-color);
  color: var(--text-light);
  padding: 100px 5% 40px;
  border-top-left-radius: 40px;
  border-top-right-radius: 40px;
  margin-top: 50px;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 50px;
  margin-bottom: 60px;
}
.footer-col h3 {
  color: var(--secondary-color);
  margin-bottom: 25px;
  font-size: 1.5rem;
}
.footer-col p, .footer-col li {
  margin-bottom: 15px;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 300;
}
.footer-col ul { list-style: none; }
.footer-col a:hover { color: var(--secondary-color); }
.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255,255,255,0.1);
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 1024px) {
  .bento-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .hero-content h1 { font-size: 3.5rem; }
}

@media (max-width: 768px) {
  .hero-split {
    flex-direction: column;
    padding-top: 120px;
    height: auto;
  }
  .hero-content {
    padding-right: 0;
    text-align: center;
    margin-bottom: 50px;
  }
  .hero-content p { margin: 0 auto 30px; }
  .hero-scroller { width: 100%; height: 50vh; }
  
  .nav-links {
    display: none;
    position: absolute;
    top: 100%; left: 0; width: 100%;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 30px;
    box-shadow: var(--shadow-md);
  }
  .nav-links.active { display: flex; }
  .hamburger { display: flex; }
  
  .bento-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
  }
  .bento-large, .bento-wide, .bento-tall {
    grid-column: span 1;
    grid-row: auto;
    min-height: 300px;
  }
  .wa-widget {
    bottom: 20px; right: 20px;
    padding: 10px 20px;
  }
}
