/* ===== RESET ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
  width: 100%;
  background-color: #000;
  font-family: 'Monda', sans-serif;
  color: #F2F2EB;
  overflow-x: hidden;
}

/* ===== NAVBAR ===== */
.navbar {
  position: absolute;
  top: 0;
  width: 100%;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid #F2F2EB; /* subtle divider line */
  background: transparent;
  z-index: 10;
  padding: 0 20px;
}

/* centered links on desktop */
.nav-links {
  list-style: none;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(90px, 9vw, 140px);
}

.nav-links a {
  color: #F2F2EB;
  text-decoration: none;
  font-family: 'Monda', sans-serif;
  font-size: 18px;
  font-weight: 600;
  position: relative;
  transition: all 0.3s ease;
  text-shadow: 0 1px 2px rgba(0,0,0,.25);
}

/* Hover effect: glow + slight lift */
.nav-links a:hover {
  color: #8DA1A6;
  text-shadow: 0 0 8px rgba(242, 242, 235, 0.6);
  transform: translateY(-2px);
}

/* ===== BURGER MENU (CSS-ONLY) ===== */
.nav-toggle { display: none; }  /* hidden checkbox used for toggling */

.hamburger {
  position: absolute;
  right: 20px;
  top: 22px;
  width: 28px;
  height: 24px;
  display: none;                 /* shows on mobile */
  cursor: pointer;
  z-index: 11;
}
.hamburger span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: #F2F2EB;
  transition: transform .25s ease, opacity .25s ease;
}
.hamburger span:nth-child(1) { top: 0; }
.hamburger span:nth-child(2) { top: 11px; }
.hamburger span:nth-child(3) { bottom: 0; }

/* ===== HERO SECTION (with looping video) ===== */
.hero {
  position: relative;
  height: 100vh;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
 
}

/* 🎥 Background video */
.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  filter: brightness(1);
  animation: slowZoom 40s ease-in-out infinite alternate;
  opacity: 0;
  animation-delay: 0s;
  animation-fill-mode: forwards;
  animation-name: fadeIn, slowZoom;
  animation-duration: 1.5s, 40s;
  animation-timing-function: ease-in, ease-in-out;
  animation-iteration-count: 1, infinite;
  animation-direction: normal, alternate;
}

/* Subtle cinematic zoom effect */
@keyframes slowZoom {
  0% { transform: scale(1); }
  100% { transform: scale(1.08); }
}

/* Smooth fade-in on page load */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Gradient overlay for clarity */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

/* ===== HERO CONTENT ===== */
.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;  /* space between title and button */
}

.logo {
  color: #F2F2EB;
  font-family: 'MuseoModerno', sans-serif;
  font-size: 120px;
  font-weight: 800;
  line-height: normal;
  text-shadow: 0 1px 2px rgba(0,0,0,.25), 0 0 10px rgba(255,255,255,0.3);
  margin-top: 60px;
  animation: fadeInUp 1.6s ease-out forwards;
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
/* CTA — centered label + responsive size */
.cta-btn {
  display: flex;               /* center the text */
  align-items: center;
  justify-content: center;
  text-align: center;

  margin-top: -15px;
  width: clamp(220px, 42vw, 350px);   /* grows/shrinks responsively */
  height: clamp(36px, 5.2vh, 42px);
  font-size: clamp(14px, 3.6vw, 18px);

  background: linear-gradient(0deg, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.1) 100%);
  border: 2px solid #f5f5f5;
  color: #F2F2EB;
  font-family: 'Monda', sans-serif;
  font-weight: 600;
  cursor: pointer;
  border-radius: 100px;
  transition: all 0.3s ease;
  letter-spacing: 1px;
}

.cta-btn:hover { 
  background: #F2F2EB; 
  color: #8DA1A6; 
}

/* ===== RESPONSIVE NAV & HERO ===== */
@media (max-width: 1024px) {
  .nav-links { gap: 70px; }
  .logo { font-size: 80px; }
}

