/* =========================================================
   GLOBAL STYLES
========================================================= */

html {
  scroll-behavior: smooth;
  height: 100%;
}

html, body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

* {
  box-sizing: border-box;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background-color: #f5f5f5;
}

/* Prevent image overflow */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* =========================================================
   PAGE BACKGROUND
========================================================= */

.page-background {
  flex-grow: 1;
  background-image: url(../Images/Home/homepage.png);
  background-repeat: no-repeat;
  background-position: center top;
  background-size: cover;
  padding-bottom: 60px;
}

/* =========================================================
   HEADER (STABLE + IPHONE SAFE)
========================================================= */

.header {
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;

  position: sticky;
  top: 0;
  z-index: 9999;

  background-color: #fff;
  padding: 0 20px;
  border-bottom: 1px solid #ccc;
}

.logo img {
  width: clamp(150px, 14vw, 260px);
  height: auto;
  display: block;
}

/* NAV RESET */
.top-menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 15px;
}

/* NAV LINKS */
.top-menu ul li a {
  display: block;
  color: #000;
  padding: 10px 14px;
  text-decoration: none;
  font-size: 16px;
  border-radius: 4px;
  transition: all 0.2s ease;
}

/* HOVER */
.top-menu ul li a:hover {
  text-decoration: underline;
}

/* ACTIVE STATE (FORCE OVERRIDE) */
.top-menu ul li a.nav-link.active {
  background-color: #cc0000;
  color: #fff !important;
}
/* =========================================================
   HOME CONTENT WRAPPER
========================================================= */

.home-content {
  max-width: 1000px;
  margin: 0 auto;
  width: 100%;
}

/* =========================================================
   TOP IMAGE ROW (FIXED ALIGNMENT)
========================================================= */

.top-image-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;

  padding: 20px 0 10px;
  width: 100%;
}

.top-image-row a {
  flex: 1;
  max-width: 300px;
  display: block;
}

.top-image-row img {
  width: 100%;
  border-radius: 10px;
  transition: 0.25s ease;
}

.top-image-row img:hover {
  transform: scale(1.02) translateY(-5px);
  filter: brightness(1.15);
  box-shadow: 0 10px 25px rgba(0,0,0,0.4);
}

/* MOBILE */
@media (max-width: 768px) {
  .top-image-row a {
    max-width: 75%;
  }
}

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

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

.hero-box {
  background: rgba(255,255,255,0.70);
  max-width: 900px;
  margin: 0 auto;
  padding: 35px 25px;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.hero-box h1 {
  font-size: 30px;
  margin-bottom: 15px;
}

.hero-box p {
  font-size: 18px;
  line-height: 1.5;
}

.hero-box strong {
  display: block;
  margin-top: 20px;
  font-size: 22px;
}

.hero-cta {
  display: inline-block;
  margin-top: 25px;
  padding: 10px 24px;
  background: #1f6ae1;
  color: #fff;
  text-decoration: none;
  border-radius: 6px;
  font-weight: bold;
}

/* =========================================================
   UTILITIES
========================================================= */

.Italics {
  font-style: italic;
  color: #cc0000;
}

.center {
  text-align: center;
}

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

.footer {
  background: #2b2b2b;
  color: #bbb;
  font-size: 12px;

  padding: 0 20px;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.footer-column a {
  color: #fff;
  text-decoration: none;
  font-size: 12px;
}

/* =========================================================
   SERVICES
========================================================= */

.service-box {
  display: flex;
  gap: 20px;
  max-width: 1200px;
  margin: 20px auto;
  padding: 0 20px;
}

.service-card {
  flex: 1;
  background: #fff;
  border-radius: 10px;
  padding: 15px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
}

.service-card img {
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 10px;
}

/* =========================================================
   GALLERY HUB
========================================================= */

.gallery-wrapper {
  max-width: 1200px;
  margin: 40px auto;
  padding: 0 20px;
  text-align: center;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.gallery-card {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  color: #fff;
}

.gallery-card img {
  height: 260px;
  width: 100%;
  object-fit: cover;
  transition: 0.3s;
}

.gallery-card:hover img {
  transform: scale(1.08);
}

.gallery-overlay {
  position: absolute;
  bottom: 0;
  width: 100%;
  padding: 15px;
  background: linear-gradient(to top, rgba(0,0,0,0.75), transparent);
}

/* =========================================================
   LIGHTBOX GALLERY (CLEANED)
========================================================= */

#gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 10px;
  padding: 10px;
}

#gallery img {
  width: 100%;
  border-radius: 8px;
  cursor: pointer;
}

#lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.9);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

#lightboxImg {
  max-width: 90%;
  max-height: 90%;
}

