body, html {
  margin: 0;
  padding: 0;
  font-family: 'Montserrat', sans-serif;
}

.main-content {
  transition: opacity 0.4s ease;
  opacity: 1;
  pointer-events: auto;
}

.fade-in-main {
  animation: fadeInPage 0.4s ease forwards;
}

@keyframes fadeInPage {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.nav-links a.active {
  color: #0dc0fc; /* or whatever highlight color you want */
}

.overlay-content a.active {
  color: #0dc0fc
}
.navbar.scrolled .nav-links a.active {
  color: #0dc0fc; /* same color when scrolled */
}


body.other .nav-links a {
  color: #0B0140; /* dark blue */
}

/* Also make sure hover color stays consistent */
body.other .nav-links a:hover {
  color: #0dc0fc; /* your hover color */
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 40px;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  transition: background-color 0.3s ease;
  z-index: 1000;
  color: #fff;
}




.navbar.scrolled {
  background-color: rgba(255, 255, 255, 1);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  border-bottom: 1px solid rgba(0, 0, 0, 0.1); /* very light line */
  transition: border-bottom 0.3s ease, background-color 0.3s ease;
}

.navbar.scrolled::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 8px;
  pointer-events: none;
  background: linear-gradient(to bottom, rgba(0,0,0,0.1), transparent);
}


.nav-inner {
  display: flex;
  align-items: center;
  width: 100%;
  position: relative;
}

.logo {
  height: 120px;  /* Or whatever fits your design */
  width: auto;   /* Maintain aspect ratio */
  transition: height 0.3s ease; /* Smooth transition for height */
}

.navbar.scrolled .logo {
  height: 60px; /* Shrinks when scrolled */
}
.nav-links {
  display: flex;
  gap: 30px;
  margin-right: 100px;
}

.nav-links a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.navbar.scrolled .nav-links a {
  color: #0B0140; /* Your dark color */
}


.nav-links a:hover {
  color: #0dc0fc; /* or whatever color you like */
}

.navbar.scrolled .nav-links a:hover {
  color: #0dc0fc; /* Example hover color when scrolled */
}


.hamburger {
  font-size: 3rem;
  background: none;
  border: none;
  color: #0B0140;
  cursor: pointer;
  display: none; /* hidden on desktop */
}

.hamburger.scrolled {
  color: #0B0140; /* new color when scrolled */
}

/* Add this to what we had before */

.overlay-nav {
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background: #0B0140;
  display: flex;
  flex-direction: column;
  align-items: center; /* keep center horizontally */
  padding-top: 50px;   /* push content down */
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}


.overlay-nav.active {
  opacity: 1;
  pointer-events: auto;
}

.overlay-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 100px; /* space between logo and links */
}


.overlay-content a {
  font-size: 2rem;
  color: #fff; 
  text-decoration: none;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.4s ease;
  margin-top: 50px; /* push links down below logo */
}

.overlay-nav.active .overlay-content a {
  opacity: 1;
  transform: translateY(0);
}



.overlay-content a:nth-child(1) { transition-delay: 0.2s; }
.overlay-content a:nth-child(2) { transition-delay: 0.4s; }
.overlay-content a:nth-child(3) { transition-delay: 0.6s; }
.overlay-content a:nth-child(4) { transition-delay: 0.8s; }

.overlay-content a:hover {
  text-decoration: underline;
}


.overlay-logo {
  position: absolute;
  top: 20px;   /* higher than 20px */
  height: 120px;  /* Or whatever fits your design */
  width: auto;   /* Maintain aspect ratio */
  margin-bottom: 40px;
  animation: slideDown 0.5s ease forwards;
}

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}

.close-btn {
  position: absolute;
  top: 40px;
  right: 40px;
  font-size: 5rem;
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
}

@media (max-width: 768px) {
  .nav-inner {
    justify-content: center; /* centers logo by default */
  }

  .nav-links {
    display: none;
  }

  .hamburger {
    display: block;
    position: absolute;
    right: 0; /* stay top right */
    margin-right: 40px;
  }
  .navbar {
    padding: 20px 0px;
  }


}






.masthead {
  height: 100vh; /* full viewport height */
  width: 100%;
  background: url('images/gusi\ finale\ final\ finale.jpg') center center/cover no-repeat;
  position: relative;
  color: white;
}

