/* ============================================================
   Lotus Core Wellness — Static Site Styles
   ============================================================ */

/* --- Fonts --- */
@font-face {
  font-family: 'Proxima Nova';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/ProximaNova-Regular.ttf') format('truetype');
  font-display: swap;
}
@font-face {
  font-family: 'Proxima Nova';
  font-style: normal;
  font-weight: 700;
  src: url('../fonts/ProximaNova-Bold.ttf') format('truetype');
  font-display: swap;
}
@font-face {
  font-family: 'Proxima Nova';
  font-style: normal;
  font-weight: 800;
  src: url('../fonts/ProximaNova-Extrabld.ttf') format('truetype');
  font-display: swap;
}
@font-face {
  font-family: 'Proxima Nova';
  font-style: normal;
  font-weight: 900;
  src: url('../fonts/ProximaNova-Black.ttf') format('truetype');
  font-display: swap;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Proxima Nova', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: #1a1a1a;
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

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

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

/* --- Page wrapper (flex layout for sticky footer) --- */
.page-wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.page-content {
  flex: 1;
}

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: rgba(255, 255, 255, 0.75);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  padding: 0 2rem;
}

.header-inner {
  max-width: 80rem;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-logo {
  max-width: 5rem;
  padding: 0.25rem 0;
}

.header-logo img {
  width: 100%;
  height: auto;
}

/* Desktop nav */
.desktop-nav {
  display: none;
  align-items: center;
  gap: 1.5rem;
}

.desktop-nav a {
  font-weight: 500;
  transition: color 0.2s;
}

.desktop-nav a:hover {
  color: #ec4899;
}

/* Burger button */
.burger-btn {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.burger-btn span {
  display: block;
  width: 1.5rem;
  height: 2px;
  background: #1a1a1a;
  transition: transform 0.3s, opacity 0.3s;
}

/* Mobile menu */
.mobile-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: #fff;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  flex-direction: column;
  padding: 1rem 2rem;
  z-index: 200;
}

.mobile-menu.open {
  display: flex;
}

.mobile-menu a {
  padding: 0.5rem 0;
  font-weight: 500;
}

.mobile-menu a:hover {
  color: #ec4899;
}

@media (min-width: 768px) {
  .desktop-nav {
    display: flex;
  }
  .burger-btn {
    display: none;
  }
  .mobile-menu {
    display: none !important;
  }
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: #fff;
  padding: 1rem 2rem;
  margin-top: auto;
}

.footer-inner {
  max-width: 80rem;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.footer-socials {
  display: flex;
  gap: 1rem;
}

.footer-socials img {
  width: 1.5rem;
  height: 1.5rem;
  transition: opacity 0.2s;
}

.footer-socials a:hover img {
  opacity: 0.7;
}

.footer-copy {
  font-size: 0.875rem;
  color: #4b5563;
}

@media (min-width: 768px) {
  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
  }
}

/* ============================================================
   HERO / PARALLAX SECTIONS
   ============================================================ */
.parallax-section {
  min-height: 100vh;
  width: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  padding: 2rem;
  position: relative;
}

@media (min-width: 768px) {
  .parallax-section {
    background-attachment: fixed;
  }
}

.parallax-section.align-start {
  justify-content: flex-start;
}

.parallax-section.align-end {
  justify-content: flex-end;
}

.parallax-section.align-center {
  justify-content: center;
}

/* Overlay cards */
.overlay-card {
  max-width: 36rem;
  padding: 1.5rem;
  border-radius: 0.75rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.overlay-card.blush {
  background: rgba(230, 185, 179, 0.6);
}

.overlay-card.dusty-olive {
  background: rgba(177, 191, 173, 0.6);
}

.overlay-card.dusty-olive-50 {
  background: rgba(177, 191, 173, 0.5);
}

.overlay-card.blush-50 {
  background: rgba(230, 185, 179, 0.5);
}

/* --- Section-specific backgrounds --- */

/* Home hero */
.section-hero {
  background-color: #f5e7e7;
  background-image: url('../images/bg_2_mobile.webp');
}
@media (min-width: 768px) {
  .section-hero {
    background-image: url('../images/bg_1_1_oksana.webp');
  }
}

/* About studio */
.section-studio {
  background-image: url('../images/bg_1_1_oksana_mobile.webp');
}
@media (min-width: 768px) {
  .section-studio {
    background-image: url('../images/bg_2.webp');
  }
}

/* Training */
.section-training {
  background-image: url('../images/women-training-yoga-mat-mobile.webp');
}
@media (min-width: 768px) {
  .section-training {
    background-image: url('../images/women-training-yoga-mat.webp');
  }
}

/* FAQ */
.section-faq {
  background-image: url('../images/bg_3_mobile.webp');
}
@media (min-width: 768px) {
  .section-faq {
    background-image: url('../images/bg_3.webp');
  }
}

/* Contact form */
.section-contact-form {
  background-image: url('../images/bg_4_mobile.webp');
}
@media (min-width: 768px) {
  .section-contact-form {
    background-image: url('../images/bg_4.webp');
  }
}

/* Contact page hero */
.section-contact-hero {
  background-image: url('../images/women-training-yoga-mat-mobile.webp');
}
@media (min-width: 768px) {
  .section-contact-hero {
    background-image: url('../images/women-training-yoga-mat.webp');
  }
}

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1 {
  font-size: 1.875rem;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 1rem;
}

h2 {
  font-size: 1.875rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

h3 {
  font-size: 1.25rem;
  font-weight: 600;
}

@media (min-width: 768px) {
  h1 {
    font-size: 2.25rem;
  }
}

.text-lg {
  font-size: 1.125rem;
  line-height: 1.75;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: background-color 0.2s, box-shadow 0.2s;
  border: none;
  font-size: 1rem;
  font-family: inherit;
}

.btn-pink {
  background: #ec4899;
  color: #fff;
}

.btn-pink:hover {
  background: #db2777;
}

.btn-blue {
  background: #2563eb;
  color: #fff;
}

.btn-blue:hover {
  background: #1d4ed8;
}

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* ============================================================
   VIDEO EMBED (responsive 16:9)
   ============================================================ */
.video-embed {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  overflow: hidden;
  border-radius: 0.75rem;
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

.video-embed iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 0.75rem;
}

/* ============================================================
   FAQ
   ============================================================ */
.faq-question {
  margin-top: 1rem;
}

.faq-question h3 {
  margin-bottom: 0.25rem;
}

.faq-question + .faq-question {
  margin-top: 1.25rem;
}

/* ============================================================
   CONTACT FORM
   ============================================================ */
.contact-form-card {
  max-width: 32rem;
  margin: 0 auto;
  padding: 1.5rem;
  border-radius: 0.375rem;
}

.contact-form .form-group {
  margin-bottom: 1rem;
}

.contact-form label {
  display: block;
  font-weight: 500;
  margin-bottom: 0.25rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.5rem 0.75rem;
  border: 1px solid #d1d5db;
  border-radius: 0.375rem;
  font-family: inherit;
  font-size: 1rem;
  transition: border-color 0.2s;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.2);
}

.contact-form textarea {
  height: 8rem;
  resize: vertical;
}

.form-error {
  color: #ef4444;
  font-size: 0.875rem;
  margin-top: 0.25rem;
}

.form-success {
  padding: 0.5rem;
  background: #dcfce7;
  color: #15803d;
  margin-bottom: 1rem;
  border-radius: 0.375rem;
}

/* ============================================================
   CONTACT PAGE — SOCIAL ICONS
   ============================================================ */
.social-icons-row {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 0.5rem;
}

.social-icons-row a {
  transition: opacity 0.2s;
}

.social-icons-row a:hover {
  opacity: 0.7;
}

.social-icons-row svg {
  width: 2rem;
  height: 2rem;
}

/* ============================================================
   BLOG / POSTS
   ============================================================ */
.posts-container {
  max-width: 72rem;
  margin: 0 auto;
  padding: 6rem 1rem 3rem;
}

.posts-title {
  text-align: center;
  font-size: 2.25rem;
  margin-bottom: 3rem;
}

.posts-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 768px) {
  .posts-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.post-card {
  background: #fff;
  border-radius: 1rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: box-shadow 0.3s;
}

.post-card:hover {
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.post-card img {
  width: 100%;
  height: 14rem;
  object-fit: cover;
}

.post-card-body {
  padding: 1.5rem;
}

.post-card-body h2 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.post-card-body p {
  color: #4b5563;
  margin-bottom: 1rem;
}

/* Single post */
.post-single {
  max-width: 48rem;
  margin: 0 auto;
  padding: 6rem 1.5rem 3rem;
}

.post-single .post-image {
  width: 100%;
  height: 20rem;
  object-fit: cover;
  border-radius: 1rem;
  margin-bottom: 2rem;
}

.post-single h1 {
  font-size: 2.25rem;
  margin-bottom: 1.5rem;
}

.post-single .post-content {
  font-size: 1.125rem;
  color: #374151;
  line-height: 1.8;
}

.post-single .post-content p {
  margin-bottom: 1rem;
}

.back-link {
  display: inline-block;
  color: #3b82f6;
  margin-top: 2rem;
  transition: color 0.2s;
}

.back-link:hover {
  text-decoration: underline;
  color: #2563eb;
}

/* ============================================================
   VIDEOS PAGE
   ============================================================ */
.videos-container {
  max-width: 72rem;
  margin: 0 auto;
  padding: 6rem 1.5rem 3rem;
}

.videos-container h1 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

.videos-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .videos-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 768px) {
  .videos-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.video-card {
  background: #fff;
  border-radius: 1rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.video-card iframe {
  width: 100%;
  aspect-ratio: 9 / 16;
  border: 0;
}

.video-card-body {
  padding: 1rem;
}

.video-card-body h3 {
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.video-card-body p {
  font-size: 0.875rem;
  color: #4b5563;
}

.instagram-section {
  margin-top: 2.5rem;
}

.instagram-section h2 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.instagram-card {
  background: #fff;
  border-radius: 1rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  padding: 0.5rem;
}

/* ============================================================
   CTA (hero button spacing)
   ============================================================ */
.cta-link {
  margin-top: 1.5rem;
}

/* ============================================================
   UTILITY
   ============================================================ */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}
