/* Waves of Wisdom - Main Stylesheet */

/* Color Variables */
:root {
  --primary-color: #0097b2; /* Light blue - calm waters */
  --secondary-color: #c8a2c8; /* Lilac - healing and tranquility */
  --accent-gray: #e0e0e0; /* Soft gray */
  --white: #ffffff;
  --text-color: #333333; /* Dark gray for readability */
  --text-secondary-color: #0097b2; /* Lighter gray for secondary text */
  --footer-bg: #2c3e50; /* Darker blue for footer */
  --overlay-color: rgba(0, 0, 0, 0.4); /* Overlay for hero images */
}

/* Import Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Roboto:wght@300;400;500;600;700&display=swap');

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 120px; /* Account for fixed header height plus padding */
}

body {
  font-family: 'Roboto', sans-serif;
  font-size: 21px;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--white);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Inter', sans-serif;
  margin-bottom: 1rem;
  font-weight: 600;
  line-height: 1.2;
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
  position: relative;
  padding-bottom: 0.5rem;
  margin-bottom: 2rem;
}

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

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

h2.section-title::after {
  background-color: var(--text-secondary-color);
}

h3 {
  font-size: 1.5rem;
}

p {
  margin-bottom: 1.5rem;
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: all 0.3s ease;
}

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

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

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

.section {
  padding: 80px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 50px;
  color: var(--text-secondary-color);
}

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

/* Button Styles */
.btn {
  display: inline-block;
  padding: 12px 30px;
  background-color: var(--primary-color);
  color: var(--white);
  border: none;
  border-radius: 4px;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
}

.btn:hover {
  background-color: var(--secondary-color);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

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

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

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

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

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

/* Header and Navigation */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

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

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 50px;
  margin-right: 10px;
}

.logo-text {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--primary-color);
}

.nav-menu {
  display: flex;
  list-style: none;
  flex-wrap: nowrap;
  align-items: center;
}

.nav-item {
  margin-left: 20px;
  white-space: nowrap;
  flex-shrink: 0;
}

.nav-link {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  color: var(--text-color);
  position: relative;
  white-space: nowrap;
  font-size: 0.9rem;
}

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

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

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

/* Hero Section */
.hero {
  height: 100vh;
  min-height: 600px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
  padding-top: 80px;
  overflow: hidden;
}

.hero-video-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  overflow: hidden;
}

#hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translateX(-50%) translateY(-50%);
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--overlay-color);
}

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

.hero-title {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
  font-size: 1.5rem;
  margin-bottom: 2rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
}

/* About Section */
.about {
  background-color: var(--white);
}

.about-content {
  display: flex;
  flex-wrap: wrap;
  align-items: right;
  gap: 10px;
}

.about-image {
  flex: 1;
  min-width: 50px;
}

.about-image {
  position: relative;
}

