/* Menu Toggle Button */
.menu-toggle {
  display: none;
  position: fixed;
  top: 20px;
  left: 20px;
  z-index: 10000;
  background-color: rgba(45, 45, 45, 0.9);
  border: 2px solid #667eea;
  color: #e9ecef;
  font-size: 1.5rem;
  padding: 10px 15px;
  cursor: pointer;
  border-radius: 5px;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  opacity: 0;
  visibility: hidden;
}

@media (max-width: 768px) {
  .menu-toggle {
    top: 15px;
    left: 15px;
    padding: 8px 12px;
    font-size: 1.3rem;
    border-radius: 4px;
  }
}

@media (max-width: 480px) {
  .menu-toggle {
    top: 12px;
    left: 12px;
    padding: 6px 10px;
    font-size: 1.2rem;
    border-width: 1.5px;
  }
}

.menu-toggle.show {
  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
}

/* Hide menu toggle on desktop */
@media (min-width: 769px) {
  .menu-toggle {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
  }

  .menu-toggle.show {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
  }
}

.menu-toggle:hover {
  background-color: rgba(102, 126, 234, 0.3);
  transform: scale(1.05);
}

.menu-toggle:active {
  transform: scale(0.95);
}

/* Menu Overlay */
.menu-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 9997;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.menu-overlay.active {
  display: block;
  opacity: 1;
}

/* Ensure sidebar doesn't cover content on right */
@media (max-width: 768px) {
  .content-body .sidenav.menu-open {
    z-index: 9998;
  }

  .content-body .content {
    z-index: 1;
    position: relative;
  }
}

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

body {
  margin: 0;
  padding: 0;
  font-size: 30px;
  font-family: "Poppins", "Montserrat", -apple-system, BlinkMacSystemFont,
    "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  text-align: center;
  background-color: #000000e5;
  color: white;
}

.container {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  color: white;
}

/* Content Body with Background */
.content-body {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  flex-grow: 1;
  display: flex;
  flex-direction: row;
}

@media (max-width: 768px) {
  .content-body {
    background-attachment: scroll;
  }
}

/* Main Content Area */
.content-body .content {
  flex-grow: 1;
  overflow: auto;
  padding: 2rem;
  padding-top: 0;
}

.content-body .content h2 {
  margin-bottom: 100px;
  font-size: 3rem;
  font-weight: 300;
  letter-spacing: 0.2em;
  color: #f39f21;
}

.content-body .content img {
  width: 75%;
  max-width: 1200px;
  margin-bottom: 20px;
  cursor: zoom-in;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.content-body .content img:hover {
  transform: scale(1.02);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.7);
}

.content-body .content .video-content {
  width: 100%;
  height: 500px;
  display: block;
  cursor: pointer;
  border-radius: 12px;
  background-color: #000;
  transition: opacity 0.3s ease;
  object-fit: cover;
}

.content-body .content .video-content[poster] {
  object-fit: cover;
}

/* Video Controls Styling */
.video-content::-webkit-media-controls-panel {
  background-color: rgba(0, 0, 0, 0.7);
}

.video-content::-webkit-media-controls-play-button {
  background-color: rgba(102, 126, 234, 0.8);
  border-radius: 50%;
}

.video-content::-webkit-media-controls-current-time-display,
.video-content::-webkit-media-controls-time-remaining-display {
  color: #e9ecef;
}

.video-content::-webkit-media-controls-volume-slider {
  background-color: rgba(102, 126, 234, 0.8);
}

.video-content::-webkit-media-controls-timeline {
  background-color: rgba(102, 126, 234, 0.5);
}

/* Sidebar Navigation */
.content-body .sidenav {
  flex: 2 0 350px;
  overflow: auto;
  padding: 2rem;
  background-color: #121212;
  border-right: 1px solid #1a1a1a;
  font-family: "Poppins", "Montserrat", sans-serif;
}

@media (max-width: 768px) {
  .content-body .sidenav {
    position: fixed;
    left: -220px;
    top: 0;
    height: 100vh;
    z-index: 9998;
    transition: left 0.3s ease;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.5);
    flex: 0 0 220px;
    width: 220px;
  }

  .content-body .sidenav.menu-open {
    left: 0;
  }
}

@media (min-width: 769px) {
  .content-body .sidenav {
    position: relative !important;
    left: 0 !important;
    flex: 2 0 350px;
  }
}

