/* =========================
   BASE
========================= */

html, body {
  height: 100%;
  margin: 0;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: Arial, sans-serif;
  color: #222;
  background: #fafafa;
}

.page-content {
  flex: 1;
}

a {
  color: inherit;
}

/* ===== NAV WRAPPER ===== */
.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  background: white;
  position: sticky;
  top: 0;
  z-index: 1000;
}

/* ===== BRAND ===== */
.logo {
  font-size: 1.1rem;
}

.logo a {
	text-decoration:none !important;
}

/* ===== DESKTOP NAV (DEFAULT STATE) ===== */
#main-nav {
  display: flex;
  gap: 20px;
  align-items: center;
}

#main-nav a {
  text-decoration: none;
  color: #222;
}

/* ===== HAMBURGER ALWAYS HIDDEN ON DESKTOP ===== */
.menu-toggle {
  display: none !important;
  border: none;
  background: none;
  font-size: 2rem;
  cursor: pointer;
}

/* =========================
   HERO
========================= */

.hero {
  position: relative;
  height: 70vh;
  overflow: hidden;
  color: white;
}

.slider {
  position: absolute;
  width: 100%;
  height: 100%;
}

.slide {
  position: absolute;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: 1s;
}

.slide.active {
  opacity: 1;
}

.hero-text {
  position: relative;
  z-index: 2;
  text-align: center;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.4);
  padding: 20px;
  border-radius: 12px;
  max-width: 600px;
  margin: auto;
}

/* =========================
   BUTTONS
========================= */

.btn {
  display: inline-block;
  padding: 10px 20px;
  background: #ff5a7a;
  color: white;
  text-decoration: none;
  border-radius: 6px;
  margin-top: 10px;
}

/* =========================
   SECTIONS
========================= */

.section {
  padding: 60px 20px;
  text-align: center;
}

.dark {
  background: #222;
  color: white;
}

/* =========================
   GRID / CARDS
========================= */

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 15px;
  margin-top: 20px;
}

.card {
  background: white;
  padding: 15px;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
  transition: transform 0.2s ease;
  max-width: 240px;
  margin: 0 auto;
}

.card:hover {
  transform: translateY(-4px);
}

.card img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  border-radius: 10px;
  display: block;
}

.card h3 {
  margin: 10px 0 0;
  font-size: 16px;
}

/* =========================
   CTA
========================= */

.cta {
  padding: 100px 20px;
  text-align: center;
  background: #ff5a7a;
  color: white;
}

/* =========================
   FOOTER
========================= */

footer {
  padding: 20px;
  text-align: center;
  background: #111;
  color: white;
}

/* =========================
   MOBILE NAV
========================= */

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

  #main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    flex-direction: column;
    gap: 0;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  }

  #main-nav.open {
    display: flex;
  }

  #main-nav a {
    padding: 15px 20px;
    border-top: 1px solid #eee;
  }
}

/* =========================
   LIGHTBOX (gallery)
========================= */

.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  z-index: 9999;
  justify-content: center;
  align-items: center;
  cursor: zoom-out;
}

.lightbox.active {
  display: flex;
}

.lightbox img {
  max-width: 95vw;
  max-height: 95vh;
  object-fit: contain;
  border-radius: 8px;
  user-select: none;
  -webkit-user-drag: none;
}

/* arrows */
.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  border: none;
  background: rgba(255,255,255,0.15);
  color: white;
  font-size: 40px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  cursor: pointer;
  backdrop-filter: blur(4px);
}

.lightbox-nav:hover {
  background: rgba(255,255,255,0.25);
}

.lightbox-prev {
  left: 20px;
}

.lightbox-next {
  right: 20px;
}


@media (max-width: 768px) {

  /* show hamburger ONLY on mobile */
  .menu-toggle {
    display: block !important;
  }

  /* force nav hidden on mobile until opened */
  #main-nav {
    display: none !important;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    flex-direction: column;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
	
  }
  
  #main-nav a {
    font-weight:bold !important;
  }

  /* open state overrides hidden state */
  #main-nav.open {
    display: flex !important;
  }

  #main-nav a {
    padding: 15px 20px;
    border-top: 1px solid #eee;
  }
}