/* 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; /* Desktop: centered */
  align-items: center;
  gap: 100px;
  padding: 5px 30px 5px 15px; /* Desktop padding */
  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; /* Desktop right margin for logo block */
}

header.top-side .logo img {
  height: 100px; /* Desktop image height */
  width: 100px;  /* Desktop image width */
  object-fit: cover;
  border-radius: 50%;
  margin-right: 15px; /* Desktop margin for image within logo block */
  margin-top: 12.5px; /* Desktop top margin for image */
}

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; /* Hidden by default */
  font-size: 2em;
  cursor: pointer;
  color: white;
  z-index: 1100;
  background: none;
  border: none;
}
.menu-toggle::after {
  content: "☰";
}
.menu-toggle.active::after {
  content: "✕";
}

/* HERO */
.hero {
  position: relative;
  overflow: hidden;
  /* Desktop height is determined by .hero-content's padding */
  /* No specific padding or min-height here globally */
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%; /* Takes height of .hero parent */
  object-fit: cover;
  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: #001f3f;
  text-align: center;
  padding: 200px 20px; /* DESKTOP PADDING - This will now also apply to mobile */
}

.hero-content h1 {
  font-family: 'DM Serif Display', 'Times New Roman', serif;
  font-size: 3em; /* Desktop font size */
  font-weight: normal;
  margin-bottom: 10px;
  color: #001f3f;
}

.hero-content p {
  font-family: 'DM Sans', sans-serif;
  font-size: 1.2em; /* Desktop font size */
  color: #333;
}

