/* === Rahabin Clinic — Yoga & Meditation Studio === */
/* Color Palette: #5B8C7A primary, #E8D5C4 secondary, #C4A882 accent */

:root {
  --primary: #5b8c7a;
  --primary-dark: #4a7366;
  --secondary: #e8d5c4;
  --accent: #c4a882;
  --text: #2d3436;
  --text-light: #636e72;
  --bg: #fafaf8;
  --white: #ffffff;
  --shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
  --radius: 8px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family:
    "Inter",
    -apple-system,
    BlinkMacSystemFont,
    sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  font-size: 16px;
}

h1,
h2,
h3,
h4 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 600;
  line-height: 1.2;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.3s;
}
a:hover {
  color: var(--primary-dark);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* === HEADER === */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 10px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.logo {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary);
}

.logo span {
  color: var(--accent);
}

.nav {
  display: flex;
  gap: 30px;
  align-items: center;
}
.nav a {
  color: var(--text);
  font-weight: 500;
  font-size: 0.95rem;
}
.nav a:hover {
  color: var(--primary);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 5px;
}
.hamburger span {
  display: block;
  width: 25px;
  height: 2px;
  background: var(--text);
  transition: 0.3s;
}

/* === HERO === */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(
    135deg,
    rgba(91, 140, 122, 0.85),
    rgba(44, 62, 80, 0.7)
  );
  color: white;
  text-align: center;
  overflow: hidden;
  margin-top: 70px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-content {
  max-width: 700px;
  padding: 40px 20px;
  position: relative;
  z-index: 1;
}
.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 20px;
  color: white;
}
.hero p {
  font-size: 1.2rem;
  margin-bottom: 35px;
  opacity: 0.95;
}

/* === BUTTONS === */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s;
  border: none;
  text-align: center;
}

.btn-primary {
  background: var(--primary);
  color: white;
}
.btn-primary:hover {
  background: var(--primary-dark);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(91, 140, 122, 0.4);
}

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

.btn-accent {
  background: var(--accent);
  color: white;
}
.btn-accent:hover {
  background: #b39770;
  color: white;
}

/* === SECTIONS === */
.section {
  padding: 80px 0;
}
.section-alt {
  background: var(--white);
}
.section-title {
  text-align: center;
  margin-bottom: 50px;
}
.section-title h2 {
  font-size: 2.5rem;
  color: var(--text);
  margin-bottom: 15px;
}
.section-title p {
  color: var(--text-light);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}
.section-title .divider {
  width: 60px;
  height: 3px;
  background: var(--accent);
  margin: 15px auto 0;
  border-radius: 2px;
}

/* === SERVICES / CLASSES === */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition:
    transform 0.3s,
    box-shadow 0.3s;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.service-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.service-card-body {
  padding: 25px;
}
.service-card h3 {
  font-size: 1.4rem;
  margin-bottom: 10px;
  color: var(--text);
}
.service-card p {
  color: var(--text-light);
  font-size: 0.95rem;
  margin-bottom: 15px;
}
.service-card .price {
  font-weight: 700;
  color: var(--primary);
  font-size: 1.1rem;
}

/* === PRICING TABLE === */
.pricing-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.pricing-table th,
.pricing-table td {
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid #eee;
}
.pricing-table th {
  background: var(--primary);
  color: white;
  font-weight: 600;
}
.pricing-table tr:hover {
  background: #f8f6f3;
}
.pricing-table .highlight {
  font-weight: 700;
  color: var(--primary);
}

/* === SCHEDULE === */
.schedule-wrapper {
  overflow-x: auto;
}
.schedule-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  min-width: 700px;
}
.schedule-table th {
  background: var(--primary);
  color: white;
  padding: 12px;
  font-size: 0.9rem;
}
.schedule-table td {
  padding: 10px 12px;
  text-align: center;
  border: 1px solid #eee;
  font-size: 0.85rem;
}
.schedule-table td .class-name {
  font-weight: 600;
  color: var(--text);
}
.schedule-table td .class-time {
  color: var(--text-light);
  font-size: 0.8rem;
}
.schedule-table .empty {
  background: #f9f9f9;
}

/* === ABOUT === */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}
.about-text h2 {
  font-size: 2.2rem;
  margin-bottom: 20px;
}
.about-text p {
  color: var(--text-light);
  margin-bottom: 15px;
}
.about-image img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* === TEAM === */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}
.team-card {
  text-align: center;
  background: var(--white);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow);
}
.team-card .avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: var(--secondary);
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: var(--primary);
}
.team-card h3 {
  font-size: 1.3rem;
  margin-bottom: 5px;
}
.team-card .role {
  color: var(--primary);
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 10px;
}
.team-card p {
  color: var(--text-light);
  font-size: 0.9rem;
}

/* === TESTIMONIALS === */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow);
}
.testimonial-card .stars {
  color: var(--accent);
  font-size: 1.1rem;
  margin-bottom: 15px;
}
.testimonial-card p {
  font-style: italic;
  color: var(--text-light);
  margin-bottom: 15px;
}
.testimonial-card .author {
  font-weight: 600;
  color: var(--text);
}
.testimonial-card .author span {
  color: var(--text-light);
  font-weight: 400;
  font-size: 0.9rem;
}

/* === CTA === */
.cta-section {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  text-align: center;
  padding: 80px 20px;
}
.cta-section h2 {
  font-size: 2.5rem;
  margin-bottom: 15px;
  color: white;
}
.cta-section p {
  font-size: 1.1rem;
  margin-bottom: 30px;
  opacity: 0.9;
}

