/* ============================================
   INTO THE WOMB - Main Stylesheet
   ============================================ */

/* Google Fonts - loaded via <link> in HTML for better performance */

/* CSS Variables */
:root {
  --color-white: #fefefe;
  --color-black: #000000;
  --color-light-mauve: #e5d4dc;
  --color-mauve: #b199ac;
  --color-purple: #6d5371;
  --color-dark-purple: #3d2f40;
  --color-text: #333333;
  --color-text-light: #727272;
  --color-bg: #ffffff;

  --font-heading: 'Josefin Sans', sans-serif;
  --font-body: 'Josefin Sans', sans-serif;

  --max-width: 980px;
  --transition: all 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-weight: 300;
  color: var(--color-text);
  background-color: var(--color-bg);
  line-height: 1.8;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

ul {
  list-style: none;
}

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

/* ============================================
   HEADER
   ============================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: var(--color-white);
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 20px;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-img {
  width: 70px;
  height: 70px;
  object-fit: contain;
}

.logo-text {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 300;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--color-black);
}

.main-nav {
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
  gap: 30px;
  align-items: center;
}

.nav-list a {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 300;
  letter-spacing: 2px;
  color: var(--color-text);
  position: relative;
  padding: 5px 0;
}

.nav-list a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background-color: var(--color-purple);
  transition: width 0.3s ease;
}

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

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
}

.menu-toggle span {
  display: block;
  width: 25px;
  height: 2px;
  background-color: var(--color-text);
  margin: 5px 0;
  transition: var(--transition);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding-top: 90px;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.65);
  z-index: -1;
}

.hero-content {
  max-width: 700px;
  padding: 40px 20px;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 38px;
  font-weight: 300;
  letter-spacing: 4px;
  color: var(--color-black);
  margin-bottom: 30px;
  line-height: 1.4;
}

.hero-text {
  font-size: 16px;
  line-height: 1.8;
  color: var(--color-text);
  font-weight: 300;
}

/* ============================================
   SECTIONS - General
   ============================================ */
.section {
  padding: 80px 20px;
}

.section-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 35px;
  font-weight: 300;
  text-align: center;
  margin-bottom: 20px;
  letter-spacing: 2px;
  color: var(--color-black);
}

.section-subtitle {
  font-family: var(--font-heading);
  font-size: 23px;
  font-weight: 300;
  text-align: center;
  margin-bottom: 30px;
  color: var(--color-text);
  line-height: 1.4;
}

/* ============================================
   QUOTE SECTION
   ============================================ */
.quote-section {
  padding: 80px 20px;
  text-align: center;
  position: relative;
}

.quote-section .flower-img {
  width: 280px;
  height: 280px;
  object-fit: contain;
  margin: 0 auto 30px;
  opacity: 0.8;
}

.quote-text {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 300;
  color: var(--color-purple);
  letter-spacing: 1px;
  line-height: 1.4;
  max-width: 600px;
  margin: 0 auto;
  font-style: italic;
}

/* ============================================
   SERVICES GRID (Homepage)
   ============================================ */
.services-section {
  padding: 60px 20px 80px;
}

.services-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.service-card {
  position: relative;
  overflow: hidden;
  border-radius: 0;
  aspect-ratio: 4/3;
  cursor: pointer;
}

.service-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.service-card:hover img {
  transform: scale(1.05);
}

.service-card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.35);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 30px;
  text-align: center;
  transition: background 0.3s ease;
}

.service-card:hover .service-card-overlay {
  background: rgba(0, 0, 0, 0.45);
}

.service-card-title {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 400;
  color: #ffffff;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 15px;
}

.service-card-desc {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.7;
  font-weight: 300;
  max-width: 350px;
}

/* ============================================
   DIVIDER
   ============================================ */
.divider {
  width: 60px;
  height: 1px;
  background-color: var(--color-mauve);
  margin: 30px auto;
}

/* ============================================
   ABOUT PAGE
   ============================================ */
.about-hero {
  position: relative;
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 90px;
  overflow: hidden;
}

.about-hero .hero-bg img {
  filter: brightness(0.7);
}

.about-hero .hero-content {
  position: relative;
  z-index: 1;
}