.content-body .sidenav h2 {
  margin-bottom: 2rem;
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  font-family: "Poppins", sans-serif;
  color: #e9ecef;
  border-bottom: none;
}

.content-body .sidenav h2 a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}

.content-body .sidenav h2 a:hover {
  color: #667eea;
}

.content-body .ads {
  flex: 0 0 0px;
  overflow: auto;
}

.sidenav-links ul li a {
  display: block;
  text-decoration: none;
  color: white;
  background-color: rgba(0, 0, 0, 0.6);
  padding: 15px 20px;
  border-radius: 20px;
  transition: all 0.3s ease;
  font-size: 1.2rem;
}

.sidenav-links ul li a:hover {
  background-color: rgba(118, 75, 162, 0.15);
  padding: 20px 25px;
  transform: translateX(10px);
  color: #e9ecef;
}

/* Navigation Links */
.sidenav-links ul {
  list-style: none;
  text-align: left;
}

.sidenav-links ul li {
  margin-bottom: 20px;
}

/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.95);
  z-index: 9999;
  align-items: center;
  justify-content: center;
}

.modal-content {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8);
}

.close-btn {
  position: absolute;
  top: 20px;
  right: 30px;
  color: white;
  font-size: 40px;
  font-weight: 300;
  cursor: pointer;
  z-index: 10000;
  transition: color 0.3s ease, transform 0.3s ease;
  line-height: 1;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background-color: rgba(0, 0, 0, 0.5);
}

.close-btn:hover {
  color: #ff4444;
  transform: rotate(90deg);
  background-color: rgba(0, 0, 0, 0.8);
}

.nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 50px;
  color: white;
  background: rgba(0, 0, 0, 0.5);
  border: none;
  cursor: pointer;
  z-index: 10000;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

#prev-btn {
  left: 20px;
}

#next-btn {
  right: 20px;
}

.nav-btn:hover {
  color: #667eea;
  background: rgba(102, 126, 234, 0.3);
  transform: translateY(-50%) scale(1.1);
}

/* Responsive Design */

@media (max-width: 480px) {
  /* Show menu toggle on mobile */
  .menu-toggle {
    display: block;
  }

  /* Sidebar positioning for mobile */
  .content-body .sidenav {
    position: fixed;
    left: -220px;
    top: 0;
    height: 100vh;
    z-index: 9998;
    transition: left 0.3s ease;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.5);
    flex: 0 0 220px;
  }

  .content-body .sidenav.menu-open {
    left: 0;
  }

  .menu-overlay.active {
    display: block !important;
    opacity: 1;
  }

  .menu-overlay {
    position: absolute !important;
    top: 0;
    left: 0;
  }

  /* Responsive content sizing */
  .content-body .content {
    padding: 1rem;
  }

  .content-body .content h2 {
    margin-bottom: 50px;
    font-size: 1.8rem;
  }

  .content-body .content h3 {
    font-size: 1.3rem;
    margin-bottom: 30px;
  }

  /* Scale images for mobile */
  .content-body .content img {
    width: 90%;
    max-width: 100%;
    margin-bottom: 15px;
  }

  /* Scale videos for mobile */
  .video-wrapper {
    width: 90%;
    max-width: 100%;
    margin: 0 auto 15px;
  }

  /* Photo gallery responsive */
  .photo-gallery {
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }

  .photo-gallery img {
    width: 100%;
    max-width: 100%;
  }
}

@media (min-width: 481px) and (max-width: 768px) {
  /* Show menu toggle on tablet */
  .menu-toggle {
    display: block;
  }

  /* Sidebar positioning for tablet */
  .content-body .sidenav {
    position: fixed;
    left: -220px;
    top: 0;
    height: 100vh;
    z-index: 9998;
    transition: left 0.3s ease;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.5);
    flex: 0 0 220px;
  }

  .content-body .sidenav.menu-open {
    left: 0;
  }

  .menu-overlay.active {
    display: block !important;
    opacity: 1;
  }

  .menu-overlay {
    position: absolute !important;
    top: 0;
    left: 0;
  }

  /* Responsive content sizing for tablet */
  .content-body .content {
    padding: 1.5rem;
  }

  .content-body .content h2 {
    margin-bottom: 60px;
    font-size: 2.2rem;
  }

  .content-body .content h3 {
    font-size: 1.5rem;
    margin-bottom: 40px;
  }

  /* Scale images for tablet */
  .content-body .content img {
    width: 85%;
    max-width: 100%;
    margin-bottom: 18px;
  }

  /* Scale videos for tablet */
  .video-wrapper {
    width: 85%;
    max-width: 100%;
    margin: 0 auto 18px;
  }

  /* Photo gallery responsive */
  .photo-gallery {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
  }

  .photo-gallery img {
    width: 100%;
    max-width: 100%;
  }
}



