/* Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #fdfdfd;
  color: #333;
  line-height: 1.6;
  padding: 1rem;
}

/* Navigation Bar */
.navbar {
  background-color: #fff;
  padding: 1rem;
  border-bottom: 1px solid #ddd;
  position: sticky;
  top: 0;
  z-index: 1000;
}

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

.logo {
  font-weight: bold;
  font-size: 1.2rem;
  
}

.logo img{
  height: 58px;
}
.nav-links {
  display: none;
  flex-direction: column;
  gap: 1rem;
  width: 100%;
}

.nav-links a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
}

.nav-toggle {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
}

/* 🔧 Desktop styles */
@media (min-width: 768px) {
  .nav-links {
    display: flex !important;
    flex-direction: row;
    gap: 2rem;
    width: auto;
  }

  .nav-toggle {
    display: none;
  }
}


/* Hero Section */
.hero {
  text-align: center;
  margin-top: 2rem;
}

.hero h2 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1rem;
  margin-bottom: 1.5rem;
}

.hero img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Contact Form */
.contact-section {
  margin-top: 3rem;
  max-width: 100%;
}

.contact-section h3 {
  text-align: center;
  margin-bottom: 1.5rem;
}

form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

label {
  font-weight: bold;
}

input,
textarea {
  padding: 0.75rem;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 1rem;
  resize: vertical;
}

button {
  background-color: #1a1a1a;
  color: white;
  border: none;
  padding: 0.75rem;
  border-radius: 5px;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.3s;
}

button:hover {
  background-color: #333;
}

/* Footer */
footer {
  text-align: center;
  padding: 1rem;
  background-color: #1a1a1a;
  color: white;
  margin-top: 2rem;
}

/* Desktop Enhancements (min-width) */
@media (min-width: 768px) {
  body {
    padding: 0;
  }

  .navbar {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
  }

  .navbar h1 {
    font-size: 1.5rem;
    margin-bottom: 0;
    text-align: left;
  }

  .nav-links {
    flex-direction: row;
  }

  .contact-section {
    max-width: 600px;
    margin: 0 auto;
  }

  .hero h2 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1.1rem;
  }

  .hero img {
    max-width: 800px;
  }
}

.video-hero {
  position: relative;
  height: 60vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-align: center;
}

.bg-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  /* darker overlay for text contrast */
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  padding: 1rem;
}

@media (max-width: 768px) {
  .bg-video {
    /* display: none; */
  }

  .video-hero {
    background-color: #333;
    color: white;
    height: auto;
    padding: 2rem 1rem;
  }
}




.exhibits {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  padding: 2rem 1rem;
}

.exhibit-card {
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: center;
  padding-bottom: 1rem;
}

.exhibit-card img {
  width: 100%;
  height: auto;
}

.exhibit-card h3 {
  margin-top: 1rem;
  font-size: 1.2rem;
}

.exhibit-card p {
  padding: 0 1rem;
  font-size: 1rem;
  margin-top: 0.5rem;
}

@media (min-width: 768px) {
  .exhibits {
    grid-template-columns: repeat(3, 1fr);
    padding: 3rem 2rem;
  }
}

.about-section {
  background-color: #f8f8f8;
  padding: 3rem 1rem;
  text-align: center;
}

.about-section h2 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  color: #1a1a1a;
}

.about-section p {
  max-width: 800px;
  margin: 0 auto;
  font-size: 1.1rem;
  line-height: 1.8;
  color: #444;
}

@media (min-width: 768px) {
  .about-section {
    padding: 4rem 2rem;
  }

  .about-section h2 {
    font-size: 2rem;
  }
}


.hero {
  background-color: #000;
  /* already has video background */
}

.about-section {
  background-color: #f8f8f8;
}

.exhibits {
  background-color: #fff;
}

.contact-section {
  background-color: #f0f0f0;
}

footer {
  background-color: #1a1a1a;
}


.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 2rem;
  cursor: pointer;
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    background-color: #1a1a1a;
    width: 100%;
    position: absolute;
    top: 60px;
    left: 0;
    z-index: 100;
  }

  .nav-links.show {
    display: flex;
  }

  .navbar {
    position: relative;
  }
}

