/* Lotus Bloom Spa - Complete Website Styles */

/* Color Palette */
:root {
  --primary-cream: #FAF6EF;
  --sandalwood: #C8A47A;
  --light-sandalwood: #D8C5AA;
  --dark-sandalwood: #9D7C5A;
  --sage-green: #6E7A73;
  --lotus-pink: #F8BBD9;
  --text-dark: #2C2C2C;
  --text-light: #666666;
  --white: #FFFFFF;
  --shadow: rgba(0, 0, 0, 0.1);
  --gradient-overlay: linear-gradient(135deg, rgba(250, 246, 239, 0.95), rgba(200, 164, 122, 0.85));
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Georgia', 'Times New Roman', serif;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--primary-cream);
  overflow-x: hidden;
}

/* Accessibility Toggle */
body.large-text {
  font-size: 120%;
}

body.large-text h1 { font-size: 3.5rem; }
body.large-text h2 { font-size: 2.5rem; }
body.large-text h3 { font-size: 2rem; }
body.large-text h4 { font-size: 1.5rem; }
body.large-text p, body.large-text li { font-size: 1.25rem; }

/* Marble Background Pattern */
.marble-bg {
  background-image: 
    url('../images/clean_elegant_white_marble_spa_background.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  position: relative;
}

.marble-bg::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--gradient-overlay);
  z-index: 1;
}

.marble-bg > * {
  position: relative;
  z-index: 2;
}

/* Blue Marble Divider */
.blue-marble-divider {
  background-image: url('../images/elegant_blue_marble_swirl_spa_background.jpg');
  background-size: cover;
  background-position: center;
  height: 200px;
  position: relative;
  overflow: hidden;
}

.blue-marble-divider::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(200, 164, 122, 0.3);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 400;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

h1 { font-size: 2.8rem; }
h2 { font-size: 2.2rem; }
h3 { font-size: 1.8rem; }
h4 { font-size: 1.5rem; }

p {
  margin-bottom: 1rem;
  color: var(--text-light);
}

/* Buttons and CTAs */
.btn {
  display: inline-block;
  padding: 15px 30px;
  background: var(--lotus-pink);
  color: var(--white);
  text-decoration: none;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 500;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(248, 187, 217, 0.3);
}

.btn:hover {
  background: #f4a6cd;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(248, 187, 217, 0.4);
}

.btn-secondary {
  background: transparent;
  color: var(--sandalwood);
  border: 2px solid var(--sandalwood);
  box-shadow: 0 4px 15px rgba(200, 164, 122, 0.2);
}

.btn-secondary:hover {
  background: var(--sandalwood);
  color: var(--white);
  box-shadow: 0 6px 20px rgba(200, 164, 122, 0.4);
}

/* Sandalwood Hover Glow */
.sandalwood-glow {
  transition: all 0.3s ease;
}

.sandalwood-glow:hover {
  background: var(--sandalwood);
  color: var(--white);
  box-shadow: 0 0 20px rgba(200, 164, 122, 0.6);
  transform: translateY(-2px);
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(250, 246, 239, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  padding: 1rem 0;
  transition: all 0.3s ease;
}

.navbar.scrolled {
  background: rgba(250, 246, 239, 0.98);
  box-shadow: 0 2px 20px var(--shadow);
}

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

.logo {
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--sandalwood);
  text-decoration: none;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-link {
  color: var(--text-dark);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
  position: relative;
}

.nav-link:hover {
  color: var(--sandalwood);
}

.nav-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 0;
  background: var(--sandalwood);
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

.mobile-menu {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.mobile-menu span {
  width: 25px;
  height: 3px;
  background: var(--text-dark);
  margin: 3px 0;
  transition: 0.3s;
}

/* Hero Section */
.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  background-image: url('../images/ethereal_lotus_flower_zen_spa_meditation_art.jpg');
  background-size: cover;
  background-position: center;
  color: var(--white);
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.4), rgba(200, 164, 122, 0.3));
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 2rem;
}

.hero h1 {
  font-size: 4rem;
  margin-bottom: 1rem;
  color: var(--white);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero p {
  font-size: 1.3rem;
  margin-bottom: 2rem;
  color: rgba(255, 255, 255, 0.9);
}

/* Stats Section */
.stats {
  padding: 4rem 0;
  background: var(--primary-cream);
}

.stats-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
}

.stat-item {
  text-align: center;
  padding: 2rem;
  background: var(--white);
  border-radius: 15px;
  box-shadow: 0 10px 30px var(--shadow);
  transition: transform 0.3s ease;
}

.stat-item:hover {
  transform: translateY(-10px);
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 600;
  color: var(--sandalwood);
  display: block;
}

.stat-label {
  font-size: 1rem;
  color: var(--text-light);
  margin-top: 0.5rem;
}

/* Sections */
.section {
  padding: 6rem 0;
}

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

.section-title {
  text-align: center;
  margin-bottom: 4rem;
}

.section-title h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  position: relative;
  display: inline-block;
}

