@import url('https://fonts.googleapis.com/css2?family=Lato:wght@300;400;700&family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&display=swap');

:root {
  --primary: #9DB1CC;
  --accent: #2271B3;
  --highlight: #F0FFFF;
  --bg: #FFFFFF;
  --text: #333333;
  --text-light: #555555;
  --font-heading: 'Playfair Display', serif;
  --font-body: 'Lato', sans-serif;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  --shadow-hover: 0 15px 40px rgba(34, 113, 179, 0.15);
  --radius: 12px;
  --transition: all 0.3s ease;
}

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

body {
  font-family: var(--font-body);
  color: var(--text);
  background-color: var(--bg);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.2;
  color: var(--text);
}

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

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

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

section {
  padding: 80px 0;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
  color: var(--accent);
}

.btn {
  display: inline-block;
  padding: 14px 28px;
  background-color: var(--accent);
  color: #fff;
  border: none;
  border-radius: 30px;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  text-align: center;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.btn:hover {
  background-color: #1a5b92;
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(34, 113, 179, 0.3);
  color: #fff;
}

.btn-secondary {
  background-color: transparent;
  color: var(--accent);
  border: 2px solid var(--accent);
}

.btn-secondary:hover {
  background-color: var(--accent);
  color: #fff;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  padding: 20px 0;
  transition: var(--transition);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.header.scrolled {
  padding: 10px 0;
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent);
}

.logo svg {
  width: 32px;
  height: 32px;
  fill: var(--accent);
}

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

.nav-links a {
  color: var(--text);
  font-weight: 500;
}

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

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background-color: var(--accent);
  transition: var(--transition);
}

/* Hero Section */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  background-image: url('yoga-hero.png');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  padding-top: 80px;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(rgba(0,0,0,0.3), rgba(34, 113, 179, 0.4));
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  padding: 0 20px;
}

.hero h1 {
  font-size: 4rem;
  color: #fff;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero p {
  font-size: 1.25rem;
  margin-bottom: 40px;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

/* Timeline */
.timeline-section {
  background-color: var(--highlight);
}

.timeline {
  max-width: 800px;
  margin: 0 auto 40px auto;
  position: relative;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 30px;
  width: 2px;
  background-color: var(--primary);
}

.timeline-item {
  position: relative;
  margin-bottom: 30px;
  padding-left: 80px;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-icon {
  position: absolute;
  left: 10px;
  top: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #fff;
  border: 2px solid var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  z-index: 1;
  box-shadow: 0 0 0 5px var(--highlight);
}

.timeline-content {
  background: #fff;
  padding: 20px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.timeline-content h3 {
  color: var(--accent);
  margin-bottom: 10px;
  font-family: var(--font-body);
}

.mini-prices {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.mini-price-card {
  background: #fff;
  padding: 15px 25px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  text-align: center;
  flex: 1;
  min-width: 200px;
  max-width: 300px;
  border-top: 4px solid var(--primary);
}

.mini-price-card h4 {
  font-size: 1rem;
  margin-bottom: 5px;
}

.mini-price-card .price {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--accent);
}

.compact-booking {
  max-width: 600px;
  margin: 0 auto;
  background: #fff;
  padding: 30px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  text-align: center;
}

.compact-booking form {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: center;
  margin-bottom: 20px;
}

.form-group {
  flex: 1;
  min-width: 150px;
}

.form-control {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid var(--primary);
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 1rem;
  outline: none;
  transition: var(--transition);
}

.form-control:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(34, 113, 179, 0.1);
}

/* Carousel */
.carousel-container {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.carousel-slide {
  display: none;
  position: relative;
}

.carousel-slide.active {
  display: block;
  animation: fadeIn 0.5s ease-in-out;
}

.carousel-slide img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
}

.carousel-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,0.8));
  color: #fff;
  padding: 30px 20px 20px;
  text-align: center;
  font-size: 1.25rem;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.7);
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--accent);
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-btn:hover {
  background: #fff;
}

.carousel-btn.prev { left: 10px; }
.carousel-btn.next { right: 10px; }

.carousel-dots {
  text-align: center;
  margin-top: 15px;
}

.dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  background: var(--primary);
  border-radius: 50%;
  margin: 0 5px;
  cursor: pointer;
  transition: var(--transition);
}

.dot.active {
  background: var(--accent);
  transform: scale(1.3);
}

/* Accordion */
.accordion-section {
  background-color: var(--highlight);
}

.accordion {
  max-width: 800px;
  margin: 0 auto;
}

