/* Global */
html {
    font-size: 16px;
}

body {
    margin: 0;
    font-family: 'IBM Plex Mono', monospace;
    background-color: #ffffff;
    color: #222222;
    scroll-behavior: smooth;
}

h1, h2, h3 {
    font-weight: 400;
    letter-spacing: -0.5px;
}

h2 {
    text-align: center;
    margin-bottom: 20px;
    color: #111111;
}

img {
    max-width: 100%;
    height: auto;
}

/* Animations */
.fade-in {
    animation: fadeIn 1.2s ease forwards;
    opacity: 0;
}

.slide-up {
    animation: slideUp 1.2s ease forwards;
    opacity: 0;
    transform: translateY(30px);
}

@keyframes fadeIn {
    to { opacity: 1; }
}

@keyframes slideUp {
    to { opacity: 1; transform: translateY(0); }
}

.nav-links a {
    letter-spacing: 0.5px;
}

/* HEADER */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background-color: #f2f2f2;
    position: sticky;
    top: 0;
    z-index: 20;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.logo img {
    height: 55px;
    flex-shrink: 0;
}

/* Hamburger Button */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.hamburger span {
    width: 28px;
    height: 3px;
    background-color: #111111;
    border-radius: 3px;
    transition: 0.3s ease;
}

/* Nav Links (desktop) */
.nav-links {
    display: flex;
    gap: 20px;
}

.nav-links a {
    text-decoration: none;
    color: #111111;
    font-weight: 500;
    font-size: 1rem;
}

/* Logo Size */
.logo img {
  width: 60px;
  height: auto;
}

/* Mobile adjustments */
@media (max-width: 768px) {
  .site-logo img {
    width: 130px;
  }
}

/* MOBILE MENU */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-links {
        position: absolute;
        top: 75px;
        right: 0;
        background-color: #f2f2f2;
        width: 100%;
        flex-direction: column;
        align-items: center;
        gap: 15px;
        padding: 20px 0;
        box-shadow: 0 4px 10px rgba(0,0,0,0.15);

        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    .nav-links.open {
        max-height: 260px;
    }
}

/* Hamburger animation */
.hamburger.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* HERO */
.hero {
    height: 70vh;
    background: url('images/hero.png') center/cover no-repeat;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.25);
}

.hero-text {
    position: relative;
    text-align: center;
    color: #ffffff;
}

.hero-text h1 {
    font-size: 2rem;
    text-shadow: 0 4px 10px rgba(0,0,0,0.4);
}

.hero-text p {
    font-size: 1rem;
}

/* COMMUNITY */
.community {
    padding: 40px 20px;
    text-align: center;
}

.community-img {
    width: 100%;
    border-radius: 12px;
    margin-top: 20px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
}

/* GALLERY */
.gallery {
    padding: 40px 20px;
}

.gallery-grid img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
    border: 1px solid #e0e0e0;
}

/* CONTACT */
.contact {
    padding: 40px 20px;
    text-align: center;
}

.insta-link {
    display: inline-block;
    margin-top: 10px;
    padding: 10px 18px;
    background: #000000;
    color: #ffffff;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    transition: 0.3s ease;
}

.insta-link:hover {
    background: #333333;
}

.insta-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: #000000;
    color: #ffffff;
    border-radius: 12px;
    text-decoration: none;
    transition: 0.3s ease;
    margin-top: 10px;
}

.insta-icon:hover {
    background: #333333;
}

/* Floating Buttons */
.floating-buttons {
    position: fixed;
    bottom: 25px;
    right: 25px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 999;
}

.float-btn {
    width: 50px;
    height: 50px;
    background: #000000;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 6px 20px rgba(0,0,0,0.25);
    transition: 0.3s ease;
}

.float-btn:hover {
    background: #333333;
    transform: translateY(-4px);
}

.whatsapp-float {
    background: #25D366;
}

.whatsapp-float:hover {
    background: #1ea955;
}