/* (Assuming other general styles like .contact-page, footer, etc., are correct and follow here) */
/* ... */
/* 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;
}

.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;
}

.clean-sections {
    max-width: 800px;
    margin: 60px auto;
    padding: 0 20px;
}

.clean-section h2 {
    font-size: 2.5em;
    font-weight: normal;
    font-family: 'Playfair Display', serif;
    color: #001f3f;
    margin-bottom: 20px;
}

.clean-section p {
    font-size: 1.1em;
    line-height: 1.8;
    font-family: 'DM Sans', sans-serif;
    color: #333;
}

.clean-section a.explore-button {
    display: inline-block;
    margin-top: 25px;
    padding: 12px 25px;
    background-color: #001f3f;
    color: white;
    text-decoration: none;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 1em;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    transition: background-color 0.3s ease;
}

.clean-section a.explore-button:hover {
    background-color: #003366;
}

.intro-text {
    max-width: 800px;
    margin: 60px auto;
    padding: 60px 20px;
    text-align: center;
    background: linear-gradient(#d6e2ef, #ffffffcc);
    background-size: cover;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.intro-text h2 {
    font-size: 3em;
    font-weight: normal;
    font-family: 'Playfair Display', serif;
    color: #001f3f;
    margin-bottom: 30px;
}

.intro-text p {
    font-size: 1.1em;
    line-height: 1.8;
    font-family: 'DM Sans', sans-serif;
    color: #333;
    text-align: left;
}

.news-slider {
    background: linear-gradient(to right, #ffffff 0%, #d6e2ef 50%, #ffffff 100%);
    text-align: center;
    padding: 50px 20px;
}

.news-slider h2 {
    font-size: 2em;
    margin-bottom: 30px;
}

.slider-container {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 20px;
    padding: 20px;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.slider-container::-webkit-scrollbar {
    display: none;
}

.slide {
    flex: 0 0 80%;
    scroll-snap-align: center;
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    padding: 30px 20px;
    box-sizing: border-box;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.slide h3 {
    font-size: 0.9em;
    color: #666;
    margin-bottom: 10px;
}

.slide p {
    font-size: 1.5em;
    line-height: 1.6;
    max-width: 90%;
    margin: 0 auto;
    font-family: Georgia, serif;
    word-spacing: 1px;
}

.slide a {
  text-decoration: none;
  color: inherit;
}
.slide a:visited {
  color: inherit;
}
.slide a:hover {
  text-decoration: none;
}

.section-link {
    color: #001f3f;
    text-decoration: none;
    font-family: Georgia, serif;
    transition: color 0.3s ease;
}

.section-link:hover {
    color: #003366;
    text-decoration: underline;
}

.identity-banner {
  background: #001f3f;
  color: white;
  padding: 100px 20px;
  text-align: center;
}

.identity-banner h2 {
  font-family: 'DM Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 2.8em;
  margin-bottom: 20px;
}

.identity-banner p {
  font-family: 'DM Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 1.2em;
  max-width: 800px;
  margin: 0 auto 30px;
  line-height: 1.8;
}

.identity-banner .explore-button {
  background: transparent;
  border: 2px solid white;
  padding: 12px 25px;
  font-size: 1em;
  color: white;
  text-decoration: none;
  border-radius: 5px;
  transition: background 0.3s ease;
}

.identity-banner .explore-button:hover {
  background: white;
  color: #001f3f;
}

.slider-controls {
    margin-top: 20px;
}
.slider-controls span {
  cursor: pointer;
  padding: 5px 10px;
  user-select: none;
}

#menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.4);
  z-index: 1000;
  display: none;
  cursor: pointer;
}
#menu-overlay.active {
  display: block;
}


/* Responsive adjustments */
@media screen and (max-width: 768px) {

  /* === MOBILE HERO SECTION STYLES - Keep height same as desktop === */
  .hero {
    /* REMOVED mobile-specific padding or min-height from .hero.
       Its height will be dictated by its content (.hero-content). */
    /* position: relative; and overflow: hidden; are inherited from global styles. */
  }

  /* NO mobile-specific padding override for .hero-content.
     This means .hero-content will use its DESKTOP padding: 200px 20px on mobile.
     This will make the hero section have the same calculated height as on desktop.
     The .hero-bg will cover this area. */
  /*
  .hero-content {
     padding: 80px 20px; <--- PREVIOUS MOBILE OVERRIDE - NOW REMOVED
  }
  */

  /* Mobile font size adjustments for hero text can remain */
  .hero-content h1 {
    font-size: 2.2em; /* Mobile-specific font size */
  }

  .hero-content p {
    font-size: 1em; /* Mobile-specific font size */
  }
  /* === END OF MOBILE HERO SECTION STYLES === */


  .intro-text {
    margin-top: 40px;
    padding-top: 40px;
    padding-bottom: 40px;
  }

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

  /* Header styles (assuming these are correct for the header logo) */
  header.top-side {
    justify-content: space-between !important;
    padding: 5px 15px !important;
    z-index: 1002;
  }

  header.top-side .logo {
    margin-right: 0 !important;
    margin-left: 0 !important;
  }

  header.top-side .logo a {
    display: flex;
    align-items: center;
    height: 100%;
  }

  /* NO specific mobile rules for header.top-side .logo img to let it use DESKTOP rules */
  /* This means logo img will use: height: 100px; width: 100px; margin-top: 12.5px; etc. */


  .nav-wrapper {
    display: flex;
    align-items: center;
  }

  .menu-toggle {
    display: block !important;
    font-size: 2em;
    color: white;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0 5px;
  }

  header.top-side nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 75%;
    max-width: 300px;
    height: 100vh;
    background-color: #001f3f;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 80px 20px 20px 30px;
    transition: right 0.3s ease-in-out;
    z-index: 1001;
    box-shadow: -2px 0 5px rgba(0,0,0,0.2);
  }

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

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

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

  header.top-side nav a {
    font-size: 1.2em;
    width: 100%;
    display: block;
    padding: 12px 0;
    color: white;
  }

  /* Other mobile styles */
  .clean-section h2 {
    font-size: 2em;
  }
  .intro-text h2 {
    font-size: 2.5em;
  }
  .news-slider .slide {
    flex: 0 0 90%;
  }
  .identity-banner h2 {
    font-size: 2.2em;
  }
  .identity-banner p {
    font-size: 1em;
  }
  .identity-banner {
    padding: 60px 20px;
  }
}