.accordion-item {
  background: #fff;
  margin-bottom: 15px;
  border-radius: var(--radius);
  box-shadow: 0 4px 6px rgba(0,0,0,0.02);
  overflow: hidden;
}

.accordion-header {
  padding: 20px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  color: var(--accent);
  transition: var(--transition);
}

.accordion-header:hover {
  background-color: rgba(157, 177, 204, 0.1);
}

.accordion-icon {
  font-size: 1.5rem;
  transition: transform 0.3s ease;
}

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

.accordion-content {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.accordion-item.active .accordion-content {
  max-height: 500px;
  padding: 0 20px 20px;
}

/* Circular About */
.about-circular {
  position: relative;
  max-width: 800px;
  height: 600px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.center-image {
  width: 300px;
  height: 300px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: var(--shadow);
  border: 10px solid var(--highlight);
  position: relative;
  z-index: 2;
}

.orbit-item {
  position: absolute;
  width: 220px;
  background: #fff;
  padding: 15px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  text-align: center;
  z-index: 3;
}

.orbit-item .icon {
  font-size: 2rem;
  margin-bottom: 10px;
}

.orbit-item h4 {
  font-size: 1rem;
  color: var(--accent);
  margin-bottom: 5px;
}

.orbit-item p {
  font-size: 0.85rem;
  color: var(--text-light);
}

/* Positions for orbit items (Desktop) */
.orbit-1 { top: 5%; left: 0; }
.orbit-2 { top: 5%; right: 0; }
.orbit-3 { bottom: 5%; left: 0; }
.orbit-4 { bottom: 5%; right: 0; }

.about-text {
  text-align: center;
  max-width: 800px;
  margin: 40px auto 0;
  font-size: 1.1rem;
  color: var(--text-light);
}

/* Infographic */
.infographic {
  background: var(--accent);
  color: #fff;
  padding: 60px 0;
}

.info-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.info-card {
  flex: 1;
  min-width: 200px;
  background: rgba(255,255,255,0.1);
  padding: 20px;
  border-radius: var(--radius);
  text-align: center;
  backdrop-filter: blur(5px);
  border: 1px solid rgba(255,255,255,0.2);
}

.info-card .icon {
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.info-card h4 {
  color: #fff;
  margin-bottom: 10px;
  font-family: var(--font-body);
}

/* Table */
.schedule-table-wrapper {
  overflow-x: auto;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  max-width: 1000px;
  margin: 0 auto;
}

.schedule-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 600px;
}

.schedule-table th,
.schedule-table td {
  padding: 15px 20px;
  text-align: left;
  border-bottom: 1px solid #eee;
}

.schedule-table th {
  background-color: var(--primary);
  color: #fff;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 1px;
}

.schedule-table tr:nth-child(even) {
  background-color: var(--highlight);
}

.schedule-table tr:hover {
  background-color: rgba(157, 177, 204, 0.1);
}

/* Selling Text */
.selling-text {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  font-size: 1.25rem;
  line-height: 1.8;
  font-style: italic;
  color: var(--accent);
  padding: 40px 20px;
  border-top: 1px solid var(--primary);
  border-bottom: 1px solid var(--primary);
}

/* Gallery */
.gallery-section {
  background-color: var(--highlight);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 3/4;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,0.8));
  color: #fff;
  padding: 20px 15px 15px;
  text-align: center;
  font-size: 0.9rem;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-caption {
  transform: translateY(0);
}

.gallery-divider {
  height: 2px;
  background-color: var(--primary);
  margin: 60px 0 0;
  width: 100%;
}

/* Prices */
.price-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  max-width: 900px;
  margin: 0 auto;
}

.price-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 40px 30px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
  position: relative;
  border: 1px solid #eee;
  display: flex;
  flex-direction: column;
}

.price-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-hover);
  border-color: var(--primary);
}

.price-card.popular {
  border: 2px solid var(--accent);
  transform: scale(1.05);
}

.price-card.popular:hover {
  transform: scale(1.05) translateY(-10px);
}

.popular-badge {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #fff;
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 1px;
}

.price-card h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
}

.price-amount {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 20px;
  font-family: var(--font-heading);
}

.price-features {
  list-style: none;
  margin-bottom: 30px;
  flex-grow: 1;
}

.price-features li {
  padding: 10px 0;
  border-bottom: 1px solid #eee;
  color: var(--text-light);
}

/* Calculator */
.calculator-section {
  background-color: var(--highlight);
}

.calculator {
  max-width: 600px;
  margin: 0 auto;
  background: #fff;
  padding: 40px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.calc-group {
  margin-bottom: 30px;
}

.calc-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 15px;
  color: var(--accent);
}

