/* 
 * Drevorithae - Main Stylesheet
 * Custom design for wellness center website
 */

/* Custom Font Imports */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@300;400;500;600;700&family=Montserrat:wght@300;400;500;600;700&display=swap');

/* CSS Variables */
:root {
  /* Colors */
  --color-white: #ffffff;
  --color-light: #f1efec;
  --color-accent: #d4c9be;
  --color-primary: #123458;
  --color-dark: #030303;

  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  --space-xxl: 5rem;

  /* Typography */
  --font-primary: 'Montserrat', sans-serif;
  --font-secondary: 'Cormorant Garamond', serif;

  /* Shadow */
  --shadow-sm: 0 2px 4px rgba(3, 3, 3, 0.1);
  --shadow-md: 0 4px 8px rgba(3, 3, 3, 0.12);
  --shadow-lg: 0 8px 16px rgba(3, 3, 3, 0.15);

  /* Border Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-primary);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-dark);
  background-color: var(--color-white);
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-secondary);
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: var(--space-md);
  color: var(--color-primary);
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2.2rem;
  position: relative;
  margin-bottom: var(--space-xl);
}

h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 60px;
  height: 3px;
  background-color: var(--color-accent);
}

section h2 {
  text-align: center;
}

section h2::after {
  left: 50%;
  transform: translateX(-50%);
}

h3 {
  font-size: 1.8rem;
}

h4 {
  font-size: 1.4rem;
}

p {
  margin-bottom: var(--space-md);
}

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: var(--transition-fast);
}

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

ul {
  list-style: none;
}

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

button {
  cursor: pointer;
  font-family: var(--font-primary);
  border: none;
  background: none;
}

/* Text Shadow Mixin (applied where needed) */
.drevorithae-text-shadow {
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

/* Container */
.drevorithae-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

/* Button */
.drevorithae-btn {
  display: inline-block;
  padding: 0.8rem 1.5rem;
  background-color: var(--color-primary);
  color: var(--color-white);
  border-radius: var(--radius-sm);
  font-weight: 500;
  text-align: center;
  transition: var(--transition-normal);
  border: 2px solid var(--color-primary);
}

.drevorithae-btn:hover {
  background-color: transparent;
  color: var(--color-primary);
}

.drevorithae-btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
}

/* Header & Navigation */
.drevorithae-header {
  position: sticky;
  top: 0;
  background-color: var(--color-white);
  box-shadow: var(--shadow-sm);
  padding: var(--space-md) 0;
  z-index: 100;
}

.drevorithae-header .drevorithae-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.drevorithae-logo-container {
  z-index: 2;
}

.drevorithae-logo {
  font-family: var(--font-secondary);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--color-primary);
  margin: 0;
}

.drevorithae-nav {
  display: flex;
  align-items: center;
}

.drevorithae-nav-list {
  display: flex;
  gap: var(--space-lg);
}

.drevorithae-nav-list a {
  font-weight: 500;
  position: relative;
}

.drevorithae-nav-list a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-accent);
  transition: var(--transition-normal);
}

.drevorithae-nav-list a:hover::after {
  width: 100%;
}

.drevorithae-nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  height: 20px;
  width: 30px;
  z-index: 2;
}

.drevorithae-nav-toggle span {
  display: block;
  height: 3px;
  width: 100%;
  background-color: var(--color-primary);
  transition: var(--transition-normal);
}

/* Hero Section */
.drevorithae-hero {
  padding: var(--space-xl) 0;
  background-color: var(--color-light);
}

.drevorithae-hero .drevorithae-container {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
}

.drevorithae-hero-content {
  flex: 1;
}

.drevorithae-hero-content h2 {
  font-size: 3rem;
  margin-bottom: var(--space-lg);
  text-align: left;
}

.drevorithae-hero-content h2::after {
  left: 0;
  transform: none;
}

.drevorithae-hero-content p {
  margin-bottom: var(--space-lg);
  font-size: 1.1rem;
}

