/* ============================================
   The Healing Miracles - Main Stylesheet
   A calming, spiritual design for healing practice
   ============================================ */

/* CSS Variables */
:root {
  --primary: #7C9A92;
  --primary-dark: #5d7a72;
  --secondary: #B8A9C9;
  --accent: #E8B4BC;
  --background: #F9F7F4;
  --background-alt: #F0EDE8;
  --text: #3D3D3D;
  --text-light: #6B6B6B;
  --white: #FFFFFF;
  --gold: #C9A962;
  --shadow: rgba(0, 0, 0, 0.1);
  --shadow-lg: rgba(0, 0, 0, 0.15);

  --font-primary: 'Cormorant Garamond', Georgia, serif;
  --font-secondary: 'Nunito Sans', 'Segoe UI', sans-serif;

  --transition: all 0.3s ease;
  --transition-slow: all 0.5s ease;
}

/* Reset & Base */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-primary);
  font-weight: 500;
  line-height: 1.3;
  color: var(--text);
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.8rem; }
h4 { font-size: 1.4rem; }

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

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

a:hover {
  color: var(--primary-dark);
}

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

.section {
  padding: 6rem 0;
}

.section-alt {
  background-color: var(--background-alt);
}

.text-center {
  text-align: center;
}

.section-title {
  text-align: center;
  margin-bottom: 1rem;
  position: relative;
}

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

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  margin: 1rem auto 0;
  border-radius: 2px;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 1rem 2.5rem;
  border-radius: 50px;
  font-family: var(--font-secondary);
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: var(--transition);
  border: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--white);
  box-shadow: 0 4px 15px rgba(124, 154, 146, 0.4);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(124, 154, 146, 0.5);
  color: var(--white);
}

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

.btn-secondary:hover {
  background: var(--primary);
  color: var(--white);
}

.btn-whatsapp {
  background: #25D366;
  color: var(--white);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
}

.btn-whatsapp:hover {
  background: #128C7E;
  color: var(--white);
  transform: translateY(-3px);
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1.25rem 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: var(--transition);
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 2px 20px var(--shadow);
  padding: 0.75rem 0;
}

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

.logo {
  font-family: var(--font-primary);
  font-size: 1.8rem;
  color: var(--primary);
  font-weight: 600;
}

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

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

.nav-links a {
  color: var(--text);
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
  padding: 0.5rem 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 0.5rem;
}

.nav-toggle span {
  width: 25px;
  height: 2px;
  background: var(--text);
  transition: var(--transition);
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  padding-top: 80px;
  background: linear-gradient(135deg,
    rgba(124, 154, 146, 0.1) 0%,
    rgba(184, 169, 201, 0.1) 50%,
    rgba(232, 180, 188, 0.1) 100%);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="none" stroke="%237C9A92" stroke-width="0.5" opacity="0.3"/><circle cx="50" cy="50" r="30" fill="none" stroke="%23B8A9C9" stroke-width="0.5" opacity="0.3"/><circle cx="50" cy="50" r="20" fill="none" stroke="%23E8B4BC" stroke-width="0.5" opacity="0.3"/></svg>') center/400px repeat;
  opacity: 0.5;
  animation: float 20s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(5deg); }
}

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

.hero-tagline {
  font-family: var(--font-secondary);
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--primary);
  margin-bottom: 1.5rem;
}