.slider-container {
  display: flex;
  align-items: center;
  gap: 15px;
}

input[type=range] {
  flex-grow: 1;
  -webkit-appearance: none;
  background: transparent;
}

input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none;
  height: 20px;
  width: 20px;
  border-radius: 50%;
  background: var(--accent);
  cursor: pointer;
  margin-top: -8px;
}

input[type=range]::-webkit-slider-runnable-track {
  width: 100%;
  height: 4px;
  cursor: pointer;
  background: var(--primary);
  border-radius: 2px;
}

.calc-value {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent);
  min-width: 40px;
  text-align: right;
}

.radio-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.radio-label {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-weight: 400 !important;
  color: var(--text) !important;
}

.radio-label input[type="radio"] {
  accent-color: var(--accent);
  width: 18px;
  height: 18px;
}

.calc-result-box {
  text-align: center;
  padding: 20px;
  background: var(--highlight);
  border-radius: var(--radius);
  margin-top: 20px;
}

.calc-result-box span {
  display: block;
  font-size: 1rem;
  color: var(--text-light);
  margin-bottom: 5px;
}

.calc-result-box strong {
  font-size: 2.5rem;
  color: var(--accent);
  font-family: var(--font-heading);
}

/* Focus Cards */
.focus-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.focus-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

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

.focus-img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.focus-content {
  padding: 20px;
  text-align: center;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.focus-content h3 {
  font-size: 1.25rem;
  margin-bottom: 15px;
  flex-grow: 1;
}

/* Modal */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.6);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  backdrop-filter: blur(5px);
}

.modal {
  background: #fff;
  width: 90%;
  max-width: 500px;
  border-radius: var(--radius);
  padding: 40px 30px;
  position: relative;
  transform: scale(0.9);
  transition: var(--transition);
  max-height: 90vh;
  overflow-y: auto;
}

.modal.active,
.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal.active {
  transform: scale(1);
}

.modal-close {
  position: absolute;
  top: 15px;
  right: 15px;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-light);
  transition: var(--transition);
}

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

.modal h3 {
  color: var(--accent);
  margin-bottom: 10px;
  font-size: 1.5rem;
}

.modal p {
  margin-bottom: 20px;
  color: var(--text-light);
}

.modal form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

/* Footer */
.footer {
  background-color: var(--text);
  color: #fff;
  padding: 60px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-info h4 {
  color: var(--highlight);
  margin-bottom: 20px;
}

.footer-info p {
  color: #ccc;
  margin-bottom: 10px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  color: #ccc;
}

.footer-links a:hover {
  color: var(--highlight);
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.1);
  color: #999;
  font-size: 0.9rem;
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #fff;
  padding: 20px;
  box-shadow: 0 -5px 20px rgba(0,0,0,0.1);
  z-index: 9000;
  transform: translateY(100%);
  transition: transform 0.5s ease;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.cookie-banner.visible {
  transform: translateY(0);
}

.cookie-text {
  text-align: center;
  font-size: 0.95rem;
}

.cookie-buttons {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.cookie-buttons button {
  padding: 8px 16px;
  font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 1200px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 992px) {
  .focus-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #fff;
    flex-direction: column;
    padding: 20px;
    box-shadow: 0 5px 10px rgba(0,0,0,0.05);
    clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
    transition: clip-path 0.4s ease;
  }
  
  .nav-links.active {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
  }

  .hamburger {
    display: flex;
  }

  .hamburger.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }
  .hamburger.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .hero h1 { font-size: 2.5rem; }
  
  .about-circular {
    height: auto;
    flex-direction: column;
    gap: 20px;
  }

  .orbit-item {
    position: relative;
    top: auto; left: auto; right: auto; bottom: auto;
    width: 100%;
    max-width: 300px;
  }

  .price-grid {
    grid-template-columns: 1fr;
  }
  
  .price-card.popular {
    transform: none;
  }
  .price-card.popular:hover {
    transform: translateY(-10px);
  }

  .focus-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
  }
  
  .gallery-grid {
    grid-template-columns: 1fr;
  }
}

/* Page content styles (privacy, terms, etc) */
.page-header {
  background-color: var(--highlight);
  padding: 120px 0 60px;
  text-align: center;
}

.page-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 60px 20px;
}

.page-content h2 {
  margin: 30px 0 15px;
  color: var(--accent);
}

.page-content p {
  margin-bottom: 15px;
}

/* Thanks page */
.thanks-section {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-color: var(--highlight);
}

.checkmark-circle {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: #fff;
  font-size: 2rem;
  animation: pulseCheck 2s infinite;
}