.drevorithae-hero-image-container {
  flex: 1;
  position: relative;
  max-width: 500px;
  width: 100%;
}

.drevorithae-image-slider {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  height: 400px;
  width: 100%;
}

.drevorithae-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity var(--transition-slow);
}

.drevorithae-slide.active {
  opacity: 1;
}

.drevorithae-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.drevorithae-slider-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: var(--space-md);
}

.drevorithae-prev,
.drevorithae-next {
  width: 40px;
  height: 40px;
  background-color: var(--color-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal);
}

.drevorithae-prev:hover,
.drevorithae-next:hover {
  background-color: var(--color-primary);
}

.drevorithae-prev::before,
.drevorithae-next::before {
  content: '';
  display: block;
  width: 10px;
  height: 10px;
  border-top: 2px solid var(--color-primary);
  border-left: 2px solid var(--color-primary);
  transition: var(--transition-normal);
}

.drevorithae-prev::before {
  transform: rotate(-45deg);
  margin-left: 5px;
}

.drevorithae-next::before {
  transform: rotate(135deg);
  margin-right: 5px;
}

.drevorithae-prev:hover::before,
.drevorithae-next:hover::before {
  border-color: var(--color-white);
}

.drevorithae-dots {
  display: flex;
  gap: var(--space-sm);
}

.drevorithae-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: var(--color-accent);
  opacity: 0.5;
  transition: var(--transition-normal);
}

.drevorithae-dot.active,
.drevorithae-dot:hover {
  opacity: 1;
}

/* Services Section */
.drevorithae-services {
  padding: var(--space-xxl) 0;
}

.drevorithae-services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--space-lg);
}

.drevorithae-service-card {
  background-color: var(--color-white);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  box-shadow: var(--shadow-md);
  transition: var(--transition-normal);
  text-align: center;
}

.drevorithae-service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.drevorithae-service-icon {
  margin-bottom: var(--space-md);
}

.drevorithae-icon {
  width: 50px;
  height: 50px;
  fill: var(--color-primary);
}

.drevorithae-service-card h3 {
  margin-bottom: var(--space-sm);
}

/* Schedule Section */
.drevorithae-schedule {
  padding: var(--space-xxl) 0;
  background-color: var(--color-light);
}

.drevorithae-schedule-date {
  text-align: center;
  margin-bottom: var(--space-lg);
  font-style: italic;
}

.drevorithae-schedule-wrapper {
  background-color: var(--color-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  margin-bottom: var(--space-lg);
}

.drevorithae-schedule-tabs {
  display: flex;
  background-color: var(--color-primary);
}

.drevorithae-tab {
  padding: var(--space-md) var(--space-lg);
  color: var(--color-white);
  font-weight: 500;
  transition: var(--transition-normal);
  flex: 1;
  text-align: center;
}

.drevorithae-tab.active,
.drevorithae-tab:hover {
  background-color: var(--color-accent);
  color: var(--color-primary);
}

.drevorithae-schedule-content {
  padding: var(--space-lg);
}

.drevorithae-schedule-day {
  display: none;
}

.drevorithae-schedule-day.active {
  display: block;
}

.drevorithae-class {
  border-bottom: 1px solid var(--color-accent);
  padding: var(--space-md) 0;
  display: flex;
  align-items: center;
}

.drevorithae-class:last-child {
  border-bottom: none;
}

.drevorithae-time {
  width: 120px;
  font-weight: 500;
}

.drevorithae-class h4 {
  margin: 0;
  flex: 1;
}

.drevorithae-instructor {
  width: 100px;
  text-align: right;
  font-style: italic;
}

/* Products Section */
.drevorithae-products {
  padding: var(--space-xxl) 0;
}

.drevorithae-products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: var(--space-lg);
}

.drevorithae-product-card {
  background-color: var(--color-white);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  box-shadow: var(--shadow-md);
  transition: var(--transition-normal);
  text-align: center;
  position: relative;
  border: 1px solid var(--color-light);
}

