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

:root {
  --pink:       #F3DAD8;
  --pink-dark:  #8b5555;   /* darkened for WCAG AA contrast (was #c9a09a) */
  --pink-light: #fdf4f3;
  --black:      #1a1a1a;
  --bg:         #fffcfc;
}

/* ---- Skip to content ---- */
.skip-link {
  position: absolute;
  top: -100%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--black);
  color: #fff;
  padding: 0.5rem 1.2rem;
  border-radius: 0 0 4px 4px;
  text-decoration: none;
  font-size: 0.9rem;
  z-index: 9999;
  transition: top 0.2s;
  white-space: nowrap;
}

.skip-link:focus {
  top: 0;
  outline: 2px solid #fff;
  outline-offset: 2px;
}

/* ---- Focus visible (keyboard navigation) ---- */
:focus-visible {
  outline: 2px solid var(--pink-dark);
  outline-offset: 3px;
  border-radius: 2px;
}

:focus:not(:focus-visible) {
  outline: none;
}

body {
  background-color: var(--bg);
  font-family: 'Varela Round', sans-serif;
  color: var(--black);
}

/* ---- Header ---- */
.site-header {
  text-align: center;
  padding: 2.5rem 1rem 0.5rem;
}

.site-title {
  font-family: 'Amatic SC', cursive;
  font-size: 5.5rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1;
}

.site-logo-img {
  height: 150px;
  width: auto;
  display: block;
  margin: 0 auto;
}

@media (max-width: 700px) {
  .site-logo-img { height: 85px; }
}

.site-subtitle {
  font-family: 'Amatic SC', cursive;
  font-size: 2.6rem;
  color: var(--pink-dark);
  margin-top: 0.2rem;
}

.lace-divider {
  height: 28px;
  background-image: url('../assets/otherImages/divider1.png');
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  margin: 0.2rem 0 0;
}

/* ---- Navbar ---- */
.navbar {
  background-color: #fff;
  border-top: 1px solid var(--pink);
  border-bottom: 1px solid var(--pink);
  position: sticky;
  top: 0;
  z-index: 100;
  transition: transform 0.35s ease;
}

.navbar.navbar-hidden {
  transform: translateY(-100%);
}

.nav-list {
  list-style: none;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
  padding: 0.75rem 2rem;
}

.nav-link {
  font-size: 1.1rem;
  color: var(--black);
  text-decoration: none;
  padding-bottom: 2px;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s, color 0.2s;
}

.nav-link:hover {
  border-bottom-color: var(--pink-dark);
  color: var(--pink-dark);
}

.nav-lang {
  display: flex;
  align-items: center;
  gap: 3px;
}

.nav-lang-btn {
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.2rem 0.5rem;
  border: 1px solid var(--black);
  border-radius: 3px;
  color: var(--black);
  text-decoration: none;
  line-height: 1;
  transition: background 0.2s, color 0.2s;
}

.nav-lang-btn:hover {
  background: var(--black);
  color: #fff;
  border-bottom: none;
}

.nav-lang-btn.active {
  background: var(--black);
  color: #fff;
}

@media (max-width: 700px) {
  .nav-lang {
    padding: 0.9rem 1.5rem;
  }
}

.nav-whatsapp {
  font-size: 1.7rem;
  color: #1d8d21;
  border-bottom: none;
  line-height: 1;
}

.nav-whatsapp:hover {
  color: #1d8d21;
  border-bottom: none;
  opacity: 0.8;
}

/* ---- Hamburger button (hidden on desktop) ---- */
.hamburger-btn {
  display: none;
  width: 100%;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.9rem 1.2rem;
  text-align: right;
  font-size: 1.4rem;
  color: var(--black);
}

.navbar-tagline {
  display: none;
}

/* toggle icons */
.icon-close { display: none; }

.navbar.open .icon-open  { display: none; }
.navbar.open .icon-close { display: inline-block; }

