/* ============================================
   FLOWE ESTHETICS - Main Stylesheet
   ============================================ */

/* ============================================
   CSS Custom Properties (Design Tokens)
   ============================================ */
:root {
  /* Primary Colors - Teal/Turquoise */
  --color-deep-ocean: #066d78;
  --color-ocean-blue: #058a97;
  --color-teal: #04b6ca;
  --color-teal-light: #2fc9db;

  /* Accent Colors - Bright Turquoise */
  --color-accent: #04b6ca;
  --color-accent-dark: #066d78;
  --color-accent-light: #5dd9e8;

  /* Neutral Colors */
  --color-white: #FFFFFF;
  --color-off-white: #f0fafa;
  --color-cream: #dff8f6;
  --color-light-gray: #c5eeeb;
  --color-medium-gray: #5a8a8f;
  --color-dark-gray: #344a4d;
  --color-text: #066d78;

  /* Gradients */
  --gradient-ocean: linear-gradient(135deg, var(--color-deep-ocean) 0%, var(--color-ocean-blue) 50%, var(--color-teal) 100%);
  --gradient-accent: linear-gradient(135deg, var(--color-accent) 0%, var(--color-accent-dark) 100%);
  --gradient-hero: linear-gradient(180deg, var(--color-deep-ocean) 0%, var(--color-ocean-blue) 40%, var(--color-teal) 100%);
  --gradient-subtle: linear-gradient(180deg, var(--color-cream) 0%, var(--color-white) 100%);

  /* Typography */
  --font-heading: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Font Sizes */
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 1.875rem;
  --text-4xl: 2.25rem;
  --text-5xl: 3rem;
  --text-6xl: 3.75rem;

  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;
  --space-5xl: 8rem;

  /* Border Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(6, 109, 120, 0.05);
  --shadow-md: 0 4px 6px rgba(6, 109, 120, 0.07), 0 2px 4px rgba(6, 109, 120, 0.06);
  --shadow-lg: 0 10px 15px rgba(6, 109, 120, 0.1), 0 4px 6px rgba(6, 109, 120, 0.05);
  --shadow-xl: 0 20px 25px rgba(6, 109, 120, 0.1), 0 10px 10px rgba(6, 109, 120, 0.04);
  --shadow-accent: 0 4px 14px rgba(4, 182, 202, 0.3);

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 300ms ease;
  --transition-slow: 500ms ease;

  /* Container */
  --container-max: 1200px;
  --container-padding: var(--space-lg);

  /* Header */
  --header-height: 80px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

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

ul, ol {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* ============================================
   Typography
   ============================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 500;
  line-height: 1.2;
  color: var(--color-deep-ocean);
}

h1 {
  font-size: var(--text-4xl);
  letter-spacing: -0.02em;
}

h2 {
  font-size: var(--text-3xl);
}

h3 {
  font-size: var(--text-2xl);
}

h4 {
  font-size: var(--text-xl);
}

p {
  margin-bottom: var(--space-md);
}

p:last-child {
  margin-bottom: 0;
}

.text-accent {
  color: var(--color-accent);
}

.text-teal {
  color: var(--color-teal);
}

.tagline {
  font-family: var(--font-heading);
  font-style: italic;
  font-weight: 400;
  color: var(--color-accent-dark);
  letter-spacing: 0.02em;
}

/* ============================================
   Layout Components
   ============================================ */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.section {
  padding: var(--space-4xl) 0;
}

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

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

.section--gradient {
  background: var(--gradient-subtle);
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-3xl);
}

.section-header h2 {
  margin-bottom: var(--space-md);
}

.section-header .tagline {
  font-size: var(--text-lg);
}

/* Wave Divider */
.wave-divider {
  width: 100%;
  height: 60px;
  overflow: hidden;
  position: relative;
}

.wave-divider svg {
  width: 100%;
  height: 100%;
}