.drevorithae-product-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.drevorithae-product-badge {
  position: absolute;
  top: var(--space-md);
  right: var(--space-md);
  background-color: var(--color-accent);
  color: var(--color-primary);
  padding: var(--space-xs) var(--space-sm);
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 600;
}

.drevorithae-featured {
  border: 2px solid var(--color-primary);
}

.drevorithae-price {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-primary);
  margin: var(--space-md) 0;
}

.drevorithae-product-features {
  margin-bottom: var(--space-lg);
  text-align: left;
}

.drevorithae-product-features li {
  margin-bottom: var(--space-sm);
  position: relative;
  padding-left: 20px;
}

.drevorithae-product-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--color-primary);
}

/* About Section */
.drevorithae-about {
  padding: var(--space-xxl) 0;
  background-color: var(--color-light);
}

.drevorithae-about .drevorithae-container {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
}

.drevorithae-about-content {
  flex: 1;
}

.drevorithae-about-content h2 {
  text-align: left;
}

.drevorithae-about-content h2::after {
  left: 0;
  transform: none;
}

.drevorithae-about-image-container {
  flex: 1;
  position: relative;
}

.drevorithae-about-image {
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  height: 400px;
  width: 100%;
  object-fit: cover;
}

.drevorithae-image-overlay {
  position: absolute;
  bottom: var(--space-lg);
  right: var(--space-lg);
  background-color: var(--color-primary);
  color: var(--color-white);
  padding: var(--space-md);
  border-radius: var(--radius-sm);
  text-align: center;
}

.drevorithae-experience {
  font-size: 3rem;
  font-weight: 700;
  display: block;
  line-height: 1;
}

.drevorithae-image-overlay p {
  margin: 0;
  font-size: 0.9rem;
}

/* Facilities Section */
.drevorithae-facilities {
  padding: var(--space-xxl) 0;
}

.drevorithae-facility-slider {
  position: relative;
  margin-bottom: var(--space-lg);
}

.drevorithae-facility-slide {
  display: none;
  animation: fadeIn 0.5s;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.drevorithae-facility-slide.active {
  display: flex;
  gap: var(--space-xl);
  align-items: center;
}

.drevorithae-facility-image-container {
  flex: 1;
  position: relative;
}

.drevorithae-facility-image {
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  height: 350px;
  width: 100%;
  object-fit: cover;
}

.drevorithae-image-zoom {
  position: absolute;
  bottom: var(--space-md);
  right: var(--space-md);
}

.drevorithae-zoom-btn {
  background-color: var(--color-white);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal);
}

.drevorithae-zoom-btn:hover {
  background-color: var(--color-primary);
}

.drevorithae-zoom-icon {
  width: 20px;
  height: 20px;
  fill: var(--color-primary);
  transition: var(--transition-normal);
}

.drevorithae-zoom-btn:hover .drevorithae-zoom-icon {
  fill: var(--color-white);
}

.drevorithae-facility-content {
  flex: 1;
}

/* Contact Section */
.drevorithae-contact {
  padding: var(--space-xxl) 0;
  background-color: var(--color-light);
}

.drevorithae-contact-grid {
  display: flex;
  gap: var(--space-xl);
}

.drevorithae-contact-info {
  flex: 1;
}

.drevorithae-contact-item {
  display: flex;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
}

.drevorithae-contact-icon {
  flex-shrink: 0;
}

.drevorithae-contact-content h3 {
  margin-bottom: var(--space-xs);
}

.drevorithae-contact-content p {
  margin-bottom: var(--space-xs);
}

.drevorithae-contact-form-container {
  flex: 1;
}

.drevorithae-contact-form {
  background-color: var(--color-white);
  padding: var(--space-lg);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}

.drevorithae-form-group {
  margin-bottom: var(--space-md);
}