#close {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 30px;
  background: none;
  color: #fff;
  border: none;
  cursor: pointer;
}

.navBtn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 40px;
  background: rgba(0,0,0,0.4);
  color: #fff;
  border: none;
  cursor: pointer;
  padding: 10px;
}

#prevBtn { left: 10px; }
#nextBtn { right: 10px; }

/*===============================================
Reviews
==========================================*/
/* =========================
   REVIEWS PAGE FIX (CENTER EVERYTHING)
========================= */

.reviews-page {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  padding: 40px 20px;
  text-align: center;
}

.reviews-box {
  max-width: 800px;
  width: 100%;
  background: rgba(255, 255, 255, 0.85);
  border-radius: 16px;
  padding: 30px 25px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.25);
  text-align: center;
}

/* Stars FIX (make sure they stay yellow) */
.stars {
  color: #FFD700 !important;
  font-size: 28px;
  letter-spacing: 2px;
}

/* Awards center fix */
.review-awards {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-top: 15px;
}

.review-awards img {
  height: 90px;
  width: auto;
  display: block;
}

/* Paragraph spacing clean */
.reviews-box p {
  margin: 10px 0;
}

/* =========================================================
   MOBILE FIXES
========================================================= */

@media (max-width: 768px) {

  .logo img {
    width: 180px;
    height: auto;
  }

  .top-image-row {
    flex-direction: column;
    gap: 15px;
  }

  .service-box {
    flex-direction: column;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

@media (max-width: 768px) {

  .header {
    flex-wrap: wrap;
    height: auto;
    padding: 10px 15px;
    justify-content: center;
  }

  .top-menu {
    width: 100%;
  }

  .top-menu ul {
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
  }

  .top-menu ul li {
    flex: 0 0 auto;
  }

  .top-menu ul li a {
    font-size: 14px;
    padding: 8px 10px;
  }
  /* =========================================================
   HAMBURGER MENU (MOBILE)
========================================================= */

#menu-toggle {
  display: none;
}

.hamburger {
  display: none;
  font-size: 30px;
  cursor: pointer;
  user-select: none;
  padding: 10px 15px;
}

/* Desktop stays normal */
.top-menu ul {
  display: flex;
  gap: 15px;
}

/* =========================================================
   MOBILE FIXES (CLEANED + FIXED)
========================================================= */

@media (max-width: 768px) {

  .logo img {
    width: 180px;
    height: auto;
  }

  .top-image-row {
    flex-direction: column;
    gap: 15px;
  }

  .service-box {
    flex-direction: column;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .header {
    flex-wrap: wrap;
    height: auto;
    padding: 10px 15px;
    justify-content: center;
  }

  .top-menu {
    width: 100%;
  }

  .top-menu ul {
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
  }

  .top-menu ul li a {
    font-size: 14px;
    padding: 8px 10px;
  }

}

/* =========================
   MOBILE MENU SYSTEM FIX
========================= */

/* hide hamburger on desktop */
.hamburger {
  display: none;
  font-size: 30px;
  background: none;
  border: none;
  cursor: pointer;
}

/* desktop menu */
.top-menu {
  display: flex;
}

.top-menu ul {
  display: flex;
  gap: 15px;
  list-style: none;
  margin: 0;
  padding: 0;
}

/* MOBILE */
@media (max-width: 768px) {

  /* show hamburger ONLY on mobile */
  .hamburger {
    display: block;
    position: absolute;
    left: 15px;
    top: 20px;
    z-index: 10000;
  }

  /* hide menu by default on mobile */
  .top-menu {
    display: none;
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    background: #fff;
    border-top: 1px solid #ccc;
    z-index: 9999;
  }

  /* when active, show menu */
  .top-menu.active {
    display: block;
  }

  .top-menu ul {
    flex-direction: column;
    text-align: center;
  }

  .top-menu ul li {
    padding: 12px 0;
  }
  /* =========================================
   FORCE HAMBURGER HIDDEN ON DESKTOP
========================================= */

.hamburger {
  display: none !important;
}
@media (max-width: 768px) {
  .hamburger {
    display: block !important;
  }
}