.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 55px;
  height: 55px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
  color: white;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.8rem;
  box-shadow: 0 8px 20px rgba(118, 75, 162, 0.4);
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease;
  z-index: 99999;
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  transform: scale(1.15);
  box-shadow: 0 12px 30px rgba(118, 75, 162, 0.7);
}

/* Main Title Styling */
.main-title {
  font-size: 3rem;
  font-weight: 600;
  color: #e9ecef;
  text-align: center;
  margin-top: 2rem;
  letter-spacing: 0.2em;
}

/* Photo Section */
.photo-section {
  background-color: rgba(0, 0, 0, 0.8); 
  padding: 4rem 2rem;
  margin: 2rem auto;
  width: 90%;
  max-width: 1200px;
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  text-align: center;
}

/* Photo Section Title (Main Heading) */
.photo-section h2 {
  font-size: 2.8rem;
  color: #e9ecef;
  margin-bottom: 1rem; 
  letter-spacing: 0.1em;
  font-weight: 500;
  text-transform: uppercase;
  text-align: center;
}

/* Photo Section Subtitle (Subheading) */
.photo-section h3 {
  font-size: 1.5rem;
  color: #e9ecef;
  margin-bottom: 3rem; 
  font-weight: 300;
  letter-spacing: 0.05em;
  font-style: italic;
}


.photo-section h3 + h3 {
  margin-top: 4rem;
}

/* Photo Gallery Layout */
.photo-gallery {
  display: block; 
  width: 100%;
  gap: 20px;
}

/* Styling for Images inside Gallery */
.photo-gallery .image {
  width: 75%; 
  max-width: 1200px; 
  margin-bottom: 20px; 
  cursor: zoom-in;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.photo-gallery .image:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.7);
}

.video-wrapper {
  position: relative;
  width: 75%;
  max-width: 1200px;
  margin: 50px auto;
  border-radius: 20px;
  overflow: hidden;
  cursor: pointer;
  background-color: #000;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.video-wrapper video {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
  border-radius: inherit;
}

/* Play Button Overlay */
.play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90px;
  height: 90px;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  cursor: pointer;
  transition: 0.3s ease;
}

.play-btn:hover {
  background: rgba(255, 255, 255, 1);
}

.play-btn::before {
  content: "";
  position: absolute;
  left: 34px;
  top: 28px;
  border-style: solid;
  border-width: 18px 0 18px 28px;
  border-color: transparent transparent transparent #333;
}

/* Fullscreen Overlay */
#video-overlay {
  position: fixed;
  inset: 0;
  backdrop-filter: blur(20px);
  background: rgba(0, 0, 0, 0.4);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 2000;
  padding: 20px;
  animation: fadeIn 0.3s ease forwards;
}

#video-overlay video {
  width: 90%;
  max-width: 950px;
  max-height: 88vh;
  border-radius: 18px;
  transform: scale(0.85);
  opacity: 0;
  animation: zoomIn 0.35s ease forwards;
}

/* Close Button */
#close-video {
  position: absolute;
  top: 20px;
  right: 25px;
  font-size: 45px;
  color: white;
  cursor: pointer;
  z-index: 3000;
  text-shadow: 0 0 8px rgba(0, 0, 0, 0.5);
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes zoomIn {
  from {
    transform: scale(0.65);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

/* Remove box-shadow on hover */
.video-wrapper:hover {
  transform: none;
  box-shadow: none;
}
.header-title {
  font-size: 2.2rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin: 3rem 0 2rem 0;
  color: #e9ecef;
  text-align: center;
  position: relative;
  padding-bottom: 1.5rem;
  display: block;
  transition: all 0.3s ease;
}

.header-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 150px;
  height: 3px;
  background: linear-gradient(90deg, transparent, #f39f21, transparent);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.header-title:nth-of-type(odd)::after {
  background: linear-gradient(90deg, transparent, #667eea, transparent);
}

.header-title:nth-of-type(even)::after {
  background: linear-gradient(90deg, transparent, #764ba2, transparent);
}

.header-title:hover {
  transform: translateY(-3px);
  letter-spacing: 0.15em;
}

.header-title:hover::after {
  width: 200px;
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}
