:root {
  --navy: #0b1f4b;
  --navy-light: #1a3a7a;
}

body {
  margin: 0;
  font-family: "Poppins", sans-serif;
  background-color: #f4f6fb;
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  height: 85vh;
  min-height: 420px;
  overflow: hidden;
}

.header-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  animation: slowZoom 20s ease-in-out infinite alternate;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(11, 31, 75, 0.9), rgba(11, 31, 75, 0.35));
}

.hero-text {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 20px;
  color: white;
}

.hero-text h1 {
  font-family: "Playfair Display", serif;
  font-size: 3.5rem;
  letter-spacing: 0.05em;
  margin: 0;
  animation: titleReveal 1.8s ease-out;
}

.divider {
  width: 0;
  height: 3px;
  background-color: white;
  margin: 20px 0;
  animation: growLine 1s ease-out 1.2s forwards;
}

.hero-text p {
  font-size: 1.2rem;
  font-weight: 300;
  letter-spacing: 3px;
  margin: 0;
  animation: fadeIn 1.5s ease-out 1.6s backwards;
}

.scroll-hint {
  position: absolute;
  bottom: 100px;
  left: 0;
  right: 0;
  z-index: 1;
  text-align: center;
  color: white;
  font-size: 2rem;
  animation: bounce 1.5s ease-in-out infinite;
}

/* ---------- MENU ---------- */
.menu {
  background-color: var(--navy);
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  position: sticky;
  top: 0;
  z-index: 10;
}

.menu a {
  position: relative;
  color: white;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.9rem;
  padding: 18px 25px;
}

.menu a::after {
  content: "";
  position: absolute;
  bottom: 10px;
  left: 50%;
  width: 0;
  height: 3px;
  background-color: white;
  transition: width 0.3s, left 0.3s;
}

.menu a:hover::after {
  width: 60%;
  left: 20%;
}

/* ---------- INTRO ---------- */
.intro {
  max-width: 800px;
  margin: 80px auto;
  padding: 0 20px;
  text-align: center;
}

.intro h2 {
  font-family: "Playfair Display", serif;
  font-size: 2.2rem;
  color: var(--navy);
}

.intro p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #333;
}

/* ---------- SCROLL REVEAL ---------- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s, transform 1s;
}

.reveal.show {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- FOOTER ---------- */
.footer {
  background-color: var(--navy);
  color: white;
  text-align: center;
  padding: 20px;
  font-size: 0.9rem;
}

.footer p {
  margin: 0;
}

/* ---------- PROGRESS BAR ---------- */
#progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 0;
  height: 4px;
  background-color: #7fb0ff;
  z-index: 100;
}

/* ---------- TYPEWRITER CURSOR ---------- */
.cursor {
  animation: blink 0.8s infinite;
}

/* ---------- WAVES ---------- */
.wave {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 200%;
  height: 80px;
  z-index: 1;
  background-repeat: repeat-x;
  background-size: 50% 100%;
}

.wave-back {
  bottom: 10px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 120' preserveAspectRatio='none'><path d='M0,60 C150,110 350,10 600,60 C850,110 1050,10 1200,60 L1200,120 L0,120 Z' fill='white' fill-opacity='0.35'/></svg>");
  animation: waveMove 14s linear infinite reverse;
}

.wave-front {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 120' preserveAspectRatio='none'><path d='M0,60 C150,110 350,10 600,60 C850,110 1050,10 1200,60 L1200,120 L0,120 Z' fill='%230b1f4b'/></svg>");
  animation: waveMove 9s linear infinite;
}

/* ---------- INSIDE PAGES: BANNER ---------- */
.page-banner {
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  color: white;
  text-align: center;
  padding: 70px 20px;
}

.page-banner h1 {
  font-family: "Playfair Display", serif;
  font-size: 2.8rem;
  letter-spacing: 0.05em;
  margin: 0 0 10px;
  animation: titleReveal 1.2s ease-out;
}

.page-banner p {
  margin: 0;
  font-weight: 300;
  letter-spacing: 2px;
}

/* ---------- INSIDE PAGES: CARDS ---------- */
.content {
  max-width: 1000px;
  margin: 50px auto;
  padding: 0 20px;
  display: grid;
  gap: 25px;
}

.info-card {
  background-color: white;
  padding: 25px 30px;
  border-left: 6px solid var(--navy);
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: opacity 0.8s, transform 0.5s, box-shadow 0.3s;
}

.info-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 20px rgba(11, 31, 75, 0.25);
}

.info-card h2 {
  font-family: "Playfair Display", serif;
  color: var(--navy);
  margin-top: 0;
}

.info-card p {
  line-height: 1.7;
}

.location {
  color: var(--navy-light);
  font-size: 0.95rem;
}

/* ---------- CARD PHOTOS ---------- */
.card-photo {
  display: block;
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
}

/* ---------- ANIMATIONS ---------- */
@keyframes slowZoom {
  from { transform: scale(1); }
  to   { transform: scale(1.12); }
}

@keyframes titleReveal {
  from { opacity: 0; letter-spacing: 0.4em; }
  to   { opacity: 1; letter-spacing: 0.05em; }
}

@keyframes growLine {
  from { width: 0; }
  to   { width: 120px; }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(12px); }
}

@keyframes blink {
  0%, 50%   { opacity: 1; }
  51%, 100% { opacity: 0; }
}

@keyframes waveMove {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ---------- INSIDE PAGES: EXTRA ANIMATION ---------- */
.page-banner {
  position: relative;
  overflow: hidden;
  padding: 80px 20px 110px;
}

.page-banner .divider {
  margin: 15px auto;
  animation-delay: 0.5s;
}

.page-banner p {
  animation: fadeIn 1.2s ease-out 0.8s backwards;
}

/* cards slide in from the left and right */
.info-card.reveal:nth-child(odd)  { translate: -60px 0; }
.info-card.reveal:nth-child(even) { translate: 60px 0; }
.info-card.reveal.show            { translate: 0 0; }

.info-card {
  position: relative;
  overflow: hidden;
  transition: opacity 0.8s, transform 0.5s, translate 0.8s, box-shadow 0.3s;
}

/* photo zoom on hover */
.card-photo {
  transition: transform 0.5s;
}

.info-card:hover .card-photo {
  transform: scale(1.03);
}

/* shine that sweeps across the card on hover */
.info-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.6), transparent);
  transform: skewX(-20deg);
  pointer-events: none;
}

.info-card:hover::before {
  left: 150%;
  transition: left 0.8s;
}

/* ---------- IMAGE POPUP ---------- */
.card-photo {
  cursor: pointer;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background-color: rgba(11, 31, 75, 0.92);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

.lightbox.open {
  opacity: 1;
  pointer-events: auto;
}

.lightbox img {
  max-width: 90%;
  max-height: 80vh;
  border-radius: 8px;
  transform: scale(0.8);
  transition: transform 0.3s;
}

.lightbox.open img {
  transform: scale(1);
}

.lightbox p {
  color: white;
  margin-top: 15px;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 30px;
  color: white;
  font-size: 2.5rem;
  cursor: pointer;
}

/* ---------- PHONE (keep this at the very bottom) ---------- */
@media (max-width: 600px) {
  .hero-text h1 { font-size: 2rem; }
  .hero-text p { font-size: 1rem; }
  .page-banner h1 { font-size: 2rem; }
  .wave { height: 50px; }
  .card-photo { height: 180px; }
.page-banner { padding-bottom: 80px; }
}