.about-hero h1 {
  font-family: var(--font-heading);
  font-size: 42px;
  font-weight: 300;
  color: #ffffff;
  letter-spacing: 4px;
}

.about-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 80px 20px;
}

.about-layout {
  display: flex;
  gap: 50px;
  align-items: flex-start;
}

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

.about-photo img {
  width: 240px;
  height: 240px;
  border-radius: 50%;
  object-fit: cover;
}

.about-text h2 {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 300;
  letter-spacing: 2px;
  color: var(--color-text-light);
  margin-bottom: 25px;
}

.about-text p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--color-text);
  margin-bottom: 20px;
  font-weight: 300;
}

.about-text .emphasis {
  font-weight: 400;
  color: var(--color-purple);
}

/* ============================================
   SERVICES LIST PAGE
   ============================================ */
.services-list-section {
  padding: 120px 20px 80px;
}

.services-list {
  max-width: var(--max-width);
  margin: 0 auto;
}

.services-list-header {
  text-align: center;
  margin-bottom: 60px;
}

.services-list-header h1 {
  font-family: var(--font-heading);
  font-size: 38px;
  font-weight: 300;
  letter-spacing: 3px;
  color: var(--color-black);
}

.service-list-card {
  margin-bottom: 40px;
  overflow: hidden;
}

.service-list-card a {
  display: block;
  position: relative;
}

.service-list-card img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.service-list-card:hover img {
  transform: scale(1.03);
}

.service-list-card-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 40px;
  background: linear-gradient(transparent, rgba(0,0,0,0.5));
  text-align: center;
}

.service-list-card-content h2 {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 300;
  letter-spacing: 2px;
  color: #ffffff;
  margin-bottom: 20px;
}

.btn-more {
  display: inline-block;
  padding: 10px 30px;
  border: 1px solid #ffffff;
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 14px;
  letter-spacing: 2px;
  font-weight: 300;
  transition: var(--transition);
}

.btn-more:hover {
  background-color: #ffffff;
  color: var(--color-black);
}

/* ============================================
   SERVICE DETAIL PAGE
   ============================================ */
.service-detail {
  padding: 120px 20px 80px;
}

.service-detail-inner {
  max-width: 800px;
  margin: 0 auto;
}

.service-detail-header {
  text-align: center;
  margin-bottom: 40px;
}

.service-detail-header h1 {
  font-family: var(--font-heading);
  font-size: 36px;
  font-weight: 300;
  letter-spacing: 3px;
  color: var(--color-black);
  margin-bottom: 20px;
}

.service-detail-image {
  width: 100%;
  max-height: 500px;
  object-fit: cover;
  margin-bottom: 40px;
}

.service-detail-content {
  font-size: 16px;
  line-height: 1.8;
  color: var(--color-text);
}

.service-detail-content p {
  margin-bottom: 20px;
  font-weight: 300;
}

.service-detail-content strong {
  font-weight: 600;
}

.service-detail-content ul {
  list-style: disc;
  padding-left: 25px;
  margin-bottom: 20px;
}

.service-detail-content ul li {
  margin-bottom: 8px;
  font-weight: 300;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 14px;
  letter-spacing: 2px;
  color: var(--color-purple);
  margin-bottom: 30px;
  font-weight: 300;
}

.back-link:hover {
  color: var(--color-dark-purple);
}

.service-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 50px;
  padding-top: 30px;
  border-top: 1px solid var(--color-light-mauve);
}

.service-nav-link {
  font-family: var(--font-heading);
  font-size: 14px;
  letter-spacing: 2px;
  color: var(--color-purple);
  font-weight: 300;
  transition: var(--transition);
}

.service-nav-link:hover {
  color: var(--color-dark-purple);
}

.service-nav-disabled {
  font-family: var(--font-heading);
  font-size: 14px;
  letter-spacing: 2px;
  color: var(--color-mauve);
  font-weight: 300;
  opacity: 0.5;
}

/* ============================================
   POLICY PAGES
   ============================================ */
.policy-page {
  padding: 120px 20px 80px;
}

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

.policy-inner h1 {
  font-family: var(--font-heading);
  font-size: 36px;
  font-weight: 300;
  letter-spacing: 3px;
  color: var(--color-black);
  margin-bottom: 30px;
  text-align: center;
}