/* ---- Mobile ---- */
@media (max-width: 700px) {
  .navbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
  }

  .hamburger-btn {
    display: block;
    width: auto;
    flex-shrink: 0;
  }

  .navbar-tagline {
    display: block;
    position: absolute;
    left: 0;
    right: 0;
    text-align: center;
    font-family: 'Amatic SC', cursive;
    font-size: 1.4rem;
    color: var(--pink-dark);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.4s ease;
  }

  .navbar--header-hidden .navbar-tagline {
    opacity: 1;
  }

  .nav-list {
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0;
    width: 100%;
  }

  .navbar.open .nav-list {
    display: flex;
  }

  .nav-list li {
    border-bottom: 1px solid var(--pink-light);
  }

  .nav-link {
    display: block;
    padding: 0.9rem 1.5rem;
    font-size: 1.15rem;
    border-bottom: none;
    text-align: right;
  }

  .nav-link:hover {
    background-color: var(--pink-light);
    border-bottom: none;
    color: var(--black);
  }

  .nav-whatsapp {
    display: block;
    padding: 0.85rem 1.5rem;
  }

  .site-title    { font-size: 3.8rem; }
  .site-subtitle { font-size: 2rem; }
}

/* ---- Hero Carousel ---- */
.hero-carousel {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  background-color: var(--black);
}

.carousel-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
}

.carousel-slide.active {
  opacity: 1;
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

/* Arrows — in RTL: prev sits on the right, next on the left */
.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(255, 255, 255, 0.35);
  border: none;
  cursor: pointer;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 1rem;
  color: var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.carousel-arrow:hover {
  background: rgba(255, 255, 255, 0.65);
}

.carousel-arrow.prev { right: 1.2rem; }
.carousel-arrow.next { left:  1.2rem; }

/* Carousel pause button */
.carousel-pause {
  position: absolute;
  bottom: 1.2rem;
  right: 1.2rem;
  z-index: 10;
  background: rgba(255, 255, 255, 0.35);
  border: none;
  cursor: pointer;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 0.8rem;
  color: var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.carousel-pause:hover {
  background: rgba(255, 255, 255, 0.65);
}

/* Dots */
.carousel-dots {
  position: absolute;
  bottom: 1.2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.2s, transform 0.2s;
}

.carousel-dot.active {
  background: #fff;
  transform: scale(1.25);
}

@media (max-width: 700px) {
  .hero-carousel {
    height: 60vw;
    min-height: 220px;
  }

  .carousel-arrow {
    width: 36px;
    height: 36px;
    font-size: 0.85rem;
  }
}

/* ---- Shared section title ---- */
.section-title {
  font-family: 'Amatic SC', cursive;
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--black);
  text-align: center;
}

/* ---- About ---- */
.about-section {
  padding: 4rem 1rem;
  background-color: var(--pink-light);
}

.about-inner {
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
}

.about-text {
  font-size: 1.2rem;
  line-height: 2.4;
  margin-top: 1.5rem;
  color: var(--black);
}

@media (max-width: 700px) {
  .about-text {
    font-size: 1rem;
    line-height: 2.2;
  }
}

/* ---- How to Get Here ---- */
.directions-section {
  padding: 4rem 1rem;
  background-color: var(--bg);
}

.directions-inner {
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}

.directions-grid {
  display: flex;
  gap: 3rem;
  margin-top: 2rem;
  text-align: right;
  align-items: flex-start;
}

.directions-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.directions-subtitle {
  font-family: 'Amatic SC', cursive;
  font-size: 2rem;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 0.5rem;
}

.directions-address p {
  font-size: 1.1rem;
  line-height: 1.8;
}

.waze-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.8rem;
  color: #0f6eb0;
  text-decoration: none;
  font-size: 1.1rem;
  transition: opacity 0.2s;
}

.waze-link:hover {
  opacity: 0.75;
}

.waze-link .fa-waze {
  font-size: 1.5rem;
}

.transit-text {
  font-size: 1rem;
  line-height: 2;
}

.directions-map {
  flex: 1.5;
}

.directions-map iframe {
  width: 100%;
  height: 480px;
  border: 1px solid var(--pink);
  border-radius: 2px;
}

@media (max-width: 700px) {
  .directions-grid {
    flex-direction: column;
    gap: 2rem;
  }

  .directions-map {
    width: 100%;
    margin: 0 auto;
  }

  .directions-map iframe {
    height: 260px;
  }
}

/* ---- English pages: Raleway font for all Amatic SC headings ---- */
[lang="en"] .site-title,
[lang="en"] .site-subtitle,
[lang="en"] .section-title,
[lang="en"] .contact-title,
[lang="en"] .directions-subtitle,
[lang="en"] .a11y-heading {
  font-family: 'Raleway', sans-serif;
  letter-spacing: 0.12em;
  font-weight: 300;
}

