﻿:root {
  --emerald-900: #1bbd5f;
  --emerald-700: #0a926c;
  --emerald-100: #d1fae5;
  --gold: #d4af37;
  --white: #ffffff;
  --muted: #497c70;
}

* {
  box-sizing: border-box;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  margin: 0;
  padding: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

img {
  max-width: 100%;
  display: block;
}
/* Note: centering helpers removed per request */


body {
  font-family: Inter, Poppins, system-ui, -apple-system, 'Segoe UI', Roboto, Arial;
  background: linear-gradient(180deg, var(--emerald-100), #fff);
  color: var(--emerald-900);
  text-align: left; /* prefer left-aligned text by default to avoid broad centering issues */
}

/* Utility: center text when needed */
.text-center{ text-align: center !important }

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  font-weight: 700;

}

p {
  line-height: 1.6;
  margin: 0.5rem 0 1rem 0;
}

/* Container */
.container {
  max-width: 1200px;
  margin: 2rem auto;
  padding: 0 1rem;
}

/* Header */
.site-header {
  top: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(6, 78, 59, 0.06);
  z-index: 1000;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.8rem 1rem;
}

.brand {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: inherit;
}

.brand img {
  width: 200px;
  height: 200px;
  object-fit: contain;
  border-radius: 0.5rem;
  background: #fff;
  padding: 0.25rem;
}

.brand-text {
  display: flex;
  flex-direction: column;
  margin-left: 0.5rem;
  font-weight: 700;
}

.brand-text span {
  font-weight: 500;
  color: var(--muted);
}

/* Nav links */
.nav-links {
  margin-left: auto;
  display: flex;
  gap: 0.6rem;
  list-style: none;
  padding: 0;
}

.nav-links li {
  display: inline;
}

.nav-links a {
  text-decoration: none;
  color: var(--emerald-900);
  padding: 0.5rem 0.7rem;
  border-radius: 0.6rem;
  transition: background 150ms ease, color 150ms ease, transform 150ms ease;
}

.nav-links a:hover {
  background: var(--emerald-100);
}

/* Active (current page) state - keep hover look when on the chosen page */
.nav-links a.active {
  background: var(--emerald-100);

}

/* Mobile menu active state */
.mobile-menu a.active {
  background: var(--emerald-100);
  font-weight: 700;
}

/* Hamburger */
.burger {
  display: none;
  background: none;
  border: 0;
  font-size: 1.6rem;
  margin-left: auto;
  cursor: pointer;
}

/* Mobile Menu */
.mobile-menu {
  display: none;
  background: #eceeed;
  border-top: 1px solid rgba(6, 78, 59, 0.06);
}

.mobile-menu a {
  display: block;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid rgba(6, 78, 59, 0.06);
  text-align: left;
  color: var(--emerald-900);
}

.mobile-menu a:hover {
  background: var(--emerald-100);
}

@media (max-width: 860px) {
  .nav-links {
    display: none;
  }

  .burger {
    display: block;
  }

  .mobile-menu.hidden {
    display: none;
  }

  .mobile-menu {
    display: grid;
    padding: 0.5rem 1rem;
    gap: 0.5rem;
  }

}

/* Default logo size (desktop) */
.navbar img {
  height: 80px;
  width: auto;
}

/* Mobile screens */
@media (max-width: 768px) {
  .navbar img {
    height: 60px;
  }
}

@media (max-width: 480px) {
  .navbar img {
    height: 50px;
  }
}


/* Hero Section */
.hero {
  padding: 2rem 0;
  background: #fff;
  border-radius: 1.5rem;
  overflow: hidden;
  margin: 2rem 0;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.hero-left {
  text-align: left;
}

.hero-right {
  position: relative;
  height: 400px;
  overflow: hidden;
  border-radius: 1rem;
}

.hero-image {
  width: 100%;
  height: 100%;
}

.overline {
.hero-left {
  text-align: left;
}
  color: var(--emerald-700);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.8rem;
}

.display {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  margin: 0.4rem 0;
}

.gold {
  color: var(--gold);
}

.lead {
  color: #23433d;
  margin: 1.5rem 0;
}

/* Welcome Section */
.welcome-section {
  padding: 4rem 0;
  background: #fff;
  margin: 2rem 0;
  border-radius: 1.5rem;
}

.welcome-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.welcome-text {
  text-align: left;
}

.welcome-text h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: var(--emerald-900);
}

.welcome-image {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 1rem;
}

/* Vision & Mission Section */
.vision-mission {
  display: grid;
  gap: 2rem;
  margin: 2rem 0;
}

.vision-box,
.mission-box {
  background: #fff;
  border-radius: 1.5rem;
  overflow: hidden;
  padding: 2rem;
}

.vision-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}

