/* HIDE HAMBURGER MENU ON DESKTOP */
.menu-button {
  display: none; /* hidden by default (desktop) */
}

/* MOBILE RESPONSIVENESS */
@media (max-width: 800px) {
  .menu-button {
    display: block; /* show on mobile */
    cursor: pointer;
    padding: 10px;
  }
  .menu-button svg {
    fill: #000;   /* black if it's an SVG */
    width: 28px;
    height: 28px;
  }
}

/* BASE STYLES */
html, body {
  height: 100%;
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
  background-color: #fff;
  color: #333;
  font-family: sans-serif;
}

body {
  padding-top: 90px; /* prevent overlap with fixed navbar */
}

main {
  min-height: 80vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding-bottom: 40px;
  width: 100%;
}

/* LINKS */
a {
  color: #67b5e6;
  text-decoration: none;
  transition: background-color 0.3s ease, color 0.3s ease;
}

a:hover {
  color: #4590c8;
}

/* NAVIGATION BAR */
nav {
  font-family: "Lucida Console", "Courier New", monospace;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: #fff;
  box-shadow: 3px 3px 5px #67b5e6;
}

nav ul {
  width: 100%;
  list-style: none;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  padding: 0 20px;
  box-sizing: border-box;
  gap: 10px;
}

nav li {
  height: 50px;
  display: flex;
  align-items: center;
}

.nav-logo {
display: flex;
  align-items: center;
  padding: 0 20px;
  max-height: 120px; 
  flex-shrink: 0; 
}



nav a:not(.nav-logo):not(.nav-btn) {
  height: 100%;
  padding: 0 30px;
  display: flex;
  align-items: center;
  color: #444;
}

nav li:not(.nav-logo):not(.nav-btn):hover {
  background-color: #e6f0fb;
}

.nav-btn .button {
  height: 100%;
  padding: 0 20px;
  display: flex;
  align-items: center;
  color: #fff;
  background-color: #67b5e6;
  border-radius: 25px;
  border: 2px solid #67b5e6;
  transition: background-color 0.3s ease;
}

.nav-btn .button:hover {
  background-color: #4590c8;
  border-color: #4590c8;
}

.nav-menu li.nav-btn {
  margin-left: auto;
}

/* SIDEBAR MENU */
.side-bar-menu {
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  width: 250px;
  z-index: 999;
  background-color: rgba(103, 181, 230, 0.1);
  backdrop-filter: blur(10px);
  box-shadow: -10px 0px 10px #67b5e6;
  display: none;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding-top: 50px;
  overflow-y: auto;
  font-family: "Lucida Console", "Courier New", monospace;
  color: #000;
}
/* ===================== SIDEBAR TOGGLE ===================== */
.side-bar-menu.active {
  display: flex;       
  flex-direction: column; 
  position: fixed;     
  top: 0;
  right: 0;
  width: 250px;        
  height: 100vh;
  background-color: rgba(103, 181, 230, 0.1);
  backdrop-filter: blur(10px);
  box-shadow: -10px 0px 10px #67b5e6;
  z-index: 999;
  padding-top: 50px;
  overflow-y: auto;
  transition: all 0.3s ease; 
}
.side-bar-menu li {
  width: 100%;
}

.side-bar-menu a {
 width: 100%;
  display: block;
  padding: 15px 20px;
  font-size: 1.1rem;         
  font-weight: 600;          
  color: #ffffff;
  letter-spacing: 0.5px;     
  text-decoration: none;
}
.side-bar-menu a:active {
    color: #000000; /* stays black when tapped */
}


.side-bar-menu .nav-logo,
.side-bar-menu .nav-logo a {
  background-color: transparent;
  color: inherit;
  pointer-events: none;
  cursor: default;
}
.close-sidebar-btn svg {
    cursor: pointer;       /* show pointer on hover */
    pointer-events: all;   /* make sure clicks register */
    display: block;        /* ensures SVG occupies space properly */
    fill: black;
    
}
.close-sidebar-btn {
    cursor: pointer;      /* makes the whole button clickable */
}
.close-sidebar-btn a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 50px;         /* match the sidebar li height */
}
/* DROPDOWN MENU */
.nav-dropdown {
  position: relative;
}

.nav-dropdown .dropdown {
  display: none;
  position: absolute;
  background-color: #fafafa;
  min-width: 160px;
  top: 100%;
  z-index: 1000;
  box-shadow: 0 0 15px #67b5e6;
  border-radius: 6px;
}

.nav-dropdown .dropdown li {
  border-bottom: 1px solid #67b5e6;
}

.nav-dropdown .dropdown li a {
  color: #000;
  padding: 12px 16px;
  display: block;
}

.nav-dropdown:hover .dropdown {
  display: block;
}

/* MOBILE DROPDOWN */
.side-dropdown {
  position: relative;
  z-index: 1001;
}

.side-dropdown .dropdown {
  position: static;
  z-index: 1002;
  display: none;
  flex-direction: column;
  width: 100%;
  background-color: white;
  padding-left: 10px;
}
/*NEW*/
.side-dropdown .dropdown a {
  color: #000000;           /* black text */
  background-color: #ffffff; /* white background */
  padding: 12px 16px;        /* spacing */
  display: block;            /* full width clickable */
}

