
*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  overflow-x: hidden;
  overflow: auto;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #f9fafb;
  color: #333;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  padding: env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);
  padding-top: env(safe-area-inset-top);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

}

a {
  color: #104ea0;
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover,
a:focus {
  color: #104ea0;
  outline: none;
}

header {
background-color: #104ea0;
  color: white;
  padding: 0.8rem;
  text-align: center;
  position: relative;
}

header h1 {
  margin: 0 0 0.25rem;
  font-weight: 700;
  font-size: 1.8rem;
  letter-spacing: 1.5px;
}

header p {
  margin: 0;
  font-style: italic;
  font-weight: 500;
  font-size: 0.9rem;
  opacity: 0.9;
}


.nav-list {
  display: flex;
  justify-content: center;
  padding: 0.5rem 1rem;
  margin: 0;
  list-style: none;
}

.nav-list li + li {
  margin-left: 2rem;
}

.nav-list a {
  font-weight: 600;
  font-size: 1rem;
  padding: 0.5rem;
  border-radius: 4px;
}

.nav-list a:hover,
.nav-list a:focus {
  background-color: #104ea0;
  color: #fff;
  outline: none;
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

#formMessage {
  animation: fadeIn 0.5s ease-in-out;
}
/* Main Content */
main {
  display: block !important;
  overflow: visible;
  height: auto;
  max-width: 1100px;
  margin: 2rem auto;
  padding: 0 1rem;
}

.intro p {
  font-size: 1.1rem;
  text-align: center;
  max-width: 600px;
  margin: 0 auto 2rem;
  color: #555;
}

.intro h2 {
  text-align: center;
  font-weight: 700;
  font-size: 2rem;
  margin-bottom: 0.5rem;
  letter-spacing: 0.03em;
  color: #222;
}

/* Swipe Hint */
.swipe-hint {
  text-align: center;
  font-size: 0.9rem;
  color: #777;
  margin-bottom: 1.5rem;
  user-select: none;
  animation: fadeInOut 3s ease-in-out infinite alternate;
}

@keyframes fadeInOut {
  0% {
    opacity: 0.5;
  }
  100% {
    opacity: 1;
  }
}

/* Scroll Gallery */
.scroll-gallery {
  display: flex;
  overflow-x: auto;
  gap: 1rem;
  padding: 0.5rem 0;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch; /* smooth scroll on iOS */
  -ms-text-overflow: none;
  scrollbar-width: none; /* Firefox */
}

.scroll-gallery::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Opera */
}

.image-container {
  position: relative;
  flex: 0 0 auto;
  width: 300px;
  height: 450px;
  scroll-snap-align: start;
  border-radius: 12px;
  overflow: hidden;
  line-height: 0;
  box-shadow: 0 8px 20px rgba(26, 115, 232, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.image-container:hover,
.image-container:focus-within {
  transform: scale(1.05);
  box-shadow: 0 12px 30px rgba(26, 115, 232, 0.3);
  z-index: 10;
}

.image-container img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  vertical-align: bottom;
}

.image-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(0deg, rgba(26,115,232,0.8), transparent);
  color: white;
  font-weight: 600;
  padding: 0.8rem 1rem;
  font-size: 1rem;
  border-radius: 0;
  text-align: center;
  user-select: none;
  pointer-events: none;
}

/* Sections */
.section {
  margin-top: 4rem;
  opacity: 1;
  transform: translate(0);
  transition: all 0.8s ease-out;
  margin-top: 6rem;
}

.section h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #104ea0;
  text-align: center;
  letter-spacing: 0.05em;
}

/* About Section */
.about p {
  max-width: 720px;
  margin: 0 auto;
  font-size: 1.1rem;
  color: #555;
  line-height: 1.7;
  text-align: center;
}

/* Gallery Section */
.gallery-grid {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.gallery-grid a {
  display: block;
  width: 200px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 15px rgba(26, 115, 232, 0.15);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.gallery-grid a:hover,
.gallery-grid a:focus {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(26, 115, 232, 0.3);
  outline: none;
}

.gallery-grid img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* Contact Section */
.contact p {
  text-align: center;
  font-size: 1.1rem;
  margin-bottom: 1rem;
  color: #555;
}

.contact-form {
  max-width: 480px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-form label {
  font-weight: 600;
  font-size: 1rem;
  color: #333;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  padding: 0.6rem 0.8rem;
  font-size: 1rem;
  border: 1.5px solid #ccc;
  border-radius: 8px;
  transition: border-color 0.3s ease;
  font-family: inherit;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: #104ea0;
  outline: none;
  box-shadow: 0 0 5px rgba(26, 115, 232, 0.5);
}

.contact-form textarea {
  resize: vertical;
  min-height: 120px;
}

.contact-form button {
  background-color: #104ea0;
  color: white;
  border: none;
  padding: 0.75rem 1rem;
  font-size: 1.1rem;
  font-weight: 700;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.contact-form button:hover {
  filter: brightness(1.2);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(26, 115, 232, 0.3);
}

.contact-form button:active {
  transform: translateY(0);
}
.contact-form button:focus {
  background-color: #104ea0;
  outline: none;
}

/* The Hamburger Button */
.menu-toggle {
  position: absolute;
  top: 3rem;
  right: 1rem;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1001;
}

html {
  scroll-behavior: smooth;
  background-color: #104ea0;
  scroll-behavior: smooth;
}
.bar {
  width: 25px;
  height: 3px;
  background-color: white; /* Matches your blue header text */
  border-radius: 2px;
}

/* The Side Menu Panel */
.side-menu {
  position: fixed;
  top: 0;
  right: -300px; /* Hidden by default */
  width: 250px;
  height: 100vh;
  background-color: #fff;
  box-shadow: -2px 0 10px rgba(0,0,0,0.1);
  transition: right 0.3s ease-in-out;
  z-index: 3000;
  padding: 4rem 1.5rem;
  display: block !important;
}

.side-menu.active {
  right: 0 !important; /* Slides in */
}

.nav-list-side {
  list-style: none;
  padding: 0;
}

.nav-list-side li {
  margin-bottom: 2rem;
}

.nav-list-side a {
  font-size: 1.2rem;
  color: #333;
  font-weight: 600;
}

/* Overlay */
.menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  display: none;
  z-index: 1001;
}

.menu-overlay.active {
  display: block;
}

.close-btn {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 2rem;
  background: none;
  border: none;
  cursor: pointer;
}

/* Footer */
footer {
  background-color: #104ea0;
  color: white;
  text-align: center;
  padding: 0.5rem 0.5em;
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  margin-top: 4rem;
}

/* Responsive - Mobile */
@media (max-width: 600px) {
  .scroll-gallery {
    gap: 0.5rem;
    padding-left: 1rem;
    padding-right: 1rem;
    padding: 0.5rem 0;
  }

  .image-container {
    width: 75vw;
    height: 350px;
  }

  .gallery-grid {
    justify-content: center;
    gap: 1rem;
  }

  .gallery-grid a {
    width: 45vw;
  }

  .contact-form {
    width: 90vw;
  }

  header h1 {
    font-size: 1.8rem;
  }

  header p {
    font-size: 1rem;
  }

  .section {
    margin-top: 2.5rem;
  }
  .section h2 {
    font-size: 1.6rem;
  }
}