.hero h1 {
  font-size: 4rem;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: 1.3rem;
  color: var(--text-light);
  margin-bottom: 2.5rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Daily Affirmation */
.affirmation-box {
  background: var(--white);
  padding: 2rem 3rem;
  border-radius: 20px;
  box-shadow: 0 10px 40px var(--shadow);
  margin-top: 3rem;
  position: relative;
}

.affirmation-box::before {
  content: '"';
  font-family: var(--font-primary);
  font-size: 4rem;
  color: var(--secondary);
  opacity: 0.5;
  position: absolute;
  top: 0;
  left: 1.5rem;
}

.affirmation-label {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.affirmation-text {
  font-family: var(--font-primary);
  font-size: 1.5rem;
  font-style: italic;
  color: var(--text);
}

/* Page Header */
.page-header {
  padding: 10rem 0 5rem;
  text-align: center;
  background: linear-gradient(135deg,
    rgba(124, 154, 146, 0.1) 0%,
    rgba(184, 169, 201, 0.1) 100%);
}

.page-header h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.breadcrumb {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--text-light);
}

.breadcrumb a {
  color: var(--primary);
}

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

.card {
  background: var(--white);
  border-radius: 20px;
  padding: 2.5rem;
  box-shadow: 0 5px 30px var(--shadow);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 50px var(--shadow-lg);
}

.card-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  font-size: 2rem;
}

.card h3 {
  margin-bottom: 1rem;
}

.card p {
  margin-bottom: 1.5rem;
}

/* Service Cards */
.service-card {
  text-align: center;
}

.service-price {
  font-family: var(--font-primary);
  font-size: 2rem;
  color: var(--primary);
  margin: 1rem 0;
}

.service-features {
  list-style: none;
  margin: 1.5rem 0;
  text-align: left;
}

.service-features li {
  padding: 0.5rem 0;
  padding-left: 1.5rem;
  position: relative;
  color: var(--text-light);
}

.service-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: bold;
}

/* Testimonials */
.testimonial-card {
  text-align: center;
  padding: 3rem;
}

.testimonial-text {
  font-family: var(--font-primary);
  font-size: 1.3rem;
  font-style: italic;
  margin-bottom: 2rem;
  position: relative;
}

.testimonial-text::before,
.testimonial-text::after {
  font-size: 3rem;
  color: var(--secondary);
  opacity: 0.5;
  line-height: 0;
}

.testimonial-text::before {
  content: '"';
  margin-right: 0.5rem;
}

.testimonial-text::after {
  content: '"';
  margin-left: 0.5rem;
}

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

.testimonial-location {
  font-size: 0.9rem;
  color: var(--text-light);
}

.stars {
  color: var(--gold);
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

/* About Section */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-image {
  position: relative;
}

.about-image-placeholder {
  width: 100%;
  aspect-ratio: 4/5;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 8rem;
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.about-image-placeholder::after {
  content: '';
  position: absolute;
  inset: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="45" fill="none" stroke="white" stroke-width="0.5" opacity="0.3"/></svg>') center/200px repeat;
}

.floating-badge {
  position: absolute;
  background: var(--white);
  padding: 1rem 1.5rem;
  border-radius: 15px;
  box-shadow: 0 10px 30px var(--shadow-lg);
  font-weight: 600;
}

.badge-experience {
  bottom: 2rem;
  right: -1rem;
}

.badge-certified {
  top: 2rem;
  left: -1rem;
}

.about-content h2 {
  margin-bottom: 1.5rem;
}

.about-content p {
  margin-bottom: 1.5rem;
}

.values-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin: 2rem 0;
}

.value-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.value-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(124, 154, 146, 0.2), rgba(184, 169, 201, 0.2));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

/* FAQ Accordion */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--white);
  border-radius: 15px;
  margin-bottom: 1rem;
  box-shadow: 0 5px 20px var(--shadow);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  padding: 1.5rem 2rem;
  background: none;
  border: none;
  text-align: left;
  font-family: var(--font-primary);
  font-size: 1.2rem;
  color: var(--text);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition);
}

.faq-question:hover {
  color: var(--primary);
}

.faq-icon {
  font-size: 1.5rem;
  color: var(--primary);
  transition: var(--transition);
}

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: var(--transition-slow);
}

.faq-item.active .faq-answer {
  max-height: 500px;
}

.faq-answer-content {
  padding: 0 2rem 1.5rem;
  color: var(--text-light);
}

/* Contact Section */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem;
}

.contact-info {
  padding: 2rem;
}