@media (min-width: 768px) {
  .navbar {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    position: sticky;
    top: 0;
    z-index: 999;
  }

  .nav-links {
    display: flex;
    flex-direction: row;
    gap: 1.5rem;
    position: static;
    background: none;
  }
}

.about-content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: center;
}

.about-image img {
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  width: 100%;
  max-width: 400px;
  height: auto;
}

.about-text {
  text-align: center;
}

@media (min-width: 768px) {
  .about-content {
    flex-direction: row;
    justify-content: center;
    text-align: left;
  }

  .about-text {
    max-width: 500px;
  }
}

.carousel-section {
  background-color: #fff;
  padding: 3rem 1rem;
  text-align: center;
}

.carousel-section h2 {
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
}





.carousel {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  overflow: hidden;
  /* height: 400px; */
  /* 🔒 Fixed height */
}

.carousel-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
  height: 100%;
  /* ensure consistent height */
}

.carousel-track-container {
  overflow: hidden;
}


.carousel-slide {
  min-width: 100%;
}

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

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 2rem;
  background: rgba(0, 0, 0, 0.3);
  color: white;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 2;
  border-radius: 50%;
}

.carousel-btn:hover {
  background: rgba(0, 0, 0, 0.6);
}

.carousel-btn.prev {
  left: 10px;
}

.carousel-btn.next {
  right: 10px;
}

.carousel-image-container {
  position: relative;
}

.carousel-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent);
  color: white;
  padding: 1rem;
  box-sizing: border-box;
  border-radius: 0 0 10px 10px;
}

.carousel-caption h3 {
  margin: 0 0 0.3rem;
  font-size: 1.2rem;
}

.carousel-caption p {
  margin: 0;
  font-size: 0.95rem;
}

@media (max-width: 768px) {
  .carousel-caption {
    padding: 0.5rem;
  }

  .carousel-caption h3 {
    font-size: 1rem;
  }

  .carousel-caption p {
    font-size: 0.85rem;
  }
}



.carousel-slide {
  min-width: 100%;
  height: 100%;
}

.carousel-image-container {
  position: relative;
  width: 100%;
  height: 100%;
}

.carousel-image-container img {
  object-fit: cover;
  width: 100%;
  height: 100%;
  display: block;
  border-radius: 10px;
}

.carousel-slide {
  min-width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-image-container {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 10px;
}

.about-section {
  background-color: #f2f2f2;
  padding: 3rem 1rem;
}

.carousel-section {
  background-color: #ffffff;
  padding: 3rem 1rem;
}

.exhibits {
  background-color: #fdf6ec;
  padding: 3rem 1rem;
}

.contact-section {
  background-color: #eef6f9;
  padding: 3rem 1rem;
}


footer {
  background-color: #1a1a1a;
  color: white;
  padding: 2rem 1rem;
}

.about-section {
  position: relative;
  height: auto;
  min-height: 500px;
  color: white;
  overflow: hidden;
  padding: 3rem 1rem;
}

.about-bg-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.about-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7); /* darkens video for contrast */
  z-index: 1;
}

.about-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
  padding: 2rem 1rem;
  color: white;
}

.about-text {
  flex: 1;
}


/* Desktop layout */
@media (min-width: 768px) {
  .about-content {
    flex-direction: row;
    align-items: center;
    color: white;
  }
}

.about-text h2,
.about-text p {
  color: #ffffff; /* ✅ Ensure both are explicitly white */
}


.map-container {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  height: 0;
  overflow: hidden;
  border-radius: 10px;
  margin: 2rem 0;
}

.map-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.social-icons {
  margin: 1rem 0;
}
.social-icons a {
  display: inline-block;
  margin: 0 0.5rem;
  font-size: 1.5rem;
  color: #fff;
  transition: transform 0.3s ease, color 0.3s ease;
}
.social-icons a:hover {
  transform: scale(1.2);
  color: #ffcc00;
}

.origin-section {
  background-color: #f5f0e6;
  color: #222;
  padding: 4rem 1.5rem;
  text-align: center;
}
.origin-content {
  max-width: 800px;
  margin: 0 auto;
}
.origin-content h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  font-weight: bold;
}
.origin-content p {
  font-size: 1.1rem;
  line-height: 1.6;
}