.vision-image {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 1rem;
}

.vision-content,
.mission-content {
  text-align: left;
}

.vision-content h2,
.mission-content h2 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  color: var(--emerald-900);
}

.mission-pillars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 2rem;
  align-items: center;
}

.mission-image {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 1rem;
}

.mission-text ul {
  list-style: disc;
  padding-left: 1.5rem;
  margin-top: 1rem;
}

.mission-text li {
  margin: 0.5rem 0;
  color: var(--emerald-900);
}

/* Service Times Section */
.service-times {
  background: #fff;
  border-radius: 1.5rem;
  overflow: hidden;
  margin: 2rem 0;
  padding: 2rem;
}

.service-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}

.service-info {
  text-align: left;
}

.service-info h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: var(--emerald-900);
}

.service-schedule {
  display: grid;
  gap: 1.5rem;
}

.schedule-item {
  background: var(--emerald-100);
  padding: 1.5rem;
  border-radius: 1rem;
}

.schedule-item h3 {
  color: var(--emerald-900);
  margin-bottom: 0.5rem;
}

.service-image {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 1rem;
}

/* Arm Image Grid */
.arm-image-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 2rem;
}

.arm-image {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 1rem;
  transition: transform 0.3s ease;
}

.arm-image:hover {
  transform: scale(1.02);
}

/* Mission Points */
.mission-points {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 2rem;
}

.mission-point {
  background: var(--emerald-100);
  padding: 2rem;
  border-radius: 1rem;
  text-align: center;
}