[lang="en"] .site-title         { font-size: 4.5rem; text-transform: uppercase; }
[lang="en"] .site-subtitle      { font-size: 1.4rem; }
[lang="en"] .section-title      { font-size: 2.8rem; }
[lang="en"] .contact-title      { font-size: 2.8rem; }
[lang="en"] .directions-subtitle { font-size: 1.5rem; }
[lang="en"] .a11y-heading        { font-size: 1.5rem; }

[lang="en"] .faq-question {
  font-family: 'Raleway', sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.05em;
}

@media (max-width: 700px) {
  [lang="en"] .site-title    { font-size: 2.8rem; }
  [lang="en"] .site-subtitle { font-size: 1.1rem; }
  [lang="en"] .section-title { font-size: 2rem; }
  [lang="en"] .contact-title { font-size: 2rem; }
  [lang="en"] .faq-question  { font-size: 0.95rem; }
}

/* ---- LTR overrides (English pages) ---- */
[dir="ltr"] .directions-grid,
[dir="ltr"] .faq-list {
  text-align: left;
}

@media (max-width: 700px) {
  [dir="ltr"] .nav-link {
    text-align: left;
  }
}

/* ---- FAQ ---- */
.faq-section,
.faq-page {
  padding: 4rem 1rem;
  background-color: var(--bg);
}

.faq-inner {
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
}

.faq-list {
  margin-top: 2rem;
  text-align: right;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.faq-item {
  border: 1px solid var(--pink);
  border-radius: 2px;
  background: #fff;
  overflow: hidden;
}

.faq-item summary {
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-question {
  cursor: pointer;
  padding: 1rem 1.2rem;
  font-family: 'Amatic SC', cursive;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--black);
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.2s, color 0.2s;
  user-select: none;
}

.faq-question::after {
  content: '\f078';
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  font-size: 0.85rem;
  color: var(--pink-dark);
  transition: transform 0.3s;
  flex-shrink: 0;
}

.faq-item[open] .faq-question::after {
  transform: rotate(180deg);
}

.faq-question:hover {
  background-color: var(--pink-light);
  color: var(--pink-dark);
}

.faq-question:focus-visible {
  background-color: var(--pink);
  color: var(--pink-dark);
  outline: 2px solid var(--pink-dark);
  outline-offset: -2px;
}

.faq-answer {
  padding: 0.8rem 1.2rem 1.2rem;
  font-size: 1rem;
  line-height: 2;
  color: var(--black);
  border-top: 1px solid var(--pink);
}

.faq-esc-hint {
  font-size: 0.78rem;
  color: var(--pink-dark);
  padding: 0 1.2rem 0.7rem;
  opacity: 0;
  transition: opacity 0.2s;
  pointer-events: none;
}

.faq-answer:focus ~ .faq-esc-hint {
  opacity: 1;
}

.faq-esc-hint kbd {
  display: inline-block;
  padding: 0.1em 0.4em;
  font-size: 0.75rem;
  font-family: inherit;
  border: 1px solid var(--pink-dark);
  border-radius: 3px;
  background: #fff;
  color: var(--pink-dark);
}

@media (max-width: 700px) {
  .faq-question {
    font-size: 1.35rem;
  }
}

/* ---- Contact ---- */
.contact-section {
  background-image: url('../assets/otherImages/curtain.jpg');
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
  padding: 5rem 1rem;
  text-align: center;
}

/* background-attachment: fixed breaks on iOS — disable it on mobile */
@media (max-width: 700px) {
  .contact-section {
    background-attachment: scroll;
  }
}

/* ---- Gallery ---- */
.gallery-section {
  padding: 4rem 1rem;
  background-color: var(--bg);
}

.gallery-inner {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.masonry-gallery {
  display: flex;
  gap: 14px;
  margin-top: 2rem;
  align-items: flex-start;
}

.masonry-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.gallery-item {
  cursor: pointer;
  overflow: hidden;
  border-radius: 4px;
}

.gallery-item img {
  width: 100%;
  display: block;
  opacity: 0;
  transition: transform 0.4s, opacity 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.04);
  opacity: 0.88;
}


/* ---- Lightbox ---- */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(255, 255, 255, 0.92);
  z-index: 1000;
  align-items: center;
  justify-content: center;
}

.lightbox.open {
  display: flex;
}

