/* Reset and body styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: Georgia, "Helvetica Neue", Helvetica, Arial, sans-serif;
    background: linear-gradient(#d6e2ef, lch(100% 0.01 296.81 / 0.8));
    color: #333;
    line-height: 1.6;
    margin: 0;
    padding: 0;
}

/* HEADER (TOP SIDE) */
header.top-side {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 80px;
  background: #001f3f;
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 100px;
  padding: 5px 30px 5px 15px;
  z-index: 1000;
  transition: top 0.4s ease-in-out;
  will-change: top;
}

header.top-side .logo {
  display: flex;
  align-items: center;
  font-size: 1.8em;
  font-weight: bold;
  letter-spacing: 2px;
  margin-right: 60px;
}

header.top-side .logo img {
  height: 100px;
  width: 100px;
  object-fit: cover;
  border-radius: 50%;
  margin-right: 15px;
  margin-top: 12.5px;
}

header.top-side nav ul {
  list-style: none;
  display: flex;
  margin: 0;
  padding: 0;
  margin-right: 15px;
}

header.top-side nav li {
  margin-left: 20px;
}

header.top-side nav a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  font-size: 1em;
}

header.top-side nav a:hover {
  text-decoration: underline;
}

.menu-toggle {
    display: none;
    font-size: 2em;
    cursor: pointer;
    color: white;
}

.menu-toggle::after {
  content: "☰";
}

.menu-toggle.active::after {
  content: "✕";
}

/* Styles for the menu overlay - ADDED */
#menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.4); /* Semi-transparent black */
  z-index: 999; /* Sits below nav (1000) and menu-toggle (1001) */
  display: none; /* Hidden by default */
  cursor: pointer; /* Indicates it's clickable */
}

#menu-overlay.active {
  display: block; /* Shown when menu is open */
}
/* END Styles for the menu overlay */

/* HERO */
 .hero { /* Leading space here, but CSS usually handles it */
   position: relative;
   overflow: hidden;
 }

 .hero-bg { /* This applies to the <img> chosen by <picture> */
   position: absolute;
   top: 0;
   left: 0;
   width: 100%;
   height: 100%;
   object-fit: cover; /* Default object-position is center center */
   z-index: 0;
   opacity: 0;
   transform: translateY(30px);
   transition: opacity 0.6s ease-out, transform 0.6s ease-out;
 }

 .hero.scroll-fade.show .hero-bg {
   opacity: 1;
   transform: none;
 }

 .hero-content {
   position: relative;
   z-index: 1;
   color: white; /* Text color on hero for this page */
   text-align: center;
   padding: 200px 20px; /* Desktop padding, determines hero height. Inherited by mobile. */
 }
/* Contact page container */
.contact-page {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    padding: 50px 20px;
    background: white;
    max-width: 1200px;
    margin: 0 auto;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* Contact details */
.contact-details {
    flex: 1 1 300px;
    padding: 20px;
}

.contact-details h2 {
    color: #001f3f;
    margin-bottom: 20px;
}

.contact-details p {
    margin-bottom: 15px;
    font-size: 1.1em;
}

/* Contact form */
.contact-form-section {
    flex: 1 1 400px;
    padding: 20px;
}

.contact-form-section h2 {
    color: #001f3f;
    margin-bottom: 20px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-form input,
.contact-form textarea {
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1em;
}

.contact-form button {
    padding: 14px;
    background-color: #001f3f;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1em;
}

.contact-form button:hover {
    background-color: #003366;
}

/* Footer styles */
footer {
    text-align: center;
    padding: 20px;
    background: #001f3f;
    color: white;
    font-size: 0.9em;
}

footer a {
    color: #bbbbbb;
    text-decoration: none;
    margin: 0 5px;
}

footer a:hover {
    color: white;
    text-decoration: underline;
}

/* Responsive adjustments */
@media screen and (max-width: 768px) {
    /* === MOBILE HERO BACKGROUND IMAGE POSITIONING === */
    /* REMOVED: .hero-bg { object-position: left center !important; }
       A dedicated mobile image via <picture> should use default center positioning.
       If mobile_contact.png still needs specific positioning, that rule can be re-added here.
    */
    /* === END OF MOBILE HERO BACKGROUND IMAGE POSITIONING === */

    .hero h1 { /* Mobile font size for hero h1 on this page */
        font-size: 2.2em;
    }
    /* .hero p will inherit its desktop font size as no mobile override is present here */

    .contact-page {
        flex-direction: column;
        padding: 30px 15px;
    }

    header.top-side {
        justify-content: space-between;
        padding: 5px 15px;
        gap: 0;
    }

    header.top-side .logo {
      margin-left: 0;
      margin-right: auto;
    }
    /* No mobile specific styles for header.top-side .logo img, so it uses desktop (large, overflowing) */

    .menu-toggle {
        display: block;
        position: absolute;
        top: 25px;
        right: 20px;
        z-index: 1001;
        font-size: 2em;
        cursor: pointer;
        color: white;
        background: none;
        border: none;
    }

    header.top-side nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100%;
        background-color: #001f3f;
        display: flex;
        flex-direction: column;
        align-items: start;
        padding: 60px 20px;
        transition: right 0.3s ease;
        z-index: 1000;
    }

    header.top-side nav.active {
        right: 0;
    }

    header.top-side nav ul {
        flex-direction: column;
        width: 100%;
        display: flex;
    }

    header.top-side nav li {
        margin: 15px 0;
        text-align: left;
        width: 100%;
    }

    header.top-side nav a {
        font-size: 1.2em;
        width: 100%;
        display: block;
        padding: 10px 0;
    }
} /* End of the main @media screen and (max-width: 768px) block */


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

.map-section h2 {
    color: #001f3f;
    margin-bottom: 10px;
    font-size: 1.5em;
    text-align: left;
}

.map-container {
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.scroll-fade {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.scroll-fade.show {
  opacity: 1;
  transform: none;
}

/* Global .hero-content h1/p styles for this page (as provided at the end of your file) */
.hero-content h1 {
  font-size: 3.5em;
  text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.5);
  font-family: 'Playfair Display', serif;
  /* color: white; is on .hero-content */
  /* margin-bottom: 10px; is on .hero h1 globally, this is more specific if HTML is .hero-content > h1 */
}

.hero-content p {
  font-size: 1.5em;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.4);
  /* color: white; is on .hero-content */
}