.policy-inner h2 {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 400;
  color: var(--color-black);
  margin-top: 30px;
  margin-bottom: 15px;
}

.policy-inner p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--color-text);
  margin-bottom: 15px;
  font-weight: 300;
}

.policy-inner .disclaimer {
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid var(--color-light-mauve);
  font-style: italic;
  font-size: 14px;
  color: var(--color-text-light);
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  background-color: var(--color-white);
  padding: 40px 20px;
  border-top: 1px solid rgba(0,0,0,0.05);
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  text-align: center;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-bottom: 15px;
  flex-wrap: wrap;
}

.footer-links a {
  font-size: 14px;
  color: var(--color-text-light);
  font-weight: 300;
}

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

.footer-copyright {
  font-size: 13px;
  color: var(--color-text-light);
  margin-bottom: 8px;
  font-weight: 300;
}

.footer-email a {
  font-size: 14px;
  color: var(--color-text-light);
  font-weight: 300;
}

.footer-email a:hover {
  color: var(--color-purple);
}

/* ============================================
   SOCIAL LINKS (Floating)
   ============================================ */
.social-floating {
  position: fixed;
  bottom: 24px;
  right: 20px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.social-floating a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 2px 12px rgba(0,0,0,0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.social-floating a:hover {
  transform: scale(1.1);
  box-shadow: 0 4px 18px rgba(0,0,0,0.22);
}

.social-floating a.whatsapp-btn {
  background: #25D366;
}

.social-floating a.instagram-btn {
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}

.social-floating img {
  width: 26px;
  height: 26px;
  filter: brightness(0) invert(1);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  .main-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    height: 100vh;
    background: var(--color-white);
    flex-direction: column;
    justify-content: center;
    transition: right 0.3s ease;
    box-shadow: -2px 0 10px rgba(0,0,0,0.1);
  }

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

  .nav-list {
    flex-direction: column;
    gap: 25px;
  }

  .nav-list a {
    font-size: 18px;
  }

  .hero-title {
    font-size: 28px;
  }

  .quote-text {
    font-size: 22px;
  }

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

  .service-list-card img {
    height: 280px;
  }

  .service-list-card-content {
    padding: 25px 20px;
  }

  .service-list-card-content h2 {
    font-size: 22px;
  }

  .about-layout {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

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

  .social-floating {
    bottom: 16px;
    right: 14px;
    gap: 10px;
  }

  .social-floating a {
    width: 48px;
    height: 48px;
  }

  .social-floating img {
    width: 24px;
    height: 24px;
  }

  .footer-links {
    flex-direction: column;
    gap: 10px;
  }

  .footer-inner {
    padding-bottom: 80px;
  }

  .header-inner {
    padding: 8px 15px;
  }

  .logo-img {
    width: 55px;
    height: 55px;
  }

  .section {
    padding: 50px 15px;
  }

  .hero {
    min-height: 85vh;
    padding-top: 75px;
  }

  .hero-text {
    font-size: 15px;
  }

  .hero-text br {
    display: none;
  }

  .quote-section .flower-img {
    width: 180px;
    height: 180px;
  }

  .service-card-title {
    font-size: 18px;
    letter-spacing: 2px;
  }

  .service-card-desc {
    font-size: 13px;
    line-height: 1.6;
  }

  .service-card-overlay {
    padding: 20px;
  }

  .services-list-header h1 {
    font-size: 28px;
  }

  .service-list-card-content h2 {
    font-size: 20px;
  }

  .service-detail-header h1 {
    font-size: 26px;
  }

  .about-hero h1 {
    font-size: 32px;
  }

  .about-content {
    padding: 50px 20px;
  }

  .policy-inner h1 {
    font-size: 28px;
  }

  .policy-inner h2 {
    font-size: 18px;
  }

  .services-list-section {
    padding: 100px 15px 60px;
  }

  .service-detail {
    padding: 100px 15px 60px;
  }

  .policy-page {
    padding: 100px 15px 60px;
  }
}

/* Small phones */
@media (max-width: 400px) {
  .hero-title {
    font-size: 22px;
    letter-spacing: 2px;
  }

  .quote-text {
    font-size: 18px;
  }

  .service-card {
    aspect-ratio: 3/2;
  }

  .logo-text {
    font-size: 12px;
    letter-spacing: 2px;
  }
}

/* Touch-friendly tap targets */
@media (hover: none) and (pointer: coarse) {
  .nav-list a {
    padding: 10px 5px;
    min-height: 44px;
    display: flex;
    align-items: center;
  }

  .btn-more {
    padding: 14px 30px;
    min-height: 48px;
  }

  .footer-links a {
    padding: 8px 0;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }
}

/* Mobile nav overlay */
.nav-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.3);
  z-index: 998;
}