.about-image img {
  border-radius: 5px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.about-credentials {
  text-align: left;
  margin-top: 15px;
  width: 100%;
}

.about-logo {
  text-align: left;
  margin-top: 25px;
  width: 400%;
}

.about-logo {
  text-align: left
}

.about-logo img {
  max-width: 400px;
  height: auto;
}

.therapist-name {
  margin-bottom: 5px;
  color: #a5d8dd;
  font-size: 1.8rem;
  font-weight: 500;
}

.therapist-accreditation {
  font-weight: 600;
  color: #c8a2c8;
  font-size: 1.2rem;
}

.about-text {
  flex: 1;
  min-width: 300px;
  margin-top: 0;
}

/* Therapy Modalities Section */
.modalities {
  background-color: #f9f9f9;
}

/* Children and Teens Section */
.children-teens {
  background-color: var(--white);
}

/* A Look Inside Section */
.a-look-inside {
  background-color: #f9f9f9;
}

.a-look-inside .about-content {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 50px;
}

.a-look-inside .about-image {
  flex: 1;
  min-width: 300px;
}

.a-look-inside .about-image img {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.a-look-inside .about-text {
  flex: 1;
  min-width: 300px;
}

.children-teens .about-content {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 50px;
}

.children-teens .about-image {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.children-teens .about-image img {
  width: 100%;
  max-width: 600px;
  border-radius: 8px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.children-teens .about-text ul {
  margin-left: 20px;
  margin-bottom: 20px;
}

.children-teens .about-text li {
  margin-bottom: 10px;
}

.modality-container {
  display: flex;
  flex-direction: column;
  gap: 50px;
}

.modality-item {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 30px;
  padding: 30px;
  background-color: var(--white);
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.modality-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.modality-image {
  flex: 1;
  min-width: 250px;
}

.modality-image img {
  border-radius: 8px;
}

.modality-content {
  flex: 2;
  min-width: 300px;
}

/* FAQ Section */
.faq {
  background-color: var(--white);
}

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

.accordion-item {
  margin-bottom: 15px;
  border: 1px solid var(--accent-gray);
  border-radius: 8px;
  overflow: hidden;
}

.accordion-header {
  background-color: #f9f9f9;
  padding: 15px 20px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color 0.3s ease;
}

.accordion-header:hover {
  background-color: var(--accent-gray);
}

.accordion-header h3 {
  margin: 0;
  font-size: 1.1rem;
}

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

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

.accordion-item.active .accordion-content {
  padding: 20px;
  max-height: 1000px;
  opacity: 1;
}

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

/* Testimonials Section */
.testimonials {
  background-color: #f9f9f9;
  text-align: center;
}

.testimonial-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.testimonial-card {
  flex: 1;
  min-width: 300px;
  max-width: 350px;
  background-color: var(--white);
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-5px);
}

.testimonial-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin: 0 auto 20px;
  overflow: hidden;
  position: relative;
  border: 2px solid var(--primary-color);
}

.testimonial-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.testimonial-text {
  font-style: italic;
  margin-bottom: 20px;
}

.testimonial-name {
  font-weight: 600;
  margin-bottom: 5px;
}

.testimonial-date {
  font-size: 0.9rem;
  color: #777;
}

/* Contact Section */
.contact {
  background-color: var(--white);
}

.contact-container {
  display: flex;
  flex-wrap: wrap;
  gap: 50px;
}

.contact-info {
  flex: 1;
  min-width: 300px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 25px;
}

.contact-icon {
  font-size: 1.5rem;
  color: var(--primary-color);
  margin-right: 15px;
  min-width: 30px;
}

.contact-details h3 {
  margin-bottom: 5px;
  font-size: 1.1rem;
}

.social-links {
  display: flex;
  gap: 15px;
  margin-top: 30px;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: var(--primary-color);
  color: var(--white);
  border-radius: 50%;
  transition: all 0.3s ease;
}

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

.contact-form {
  flex: 1;
  min-width: 300px;
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
}

.form-control {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid var(--accent-gray);
  border-radius: 4px;
  font-family: 'Open Sans', sans-serif;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-color);
}

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

.form-button {
  margin-top: 10px;
}

.form-message {
  padding: 15px;
  margin: 20px 0;
  border-radius: 4px;
  font-weight: 500;
  text-align: center;
}

.form-message.success {
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.form-message.error {
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

.error-message {
  color: #dc3545;
  font-size: 0.875rem;
  margin-top: 5px;
}

.form-control.error {
  border-color: #dc3545;
}

/* Business Hours */
.business-hours {
  margin-top: 40px;
}

.hours-list {
  list-style: none;
}

.hours-item {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid var(--accent-gray);
}

.hours-item:last-child {
  border-bottom: none;
}

.day {
  font-weight: 600;
}

/* Footer */
footer {
  background-color: var(--footer-bg);
  color: var(--white);
  padding: 60px 0 20px;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-col {
  flex: 1;
  min-width: 250px;
}

.footer-logo {
  margin-bottom: 20px;
}

.footer-logo img {
  height: 200px;
}

.footer-text {
  margin-bottom: 20px;
  color: rgba(255, 255, 255, 0.8);
}

.footer-title {
  font-size: 1.2rem;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

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

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

.footer-link {
  margin-bottom: 10px;
}

.footer-link a {
  color: rgba(255, 255, 255, 0.8);
  transition: color 0.3s ease;
}

.footer-link a:hover {
  color: var(--primary-color);
}

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

/* Responsive Styles */
@media (max-width: 992px) {
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.6rem;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.2rem;
  }
  
  .section {
    padding: 50px 0;
  }

  .container {
    padding: 0 15px;
  }

  .modality-item {
    padding: 20px;
  }

  .about-content {
    gap: 30px;
  }
}

@media (max-width: 768px) {
  .header-container {
    padding: 10px 15px;
  }
  
  .nav-menu {
    position: fixed;
    top: 80px;
    left: -100%;
    flex-direction: column;
    background-color: var(--white);
    width: 100%;
    height: calc(100vh - 80px);
    text-align: center;
    transition: 0.3s;
    box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1);
    padding: 20px 0;
    overflow-y: auto;
  }
  
  .nav-menu.active {
    left: 0;
  }
  
  .nav-item {
    margin: 12px 0;
  }
  
  .mobile-menu-btn {
    display: block;
    padding: 8px;
  }
  
  /* Hero styles moved to mobile-optimizations.css for better consistency */
  
  .about-content, 
  .modality-item {
    flex-direction: column;
  }
  
  .modality-image {
    order: -1;
  }
  
  .section-title {
    margin-bottom: 25px;
    color: #00928d; /* Example text color */
  }

  .logo img {
    height: 100px;
  }

  .logo-text {
    font-size: 1.2rem;
  }

  .testimonial-card {
    min-width: 280px;
    padding: 20px;
  }

  .contact-container {
    gap: 30px;
  }

  .footer-container {
    gap: 30px;
  }
}

@media (max-width: 576px) {
  body {
    font-size: 21px;
  }

  /* Hero styles moved to mobile-optimizations.css for better consistency */
  
  .section {
    padding: 30px 0;
  }
  
  .btn {
    width: 100%;
    padding: 10px 20px;
  }

  .btn-large {
    padding: 12px 30px;
    font-size: 1rem;
  }

  .about-image img {
    border-radius: 8px;
  }

  .therapist-name {
    font-size: 1.5rem;
  }

  .therapist-accreditation {
    font-size: 1rem;
  }

  .modality-item {
    padding: 15px;
  }

  .accordion-header {
    padding: 12px 15px;
  }

  .accordion-content {
    padding: 15px;
  }

  .contact-item {
    margin-bottom: 20px;
  }

  .form-control {
    padding: 10px;
  }

  .footer-col {
    min-width: 100%;
  }
}

/* Touch Device Optimizations */
@media (hover: none) {
  .btn:hover {
    transform: none;
  }

  .modality-item:hover {
    transform: none;
  }

  .testimonial-card:hover {
    transform: none;
  }
}