/* ============================================
   Header & Navigation
   ============================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  transition: all var(--transition-base);
  height: var(--header-height);
}

.header.scrolled {
  box-shadow: var(--shadow-md);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.logo__symbol {
  height: 45px;
  width: 45px;
  display: block;
  flex-shrink: 0;
}

.logo__text {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: 400;
  color: var(--color-deep-ocean);
}

.logo__image {
  height: 60px;
  width: auto;
  display: block;
}

.logo__name {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: 500;
  color: var(--color-deep-ocean);
  letter-spacing: 0.02em;
}

.logo__tagline {
  font-size: var(--text-xs);
  font-style: italic;
  color: var(--color-accent-dark);
  margin-top: 2px;
}

.nav {
  display: none;
}

.nav__list {
  display: flex;
  gap: var(--space-xl);
}

.nav__link {
  font-size: var(--text-sm);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-text);
  position: relative;
  padding: var(--space-sm) 0;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-accent);
  transition: width var(--transition-base);
}

.nav__link:hover::after,
.nav__link.active::after {
  width: 100%;
}

.nav__link:hover,
.nav__link.active {
  color: var(--color-deep-ocean);
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 30px;
  height: 30px;
  padding: 0;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--color-deep-ocean);
  transition: all var(--transition-fast);
}

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

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

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

/* Mobile Navigation */
.mobile-nav {
  position: fixed;
  top: var(--header-height);
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--color-white);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-xl);
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-base);
  z-index: 999;
}

.mobile-nav.active {
  opacity: 1;
  visibility: visible;
}

.mobile-nav__link {
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  color: var(--color-deep-ocean);
  transition: color var(--transition-fast);
}

.mobile-nav__link:hover {
  color: var(--color-accent-dark);
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--gradient-hero);
  overflow: hidden;
  padding-top: var(--header-height);
}

.hero--short {
  min-height: 50vh;
}

.hero__background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
  overflow: hidden;
}

.hero__logo-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  opacity: 0.12;
  animation: floatSlow 20s ease-in-out infinite;
}

.hero__logo-bg img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: screen;
}

.hero__decorative-waves {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.8;
}

.hero__wave {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: auto;
  z-index: 1;
}

.hero__content {
  position: relative;
  z-index: 2;
  padding: var(--space-2xl);
}

.hero__logo {
  margin-bottom: var(--space-xl);
  animation: fadeInUp 1s ease forwards;
}

.hero__logo img {
  max-width: 600px;
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

.hero__cta {
  animation: fadeInUp 1s ease 0.4s forwards;
  opacity: 0;
}

/* Page Hero (shorter variant) */
.page-hero {
  position: relative;
  padding: calc(var(--header-height) + var(--space-4xl)) 0 var(--space-4xl);
  background: var(--gradient-hero);
  text-align: center;
  overflow: hidden;
}

.page-hero__content {
  position: relative;
  z-index: 2;
}

.page-hero__title {
  font-size: var(--text-4xl);
  color: var(--color-white);
  margin-bottom: var(--space-sm);
}

.page-hero__subtitle {
  font-size: var(--text-lg);
  color: var(--color-accent-light);
  font-style: italic;
}

.page-hero .hero__wave {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
}

/* ============================================
   Buttons
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: var(--space-md) var(--space-xl);
  font-size: var(--text-sm);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-radius: var(--radius-full);
  transition: all var(--transition-base);
  cursor: pointer;
}

.btn--primary {
  background: var(--color-accent);
  color: var(--color-white);
  box-shadow: var(--shadow-accent);
}

.btn--primary:hover {
  background: var(--color-accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.35);
}

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

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

.btn--white {
  background: var(--color-white);
  color: var(--color-deep-ocean);
}

.btn--white:hover {
  background: var(--color-cream);
  transform: translateY(-2px);
}

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

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

.btn--large {
  padding: var(--space-lg) var(--space-2xl);
  font-size: var(--text-base);
}

/* ============================================
   Cards
   ============================================ */
.card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  box-shadow: var(--shadow-md);
  transition: all var(--transition-base);
}

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

/* Service Card */
.service-card {
  position: relative;
  overflow: hidden;
}

.service-card--tinted {
  background-color: var(--color-cream);
}

.service-card__header {
  margin-bottom: var(--space-md);
}

.service-card__title {
  font-size: var(--text-xl);
  color: var(--color-deep-ocean);
  margin-bottom: var(--space-xs);
}

.service-card__meta {
  display: flex;
  gap: var(--space-md);
  font-size: var(--text-sm);
  color: var(--color-medium-gray);
}

.service-card__price {
  color: var(--color-accent-dark);
  font-weight: 600;
}