/* === CONTACT FORM === */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}
.contact-info h3 {
  font-size: 1.5rem;
  margin-bottom: 20px;
}
.contact-info .info-item {
  display: flex;
  gap: 15px;
  margin-bottom: 20px;
  align-items: flex-start;
}
.contact-info .info-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-info .info-icon svg {
  width: 20px;
  height: 20px;
  fill: var(--primary);
}

.contact-form {
  background: var(--white);
  padding: 40px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.form-group {
  margin-bottom: 20px;
}
.form-group label {
  display: block;
  margin-bottom: 6px;
  font-weight: 500;
  font-size: 0.9rem;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: var(--radius);
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 0.3s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
}
.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

/* === FOOTER === */
.footer {
  background: #2d3436;
  color: rgba(255, 255, 255, 0.7);
  padding: 60px 0 30px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer h4 {
  color: white;
  font-size: 1.1rem;
  margin-bottom: 20px;
}
.footer a {
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.3s;
}
.footer a:hover {
  color: white;
}
.footer ul {
  list-style: none;
}
.footer ul li {
  margin-bottom: 10px;
}
.footer .logo {
  color: white;
  margin-bottom: 15px;
  display: inline-block;
}
.footer .logo span {
  color: var(--accent);
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 25px;
  text-align: center;
  font-size: 0.9rem;
}
.footer-bottom a {
  margin: 0 10px;
}

/* === COOKIE BANNER === */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: white;
  box-shadow: 0 -2px 20px rgba(0, 0, 0, 0.15);
  padding: 20px;
  display: none;
}
.cookie-banner.show {
  display: block;
}
.cookie-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.cookie-inner p {
  flex: 1;
  min-width: 280px;
  font-size: 0.9rem;
  color: var(--text-light);
}
.cookie-buttons {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}
.cookie-buttons .btn {
  padding: 10px 20px;
  font-size: 0.9rem;
}
.cookie-settings {
  display: none;
  margin-top: 15px;
  padding-top: 15px;
  border-top: 1px solid #eee;
}
.cookie-settings.show {
  display: block;
}
.cookie-toggle {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.cookie-toggle label {
  font-size: 0.9rem;
}

/* === PAGE HEADER === */
.page-header {
  background: linear-gradient(
    135deg,
    rgba(91, 140, 122, 0.9),
    rgba(44, 62, 80, 0.8)
  );
  color: white;
  padding: 60px 20px;
  margin-top: 70px;
  text-align: center;
}
.page-header h1 {
  font-size: 2.8rem;
  margin-bottom: 10px;
  color: white;
}
.page-header p {
  font-size: 1.1rem;
  opacity: 0.9;
}

/* === POLICY PAGES === */
.policy-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 60px 20px;
}
.policy-content h2 {
  font-size: 1.8rem;
  margin: 40px 0 15px;
  color: var(--text);
}
.policy-content h3 {
  font-size: 1.3rem;
  margin: 25px 0 10px;
  color: var(--primary);
}
.policy-content p {
  margin-bottom: 15px;
  color: var(--text-light);
}
.policy-content ul {
  margin: 10px 0 20px 20px;
  color: var(--text-light);
}
.policy-content ul li {
  margin-bottom: 8px;
}

/* === FAQ === */
.faq-item {
  background: var(--white);
  border-radius: var(--radius);
  margin-bottom: 15px;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.faq-question {
  padding: 20px 25px;
  cursor: pointer;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-question::after {
  content: "+";
  font-size: 1.5rem;
  color: var(--primary);
  transition: transform 0.3s;
}
.faq-item.active .faq-question::after {
  transform: rotate(45deg);
}
.faq-answer {
  padding: 0 25px;
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s;
  color: var(--text-light);
}
.faq-item.active .faq-answer {
  padding: 0 25px 20px;
  max-height: 500px;
}

/* === MAP === */
.map-container {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  margin-top: 30px;
}
.map-container iframe {
  width: 100%;
  height: 350px;
  border: none;
}

/* === BENEFITS (Joints page) === */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}
.benefit-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow);
  text-align: center;
}
.benefit-card .icon {
  font-size: 2.5rem;
  margin-bottom: 15px;
}
.benefit-card h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
}
.benefit-card p {
  color: var(--text-light);
  font-size: 0.95rem;
}

.poses-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  margin-top: 30px;
}
.pose-item {
  background: var(--white);
  border-radius: var(--radius);
  padding: 25px;
  box-shadow: var(--shadow);
  border-left: 4px solid var(--primary);
}
.pose-item h3 {
  font-size: 1.2rem;
  margin-bottom: 8px;
  color: var(--primary);
}
.pose-item p {
  color: var(--text-light);
  font-size: 0.9rem;
}

/* === RESPONSIVE === */
@media (max-width: 1024px) {
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .hero h1 {
    font-size: 2.8rem;
  }
}

@media (max-width: 768px) {
  .nav {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: white;
    flex-direction: column;
    padding: 20px;
    box-shadow: var(--shadow);
    gap: 15px;
  }
  .nav.open {
    display: flex;
  }
  .hamburger {
    display: flex;
  }
  .hero {
    min-height: 70vh;
  }
  .hero h1 {
    font-size: 2.2rem;
  }
  .hero p {
    font-size: 1rem;
  }
  .section {
    padding: 50px 0;
  }
  .section-title h2 {
    font-size: 2rem;
  }
  .page-header h1 {
    font-size: 2rem;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .cookie-inner {
    flex-direction: column;
    text-align: center;
  }
  .cookie-buttons {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.8rem;
  }
  .btn {
    padding: 12px 24px;
    font-size: 0.9rem;
  }
  .pricing-table th,
  .pricing-table td {
    padding: 10px 8px;
    font-size: 0.8rem;
  }
}
