body {
  margin: 0;
  font-family: "Montserrat", Open Sans, Roboto, Playfair Display;
  scroll-behavior: smooth;
  background: linear-gradient(to bottom, #ffffff, #f4f4f4);
}

/* Navigation */
.site-logo {
  width: 75px;
  height: 75px;
}

.nav-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: black;
  padding: 10px 0;
  z-index: 9999;
  min-height: 80px;
}

.mobile-icon {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 32px;
  cursor: pointer;
  margin: 0 auto;
}

.mobile-menu {
  display: none;
  flex-direction: column;
  background: black;
  padding: 10px 20px;
}

.navbar ul {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 30px;
  margin: 0;
  padding: 0;
}
.name {
  color: white;
  font-size: 20px;
  white-space: nowrap;
}

.navbar a {
  color: white;
  text-decoration: none;
  font-weight: bold;
  font-size: 14px;
}

/* Sections */
.section {
  padding: 100px 20px;
  min-height: 100vh;
}
.name,
h2 {
  font-weight: 700;
  text-align: center;
}

/* Slideshow */
.slideshow-container {
  max-width: 900px;
  margin: auto;
  position: relative;
  padding-top: 50px;
}

.slide img {
  width: 100%;
  border-radius: 10px;
}

.fade {
  animation: fadeEffect 1.5s;
}

@keyframes fadeEffect {
  from {
    opacity: 0.4;
  }
  to {
    opacity: 1;
  }
}

/* About Me */
.about-section {
  background-color: #1a1a1a;
  color: #ffffff;
  padding: 80px 20px;
  text-align: center;
}

.about-heading {
  color: #ffffff;
  font-size: 2rem;
  margin-bottom: 20px;
}

.about-section p {
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.8;
  font-size: 1.4rem;
  font-weight: 400;
}

/* Video */
.video-container {
  position: relative;
  width: 85%;
  max-width: 900px;
  margin: 0 auto;
  padding-bottom: 48%;
  height: 0;
}

.video-container .reel {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 10px;
  background: #000;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

#reel {
  background-color: lightgray;
}

/* Contact */
#contact {
  background-color: #1a1a1a;
  color: white;
}

.icon-container {
  display: flex;
  justify-content: center;
  gap: 50px;
  padding: 40px 0;
  overflow: visible !important;
}

.contact-link {
  display: inline-block !important;
  transition: all 0.3s ease-in-out !important;
  text-decoration: none;
}

.contact-link:hover {
  transform: translateY(-15px) scale(1.1) !important;
}

.glogo,
.rlogo,
.headlogo {
  width: 150px;
  height: auto;
  display: block;
  pointer-events: none;
}

.headlogo {
  width: 200px;
  margin-top: -25px;
}

/* Gallery Page Specifics */
.gallery-body {
  background-color: #1a1a1a;
  color: white;
}

.gallery-heading {
  color: black;
}

.gallery-container {
  padding: 120px 20px 60px;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.gallery-item {
  background: #2a2a2a;
  padding: 15px;
  border-radius: 10px;
  transition: transform 0.3s ease;
}

.gallery-item:hover {
  transform: translateY(-5px);
}

.gallery-item img {
  width: 100%;
  height: auto;
  border-radius: 5px;
  display: block;
}

.download-link {
  display: inline-block;
  margin-top: 15px;
  padding: 10px 20px;
  background-color: white;
  color: black;
  text-decoration: none;
  font-weight: bold;
  border-radius: 5px;
  font-size: 0.9rem;
  transition: background 0.3s;
}

/* Modal Gallery */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.95);
  z-index: 10001; /* Higher than your navbar */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.modal-contents {
  text-align: center;
  max-width: 90%;
}

.modal-contents img {
  max-height: 75vh;
  max-width: 100%;
  border: 3px solid white;
  border-radius: 5px;
}

.modal-actions {
  margin-top: 20px;
  display: flex;
  gap: 15px;
  justify-content: center;
}

.close-x {
  position: absolute;
  top: 20px;
  right: 30px;
  color: white;
  font-size: 50px;
  cursor: pointer;
}

.back-btn {
  background: transparent;
  color: white;
  border: 1px solid white;
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer;
  font-family: "Montserrat", sans-serif;
}

.download-link:hover {
  background-color: lightgray;
}

/* Responsive */

@media (max-width: 768px) {
  .site-logo {
    margin: 0 auto;
  }

  .name {
    text-align: center;

    font-size: 28px;
    margin: 0 auto;
  }

  .mobile-icon {
    display: block;
    margin: 0 auto;
    text-align: center;
  }

  .nav-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  .nav-content ul {
    display: none;
  }

  .mobile-menu {
    display: none;
    flex-direction: column;
    background: black;
    padding: 20px;
    position: relative;
    z-index: 999;
  }
  .mobile-menu a {
    color: white;
    padding: 10px 0;
    text-decoration: none;
    font-size: 18px;
    text-align: center;
  }

  .navbar ul {
    display: none;
  }

  .section {
    padding: 70px 20px;
    min-height: 100vh;
    scroll-margin-top: 95px;
  }

  body.menu-open {
    padding-top: 200px;
    transition: padding-top 0.3s ease;
  }

  .slideshow-section {
    margin-top: 100px;
    min-height: auto;
    align-items: center;
  }

  .slideshow-container {
    padding-top: 50px;
    padding-bottom: 50px;
    width: 100%;
  }

  .slide img {
    height: 70vh;
    object-fit: cover;
  }

  .contact-link:active {
    transform: scale(0.9);
  }

  .icon-container {
    flex-direction: column;
    align-items: center;
    gap: 30px;
  }

  .glogo,
  .rlogo {
    width: 120px;
  }

  .headlogo {
    width: 170px;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }
}