.mission-point h3 {
  color: var(--emerald-900);
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

.mission-point p {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Responsive Styles */
@media (max-width: 900px) {

  .hero-content,
  .welcome-content,
  .vision-box,
  .mission-pillars,
  .service-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .welcome-text,
  .vision-content,
  .mission-content,
  .service-info {
    text-align: center;
  }

  .hero-right {
    height: 300px;
  }

  .welcome-image,
  .vision-image,
  .mission-image,
  .service-image {
    height: 300px;
    margin: 0 auto;
  }

  .mission-text ul {
    text-align: left;
  }
}

@media (max-width: 600px) {
  .hero {
    margin: 1rem 0;
  }

  .hero-content,
  .welcome-content {
    padding: 1rem;
  }

  .display {
    font-size: 1.8rem;
  }

  .welcome-section,
  .vision-mission,
  .service-times {
    padding: 2rem 1rem;
  }
}

/* Ministry Arms Section */
.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  font-size: 2.5rem;
  color: var(--emerald-900);
  font-family: 'Playfair Display', serif;
  margin-bottom: 0.5rem;
}

.section-header .sub {
  font-size: 1.2rem;
  color: var(--muted);
}

.grid-arms {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  padding: 1rem;
}

.arm {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 1.5rem;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.arm-image-container {
  position: relative;
  padding-top: 60%;
  background: #fff;
  overflow: hidden;
  border-bottom: 1px solid rgba(6, 78, 59, 0.06);
}

.arm img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  object-fit: contain;
  padding: 0.5rem;
  transition: transform 0.3s ease;
}

.arm-content {
  padding: 1.5rem;
  text-align: center;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.arm h3 {
  font-size: 1.4rem;
  color: var(--emerald-900);
  margin-bottom: 1rem;
}

.arm p {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.6;
}

.arm:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

.arm:hover img {
  transform: translate(-50%, -50%) scale(1.15);
}

/* Individual Arm Pages */
.arm-header {
  background: #fff;
  border-radius: 1.5rem;
  padding: 2rem;
  margin-bottom: 2rem;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2rem;
  align-items: center;
}

.arm-header img {
  height: 120px;
  object-fit: contain;
  border-radius: 1.5rem;
}

.arm-header-content {
  text-align: left;
}

.arm-header-content h1 {
  font-size: 2.5rem;
  color: var(--emerald-900);
  margin-bottom: 1rem;
  font-family: 'Playfair Display', serif;
}

.arm-header-content p {
  color: var(--muted);
  font-size: 1.2rem;
  line-height: 1.6;
}

.arm-content-section {
  background: #fff;
  border-radius: 1.5rem;
  padding: 2rem;
  margin-bottom: 2rem;
}

.arm-content-section h2 {
  color: var(--emerald-900);
  margin-bottom: 1.5rem;
  font-size: 1.8rem;
}

.arm-content-section p {
  color: var(--muted);
  margin-bottom: 1rem;
  line-height: 1.6;
}

.arm-content-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 2rem;
}

.arm-feature {
  background: var(--emerald-100);
  padding: 1.5rem;
  border-radius: 1rem;
  align-items: flex-start;
  gap: 1rem;
}

.arm-feature img {
  width: 20px;
  height: 220px;
  object-fit: contain;
}

.arm-feature-content h3 {
  color: var(--emerald-900);
  margin-bottom: 0.5rem;
}

@media (max-width: 900px) {
  .grid-arms {
    grid-template-columns: 1fr 1fr;
  }

  .arm-content-grid,
  .mission-points {
    grid-template-columns: 1fr;
  }

  .arm-image-grid {
    grid-template-columns: 1fr;
  }

  .arm-header {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 1rem;
  }

  .arm-header img {
    margin: 0 auto;
  }

  .arm-header-content {
    text-align: center;
  }
}

@media (max-width: 600px) {
  .grid-arms {
    grid-template-columns: 1fr;
  }

  .hero {
    text-align: center;
  }

  .hero img {
    margin: 0 auto;
  }
}

/* Footer */
.site-footer {
  background: var(--emerald-900);
  color: #fff;
  padding: 1.25rem;
  margin-top: 2rem;
}

.site-footer a {
  color: #d6f3ea;
}

.site-footer a:hover {
  text-decoration: underline;
}

.site-footer .brand {
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.site-footer .brand p {
  margin: 0;
}

.footer-inner {
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.footer-inner .links a {
  color: #d6f3ea;
  margin-right: 0.75rem;
  text-decoration: none;
}

.footer-inner .links a:hover {
  text-decoration: underline;
}

.footer-bottom {
  text-align: center;
  margin-top: 0.75rem;
  color: #d6f3ea;
}

.btn {
  display: inline-block;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  border: 2px solid var(--emerald-700);
}

.btn-primary {
  background: var(--emerald-700);
  color: #fff;
  border-color: var(--emerald-700);
}

.btn-outline {
  background: transparent;
  color: var(--emerald-900);
}

.btn-primary:hover {
  background: var(--emerald-900);
  border-color: var(--emerald-900);
}

.btn-outline:hover {
  background: var(--emerald-100);
}

/* Hero CTA spacing - prevents buttons touching on small screens */
.hero-cta {
  display: inline-flex;
  gap: 0.75rem;
  /* space between buttons */
  align-items: center;
  flex-wrap: wrap;
  /* allow buttons to wrap on narrow screens */
  justify-content: flex-start;
}

.hero-cta .btn {
  margin-top: 0.25rem;
}

@media (max-width: 480px) {

  /* On very small screens, make buttons full-width (stacked) with spacing */
  .hero-cta {
    justify-content: center;
    gap: 0.5rem;
  }

  .hero-cta .btn {
    flex: 1 1 100%;
    display: inline-block;
    text-align: center;
    padding: 0.75rem 1rem;
  }
}

@media (max-width: 600px) {
  .footer-inner {
    flex-direction: column;
    text-align: center;
    gap: 0.5rem;
  }

  .footer-inner img {
    margin-bottom: 0.5rem;
    max-width: 100%;
    height: auto;
  }
}

@media (max-width: 400px) {
  .display {
    font-size: 1.8rem;
    line-height: 1.2;
    font-weight: 700;
  }
}


/* Utility Classes */
.text-center {
  text-align: center;
}

.mt-1 {
  margin-top: 1rem;
}

.mt-2 {
  margin-top: 2rem;
}

.mb-1 {
  margin-bottom: 1rem;
}

.mb-2 {
  margin-bottom: 2rem;
}

.p-1 {
  padding: 1rem;
}

/* Contact page layout */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.contact-grid .card.small {
  padding: 1rem;
}

/* Stack form controls and make them full width */
.card.small form .input,
.card.small form textarea,
.card.small form select {
  display: block;
  width: 100%;
  margin: 0.5rem 0 1rem 0;
  padding: 0.6rem;
  border: 1px solid rgba(6, 78, 59, 0.08);
  border-radius: 0.5rem;
}

.card.small form textarea {
  min-height: 100px;
  resize: vertical;
}

/* Extra space between the Area of Interest select and the send button */
.card.small form select+label,
.card.small form select+textarea,
.card.small form select+.btn {
  margin-top: 0.75rem;
}

/* When the layout stacks on small screens, make the grid single column */
@media (max-width: 860px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

/* Gallery Sections for Arts & Sports page */
  /* Note: removed automatic centering overrides */
.gallery-section {
  margin: 4rem 0;
  /* Center headings, intro and the gallery grid horizontally */
  display: flex;
  flex-direction: column;
  align-items: center;
}

.gallery-section h2 {
  font-size: 2rem;
  color: var(--emerald-900);
  text-align: center;
  margin-bottom: 0.5rem;
}

.section-intro {
  text-align: center;
  color: var(--muted);
  margin-bottom: 2rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 2rem;
  /* Keep grid centered and constrain width so the gallery sits centered on larger screens */
  max-width: 1000px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}

.sports-gallery {
  grid-template-columns: repeat(2, 1fr);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.gallery-item {
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 4px 6px rgba(189, 14, 14, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item picture {
  display: block;
  width: 100%;
  padding-top: 75%;
  /* 4:3 Aspect ratio */
  position: relative;
  overflow: hidden;
}

.gallery-item img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
  background: white;
  cursor: pointer;
}

.gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  color: #fff;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.gallery-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

.gallery-item:hover .gallery-caption {
  transform: translateY(0);
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-caption h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  color: #fff;
}

/* Make gallery items that are links behave like blocks and inherit styles */
.gallery-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.gallery-link .gallery-item {
  cursor: pointer;
}

.gallery-caption p {
  font-size: 0.9rem;
  opacity: 0.9;
  margin: 0;
}

/* Programs Grid */
.programs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-bottom: 2rem;
}

.program-card {
  background: #fff;
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.program-card h2 {
  color: var(--emerald-900);
  margin-bottom: 1rem;
}

.program-list {
  list-style: none;
  padding: 0;
}

.program-list li {
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(6, 78, 59, 0.06);
  color: var(--muted);
}

.program-list li:last-child {
  border-bottom: none;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

@media (max-width: 768px) {
  .programs-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .gallery-caption {
    transform: translateY(0);
    background: rgba(0, 0, 0, 0.7);
  }
}

@media (max-width: 480px) {
  .sports-gallery {
    grid-template-columns: 1fr !important;
    max-width: 400px;
    margin: 0 auto;
    gap: 1.25rem;
  }
}

@media (max-width: 480px) {

  .gallery-grid,
  .sports-gallery {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    padding: 0.5rem;
  }

  .gallery-item picture {
    padding-top: 75%;
    /* Keep 4:3 aspect ratio */
  }

  .gallery-item {
    width: 100%;
    margin: 0;
  }

  .gallery-item img {
    padding: 0;
    object-fit: cover;
    height: 100%;
  }

  .gallery-section h2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
  }

  .gallery-caption {
    padding: 0.75rem;
    transform: translateY(0);
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.9));
  }

  .gallery-caption h3 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
  }

  .gallery-caption p {
    font-size: 0.8rem;
  }
}

/* Contact form — make inputs stack and be full width */
.card.small form {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.card.small form label {
  text-align: left;
  font-weight: 600;
}

.card.small form input[type="text"],
.card.small form input[type="email"],
.card.small form textarea,
.card.small form select {
  width: 100%;
  padding: 0.6rem 0.75rem;
  border-radius: 0.5rem;
  border: 1px solid rgba(6, 78, 59, 0.12);
  font-size: 0.95rem;
}

.card.small form textarea {
  min-height: 120px;
}

/* Responsive map container */
.map-responsive {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  /* 16:9 */
  height: 0;
  overflow: hidden;
  border-radius: 0.5rem;
  margin-top: 1rem;
}

.map-responsive iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.p-2 {
  padding: 2rem;
}

.hidden {
  display: none !important;
}

.visible {
  display: block !important;
}

.fade-in {
  animation: fadeIn 0.5s ease-in forwards;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes slideDown {
  from {
    transform: translateY(-10px);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.slide-down {
  animation: slideDown 0.3s ease-out forwards;
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
    transform: none !important;
    will-change: auto !important;

  }
}

/* Scrollbar Styling */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb {
  background: var(--emerald-700);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--emerald-900);
}

@media (max-width: 600px) {
  .nav {
    padding: 0.5rem 1rem;
  }

  .brand img {
    width: 150px;
    height: 150px;
  }

  .brand-text {
    font-size: 0.9rem;
  }
}

@media (max-width: 400px) {
  .display {
    font-size: 1.6rem;
  }

  .arm-header {
    flex-direction: column;
    text-align: center;
  }

  .arm-header img {
    width: 64px;
    height: 64px;
  }
}

@media (max-width: 350px) {
  .brand-text {
    display: none;
  }
}

/* Facebook Floating Button */
.facebook-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 20px;
  /* distance from bottom */
  right: 90px;
  /* move it left of WhatsApp */
  background: #1877f2;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
  z-index: 1000;
}

.facebook-float img {
  width: 35px;
  height: 35px;
  margin: 0;
  display: block;
}

/* WhatsApp Floating Button */
.whatsapp-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 20px;
  right: 20px;
  background: #90f2b5;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
  z-index: 1000;
}

.whatsapp-float img {
  width: 45px;
  height: 45px;
  margin: 0;
  display: block;
}

.map-container {
  margin-top: 1rem;
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.map-container iframe {
  width: 100%;
  height: 300px;
  border: 0;
}

/* Remove blue tap highlight on mobile */
* {
  -webkit-tap-highlight-color: transparent;
}

/* Focus styles for accessibility */
a:focus,
button:focus,
input:focus,
select:focus,
textarea:focus {
  outline: 3px solid var(--emerald-700);
  outline-offset: 2px;
}

/* Lightbox / Modal overlay for gallery images */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  padding: 2rem;
}

.lightbox-overlay.visible {
  display: flex;
}

.lightbox-inner {
  position: relative;
  max-width: 1400px;
  width: 100%;
  max-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-img {
  max-width: 100%;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 6px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.6);
}

.lightbox-caption {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  right: 1rem;
  color: #fff;
  text-align: left;
  pointer-events: none;
}

.lightbox-caption h3 {
  margin: 0 0 0.25rem 0;
  font-size: 1.1rem;
}

.lightbox-controls {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  pointer-events: none;
}

.lightbox-btn {
  pointer-events: auto;
  background: rgba(0, 0, 0, 0.5);
  border: none;
  color: #fff;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  cursor: pointer;
  transition: background 150ms ease, transform 120ms ease;
}

.lightbox-btn:hover {
  background: rgba(0, 0, 0, 0.7);
  transform: scale(1.05);
}

.lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  pointer-events: auto;
}

.lightbox-indicator {
  position: absolute;
  top: 1rem;
  left: 1rem;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 600;
}

@media (max-width: 768px) {
  .lightbox-btn {
    width: 48px;
    height: 48px;
  }

  .lightbox-caption {
    font-size: 0.95rem;
  }
}