/* Aesthetic single-page styles */
:root {
  --bg: #f7f5f9;
  --card: #e2e0dab3;
  --button: #816f65b3;
  --muted: #6b6b7a;
  --accent: #7c5cff;
  --accent-2: #ff8fb1;
  --glass: rgba(255, 255, 255, 0.6);
}
* {
  box-sizing: border-box;
}
@font-face {
  font-family: mainFont;
  src: url("font/Avegaer.ttf");
}
@font-face {
  font-family: secondaryFont;
  src: url("font/Lato-Black.ttf");
}
html,
body {
  height: 100%;
}
body {
  margin: 0;
  font-family: Helvetica, Arial, sans-serif;
  line-height: 1.6;
  text-align: justify;
  /*min-height: 100svh;
  background-blend-mode: overlay;
  color: #111;
  
  position: relative;
  min-height: 100svh;
  overflow: auto; /* allow page scrolling */
}
body::before {
  content: "";
  position: fixed; /* fixed to viewport */
  top: 0;
  left: 0;
  width: 100%;
  height: 120%;
  background-image: url("images/rita1color.jpeg");
  background-size: cover;
  background-position: center;
  z-index: -1; /* sits behind content */
}
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2rem;
  background: var(--card);
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(25, 20, 50, 0.08);
}

.container {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 600ms ease,
    transform 600ms ease;
}
.container.in-view {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .container {
    transition: none;
    opacity: 1;
    transform: none;
  }
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.hero {
  padding: 6rem 0;
  margin-top: 5em;
}

.hero-inner {
  text-align: center;
}

/* Center the arrow under the hero */
.arrow-container {
  display: grid;
  justify-content: center;
  align-items: center;
  margin-top: 1rem;
}
.arrow {
  width: 44px;
  height: auto;
  display: block;
  opacity: 0.9;
  animation: bounce 2s ease-in-out infinite;
}

.cta {
  display: grid;
}

.hero-inner .cta {
  display: grid;
  justify-content: center;
  align-items: center;
  gap: 1rem;
}
.cta-mentorship {
  display: flex;
  align-items: center;
  justify-content: center;
}
.cta-ebook {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-photo {
  width: 80%;
  max-width: 720px;
  height: auto;
  display: block;
  margin: 0 auto 1rem;
  object-fit: cover;
}

.btn {
  display: inline-block;
  padding: 0.6rem 1rem;
  background: var(--button);
  border-radius: 0;
  color: white;
  text-decoration: none;
  margin-right: 1rem;
  margin-left: 1rem;
  margin-bottom: 1rem;
}

.btn-hero {
  padding-left: 2em;
  padding-right: 2em;
}

.section {
  padding: 3.5rem 0;
}
.about-title {
  text-align: center;
}
.section h2 {
  font-family: mainFont, Helvetica, Arial, sans-serif;
  margin-top: 0;
}

.cards {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}
.card {
  background: var(--card);
  padding: 1.2rem;
  border-radius: 14px;
  box-shadow: 0 6px 18px rgba(25, 20, 50, 0.06);
  backdrop-filter: blur(6px);
  margin-bottom: 1rem;
}
.btn-location {
  background: var(--button);
  color: white;
  padding: 1.2rem;
  border-radius: 14px;
  box-shadow: 0 6px 18px rgba(25, 20, 50, 0.06);
  backdrop-filter: blur(6px);
  margin-bottom: 1rem;
}

.price {
  display: block;
  padding: 0.6rem;
  background: var(--button);
  color: white;
  border-radius: 8px;
  text-decoration: none;
  text-align: center;
}
/* Card header and collapsible body */
.card-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
}
.card-header h3 {
  margin: 0;
  font-size: 1.1rem;
}
.card-toggle {
  background: transparent;
  border: 1px solid rgba(0, 0, 0, 0.06);
  width: 36px;
  height: 36px;
  border-radius: 8px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition:
    transform 0.25s ease,
    background-color 0.2s;
}
.card-toggle[aria-expanded="true"] {
  transform: rotate(45deg);
  background-color: var(--button);
}
.img-product {
  width: auto;
  height: 200px;
}
.card-body {
  display: grid;
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.35s ease;
  margin-top: 0.75rem;
}
.card-body.card-product {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 1rem;
  align-items: start;
}
.card-body.card-product .img-product {
  width: 140px;
  height: auto;
  display: block;
  justify-self: center;
}

@media (max-width: 800px) {
  .card-body.card-product {
    grid-template-columns: 1fr;
  }
  .card-body.card-product .img-product {
    width: 80%;
    max-width: 200px;
    margin: 0 auto 1rem;
  }
}
.card-product {
  display: inline flow-root;
}
.card.is-open .card-body {
  max-height: 1000px;
}
.product-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.benefits-list {
  list-style: none;
  margin: 2;
  padding: 0;
}

li {
  margin-bottom: 1em;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
  align-items: start;
}
.contact-info p {
  margin: 0 0 0.75rem 0;
}
.contact-info a {
  color: var(--accent);
  text-decoration: none;
}
.contact-map iframe {
  width: 100%;
  height: 260px;
  border: 0;
  border-radius: 14px;
}

@media (max-width: 800px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .contact-map iframe {
    height: 220px;
  }
}

.site-footer {
  background: var(--primary-color);
  text-align: center;
}
.site-footer .footer-inner {
  display: grid;
  place-items: center;

  text-align: center;
  color: var(--muted);
}
.footer-logo {
  width: 4%;
  height: auto;
  display: block;
  filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.12));
}
@media (max-width: 800px) {
  .nav {
    display: none;
  }
  .nav-toggle {
    display: block;
  }
  .hero h1 {
    font-size: 1.8rem;
  }
  .container {
    padding: 1rem;
    position: relative;
    z-index: 1;
  }
}

@keyframes fade {
  from {
    opacity: 0.4;
  }
  to {
    opacity: 1;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Carousel styles (touch-friendly, full-width inside container) */
.carousel {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
}
.carousel-track {
  display: flex;
  transition: transform 0.45s ease;
  will-change: transform;
}
.carousel-slide {
  min-width: 100%;
  flex: 0 0 100%;
}
.carousel-slide img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.15);
  color: white;
  border: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
}
.carousel-btn.prev {
  left: 12px;
}
.carousel-btn.next {
  right: 12px;
}
.carousel-btn:active {
  transform: translateY(-50%) scale(0.98);
}
.carousel-indicators {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 10px;
  display: flex;
  gap: 8px;
  z-index: 10;
}
.carousel-indicators button {
  width: 10px;
  height: 10px;
  background: rgba(255, 255, 255, 0.6);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  padding: 0;
}
.carousel-indicators button.active {
  background: var(--accent);
}

@media (max-width: 800px) {
  .carousel-btn {
    width: 40px;
    height: 40px;
  }
}

.content {
  height: 1px;
}

@keyframes bounce {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(12px);
  }
}