@media (max-width: 768px) {
  .logo { font-size: 60px; }

  /* show hamburger, collapse nav into dropdown */
  .hamburger { display: block; }

  .nav-links {
    position: absolute;
    top: 80px;               /* under the navbar */
    left: 0;
    width: 100%;
    flex-direction: column;
    gap: 20px;
    padding: 18px 24px 28px;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(2px);
    border-bottom: 1px solid rgba(242,242,235,0.2);
    display: none;           /* hidden until toggled */
  }

  /* open/close via checkbox */
  .nav-toggle:checked ~ .nav-links { display: flex; }

  /* animate hamburger to "X" */
  .nav-toggle:checked + .hamburger span:nth-child(1) {
    transform: translateY(11px) rotate(45deg);
  }
  .nav-toggle:checked + .hamburger span:nth-child(2) { opacity: 0; }
  .nav-toggle:checked + .hamburger span:nth-child(3) {
    transform: translateY(-11px) rotate(-45deg);
  }

  /* Remove top divider line on mobile */
  .navbar { border-bottom: none; }
  .nav-links { border-bottom: none; }
}

@media (max-width: 480px) {
  .logo { font-size: 44px; }
}


/* ===== BIOGRAPHY SECTION ===== */
.bio-section {
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  align-items: start;
   justify-items: stretch;
  background-color: #283B40;
  color: #F2F2EB;
  padding: 100px 60px;
 
}

/* Left side — vertical name */
.bio-name-container {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
}

.bio-name {
  font-family: 'MuseoModerno', sans-serif;
  font-size: 85px;
  font-weight: 800;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  text-transform: uppercase;
  color: #F2F2EB;
  letter-spacing: 3px;
  align-items: center;
}

/* Center column: biography text */
.bio-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start; /* left-align all content */
  text-align: left;
  max-width: 800px;
}

/* ABOUT heading */
.bio-text h3 {
  font-family: 'Monda', sans-serif;
  font-size: 20px;
  font-weight: 600;
  color: #8DA1A6;
  letter-spacing: 1px;
  margin-bottom: 20px;
  text-align: left;
}

/* Paragraphs */
.bio-text p {
  font-family: 'Monda', sans-serif;
  font-size: 16px;
  line-height: 1.8;
  opacity: 0.9;
  margin-bottom: 16px;
  text-align: left;
}

.bio-images {
  display: flex;
  flex-direction: column;
  justify-content: space-between; /* Stretch images evenly */
  align-items: center;
  height: auto; /* Match the height of the bio text */
  gap: 18px; /* Small, even gap between images */
}

.bio-images img {
  width: 100%;
  max-width: 250px;
  max-height: 240px;
  border-radius: 12px;
  object-fit: cover;
  flex: 1; /* Make each image take up equal vertical space */
  filter: brightness(0.9) contrast(1.05);
  transition: transform 0.3s ease;
}

.bio-images img:hover {
  transform: scale(1.03);
}
/* CONTACT button — aligned right under text */
.bio-text .cta-btn {
  align-self: flex-end; /* pushes to the right */
  margin-top: 30px;
  width: 180px;
  height: 42px;
  font-size: 15px;
  border: 2px solid #F2F2EB;
  background: transparent;
  color: #F2F2EB;
  font-family: 'Monda', sans-serif;
  font-weight: 600;
  border-radius: 100px;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.bio-text .cta-btn:hover {
  background: #F2F2EB;
  color: #8DA1A6;
}

/* Responsive */
@media (max-width: 900px) {
  .bio-images {
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
    height: auto;
    gap: 18px;
  }

  .bio-images img {
    max-width: 200px;
    flex: none;
  }
}


/* Responsive */
@media (max-width: 1000px) {
  .bio-section {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 80px 40px;
  }

  .bio-name {
    writing-mode: horizontal-tb;
    transform: none;
    font-size: 64px;
    margin-bottom: 20px;
  }

  .bio-images {
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 40px;
  }

  .bio-images img {
    width: 200px;
  }
}

.cta-btn.small {
  width: clamp(180px, 30vw, 250px);
  height: clamp(34px, 4.5vh, 40px);
  font-size: clamp(13px, 2.8vw, 16px);
}

@media (max-width: 768px) {

  .bio-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 60px 16px;
  }

  .bio-name-container {
    width: 100%;
    justify-content: center;
  }

  .bio-name {
    writing-mode: horizontal-tb;
    transform: none;
    font-size: 42px;
    text-align: center;
  }

  .bio-text {
    width: 100%;
    max-width: 100%;
    text-align: center;
    align-items: center;
  }

  .bio-images {
    width: 100%;
    height: auto;
    justify-content: center;
  }
}