.drevorithae-form-group label {
  display: block;
  margin-bottom: var(--space-xs);
  font-weight: 500;
}

.drevorithae-form-group input,
.drevorithae-form-group select,
.drevorithae-form-group textarea {
  width: 100%;
  padding: 0.8rem;
  border: 1px solid var(--color-accent);
  border-radius: var(--radius-sm);
  font-family: var(--font-primary);
  transition: var(--transition-normal);
}

.drevorithae-form-group input:focus,
.drevorithae-form-group select:focus,
.drevorithae-form-group textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 2px rgba(18, 52, 88, 0.1);
}

.drevorithae-form-group textarea {
  min-height: 150px;
  resize: vertical;
}

.drevorithae-submit-btn {
  width: 100%;
}

/* Modal */
.drevorithae-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(3, 3, 3, 0.9);
  z-index: 1000;
  padding: var(--space-lg);
  align-items: center;
  justify-content: center;
}

.drevorithae-modal.active {
  display: flex;
}

.drevorithae-modal-content {
  position: relative;
  max-width: 90%;
  max-height: 90%;
}

.drevorithae-close-modal {
  position: absolute;
  top: -40px;
  right: 0;
  color: var(--color-white);
  font-size: 2rem;
  transition: var(--transition-normal);
}

.drevorithae-close-modal:hover {
  transform: rotate(90deg);
}

.drevorithae-modal-image {
  max-width: 100%;
  max-height: 90vh;
  box-shadow: var(--shadow-lg);
}

/* Footer */
.drevorithae-footer {
  background-color: var(--color-primary);
  color: var(--color-white);
  padding: var(--space-xl) 0 var(--space-md);
}

.drevorithae-footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-xl);
  margin-bottom: var(--space-xl);
}

.drevorithae-footer-logo {
  font-family: var(--font-secondary);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--color-white);
  display: inline-block;
  margin-bottom: var(--space-md);
}

.drevorithae-footer h3 {
  color: var(--color-white);
  font-size: 1.2rem;
  position: relative;
  padding-bottom: var(--space-sm);
  margin-bottom: var(--space-md);
}

.drevorithae-footer h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background-color: var(--color-accent);
}

.drevorithae-footer-links li {
  margin-bottom: var(--space-sm);
}

.drevorithae-footer-links a {
  color: var(--color-light);
  transition: var(--transition-normal);
}

.drevorithae-footer-links a:hover {
  color: var(--color-accent);
  padding-left: var(--space-sm);
}