.section-title h2::after {
  content: '';
  position: absolute;
  width: 50px;
  height: 3px;
  background: var(--sandalwood);
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
}

.section-title p {
  font-size: 1.1rem;
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto;
}

/* Cards */
.card {
  background: var(--white);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px var(--shadow);
  transition: all 0.3s ease;
  height: 100%;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.card-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.card-content {
  padding: 2rem;
}

.card-title {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.card-text {
  color: var(--text-light);
  margin-bottom: 1.5rem;
}

/* Grid Layouts */
.grid {
  display: grid;
  gap: 2rem;
}

.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid-4 {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
}

/* Badges */
.badges {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.badge {
  background: var(--sandalwood);
  color: var(--white);
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
}

.badge.ayurveda {
  background: var(--sage-green);
}

.badge.organic {
  background: var(--dark-sandalwood);
}

.badge.calm {
  background: var(--light-sandalwood);
}

/* Reviews */
.reviews {
  background: var(--primary-cream);
  padding: 6rem 0;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.review-item {
  background: var(--white);
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 10px 30px var(--shadow);
  text-align: center;
}

.review-stars {
  color: var(--sandalwood);
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.review-text {
  font-style: italic;
  margin-bottom: 1rem;
  color: var(--text-light);
}

.review-author {
  font-weight: 600;
  color: var(--text-dark);
}

/* Newsletter */
.newsletter {
  background: linear-gradient(135deg, var(--sandalwood), var(--light-sandalwood));
  padding: 4rem 0;
  color: var(--white);
}

.newsletter-content {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.newsletter h3 {
  color: var(--white);
  margin-bottom: 1rem;
}

.newsletter p {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2rem;
}

.newsletter-form {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.newsletter-input {
  padding: 15px 20px;
  border: none;
  border-radius: 50px;
  font-size: 1rem;
  flex: 1;
  min-width: 250px;
  max-width: 400px;
}

/* Footer */
.footer {
  background: var(--text-dark);
  color: var(--white);
  padding: 4rem 0 2rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-bottom: 2rem;
}

.footer-section h4 {
  color: var(--sandalwood);
  margin-bottom: 1rem;
}

.footer-section p,
.footer-section li {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 0.5rem;
}

.footer-section ul {
  list-style: none;
}

.footer-section a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section a:hover {
  color: var(--sandalwood);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.6);
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  z-index: 2000;
  align-items: center;
  justify-content: center;
}

.modal.show {
  display: flex;
}

.modal-content {
  background: var(--white);
  padding: 3rem;
  border-radius: 20px;
  max-width: 500px;
  width: 90%;
  max-height: 80vh;
  overflow-y: auto;
  position: relative;
}

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

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--text-dark);
  font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px;
  border: 2px solid #e0e0e0;
  border-radius: 10px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

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

/* Gift Card */
.gift-card {
  background: linear-gradient(135deg, var(--light-sandalwood), var(--sandalwood));
  padding: 3rem;
  border-radius: 20px;
  color: var(--white);
  text-align: center;
  margin: 2rem 0;
}

.gift-card-content h3 {
  color: var(--white);
  margin-bottom: 1rem;
}

.gift-card-content p {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2rem;
}

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

  .nav-menu {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 70px);
    background: var(--white);
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding-top: 2rem;
    transition: left 0.3s ease;
    box-shadow: 0 2px 10px var(--shadow);
  }

  .nav-menu.active {
    left: 0;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .hero p {
    font-size: 1.1rem;
  }

  .grid-3,
  .grid-4,
  .grid-2 {
    grid-template-columns: 1fr;
  }

  .newsletter-form {
    flex-direction: column;
  }

  .newsletter-input {
    min-width: 100%;
  }

  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

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

  h2 {
    font-size: 1.8rem;
  }

  .container {
    padding: 0 1rem;
  }

  .card-content {
    padding: 1.5rem;
  }

  .modal-content {
    padding: 2rem;
  }
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  animation: fadeInUp 0.6s ease forwards;
}

/* Lotus Decorative Elements */
.lotus-divider {
  text-align: center;
  padding: 2rem 0;
}

.lotus-divider img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 50%;
  filter: drop-shadow(0 4px 8px rgba(200, 164, 122, 0.3));
}

/* Loading Animation */
.loading {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 3px solid rgba(200, 164, 122, 0.3);
  border-radius: 50%;
  border-top-color: var(--sandalwood);
  animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Print Styles for Gift Cards */
@media print {
  body {
    background: white !important;
  }
  
  .navbar,
  .newsletter,
  .footer {
    display: none !important;
  }
  
  .gift-card {
    background: white !important;
    border: 2px solid var(--sandalwood) !important;
    color: var(--text-dark) !important;
  }
  
  .gift-card h3,
  .gift-card p {
    color: var(--text-dark) !important;
  }
}

/* Accessibility Improvements */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Focus Styles */
button:focus,
input:focus,
select:focus,
textarea:focus,
a:focus {
  outline: 2px solid var(--sandalwood);
  outline-offset: 2px;
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
  :root {
    --text-light: #000000;
  }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}