.nav-overlay.active {
  display: block;
}

/* Close button for mobile nav */
.nav-close {
  display: none;
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  font-size: 28px;
  cursor: pointer;
  color: var(--color-text);
}

@media (max-width: 768px) {
  .nav-close {
    display: block;
  }
}

/* ============================================
   SKIP TO CONTENT (Accessibility)
   ============================================ */
.skip-to-content {
  position: absolute;
  top: -100%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-purple);
  color: #ffffff;
  padding: 10px 20px;
  z-index: 10000;
  font-family: var(--font-heading);
  font-size: 14px;
  letter-spacing: 1px;
  border-radius: 0 0 4px 4px;
  transition: top 0.2s ease;
}

.skip-to-content:focus {
  top: 0;
}

/* ============================================
   FOCUS STYLES (Accessibility)
   ============================================ */
*:focus-visible {
  outline: 2px solid var(--color-purple);
  outline-offset: 3px;
}

.nav-list a:focus-visible::after {
  width: 100%;
}

.social-floating a:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 3px;
  box-shadow: 0 0 0 5px var(--color-purple);
}

.btn-more:focus-visible {
  background-color: #ffffff;
  color: var(--color-black);
  outline: 2px solid #ffffff;
  outline-offset: 3px;
}

/* ============================================
   CTA BUTTON
   ============================================ */
.btn-cta {
  display: inline-block;
  padding: 14px 36px;
  background-color: var(--color-purple);
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 14px;
  letter-spacing: 2px;
  font-weight: 400;
  text-transform: uppercase;
  border: 2px solid var(--color-purple);
  transition: var(--transition);
  cursor: pointer;
  text-align: center;
}

.btn-cta:hover {
  background-color: transparent;
  color: var(--color-purple);
}

.btn-cta:focus-visible {
  outline: 2px solid var(--color-purple);
  outline-offset: 3px;
}

.hero .btn-cta {
  margin-top: 30px;
}

.service-detail-cta {
  text-align: center;
  margin-top: 40px;
}

.about-cta {
  margin-top: 30px;
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact-section {
  padding: 80px 20px;
  background-color: var(--color-light-mauve);
  text-align: center;
}

.contact-inner {
  max-width: 600px;
  margin: 0 auto;
}

.contact-section h2 {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 300;
  letter-spacing: 3px;
  color: var(--color-black);
  margin-bottom: 15px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 30px;
  align-items: center;
}

.contact-info a {
  font-size: 16px;
  font-weight: 300;
  color: var(--color-purple);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.contact-info a:hover {
  color: var(--color-dark-purple);
}

.contact-info .contact-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

/* ============================================
   SERVICE LIST CARD HOVER ANIMATION
   ============================================ */
.service-list-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-list-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.15);
}

/* ============================================
   BACK TO TOP BUTTON
   ============================================ */
.back-to-top {
  position: fixed;
  bottom: 90px;
  right: 20px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: var(--color-purple);
  color: #ffffff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 10px rgba(0,0,0,0.15);
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
  font-size: 20px;
  line-height: 1;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  transform: scale(1.1);
  background-color: var(--color-dark-purple);
}

@media (max-width: 768px) {
  .back-to-top {
    bottom: 80px;
    right: 14px;
    width: 40px;
    height: 40px;
    font-size: 18px;
  }

  .contact-section {
    padding: 50px 15px;
  }

  .contact-section h2 {
    font-size: 24px;
  }

  .btn-cta {
    padding: 12px 28px;
    font-size: 13px;
  }
}