.service-card__description {
  font-size: var(--text-sm);
  color: var(--color-text);
  line-height: 1.7;
  margin-bottom: var(--space-md);
}

.service-card__description p {
  margin-bottom: 0;
}

.service-card__details {
  font-size: var(--text-sm);
  border-top: 1px solid var(--color-light-gray);
  padding-top: var(--space-md);
}

.service-card__detail {
  margin-bottom: var(--space-sm);
}

.service-card__detail:last-child {
  margin-bottom: 0;
}

.service-card__detail strong {
  color: var(--color-teal);
}

.service-card__note {
  font-size: var(--text-xs);
  font-style: italic;
  color: var(--color-medium-gray);
  margin-top: var(--space-md);
  padding-top: var(--space-sm);
  border-top: 1px dashed var(--color-light-gray);
}

/* Featured Service Card */
.featured-card {
  text-align: center;
  padding: var(--space-2xl) var(--space-xl);
  border-top: 3px solid var(--color-accent);
}

.featured-card__icon {
  width: 60px;
  height: 60px;
  margin: 0 auto var(--space-lg);
  color: var(--color-teal);
}

.featured-card__title {
  font-size: var(--text-lg);
  margin-bottom: var(--space-sm);
}

.featured-card__meta {
  justify-content: center;
  margin-bottom: var(--space-md);
}

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

/* Testimonial Card */
.testimonial-card {
  text-align: center;
  padding: var(--space-2xl);
}

.testimonial-card__quote {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  font-style: italic;
  color: var(--color-text);
  margin-bottom: var(--space-lg);
  position: relative;
}

.testimonial-card__quote::before {
  content: '"';
  font-size: var(--text-5xl);
  color: var(--color-accent);
  opacity: 0.3;
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
}

.testimonial-card__author {
  font-weight: 600;
  color: var(--color-deep-ocean);
}

/* Add-on Card */
.addon-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-lg);
  background: var(--color-off-white);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
}

.addon-card:hover {
  background: var(--color-cream);
}

.addon-card__info h4 {
  font-size: var(--text-base);
  margin-bottom: var(--space-xs);
}

.addon-card__info p {
  font-size: var(--text-sm);
  color: var(--color-medium-gray);
  margin: 0;
}

.addon-card__price {
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--color-accent-dark);
  white-space: nowrap;
}

/* ============================================
   Grid Layouts
   ============================================ */
.grid {
  display: grid;
  gap: var(--space-xl);
}

.grid--equal-height {
  align-items: stretch;
}

.grid--equal-height .card {
  height: 100%;
}

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

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

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

/* ============================================
   Welcome Section
   ============================================ */
.welcome {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.welcome h2 {
  margin-bottom: var(--space-lg);
}

.welcome p {
  font-size: var(--text-lg);
  line-height: 1.8;
  color: var(--color-text);
}

/* ============================================
   Services Page Specific
   ============================================ */
.services-section {
  padding: var(--space-3xl) 0;
}

.services-section__header {
  text-align: center;
  margin-bottom: var(--space-2xl);
}

.services-section__header h2 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
}

.services-section__header .icon {
  width: 40px;
  height: 40px;
  color: var(--color-teal);
}

.services-section__header .tagline {
  margin-top: var(--space-sm);
}

.service-full {
  margin-bottom: var(--space-2xl);
}

.service-full:last-child {
  margin-bottom: 0;
}

/* Programs Section */
.programs-grid {
  display: grid;
  gap: var(--space-lg);
}

.program-card {
  background: var(--gradient-ocean);
  color: var(--color-white);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
}

.program-card h4 {
  color: var(--color-white);
  margin-bottom: var(--space-sm);
}

.program-card__price {
  font-size: var(--text-xl);
  color: var(--color-accent-light);
  margin-bottom: var(--space-sm);
}

.program-card__details {
  font-size: var(--text-sm);
  opacity: 0.9;
}

/* ============================================
   About Page Specific
   ============================================ */
.about-content {
  max-width: 800px;
  margin: 0 auto;
}

.about-content h3 {
  margin-top: var(--space-2xl);
  margin-bottom: var(--space-lg);
  color: var(--color-teal);
}

.about-content p {
  font-size: var(--text-lg);
  line-height: 1.9;
  margin-bottom: var(--space-lg);
}