@keyframes fadeSlideUp {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.masthead-bottom-text {
  position: absolute;
  bottom: 60px;
  width: 100%;
  text-align: center;
  font-size: 1.8rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #fff;
  text-shadow: 0 0 6px rgba(0,0,0,0.7);

  animation: fadeSlideUp 1s ease forwards;
  animation-delay: 0.5s; /* half a second delay */
  opacity: 0; /* start hidden, animation brings to 1 */
}


@media (max-width: 768px) {
  .masthead {
    background: url('images/bob\ finale\ copy.jpg') center center/cover no-repeat;
  }  
}







.carousel-section {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 60px 40px;
  background: #f5f5f5;
}

.carousel-container {
  display: flex;
  flex-wrap: wrap;
  max-width: 1200px;
  width: 100%;
}



.carousel {
  position: relative;
  width: 45%;  /* Reduced from 60% */
  max-width: 600px;  /* Smaller max width */
}

.carousel img {
  width: 100%;
  height: auto;
  max-height: 700px;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  transition: opacity 1s ease;  /* Fade effect */
  border-radius: 8px;
}

.carousel img.active {
  opacity: 1;
  position: relative; /* Keep the active one in flow */
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.5);
  border: none;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
  padding: 8px 12px;
}

.carousel-btn.prev {
  left: 10px;
}

.carousel-btn.next {
  right: 10px;
}

.carousel-text {
  flex: 1;
  padding: 20px 40px;
}

.carousel-text h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}

.carousel-text p {
  font-size: 1.1rem;
  line-height: 1.6;
}


.fade-in-section {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-section.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 768px) {
  .carousel-section {
    flex-direction: column;
    padding: 40px 20px;
  }
  .carousel {
    width: 100%;
  }
  .carousel-text {
    padding: 20px 0;
  }
}





.gallery {
  column-count: 4;  /* more columns = smaller images */
  column-gap: 1rem;
  margin-top: 100px;  /* 👈 Add space below nav */
  padding: 0 1rem; /* 👈 Adds left & right gap */
  margin-bottom: 100px;
}


.gallery img {
  width: 100%;
  display: block;
  margin-bottom: 1rem;
  transition: transform 0.3s ease;
}

.gallery img:hover {
  transform: scale(1.05);
}


@media (max-width: 1024px) {
  .gallery {
    column-count: 3;
  }
}

@media (max-width: 768px) {
  .gallery {
    column-count: 2;
  }
}

@media (max-width: 480px) {
  .gallery {
    column-count: 1;
  }
}





/* Popup background */
.popup {
  display: none;
  justify-content: center;
  align-items: center;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.9);
  overflow: hidden;
}

/* Image inside popup */
.popup-content {
  display: block;
  margin: auto;
  max-width: 90%;
  max-height: 80vh;
  box-shadow: 0 0 20px rgba(0,0,0,0.5);
  transition: all 0.3s ease-in-out;
}

/* Close button */
.close {
  position: absolute;
  top: 30px;
  right: 40px;
  color: #fff;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
}

.close:hover {
  color: #bbb;
}

/* Prev/Next buttons */
.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  padding: 16px;
  color: #fff;
  font-weight: bold;
  font-size: 40px;
  user-select: none;
  transition: 0.3s;
  transform: translateY(-50%);
}

.prev {
  left: 20px;
}

.next {
  right: 20px;
}

.prev:hover, .next:hover {
  color: #bbb;
}

/* Responsive adjustments */
@media only screen and (max-width: 768px) {
  .popup-content {
    max-width: 95%;
    max-height: 80%;
  }


  .prev, .next {
    font-size: 30px;
    padding: 12px;
  }

  .close {
    font-size: 30px;
    top: 20px;
    right: 20px;
  }
}



.info-wrapper {
  display: flex;
  justify-content: center;
  align-items: stretch;
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 40px;
  gap: 40px;
}

/* Left side stacked column */
.info-left {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.about-text h2,
.contact-text h2 {
  color: #0B0140;
}

.about-text,
.contact-text {
  padding: 40px;
  margin-bottom: 5px;
  border-radius: 8px;
}

.contact-text {
  margin-bottom: 0;
}

.info-right {
  flex: 0 0 40%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.info-right img {
  width: 100%;
  max-width: 400px;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  object-fit: cover;
}

/* Footer styles remain the same */
.site-footer {
  background: #f0f0f0;
  padding: 5px 2px;
  text-align: center;
}

.footer-content {
  max-width: 1000px;
  margin: 0 auto;
}

.social-icons {
  margin-top: 15px;
}

.social-icons a {
  text-decoration: none;
  color: #270008;
  margin: 0 10px;
  font-size: 2.5rem;
  transition: color 0.3s ease;
}

.social-icons a:hover {
  color: #0dc0fc;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .info-wrapper {
    flex-direction: column;
    padding: 40px 20px;
    gap: 30px;
  }

  .info-left {
    padding: 0;
  }

  .about-text,
  .contact-text {
    padding: 20px;
  }

  .info-right {
    flex: none;
    max-width: 300px;
    margin: 0 auto;
  }

  .info-right img {
    max-width: 300px;
  }
}



.fade-in-right {
  animation: fadeInRight 1.5s ease forwards; /* was 0.4s */
}

.fade-in-left {
  animation: fadeInLeft 1.s ease forwards; /* was 0.4s */
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

