:root {
  --color-bg: #F8F5F0;
  --color-surface: #FFFFFF;
  --color-surface-hover: #FFFFFF;
  --color-gold: #B89768;
  --color-gold-hover: #A68555;
  --color-text: #333333;
  --color-text-muted: #666666;
  --color-accent-dark: #2C352D; /* Deep elegant green */
  
  --font-en: 'Inter', sans-serif;
  --font-ar: 'Noto Kufi Arabic', sans-serif;
  --font-heading: 'Cinzel', serif;
}

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

body {
  font-family: var(--font-en);
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.7;
  overflow-x: hidden;
  transition: all 0.3s ease;
  -webkit-font-smoothing: antialiased;
}

body.lang-ar {
  font-family: var(--font-ar);
  direction: rtl;
}

body.lang-ar .heading, body.lang-ar .section-title {
  font-family: var(--font-ar);
  font-weight: 400;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.4s ease;
}

a:hover {
  color: var(--color-gold);
}

/* Lang Switcher */
.lang-switcher {
  position: fixed;
  top: 30px;
  right: 40px;
  z-index: 100;
  display: flex;
  gap: 15px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(15px);
  padding: 10px 15px;
  border-radius: 40px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

body.lang-ar .lang-switcher {
  right: auto;
  left: 40px;
}

.lang-btn {
  background: transparent;
  border: none;
  color: var(--color-text-muted);
  font-size: 13px;
  font-family: var(--font-en);
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  padding: 8px 16px;
  border-radius: 30px;
  transition: all 0.4s ease;
}

.lang-btn.active, .lang-btn:hover {
  color: #fff;
  background: var(--color-accent-dark);
}

.lang-hamburger {
  display: none;
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 101;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(15px);
  border: none;
  height: 45px;
  padding: 0 16px;
  border-radius: 25px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  color: var(--color-accent-dark);
  transition: all 0.3s ease;
}

.lang-current-text {
  font-family: var(--font-en);
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
}

body.lang-ar .lang-hamburger {
  right: auto;
  left: 20px;
}

/* Hero Section */
.hero {
  position: relative;
  height: 100vh;
  min-height: 700px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
  background: url('assets/spa_hero_premium.png') no-repeat center center/cover;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(44, 53, 45, 0.4) 0%, rgba(44, 53, 45, 0.7) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  animation: fadeInUp 1.2s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
  padding-top: 40px;
}

.subtitle {
  color: var(--color-gold);
  font-size: 1rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  margin-bottom: 25px;
  font-weight: 500;
}

.heading {
  font-family: var(--font-heading);
  font-size: 4.5rem;
  line-height: 1.1;
  margin-bottom: 35px;
  color: #ffffff;
  font-weight: 400;
  letter-spacing: 1px;
}

.contact-info {
  margin-bottom: 45px;
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 300;
}

.contact-info p {
  margin-bottom: 12px;
  letter-spacing: 0.5px;
}

.phones {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-top: 20px;
}

.cta-btn {
  display: inline-block;
  background: var(--color-gold);
  color: #fff;
  padding: 18px 45px;
  font-size: 0.95rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 2px;
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  box-shadow: 0 10px 30px rgba(184, 151, 104, 0.3);
  border: 1px solid var(--color-gold);
}

.cta-btn:hover {
  background: transparent;
  color: var(--color-gold);
  transform: translateY(-2px);
  box-shadow: 0 15px 35px rgba(184, 151, 104, 0.4);
}

/* Services Section */
.services-section {
  padding: 120px 20px;
  background-color: var(--color-bg);
  position: relative;
  overflow: hidden;
}

.services-section::before,
.services-section::after {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  background: url('assets/floral_motif.png') no-repeat center center / contain;
  mix-blend-mode: multiply;
  opacity: 0.8;
  z-index: 0;
  pointer-events: none;
}

.services-section::before {
  top: 5%;
  left: -200px;
  transform: rotate(-20deg);
}

.services-section::after {
  bottom: 5%;
  right: -200px;
  transform: rotate(20deg);
}

.container {
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.section-title {
  font-family: var(--font-heading);
  text-align: center;
  font-size: 3.5rem;
  color: var(--color-accent-dark);
  margin-bottom: 80px;
  font-weight: 400;
  position: relative;
  display: inline-block;
  left: 50%;
  transform: translateX(-50%);
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 2px;
  background-color: var(--color-gold);
}

.services-grid {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.service-item {
  display: flex;
  align-items: flex-start;
  padding: 45px 30px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  transition: all 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
  position: relative;
}

.service-item:first-child {
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.service-item:hover {
  background: rgba(255, 255, 255, 0.4);
  padding-left: 45px;
  padding-right: 15px;
}

.service-number {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  color: var(--color-gold);
  opacity: 0.4;
  width: 90px;
  flex-shrink: 0;
  padding-top: 5px;
  transition: all 0.5s ease;
}

.service-item:hover .service-number {
  opacity: 1;
  color: var(--color-accent-dark);
}

.service-content {
  flex: 1;
}

body.lang-ar .service-item {
  flex-direction: row-reverse;
}

body.lang-ar .service-item:hover {
  padding-left: 15px;
  padding-right: 45px;
}

.service-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 20px;
}

.service-title {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  color: var(--color-accent-dark);
  flex: 1;
  font-weight: 400;
  line-height: 1.3;
  transition: color 0.3s ease;
}

.service-item:hover .service-title {
  color: var(--color-gold);
}

.service-meta {
  text-align: right;
  flex-shrink: 0;
  margin-left: 20px;
}

body.lang-ar .service-meta {
  text-align: left;
  margin-left: 0;
  margin-right: 20px;
}

.service-price {
  color: var(--color-accent-dark);
  font-weight: 500;
  font-size: 1.3rem;
  font-family: var(--font-en);
}

.service-duration {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-top: 6px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.service-desc {
  color: var(--color-text-muted);
  font-size: 1.1rem;
  line-height: 1.8;
  font-weight: 300;
  max-width: 800px;
}

.footer {
  text-align: center;
  padding: 60px 20px;
  background-color: var(--color-accent-dark);
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
  letter-spacing: 0.5px;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  animation: fadeInUp 1s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
  opacity: 0;
}

/* WhatsApp & Actions */
.hero-actions {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.whatsapp-cta {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.4);
  box-shadow: none;
}

.whatsapp-cta:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #fff;
  color: #fff;
  box-shadow: 0 10px 30px rgba(255, 255, 255, 0.1);
}

.floating-whatsapp {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background-color: #25D366;
  color: #FFF;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
  z-index: 1000;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0); }
}

.floating-whatsapp svg {
  width: 35px;
  height: 35px;
}

.floating-whatsapp:hover {
  transform: scale(1.1) translateY(-5px);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.6);
  color: #FFF;
  animation: none;
}

