/* Reset */
* { margin: 0; padding: 0; box-sizing: border-box; }
html, body { height: 100%; }
body {
  font-family: "Helvetica Neue", Arial, sans-serif;
  color: #fff;
  line-height: 1.6;
  scroll-behavior: smooth;
}

/* Theme Colors */
:root {
  --greek-blue: #0D5EAF;
  --overlay-dark: rgba(0, 0, 0, 0.45);
}

/* Navbar */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  background: rgba(13, 94, 175, 0.8);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  z-index: 1000;
  backdrop-filter: blur(5px);
}
nav .logo { font-weight: bold; color: #fff; font-size: 1.3rem; }
nav ul { list-style: none; display: flex; }
nav ul li { margin-left: 20px; position: relative; }
nav ul li a { color: #fff; text-decoration: none; font-weight: 500; }
nav ul li a:hover { text-decoration: underline; }

/* (Simple) dropdown styling */
.dropdown-content {
  display: none;
  position: absolute;
  background: rgba(13, 94, 175, 0.95);
  padding: 0.5rem 0;
  top: 2rem;
  min-width: 180px;
}
.dropdown-content a {
  display: block;
  padding: 0.5rem 1rem;
}
.dropdown:hover .dropdown-content { display: block; }

/* Hero (no fade, no flash) */
.hero {
  position: relative;
  height: 100vh;
  overflow: hidden;
  background: #0D5EAF; /* fallback while first image decodes */
  margin-top: 64px;    /* make room for fixed navbar so it doesn't overlap */
}
.hero-track {
  display: flex;
  width: 300%;          /* 3 images */
  height: 100%;
  transform: translateX(0);
  transition: transform 0.8s ease-out;
}
.hero img {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;       /* avoids gaps/flicker */
}

/* Overlay text */
.overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  text-align: center;
  color: white;
  text-shadow: 0 2px 20px rgba(0,0,0,0.4);
  z-index: 5;
  padding: 0 1rem;
}
.overlay h1 {
  font-size: 2.6rem;
  margin-bottom: 1rem;
}
.overlay p {
  font-size: 1.1rem;
  max-width: 800px;
  margin: 0 auto;
}

/* Scroll Indicator (optional) */
.scroll-indicator {
  position: absolute;
  bottom: 20px; left: 50%;
  width: 30px; height: 50px;
  border: 2px solid white;
  border-radius: 25px;
  transform: translateX(-50%);
}
.scroll-indicator::after {
  content: "";
  position: absolute;
  top: 10px; left: 50%;
  width: 6px; height: 6px;
  background: white;
  border-radius: 50%;
  transform: translateX(-50%);
  animation: scroll 2s infinite;
}
@keyframes scroll {
  0% { opacity: 1; transform: translate(-50%, 0); }
  100% { opacity: 0; transform: translate(-50%, 20px); }
}

/* Fullscreen Sections (no fixed attachment to avoid mobile lag/flash) */
.fullscreen {
  position: relative;
  min-height: 100vh;
  background-size: cover;
  background-position: center;
  /* background-attachment: fixed;  <-- disabled on purpose */
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  scroll-margin-top: 80px; /* anchor links account for fixed nav */
}
.fullscreen::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--overlay-dark);
}
.fullscreen .content {
  position: relative;
  z-index: 5;
  max-width: 900px;
  padding: 2rem;
}
.fullscreen h2 {
  font-size: 2.2rem;
  margin-bottom: 1rem;
  color: #fff;
}
.fullscreen p { font-size: 1.1rem; }

/* Button */
.btn {
  display: inline-block;
  margin-top: 1.5rem;
  background: var(--greek-blue);
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.3s;
}
.btn:hover { background: #1373d2; }

/* Footer */
footer {
  background: var(--greek-blue);
  color: white;
  text-align: center;
  padding: 1rem;
}

/* Reveal (disabled by default to ensure visibility even if JS fails) */
[data-animate] {
  opacity: 1;
  transform: none;
  transition: none;
}

/* Responsive tweaks */
@media (max-width: 768px) {
  .overlay h1 { font-size: 2rem; }
  .overlay p { font-size: 1rem; }
}