/* ===== FOOTER ===== */
.footer {
  position: relative;
  background: url('../resources/pics/hero.webp') center/cover no-repeat;
  color: #fff;
  padding: 120px 60px 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  overflow: hidden;
  margin: 0;
}

/* Centered logo */
.footer-logo {
  position: absolute;
  top: 40px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: auto;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.4));
}

/* Footer inner grid */
.footer-inner {
  width: 100%;
  max-width: 1300px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 80px;
}

/* Left section */
.footer-left {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.footer-group h3 {
  font-family: 'Monda', sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: #8DA1A6;
  margin-bottom: 10px;
  letter-spacing: 1px;
}

.social-icons {
  display: flex;
  gap: 14px;
}

.social-icons img {
  width: 24px;
  height: 24px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.social-icons img:hover {
  transform: scale(1.15);
  opacity: 0.8;
}

/* Email */
.email {
  font-family: 'Monda', sans-serif;
  font-size: 14px;
  color: #F2F2EB;
  letter-spacing: 0.5px;
}
.email a {
  color: #F2F2EB;
  text-decoration: none;
  transition: color 0.3s ease, text-shadow 0.3s ease;
}

.email a:hover {
  color: #8DA1A6; /* same blue as your section headers */
  text-shadow: 0 0 6px rgba(75, 84, 212, 0.6);
}


/* Right section */
.footer-right {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.contact-img {
  width: 250px;
  height: 250px;
  object-fit: cover;
  border-radius: 16px;
  filter: drop-shadow(0 6px 10px rgba(0,0,0,0.4));
}

.contact-btn {
  border: 1.5px solid #fff;
  background: transparent;
  color: #fff;
  font-family: 'Monda', sans-serif;
  font-weight: 600;
  letter-spacing: 1px;
  padding: 8px 40px;
  border-radius: 999px;
  cursor: pointer;
  width: 250px;
  transition: all 0.3s ease;
}

.contact-btn:hover {
  background: #fff;
  color: #8DA1A6;
}

/* Footer bottom */
.footer-bottom {
  width: 100%;
  text-align: center;
  margin-top: 60px;
}

.footer-line {
  width: 180px;
  height: 1px;
  background: #fff;
  border: none;
  margin: 0 auto 20px;
}

.footer-bottom p {
  font-size: 14px;
  letter-spacing: 0.5px;
  opacity: 0.9;
  line-height: 1.6;
}



/* ===== Responsive ===== */
@media (max-width: 900px) {
  .footer-inner {
    flex-direction: column;
    gap: 40px;
    text-align: center;
  }

  .footer-left {
    align-items: center;
  }

  .footer-right {
    margin-top: 30px;
  }
}
@media (max-width: 1200px) {
  .bio-section {
    grid-template-columns: 1fr;
    padding: 80px 40px;
  }
}
@media (max-width: 1200px) {
  .bio-text {
    max-width: 100%;
    align-items: center;
    text-align: center;
  }

  .bio-text p,
  .bio-text h3 {
    text-align: center;
  }
}
@media (max-width: 600px) {

  .details-section {
    padding: 50px 14px;
  }

  .details-inner {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    width: 100%;
    gap: 24px;
  }

  .details-left,
  .details-right {
    width: 100%;
    align-items: center;
    text-align: center;
  }

  .details-image {
    width: 100%;
    max-width: 300px;
    height: auto;
  }

  .details-blurb {
    max-width: 100%;
  }
}