.insta-float {
    background: linear-gradient(45deg, #feda75, #fa7e1e, #d62976, #962fbf, #4f5bd5);
}

.insta-float:hover {
    transform: translateY(-4px);
}

/* FOOTER */
.footer {
    background-color: #f2f2f2;
    text-align: center;
    padding: 20px;
    margin-top: 40px;
    color: #111111;
}

/* RESPONSIVE BREAKPOINTS */
@media (min-width: 600px) {
    .hero-text h1 {
        font-size: 2.6rem;
    }
    .hero-text p {
        font-size: 1.2rem;
    }
}

@media (min-width: 768px) {
    .header {
        padding: 20px 40px;
    }

    .logo img {
        height: 60px;
    }

    .hero {
        height: 85vh;
    }

    .hero-text h1 {
        font-size: 3rem;
    }

    .hero-text p {
        font-size: 1.3rem;
    }

    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
}

@media (min-width: 1024px) {
    .gallery-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* DARK MODE */
.dark-mode {
    background-color: #111111;
    color: #f2f2f2;
}

.dark-mode .header {
    background-color: #1a1a1a;
    box-shadow: 0 4px 10px rgba(255,255,255,0.1);
}

.dark-mode .nav-links a {
    color: #f2f2f2;
}

.dark-mode .hamburger span {
    background-color: #f2f2f2;
}

.dark-mode .hero-overlay {
    background: rgba(0,0,0,0.55);
}

.dark-mode .community,
.dark-mode .gallery,
.dark-mode .contact {
    background-color: #111111;
    color: #f2f2f2;
}

.dark-mode img {
    border-color: #333333;
}

.dark-mode .footer {
    background-color: #1a1a1a;
    color: #f2f2f2;
}

.dark-mode .float-btn {
    box-shadow: 0 6px 20px rgba(255,255,255,0.15);
}

.dark-toggle {
    background: none;
    border: none;
    font-size: 1.4rem;
    cursor: pointer;
    margin-right: 15px;
    color: #111111;
    transition: 0.3s ease;
}

.dark-mode .dark-toggle {
    color: #f2f2f2;
}

/* EVENTS */
.events {
  text-align: center;
  padding: 40px 20px;
}

.carousel {
  display: flex;
  overflow-x: auto;
  gap: 20px;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  position: relative;
}

/* ⭐ REQUIRED FIX */
.slide {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 0;
}
.slide p {
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}
/* ⭐ REQUIRED FIX */
.slide img {
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 500px;
  object-fit: contain;
  display: block;
  margin: 0 auto;
  padding: 0;          /* ⭐ FIX */
  box-shadow: none;    /* ⭐ FIX */
  pointer-events: none;
}
/* ⭐ REQUIRED FIX */
.book-btn {
  display: block;
  margin-top: 12px;
  padding: 10px 20px;
  background: #000;
  color: #fff;
  border-radius: 6px;
  cursor: pointer;   /* ⭐ ensures browser treats it as clickable */
  text-decoration: none;
  position: relative;
  z-index: 5;          /* ⭐ FIX */
}

/* MODAL */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  justify-content: center;
  align-items: center;
  z-index: 99999;   /* ⭐ FIX */
}

.close-btn {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  color: #333;
}

.close-btn:hover {
  color: #000;
}

.modal-content {
  background: #fff;
  padding: 30px;
  border-radius: 10px;
  width: 320px;
  text-align: center;
  font-family: 'IBM Plex Mono', monospace;
  position: relative;
}

.modal-content input {
  width: 100%;
  padding: 8px;
  margin: 8px 0 16px;
  border: 1px solid #ccc;
  border-radius: 6px;
}
/* Menu Grid */
.menu-section {
  padding: 40px 20px;
  text-align: center;
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(2, auto);
  gap: 20px;
  justify-content: start;
  margin-top: 20px;
}

.menu-img {
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 500px;   /* same size as Jive Junction */
  object-fit: contain;
  border-radius: 10px;
  cursor: pointer;
  transition: 0.3s ease;
  pointer-events: auto;   /* ⭐ FIX — makes images clickable */
}

.menu-img:hover {
  transform: scale(1.03);
}

/* Fullscreen Image Modal */
.img-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  justify-content: center;
  align-items: center;
  z-index: 99999;   /* ⭐ must be above everything */
}

.img-modal img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 12px;
  z-index: 99999;
}

.img-modal-close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 40px;
  color: #fff;
  cursor: pointer;
}
@media (max-width: 600px) {
  .menu-grid {
    grid-template-columns: 1fr;   /* stack vertically */
  }
}