.side-dropdown .dropdown a:hover {
  background-color: #67b5e6; /* highlight background on hover */
  color: #ffffff;             /* text color on hover */
}
.side-dropdown.active .dropdown {
  display: flex;
}

.side-dropdown > a::after {
  content: "▼";
  font-size: 0.8em;
  margin-left: 5px;
  transition: transform 0.3s ease;
}

.side-dropdown.active > a::after {
  transform: rotate(180deg);
}

/* MOBILE RESPONSIVENESS */
@media (max-width: 800px){
  .nav-logo {     
    max-width: 60%;       /* limit logo container width */
    padding: 0 10px;       /* reduce padding */
  }
  
  .nav-logo img {
    height: 60px;         /* smaller image */
    width: auto;
  }
}
.nav-logo img{
    max-height: 120px;
    width: auto;
}

@media (max-width: 800px) {
  .hideOn-mobile {
    display: none;
  }

  .menu-button {
    display: block;
    cursor: pointer;
    padding: 10px;
  }
}

@media (max-width: 400px) {
  .side-bar-menu {
    width: 100%;
  }
}
@media (max-width: 768px) {
  .gallery-grid {
    grid-template-columns: 1fr 1fr; /* 2 columns on tablets */
    gap: 12px;
  }
}

@media (max-width: 480px) {
  .gallery-grid {
    grid-template-columns: 1fr; /* 1 column on phones */
    gap: 10px;
  }
} 


/* FOOTER */
.footer {
  background-color: #2a2a2a;
  color: #ccc;
  padding: 40px 20px 20px;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  max-width: 1000px;
  margin: auto;
}

.footer-section {
  flex: 1;
  min-width: 200px;
  margin: 10px;
}

.footer-section h3 {
  border-bottom: 1px solid #67b5e6;
  padding-bottom: 5px;
  margin-bottom: 10px;
  color: #67b5e6;
}

.footer-section ul {
  list-style-type: none;
  padding: 0;
}

.footer-section a {
  color: #aaa;
  text-decoration: none;
  display: inline-block;
  margin-bottom: 5px;
}

.footer-section a:hover {
  color: #67b5e6;
}

.footer-bottom {
  text-align: center;
  margin-top: 30px;
  border-top: 1px solid #444;
  padding-top: 10px;
  font-size: 14px;
  color: #aaa;
}

/* CONTACT SECTION */
.contact-container {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 40px;
  padding: 2rem;
  box-sizing: border-box;
  max-width: 1200px;
  margin: 40px auto;
}

