/* The Five Elements Retreat - Main Stylesheet */

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

:root {
  --primary-color: #8b6f47;
  --primary-dark: #6b5639;
  --earth-color: #8b6f47;
  --water-color: #4a90a4;
  --fire-color: #d4682f;
  --air-color: #a8b5bf;
  --ether-color: #9b7eb5;
  --bg-light: #faf8f6;
  --bg-lighter: #f9f7f4;
  --text-color: #333;
  --text-light: #666;
  --border-color: #e0e0e0;
}

body {
  font-family: 'Lato', sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background: var(--bg-light);
}

/* Navigation */
nav {
  background: white;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 70px;
}

.logo {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.5em;
  font-weight: 700;
  color: var(--primary-color);
  text-decoration: none;
}

.nav-links {
  display: flex;
  gap: 30px;
  list-style: none;
}

.nav-links a {
  color: var(--text-color);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary-color);
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 1.5em;
  color: var(--primary-color);
  cursor: pointer;
}

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

/* Hero Section */
.hero {
  background:
    linear-gradient(135deg, rgba(245, 241, 237, 0.65) 0%, rgba(232, 223, 213, 0.65) 100%),
    url('https://images.winalist.com/blog/wp-content/uploads/2025/04/02023347/adobestock-1147153661.jpeg') center
      center/cover no-repeat;
  padding: 80px 20px;
  text-align: center;
  margin-bottom: 40px;
}

.hero h3 {
  color: var(--primary-color);
  font-size: 20px;
  margin-bottom: 10px;
}

.hero h1 {
  font-family: 'Montserrat', sans-serif;
  font-size: 3em;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.hero .date {
  color: var(--primary-color);
  font-size: 1.4em;
  font-weight: 600;
  margin: 10px auto;
  text-align: center;
}

.hero p {
  font-size: 1.2em;
  color: var(--text-light);
  max-width: 800px;
  margin: 0 auto 30px;
}

/* Pricing Cards */
.pricing-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  max-width: 800px;
  margin: 30px auto;
}

.price-card {
  background: white;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.price-amount {
  font-size: 2.5em;
  font-weight: 700;
  color: var(--primary-color);
  margin: 15px 0;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 30px;
  background: var(--primary-color);
  color: white;
  text-decoration: none;
  border-radius: 25px;
  font-weight: 600;
  transition: background 0.3s;
  border: none;
  cursor: pointer;
  font-size: 16px;
}

.btn:hover {
  background: var(--primary-dark);
}

.btn-large {
  font-size: 1.1em;
  padding: 15px 40px;
}

/* Collapsible Sections */
.collapsible {
  background: white;
  border-radius: 10px;
  margin: 20px 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  overflow: hidden;
}

.collapsible-header {
  padding: 20px 25px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--bg-lighter);
  transition: background 0.3s;
}

.collapsible-header:hover {
  background: #f0ebe3;
}

.collapsible-header h3 {
  font-family: 'Montserrat', sans-serif;
  color: var(--primary-color);
  font-size: 1.3em;
}

.toggle-icon {
  font-size: 1.5em;
  color: var(--primary-color);
  transition: transform 0.3s;
}

.toggle-icon.active {
  transform: rotate(45deg);
}

.collapsible-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
  padding: 0 25px;
}

.collapsible-content.active {
  max-height: 5000px;
  padding: 25px;
}

/* Schedule Table */
.calendar-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  background: white;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  table-layout: fixed;
}

.calendar-table th {
  padding: 15px 10px;
  text-align: center;
  font-weight: 600;
  font-size: 0.9em;
}

.calendar-table td {
  padding: 12px 8px;
  border: 1px solid var(--border-color);
  text-align: center;
  font-size: 0.85em;
}

.time-col {
  background: #f5f5f5;
  font-weight: 600;
  width: 100px;
}

.earth-col {
  background: rgba(139, 111, 71, 0.15);
  color: #6b5639;
}

.water-col {
  background: rgba(74, 144, 164, 0.15);
  color: #2d5a66;
}