.credentials {
  background: var(--color-cream);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  margin-top: var(--space-3xl);
}

.credentials h3 {
  text-align: center;
  margin-top: 0;
  margin-bottom: var(--space-lg);
}

.credentials-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.credentials-list li {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  font-size: var(--text-base);
}

.credentials-list li::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--color-accent);
  border-radius: 50%;
  flex-shrink: 0;
}

/* ============================================
   Contact Page Specific
   ============================================ */
.contact-grid {
  display: grid;
  gap: var(--space-2xl);
}

.contact-info {
  background: var(--color-cream);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
}

.contact-info h3 {
  margin-bottom: var(--space-lg);
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
}

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

.contact-item__icon {
  width: 24px;
  height: 24px;
  color: var(--color-teal);
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-item__content h4 {
  font-size: var(--text-base);
  font-family: var(--font-body);
  font-weight: 600;
  margin-bottom: var(--space-xs);
}

.contact-item__content p,
.contact-item__content a {
  font-size: var(--text-sm);
  color: var(--color-medium-gray);
}

.contact-item__content a:hover {
  color: var(--color-teal);
}

.booking-cta {
  background: var(--gradient-ocean);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  text-align: center;
  color: var(--color-white);
}

.booking-cta h3 {
  color: var(--color-white);
  margin-bottom: var(--space-md);
}

.booking-cta p {
  opacity: 0.9;
  margin-bottom: var(--space-lg);
}

.booking-cta__buttons {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: var(--space-md) var(--space-xl);
  background: var(--color-white);
  color: var(--color-deep-ocean);
  border-radius: var(--radius-full);
  font-weight: 600;
  transition: all var(--transition-base);
}

.social-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.social-btn svg {
  width: 20px;
  height: 20px;
}

/* Map */
.map-container {
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 300px;
  box-shadow: var(--shadow-md);
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* Contact Form */
.contact-form {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  box-shadow: var(--shadow-md);
}

.contact-form h3 {
  margin-bottom: var(--space-lg);
}

.form-group {
  margin-bottom: var(--space-lg);
}

.form-group label {
  display: block;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: var(--space-sm);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: var(--space-md);
  font-family: var(--font-body);
  font-size: var(--text-base);
  border: 1px solid var(--color-light-gray);
  border-radius: var(--radius-md);
  transition: border-color var(--transition-fast);
}

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

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

.form-note {
  font-size: var(--text-sm);
  color: var(--color-medium-gray);
  font-style: italic;
  margin-top: var(--space-md);
}

/* ============================================
   Location Highlight
   ============================================ */
.location-highlight {
  text-align: center;
  padding: var(--space-3xl) 0;
  background: var(--color-cream);
}

.location-highlight h3 {
  margin-bottom: var(--space-sm);
}

.location-highlight p {
  color: var(--color-medium-gray);
}

/* ============================================
   Footer
   ============================================ */
.footer {
  background: var(--color-deep-ocean);
  color: var(--color-white);
  padding: var(--space-3xl) 0 var(--space-xl);
}

.footer__grid {
  display: grid;
  gap: var(--space-2xl);
  margin-bottom: var(--space-2xl);
}

.footer__section h4 {
  color: var(--color-accent-light);
  font-size: var(--text-base);
  margin-bottom: var(--space-md);
}

.footer__section p,
.footer__section a {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.8;
}

.footer__section a:hover {
  color: var(--color-accent-light);
}

.footer__social {
  display: flex;
  gap: var(--space-md);
  margin-top: var(--space-md);
}

.footer__social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  transition: all var(--transition-fast);
}

.footer__social a:hover {
  background: var(--color-accent);
  transform: translateY(-2px);
}

.footer__social svg {
  width: 20px;
  height: 20px;
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: var(--space-xl);
  text-align: center;
}

.footer__copyright {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.6);
}

.footer__logo {
  margin-bottom: var(--space-lg);
}

.footer__logo img {
  max-width: 350px;
  width: 100%;
  height: auto;
  display: block;
}