body.lang-ar .floating-whatsapp {
  right: auto;
  left: 30px;
}

/* Modal */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(44, 53, 45, 0.7);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: all 0.4s ease;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.modal-content {
  background: var(--color-bg);
  width: 90%;
  max-width: 500px;
  border-radius: 12px;
  padding: 40px;
  position: relative;
  transform: translateY(30px);
  transition: all 0.4s ease;
  box-shadow: 0 20px 50px rgba(0,0,0,0.2);
  max-height: 90vh;
  overflow-y: auto;
}

.modal-overlay.active .modal-content {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: transparent;
  border: none;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  color: var(--color-text-muted);
  transition: color 0.3s;
}

body.lang-ar .modal-close {
  right: auto;
  left: 20px;
}

.modal-close:hover {
  color: var(--color-accent-dark);
}

.modal-title {
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--color-accent-dark);
  margin-bottom: 30px;
  font-weight: 400;
  text-align: center;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-size: 0.95rem;
  color: var(--color-accent-dark);
  font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 6px;
  background: #FFF;
  font-family: var(--font-en);
  font-size: 1rem;
  color: var(--color-text);
  outline: none;
  transition: border-color 0.3s;
}

body.lang-ar .form-group input,
body.lang-ar .form-group select,
body.lang-ar .form-group textarea {
  font-family: var(--font-ar);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--color-gold);
}

.modal-submit {
  width: 100%;
  margin-top: 10px;
  text-align: center;
  border-radius: 6px;
}

/* Responsive */
@media (max-width: 1024px) {
  .heading {
    font-size: 3.5rem;
  }
  .services-section {
    padding: 80px 20px;
  }
  .service-item {
    padding: 35px 20px;
  }
  .lang-switcher {
    top: 20px;
    right: 20px;
    left: 20px;
    justify-content: center;
    border-radius: 20px;
  }
  .modal-content {
    padding: 30px 20px;
    width: 95%;
  }
}

@media (max-width: 600px) {
  .lang-switcher {
    top: 75px;
    right: 20px;
    left: auto;
    flex-direction: column;
    border-radius: 15px;
    width: auto;
    min-width: 120px;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.95);
  }
  body.lang-ar .lang-switcher {
    right: auto;
    left: 20px;
  }
  .lang-switcher.show {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }
  .lang-hamburger {
    display: flex;
  }
  .hero {
    min-height: 100vh;
  }
  .hero-content {
    padding-top: 60px;
    padding-bottom: 20px;
  }
  .subtitle {
    font-size: 0.85rem;
    letter-spacing: 2px;
  }
  .heading {
    font-size: 2.5rem;
    margin-bottom: 25px;
  }
  .contact-info {
    font-size: 0.95rem;
    margin-bottom: 35px;
  }
  .phones {
    flex-direction: column;
    gap: 10px;
  }
  .hero-actions {
    flex-direction: column;
    gap: 15px;
  }
  .cta-btn {
    width: 100%;
    padding: 15px 20px;
    font-size: 0.9rem;
  }
  .services-section {
    padding: 60px 15px;
  }
  .services-section::before,
  .services-section::after {
    display: none;
  }
  .section-title {
    font-size: 2.5rem;
    margin-bottom: 50px;
  }
  .service-item {
    padding: 25px 0;
    flex-direction: column;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  }
  body.lang-ar .service-item {
    flex-direction: column;
  }
  .service-item:hover {
    padding-left: 0;
    padding-right: 0;
    background: transparent;
  }
  body.lang-ar .service-item:hover {
    padding-left: 0;
    padding-right: 0;
  }
  .service-number {
    font-size: 2rem;
    margin-bottom: 15px;
    padding-top: 0;
    width: auto;
  }
  .service-header {
    flex-direction: column;
    margin-bottom: 15px;
  }
  .service-title {
    font-size: 1.5rem;
    margin-bottom: 10px;
  }
  .service-meta {
    text-align: left;
    margin-left: 0;
  }
  body.lang-ar .service-meta {
    text-align: right;
    margin-right: 0;
  }
  .service-price {
    font-size: 1.1rem;
  }
  .service-desc {
    font-size: 1rem;
  }
  .floating-whatsapp {
    width: 50px;
    height: 50px;
    bottom: 20px;
    right: 20px;
  }
  .floating-whatsapp svg {
    width: 28px;
    height: 28px;
  }
  body.lang-ar .floating-whatsapp {
    left: 20px;
    right: auto;
  }
  .modal-title {
    font-size: 1.5rem;
    margin-bottom: 20px;
  }
  .form-group {
    margin-bottom: 15px;
  }
  .form-group input,
  .form-group select,
  .form-group textarea {
    padding: 10px 12px;
  }
}