.lightbox-img {
  max-width: 90vw;
  max-height: 88vh;
  object-fit: contain;
  border-radius: 2px;
  box-shadow: 0 4px 40px rgba(0, 0, 0, 0.15);
  cursor: zoom-in;
  user-select: none;
  -webkit-user-drag: none;
}

.lightbox-zoom-btns {
  position: absolute;
  bottom: 1.2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.6rem;
  z-index: 10;
}

.lightbox-zoom-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.2);
  color: var(--black);
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.lightbox-zoom-btn:hover {
  background: rgba(0, 0, 0, 0.15);
}

.lightbox-close {
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  background: none;
  border: none;
  color: var(--black);
  font-size: 1.8rem;
  cursor: pointer;
  opacity: 0.6;
  transition: opacity 0.2s;
  line-height: 1;
}

.lightbox-close:hover { opacity: 1; }

.lightbox-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.08);
  border: none;
  color: var(--black);
  font-size: 1.1rem;
  cursor: pointer;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.lightbox-arrow:hover { background: rgba(0, 0, 0, 0.15); }

/* RTL: prev on the right, next on the left */
.lightbox-prev { right: 1.2rem; }
.lightbox-next { left:  1.2rem; }

@media (max-width: 700px) {
  .lightbox-arrow {
    width: 36px;
    height: 36px;
    font-size: 0.9rem;
  }

  .lightbox-prev { right: 0.5rem; }
  .lightbox-next { left:  0.5rem; }
}

/* ---- Footer ---- */
.site-footer {
  background-color: var(--pink);
  text-align: center;
  padding: 1.2rem 1rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.7rem;
}

.footer-icons {
  display: flex;
  justify-content: center;
  gap: 1.8rem;
}

.footer-icon {
  font-size: 2.2rem;
  text-decoration: none;
  transition: transform 0.2s, opacity 0.2s;
}

.footer-icon:hover {
  transform: scale(1.15);
  opacity: 0.85;
}

.footer-logo img {
  height: 12vh;
  width: auto;
}

.footer-rights {
  font-size: 0.85rem;
  color: #594848;
}

.footer-a11y {
  font-size: 0.8rem;
  color: #594848;
}

.footer-a11y a {
  color: inherit;
  text-decoration: underline;
}

/* ---- Accessibility page ---- */
.a11y-page {
  padding: 4rem 1rem;
  background-color: var(--bg);
}

.a11y-inner {
  max-width: 780px;
  margin: 0 auto;
}

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

.a11y-heading {
  font-family: 'Amatic SC', cursive;
  font-size: 2rem;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 0.7rem;
}

.a11y-page p,
.a11y-list li,
.a11y-contact-list li {
  font-size: 1.1rem;
  line-height: 2;
}

.a11y-list,
.a11y-contact-list {
  list-style: none;
  padding-right: 0.5rem;
}

.a11y-list li::before {
  content: "✓ ";
  color: var(--pink-dark);
  font-weight: bold;
}

.a11y-list--plain li::before {
  content: none;
}

.a11y-contact-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin: 1rem 0;
}

.a11y-contact-list li {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.a11y-contact-list a {
  color: var(--black);
  text-decoration: none;
  border-bottom: 1px solid var(--pink);
  transition: border-color 0.2s;
}

.a11y-contact-list a:hover {
  border-bottom-color: var(--pink-dark);
}

.a11y-response {
  margin-top: 0.8rem;
  font-style: italic;
}

.a11y-page a {
  color: var(--black);
  text-decoration: underline;
}

.contact-inner {
  display: inline-block;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--pink);
  padding: 2.5rem 3.5rem;
  border-radius: 2px;
}

.contact-title {
  font-family: 'Amatic SC', cursive;
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--black);
}

.contact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  margin-top: 1.5rem;
}

.contact-list a {
  font-size: 1.5rem;
  color: var(--black);
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  transition: color 0.2s;
}

.contact-list a:hover {
  color: var(--pink-dark);
}

.contact-list .fa-whatsapp {
  color: #1d8d21;
  font-size: 1.8rem;
}

@media (max-width: 700px) {
  .contact-inner {
    padding: 2rem 1.5rem;
    width: 100%;
  }

  .contact-list a {
    font-size: 1.2rem;
  }
}

.gallery-item img.loaded {
  opacity: 1;
}