.contact-wrapper,
.contact-section {
  flex: 1 1 45%;
  min-width: 280px;
  max-width: 600px;
  padding: 30px;
  background: linear-gradient(to bottom right, #ffffff, #f0f8ff);
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(103, 181, 230, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-wrapper:hover,
.contact-section:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(103, 181, 230, 0.5);
}

.contact-wrapper h2,
.contact-section h2 {
  text-align: center;
  color: #004080;
  margin-bottom: 20px;
}

.contact-section label {
  display: block;
  margin-top: 1rem;
  font-weight: bold;
}

.contact-section input,
.contact-section textarea {
  width: 100%;
  padding: 0.5rem;
  margin-top: 0.5rem;
  border: 1px solid #aaa;
  border-radius: 5px;
  box-sizing: border-box;
}

.contact-section textarea {
  height: 140px;
  resize: vertical;
}

.contact-section button {
  margin-top: 1rem;
  width: 100%;
  padding: 0.75rem 1.5rem;
  background-color: #004080;
  color: white;
  border: none;
  border-radius: 5px;
  font-size: 17px;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.contact-section button:hover {
  background-color: #003060;
  transform: scale(1.02);
}

#confirmationMessage {
  margin-top: 1rem;
  text-align: center;
  color: green;
  font-weight: bold;
  font-size: 1.1rem;
}

/* GALLERY SECTION */
.gallery-container,
.gallery-section {
  padding: 2rem;
  text-align: center;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.gallery-item {
  background: #f5faff;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(103, 181, 230, 0.2);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 25px rgba(103, 181, 230, 0.4);
}

.gallery-item img {
  width: 100%;
  height: auto;
  display: block;
  cursor: pointer;
  border-radius:6px;
  transition: transform 0.3s ease;
}

.gallery-item img:hover {
  transform: scale(1.03);
}

/* MODAL */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.7);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 10000;
}

.modal.hidden {
  display: none;
}

.modal-content {
  max-width: 90vw;
  max-height: 90vh;
  border-radius: 10px;
  box-shadow: 0 0 20px #000;
}

.close-btn {
  position: absolute;
  top: 15px;
  right: 25px;
  color: black;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  user-select: none;
  z-index: 10001;
}

.close-btn:hover {
  color: #ccc;
}

/* HERO SECTIONS */
.hero,
.hero-contact,
.hero.gallery-hero,
.about-hero {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0 20px;
  color: white;
  border-radius: 12px;
}

.hero::after,
.hero-contact::after,
.hero.gallery-hero::after,
.about-hero::after {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 1;
}

.hero {
  background: linear-gradient(135deg, #67b5e6, #004080);
  height: 80vh;
}

.hero-contact {
  background: linear-gradient(135deg, #67b5e6, #004080);
  padding: 30px 20px;
  margin: 20px auto;
  max-width: 1200px;
  max-height: 200px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}

.hero.gallery-hero {
  background: linear-gradient(135deg, #67b5e6, #004080);
  height: 60vh;
  margin-bottom: 2rem;
}

.about-hero {
  background: linear-gradient(135deg, #67b5e6, #004080);
  height: 50vh;
}

.hero h1,
.hero p,
.hero .button,
.hero-contact h1,
.hero-contact p,
.hero.gallery-hero h1,
.hero.gallery-hero p,
.hero.gallery-hero .button,
.about-hero h1,
.about-hero p {
  position: relative;
  z-index: 2;
  animation: fadeInUp 1s ease forwards;
}

/* HERO TEXT */
.hero h1 { font-size: 3rem; margin-bottom: 20px; letter-spacing: 1px; }
.hero p { font-size: 1.4rem; max-width: 700px; margin-bottom: 30px; }
.hero .button { padding: 15px 30px; font-size: 1.2rem; background-color: #004080; border-radius: 25px; }
.hero .button:hover { background-color: #67b5e6; transform: scale(1.05); }

.hero-contact h1 { font-size: 1.8rem; margin: 0 0 10px 0; line-height: 1.2; }
.hero-contact p { font-size: 1rem; margin: 0; opacity: 0.9; }

.hero.gallery-hero h1 { font-size: 2.5rem; margin-bottom: 15px; }
.hero.gallery-hero p { font-size: 1.2rem; max-width: 700px; margin-bottom: 20px; }
.hero.gallery-hero .button { padding: 12px 25px; font-size: 1.1rem; }
.hero.gallery-hero .button:hover { background-color: #67b5e6; transform: scale(1.05); }

.about-hero h1 { font-size: 2.5rem; margin-bottom: 15px; }
.about-hero p { font-size: 1.2rem; max-width: 700px; }

/* INTRO SECTION */
.intro { max-width: 900px; margin: 60px auto; padding: 0 20px; text-align: center; }
.intro h2 { font-size: 2rem; color: #004080; margin-bottom: 15px; }
.intro p { font-size: 1.1rem; line-height: 1.8; color: #444; }

/* SERVICES TEASER */
.services-teaser { background: #f5faff; padding: 60px 20px; text-align: center; }
.services-teaser h2 { font-size: 2rem; color: #004080; margin-bottom: 40px; }

.services-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 30px; margin-bottom: 30px; }
.service-card { background: white; padding: 30px 20px; border-radius: 12px; box-shadow: 0 4px 15px rgba(103, 181, 230, 0.3); flex: 1 1 250px; max-width: 300px; transition: transform 0.3s ease, box-shadow 0.3s ease; }
.service-card:hover { transform: translateY(-5px); box-shadow: 0 8px 20px rgba(103, 181, 230, 0.5); }
.service-card h3 { color: #004080; margin-bottom: 10px; }
.service-card p { font-size: 1rem; color: #444; }
.service-card .service-icon { width: 60px; height: 60px; margin-bottom: 10px; }

.services-teaser .button { padding: 12px 25px; font-size: 1.1rem; border-radius: 25px; background-color: #004080; color: white; transition: transform 0.3s ease, background-color 0.3s ease; }
.services-teaser .button:hover { background-color: #67b5e6; transform: scale(1.05); }

/* ABOUT PAGE */
.about { max-width: 900px; margin: 80px auto; padding: 20px; line-height: 1.8; font-size: 1.1rem; text-align: center; }
.about h1 { font-size: 2.2rem; margin-bottom: 20px; color: #222; text-transform: uppercase; letter-spacing: 2px; }
.about p { margin-bottom: 15px; color: #444; }

/* MISSION STATEMENT */
.about-mission { max-width: 800px; margin: 40px auto; text-align: center; font-size: 1.2rem; color: #004080; font-weight: 500; line-height: 1.6; }

/* ICON CARDS */
.about-cards { display: flex; flex-wrap: wrap; justify-content: space-around; gap: 30px; max-width: 1000px; margin: 60px auto; }
.about-cards .card { flex: 1 1 250px; background: #f5faff; padding: 30px 20px; border-radius: 12px; text-align: center; box-shadow: 0 4px 15px rgba(103, 181, 230, 0.3); transition: transform 0.3s ease, box-shadow 0.3s ease; }
.about-cards .card:hover { transform: translateY(-5px); box-shadow: 0 8px 20px rgba(103, 181, 230, 0.5); }
.about-cards .card img { width: 80px; margin-bottom: 10px; }
.about-cards .card h3 { color: #004080; margin-bottom: 10px; }
.about-cards .card p { color: #444; font-size: 1rem; }

/* ANIMATIONS */
@keyframes fadeIn { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