.contact-item {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.contact-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.contact-text h4 {
  margin-bottom: 0.25rem;
}

.contact-text p {
  margin: 0;
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
}

.social-link {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--background-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--text);
  transition: var(--transition);
}

.social-link:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-3px);
}

.contact-form {
  background: var(--white);
  padding: 3rem;
  border-radius: 20px;
  box-shadow: 0 10px 40px var(--shadow);
}

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

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

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 1rem 1.5rem;
  border: 2px solid var(--background-alt);
  border-radius: 10px;
  font-family: var(--font-secondary);
  font-size: 1rem;
  transition: var(--transition);
  background: var(--background);
}

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

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

/* Resources/Blog Cards */
.resource-card {
  background: var(--white);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 5px 30px var(--shadow);
  transition: var(--transition);
}

.resource-card:hover {
  transform: translateY(-10px);
}

.resource-image {
  height: 200px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
}

.resource-content {
  padding: 2rem;
}

.resource-tag {
  display: inline-block;
  padding: 0.25rem 1rem;
  background: rgba(124, 154, 146, 0.1);
  color: var(--primary);
  border-radius: 20px;
  font-size: 0.85rem;
  margin-bottom: 1rem;
}

.resource-content h3 {
  margin-bottom: 0.75rem;
}

.resource-meta {
  font-size: 0.9rem;
  color: var(--text-light);
}

/* Chakra Display */
.chakra-display {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin: 3rem 0;
}

.chakra {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--white);
  transition: var(--transition);
  cursor: pointer;
}

.chakra:hover {
  transform: scale(1.2);
}

.chakra-root { background: linear-gradient(135deg, #C17F7F, #A65959); }
.chakra-sacral { background: linear-gradient(135deg, #D4A574, #C4956A); }
.chakra-solar { background: linear-gradient(135deg, #D4C98A, #C9BC70); }
.chakra-heart { background: linear-gradient(135deg, #7CAE7A, #6B9E69); }
.chakra-throat { background: linear-gradient(135deg, #7EB8C9, #6BA8B9); }
.chakra-third-eye { background: linear-gradient(135deg, #8B7BB5, #7A6AA4); }
.chakra-crown { background: linear-gradient(135deg, #B8A9C9, #A799B9); }

/* WhatsApp Floating Button */
.whatsapp-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 60px;
  height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--white);
  box-shadow: 0 5px 25px rgba(37, 211, 102, 0.5);
  z-index: 999;
  transition: var(--transition);
  animation: pulse 2s infinite;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  color: var(--white);
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 5px 25px rgba(37, 211, 102, 0.5); }
  50% { box-shadow: 0 5px 35px rgba(37, 211, 102, 0.8); }
}

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

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand .logo {
  color: var(--white);
  margin-bottom: 1rem;
  display: block;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.7);
}

.footer h4 {
  color: var(--white);
  margin-bottom: 1.5rem;
  font-size: 1.2rem;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
}

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

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

/* Animations */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: var(--transition-slow);
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

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

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

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

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background: var(--white);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-shadow: -5px 0 30px var(--shadow);
    transition: var(--transition);
  }

  .nav-links.active {
    right: 0;
  }

  .nav-toggle {
    display: flex;
    z-index: 1001;
  }

  .nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

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

  .nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  .section {
    padding: 4rem 0;
  }

  .values-list {
    grid-template-columns: 1fr;
  }

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

  .social-links {
    justify-content: center;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .affirmation-box {
    padding: 1.5rem 2rem;
  }

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

@media (max-width: 480px) {
  .container {
    padding: 0 1rem;
  }

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

  .btn {
    padding: 0.875rem 2rem;
    font-size: 0.9rem;
  }

  .whatsapp-float {
    bottom: 1rem;
    right: 1rem;
  }
}

/* Print Styles */
@media print {
  .navbar,
  .whatsapp-float,
  .btn {
    display: none;
  }
}