.fire-col {
  background: rgba(212, 104, 47, 0.15);
  color: #a24d1f;
}

.air-col {
  background: rgba(168, 181, 191, 0.15);
  color: #5a6570;
}

.ether-col {
  background: rgba(155, 126, 181, 0.15);
  color: #6b5088;
}

/* Element Badges */
.element-badge {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border-radius: 25px;
  font-weight: 600;
  margin-bottom: 8px;
  color: white;
  min-width: 80px;
  gap: 4px;
}

.element-badge .emoji {
  font-size: 1.3em;
  display: block;
}

.element-badge .text {
  font-size: 0.85em;
  display: block;
  white-space: nowrap;
}

.earth-badge {
  background: var(--earth-color);
}

.water-badge {
  background: var(--water-color);
}

.fire-badge {
  background: var(--fire-color);
}

.air-badge {
  background: var(--air-color);
}

.ether-badge {
  background: var(--ether-color);
}

/* Image Grid */
.img-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 15px;
  margin: 20px 0;
}

.img-grid img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
}

/* Info Boxes */
.info-box {
  background: var(--bg-lighter);
  padding: 25px;
  border-radius: 10px;
  margin-bottom: 30px;
  border-left: 4px solid var(--primary-color);
}

.warning-box {
  background: #fff5e6;
  border-left-color: var(--fire-color);
}

/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  z-index: 10000;
  overflow-y: auto;
  padding: 20px;
}

.modal-content {
  background: white;
  max-width: 700px;
  margin: 30px auto;
  border-radius: 15px;
  padding: 40px;
  position: relative;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.modal-close {
  position: absolute;
  top: 15px;
  right: 15px;
  background: none;
  border: none;
  font-size: 30px;
  color: var(--primary-color);
  cursor: pointer;
  padding: 5px 15px;
  line-height: 1;
}

/* Form Styles */
.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  color: var(--primary-color);
  font-weight: 600;
  margin-bottom: 5px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px;
  border: 2px solid var(--border-color);
  border-radius: 8px;
  font-size: 16px;
  box-sizing: border-box;
  font-family: inherit;
}

.form-group textarea {
  resize: vertical;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

/* Footer */
footer {
  background: white;
  padding: 40px 20px;
  text-align: center;
  margin-top: 60px;
  border-top: 2px solid #e8dfd5;
}

footer h3 {
  font-family: 'Montserrat', sans-serif;
  color: var(--primary-color);
  margin-bottom: 15px;
}

/* Page Headers */
.page-header {
  background: var(--bg-lighter);
  padding: 40px 20px;
  text-align: center;
  margin-bottom: 40px;
  border-bottom: 2px solid var(--border-color);
}

.page-header h1 {
  font-family: 'Montserrat', sans-serif;
  color: var(--primary-color);
  font-size: 2.5em;
  margin-bottom: 10px;
}

.page-header p {
  color: var(--text-light);
  font-size: 1.1em;
}

/* Section Styles */
section {
  margin: 40px 0;
}

section h2 {
  font-family: 'Montserrat', sans-serif;
  color: var(--primary-color);
  margin-bottom: 20px;
  font-size: 2em;
}

section h4 {
  color: var(--primary-color);
  margin: 25px 0 15px;
  font-size: 1.2em;
}

/* Responsive Design */
@media (max-width: 768px) {
  .mobile-menu-btn {
    display: block;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: white;
    flex-direction: column;
    padding: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  }

  .nav-links.active {
    display: flex;
  }

  .hero h1 {
    font-size: 2em;
  }

  .hero p {
    font-size: 1em;
  }

  .pricing-box {
    grid-template-columns: 1fr;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .calendar-table {
    font-size: 0.7em;
  }

  .calendar-table th,
  .calendar-table td {
    padding: 6px 4px;
  }

  .img-grid {
    grid-template-columns: 1fr;
  }

  .page-header h1 {
    font-size: 1.8em;
  }
}