/* Decorative Logo Elements */
.section-logo {
  display: flex;
  justify-content: center;
  margin-bottom: var(--space-lg);
  background-color: #0D5C5C;
  padding: var(--space-lg);
  border-radius: var(--radius-md);
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

.section-logo img {
  height: 60px;
  width: auto;
  opacity: 1;
}

.section-logo--small img {
  height: 35px;
}

.section-logo-branded {
  text-align: center;
  margin-bottom: var(--space-2xl);
}

.section-logo-branded__symbol {
  width: 120px;
  height: 120px;
  margin: 0 auto var(--space-md);
  display: block;
}

.section-logo-branded__title {
  font-family: var(--font-heading);
  font-size: var(--text-3xl);
  color: var(--color-deep-ocean);
  margin-bottom: var(--space-xs);
  font-weight: 400;
}

.section-logo-branded__tagline {
  font-size: var(--text-sm);
  color: var(--color-teal);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 400;
}

/* About Page Photo */
.about-photo {
  text-align: center;
  margin-bottom: var(--space-2xl);
}

.about-photo img {
  width: 320px;
  height: auto;
  object-fit: cover;
  border-radius: var(--radius-lg);
  border: 4px solid var(--color-accent);
  box-shadow: var(--shadow-lg);
}

.about-intro {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-xl);
  margin-bottom: var(--space-2xl);
}

@media (min-width: 768px) {
  .about-intro {
    flex-direction: row;
    align-items: flex-start;
    gap: var(--space-2xl);
  }

  .about-photo {
    flex-shrink: 0;
    margin-bottom: 0;
  }

  .about-photo img {
    width: 280px;
    height: auto;
  }

  .about-intro-text {
    flex: 1;
  }
}

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

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes wave {
  0%, 100% {
    transform: translateX(0) translateY(0);
  }
  50% {
    transform: translateX(-25px) translateY(5px);
  }
}

@keyframes floatSlow {
  0%, 100% {
    transform: translate(-50%, -50%) rotate(0deg) scale(1);
  }
  33% {
    transform: translate(-48%, -52%) rotate(5deg) scale(1.05);
  }
  66% {
    transform: translate(-52%, -48%) rotate(-5deg) scale(0.95);
  }
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

.animate-delay-1 {
  transition-delay: 0.1s;
}

.animate-delay-2 {
  transition-delay: 0.2s;
}

.animate-delay-3 {
  transition-delay: 0.3s;
}

/* Wave Animation for Hero */
.wave-animate {
  animation: wave 8s ease-in-out infinite;
}

/* ============================================
   Utility Classes
   ============================================ */
.text-center {
  text-align: center;
}

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: var(--space-sm); }
.mb-2 { margin-bottom: var(--space-md); }
.mb-3 { margin-bottom: var(--space-lg); }
.mb-4 { margin-bottom: var(--space-xl); }
.mb-5 { margin-bottom: var(--space-2xl); }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: var(--space-sm); }
.mt-2 { margin-top: var(--space-md); }
.mt-3 { margin-top: var(--space-lg); }
.mt-4 { margin-top: var(--space-xl); }
.mt-5 { margin-top: var(--space-2xl); }

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

/* ============================================
   Responsive Breakpoints
   ============================================ */

/* Tablet (768px+) */
@media (min-width: 768px) {
  :root {
    --container-padding: var(--space-xl);
  }

  h1 {
    font-size: var(--text-5xl);
  }

  h2 {
    font-size: var(--text-4xl);
  }

  .hero__logo img {
    max-width: 700px;
  }

  .page-hero__title {
    font-size: var(--text-5xl);
  }

  .nav {
    display: block;
  }

  .menu-toggle {
    display: none;
  }

  .grid--2 {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid--3 {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid--4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer__grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .booking-cta__buttons {
    flex-direction: row;
    justify-content: center;
  }

  .programs-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Desktop (1024px+) */
@media (min-width: 1024px) {
  :root {
    --container-padding: var(--space-2xl);
  }

  h1 {
    font-size: var(--text-6xl);
  }

  .hero__logo img {
    max-width: 800px;
  }

  .grid--3 {
    grid-template-columns: repeat(3, 1fr);
  }

  .grid--4 {
    grid-template-columns: repeat(4, 1fr);
  }

  .footer__grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .logo__name {
    font-size: var(--text-2xl);
  }

  .credentials-list {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-xl);
  }
}

/* Large Desktop (1200px+) */
@media (min-width: 1200px) {
  .about-content {
    max-width: 900px;
  }

  .welcome {
    max-width: 900px;
  }
}