.drevorithae-footer-bottom {
  text-align: center;
  padding-top: var(--space-md);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Thank You Page */
.drevorithae-thankyou {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-color: var(--color-light);
}

.drevorithae-thankyou-content {
  max-width: 600px;
  padding: var(--space-xl);
  background-color: var(--color-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
}

.drevorithae-thankyou-icon {
  width: 80px;
  height: 80px;
  fill: var(--color-primary);
  margin: 0 auto var(--space-lg);
}

.drevorithae-thankyou h1 {
  margin-bottom: var(--space-md);
}

.drevorithae-thankyou p {
  margin-bottom: var(--space-lg);
}

/* Cookie, Privacy, Terms Pages */
.drevorithae-legal {
  padding: var(--space-xxl) 0;
}

.drevorithae-legal-content {
  background-color: var(--color-white);
  border-radius: var(--radius-md);
  padding: var(--space-xl);
  box-shadow: var(--shadow-md);
}

.drevorithae-legal h2 {
  margin-top: var(--space-lg);
  margin-bottom: var(--space-md);
  text-align: left;
}

.drevorithae-legal h2::after {
  left: 0;
  transform: none;
}

.drevorithae-legal p {
  margin-bottom: var(--space-md);
}

.drevorithae-legal ul {
  margin-bottom: var(--space-md);
  padding-left: var(--space-lg);
  list-style-type: disc;
}

.drevorithae-legal ul li {
  margin-bottom: var(--space-sm);
}

/* Responsive Styles */
@media (max-width: 1200px) {
  h1 {
    font-size: 2.2rem;
  }

  h2 {
    font-size: 2rem;
  }

  .drevorithae-hero-content h2 {
    font-size: 2.5rem;
  }
}

@media (max-width: 991px) {
  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.8rem;
  }

  h3 {
    font-size: 1.6rem;
  }

  .drevorithae-hero-content h2 {
    font-size: 2.2rem;
  }

  .drevorithae-nav-toggle {
    display: flex;
  }

  .drevorithae-nav-list {
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    height: 100vh;
    background-color: var(--color-white);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--space-xl);
    transition: var(--transition-normal);
    box-shadow: var(--shadow-lg);
    z-index: 1;
  }

  .drevorithae-nav-list.active {
    right: 0;
  }

  .drevorithae-nav-toggle.active span:first-child {
    transform: translateY(8px) rotate(45deg);
  }

  .drevorithae-nav-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .drevorithae-nav-toggle.active span:last-child {
    transform: translateY(-8px) rotate(-45deg);
  }

  .drevorithae-hero .drevorithae-container,
  .drevorithae-about .drevorithae-container {
    flex-direction: column;
  }

  .drevorithae-facility-slide.active {
    flex-direction: column;
  }

  .drevorithae-contact-grid {
    flex-direction: column;
  }

  .drevorithae-price {
    font-size: 2rem;
  }

  .drevorithae-footer-grid {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: var(--space-lg);
  }

  .drevorithae-service-card,
  .drevorithae-product-card {
    padding: var(--space-md);
  }

  .drevorithae-schedule-tabs {
    flex-wrap: wrap;
  }

  .drevorithae-tab {
    padding: var(--space-sm) var(--space-md);
    font-size: 0.9rem;
  }

  .drevorithae-time {
    width: 100px;
    font-size: 0.9rem;
  }

  .drevorithae-instructor {
    width: 80px;
    font-size: 0.9rem;
  }

  .drevorithae-class h4 {
    font-size: 1.1rem;
  }
}

@media (max-width: 768px) {
  h1 {
    font-size: 1.8rem;
  }

  h2 {
    font-size: 1.6rem;
    margin-bottom: var(--space-lg);
  }

  h3 {
    font-size: 1.4rem;
  }

  .drevorithae-hero-content h2 {
    font-size: 1.8rem;
  }

  .drevorithae-class {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-xs);
  }

  .drevorithae-time,
  .drevorithae-instructor {
    width: auto;
  }

  .drevorithae-instructor {
    text-align: left;
  }

  .drevorithae-image-slider,
  .drevorithae-about-image {
    height: 300px;
  }

  .drevorithae-price {
    font-size: 1.8rem;
  }

  .drevorithae-products-grid,
  .drevorithae-services-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 1.6rem;
  }

  h2 {
    font-size: 1.4rem;
  }

  h3 {
    font-size: 1.2rem;
  }

  p {
    font-size: 0.9rem;
  }

  .drevorithae-nav-list {
    width: 100%;
  }

  .drevorithae-hero-content h2 {
    font-size: 1.6rem;
  }

  .drevorithae-schedule-tabs {
    justify-content: center;
  }

  .drevorithae-tab {
    padding: var(--space-xs) var(--space-sm);
    font-size: 0.8rem;
  }

  .drevorithae-image-slider,
  .drevorithae-about-image,
  .drevorithae-facility-image {
    height: 250px;
  }

  .drevorithae-price {
    font-size: 1.6rem;
  }
}

@media (max-width: 320px) {
  .drevorithae-container {
    padding: 0 var(--space-sm);
  }

  .drevorithae-header {
    padding: var(--space-sm) 0;
  }

  .drevorithae-logo {
    font-size: 1.5rem;
  }

  .drevorithae-image-slider,
  .drevorithae-about-image,
  .drevorithae-facility-image {
    height: 200px;
  }
}
