/* Smooth scrolling for anchor links */
html { scroll-behavior: smooth; }
 
/* Reset default browser spacing */
* { margin: 0; padding: 0; box-sizing: border-box; }
 
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #333;
}
 
/* Centers content and limits max width */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 5%;
}
 
/* ─── TOP BAR ─────────────────────────────────────── */
.top-bar {
  background: #0a3d62;
  color: white;
  text-align: center;
  padding: 10px 0;
  font-size: 1rem;
}
 
/* ─── NAVIGATION ──────────────────────────────────── */
.navbar {
  background: white;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  position: sticky;
  top: 0;
  z-index: 100;
}
 
.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.8rem 5%;
}
 
.logo h2 { color: #0a3d62; }
 
/* Logo image sizing */
.logo-img {
  height: 85px;
  width: auto;
  max-width: 280px;
  object-fit: contain;
  display: block;
}
 
.logo {
  display: flex;
  align-items: center;
}
 
.logo a {
  display: block;
}
 
/* Desktop nav links */
.nav-menu {
  display: flex;
  list-style: none;
  gap: 1.8rem;
}
 
.nav-menu a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
}
 
.nav-menu a:hover {
  color: #0a3d62;
}
 
/* ─── CTA BUTTON ──────────────────────────────────── */
.cta-button {
  background: #0a3d62;
  color: white;
  padding: 14px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  display: inline-block;
}
 
.cta-button:hover {
  background: #1e5a8a;
}
 
/* ─── HERO SECTION ────────────────────────────────── */
.hero {
  height: 90vh;
  min-height: 650px;
  background: linear-gradient(rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.45)), 
              url('../images/EXAMPLEPOOL.jpg') center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  position: relative;
}
 
.hero-content {
  max-width: 900px;
  padding: 0 20px;
  z-index: 2;
}
 
.hero-content h1 {
  font-size: 3.4rem;
  margin-bottom: 1.2rem;
  text-shadow: 0 2px 10px rgba(0,0,0,0.6);
}
 
.hero-content p {
  font-size: 1.35rem;
  margin-bottom: 2.5rem;
  text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}
 
/* ─── SECTIONS ────────────────────────────────────── */
.section {
  padding: 100px 0;
}
 
/* Offset for sticky navbar when jumping to a section */
section {
  scroll-margin-top: 80px;
}
 
.section-title {
  text-align: center;
  font-size: 2.8rem;
  margin-bottom: 3rem;
  color: #0a3d62;
}
 
.bg-light { background: #f9f9f9; }
.bg-dark { background: #0a3d62; color: white; }
 
/* ─── SERVICES ────────────────────────────────────── */
/* 3 column grid that collapses on smaller screens */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.8rem;
}
 
.service-card {
  background: white;
  padding: 2.2rem 1.8rem;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.08);
  text-align: center;
  transition: transform 0.3s;
}
 
.service-card:hover {
  transform: translateY(-8px);
}
 
.service-card h3 {
  color: #0a3d62;
  margin-bottom: 1rem;
  font-size: 1.45rem;
}
 
.service-card ul {
  text-align: left;
  margin-top: 1.2rem;
  padding-left: 1.2rem;
}
 
.service-card li {
  margin: 8px 0;
  color: #444;
}
 
/* ─── GALLERY ─────────────────────────────────────── */
/* Breaks out of container to go full screen width */
.gallery-full {
  width: 100vw;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  overflow: hidden;
  padding: 0 0 30px 0;
}
 
/* Constrains scrollbar track so it doesn't stretch edge to edge */
.gallery-grid {
  display: flex;
  overflow-x: auto;
  overflow-y: hidden;
  gap: 1.8rem;
  padding: 0 2rem 20px 2rem;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  margin: 0 auto;
  max-width: 90%;
}
 
/* Desktop scrollbar styling */
.gallery-grid::-webkit-scrollbar {
  height: 8px;
}
 
.gallery-grid::-webkit-scrollbar-thumb {
  background: #0a3d62;
  border-radius: 10px;
}
 
/* Gallery images */
.gallery-grid img {
  min-width: 380px;
  height: 260px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.15);
  transition: transform 0.3s;
  flex-shrink: 0;
}
 
.gallery-grid img:hover {
  transform: scale(1.05);
}
 
/* ─── ABOUT ───────────────────────────────────────── */
.about-content {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}
 
.about-content p {
  font-size: 1.07rem;
  line-height: 1.8;
  margin-bottom: 1.8rem;
  padding: 0 15px;
}
 
/* ─── CONTACT ─────────────────────────────────────── */
.contact-links {
  display: flex;
  justify-content: center;
  gap: 1.8rem;
  flex-wrap: wrap;
}
 
.contact-btn {
  background: rgba(255,255,255,0.1);
  color: white;
  text-align: center;
  padding: 2rem 1.8rem;
  border-radius: 12px;
  text-decoration: none;
  width: 190px;
  transition: all 0.3s;
  font-size: 1rem;
}
 
.contact-btn:hover {
  background: rgba(255,255,255,0.2);
  transform: translateY(-5px);
}
 
.contact-btn i {
  font-size: 2.2rem;
  margin-bottom: 0.8rem;
  display: block;
}
 
/* Wider button to fit the full email address */
.email-btn {
  width: 220px;
  padding: 2rem 1.5rem;
}
 
.email-btn strong {
  font-size: 1.05rem;
}
 
/* ─── MOBILE (max 900px) ──────────────────────────── */
@media screen and (max-width: 900px) {
 
  /* Hide nav links, keep logo and button only */
  .nav-menu {
    display: none;
  }
 
  .nav-container {
    justify-content: space-between;
  }
 
  .cta-button {
    padding: 10px 18px;
    font-size: 0.95rem;
  }
 
  /* Mobile scrollbar — visible blue thumb on light track */
  .gallery-grid::-webkit-scrollbar {
    height: 6px;
    background: rgba(0,0,0,0.1);
  }
 
  .gallery-grid::-webkit-scrollbar-thumb {
    background: #0a3d62;
    border-radius: 10px;
  }
 
  /* Firefox scrollbar color */
  .gallery-grid {
    scrollbar-color: #0a3d62 rgba(0,0,0,0.1);
    /* Centers first image on screen */
    padding-left: calc(50vw - 190px);
    padding-right: calc(50vw - 190px);
    /* Snaps images into place while swiping */
    scroll-snap-type: x mandatory;
    max-width: 100%;
  }
 
  .gallery-grid img {
    scroll-snap-align: center;
    min-width: 340px;
  }
}