/* Basic Reset */
* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'Segoe UI', Arial, sans-serif; background: #141414; color: #f3f3f3; line-height: 1.6; }
.container { max-width: 1100px; margin: auto; padding: 0 20px; }

/* Navbar */
.navbar {
    background: #1a1a1a;
    padding: 16px 0;
    position: sticky;
    top: 0;
    z-index: 10;
  }
  .nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
  }
  
  /* Logo and title */
  .logo-img {
    width: 70px;
    height: 70px;
    border-radius: 10px;
    margin-right: 18px;
    object-fit: contain;
    background: #232323;
  }
  .logo {
    font-size: 2rem;
    font-weight: bold;
    letter-spacing: 2px;
    color: #d2c200;
    white-space: nowrap;
  }
  
  /* Navigation Links */
  .nav-links {
    list-style: none;
    display: flex;
    gap: 28px;
    margin: 0;
    padding: 0;
    align-items: center;
  }
  .nav-links li {
    margin: 0;
    padding: 0;
  }
  .nav-links a {
    color: #fff;
    background: #d2c200;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
    border-radius: 5px;
    padding: 8px 18px;
  }
  .nav-links a:hover {
    color: #1a1a1a;
    background: #d2c200;
  }
  
  /* Responsive styles */
  @media (max-width: 900px) {
    .nav-container {
      flex-direction: column;
      align-items: center;
      padding: 0 8px;
    }
    .logo-img {
      margin-right: 0;
      margin-bottom: 8px;
    }
    .logo {
      margin-bottom: 8px;
      font-size: 1.3rem;
      text-align: center;
      white-space: normal;
    }
    .nav-links {
      flex-direction: column;
      gap: 12px;
      width: 100%;
      align-items: center;
      margin-top: 10px;
    }
    .nav-links a {
      width: 100%;
      text-align: center;
      padding: 4px 15px;
    }
  }
  

/* Hero */
.hero { 
  background: url('./asset/img/Banner.jpg') no-repeat center center/cover; 
  min-height: 900px; 
  display: flex; 
  align-items: center; 
  text-align: center;  
  position: relative;
  width: 100%;
}
@media (max-width: 1200px) {
  .hero {
    min-height: 700px;
  }
}
@media (max-width: 900px) {
  .hero {
    min-height: 500px;
    background-position: center top;
  }
  .hero-content {
    padding: 32px 10px;
    max-width: 95vw;
  }
}
@media (max-width: 600px) {
  .hero {
    margin-bottom: -50px;
    min-height: 205px;
    background-size: cover;
    background-position: center top;
  }
  .hero-content {
    padding: 18px 4vw;
    max-width: 99vw;
  }
  .hero h1 {
    font-size: 1.5rem;
  }
  .hero p {
    font-size: 1rem;
  }
}
.hero-content { background: rgba(0,0,0,0.65); padding: 50px 30px; border-radius: 18px; margin: auto; max-width: 600px; }
.hero h1 { font-size: 2.8rem; margin-bottom: 16px; }
.hero p { font-size: 1.2rem; margin-bottom: 32px; }
.btn-primary { background: #d2c200; color: #111; padding: 12px 32px; border: none; border-radius: 6px; font-size: 1rem; font-weight: 600; cursor: pointer; text-decoration: none; transition: background 0.2s; }
.btn-primary:hover { background: #f1e849; }

/* Sections */
section { padding: 70px 0; }
section h2 { text-align: center; margin-bottom: 32px; color: #d2c200; font-size: 2.1rem; }

/* Features */
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 32px; }
.feature-card { background: #232323; border-radius: 14px; padding: 32px 20px; text-align: center; box-shadow: 0 2px 14px rgba(0,0,0,0.12); }
.feature-card img { margin-bottom: 16px; }
.feature-card h3 { color: #e3e300; margin-bottom: 10px; font-size: 1.3rem; }

/* About */
.about-content { display: flex; flex-wrap: wrap; align-items: center; gap: 32px; }
.about-img { flex: 1 1 240px; max-width: 400px; border-radius: 18px; box-shadow: 0 2px 18px rgba(0,0,0,0.24); }
.about-text { flex: 2 1 340px; }
.about-text ul { margin: 18px 0 0 18px; }
.about-text li { margin-bottom: 8px; }

/* Gallery */
.gallery-slider { display: flex; align-items: center; justify-content: center; gap: 18px; }
.gallery-images { position: relative; width: 600px; height: 400px; overflow: hidden; border-radius: 16px; }
.gallery-img { position: absolute; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 0.4s; }
.gallery-img.active { opacity: 1; z-index: 2; }
.gallery-btn { background: #232323; color: #d2c200; border: none; border-radius: 50%; font-size: 1.5rem; width: 44px; height: 44px; cursor: pointer; transition: background 0.2s; }
.gallery-btn:hover { background: #d2c200; color: #232323; }

/* Gallery Section */
.gallery-section {
    padding: 60px 0 0 0;
}
.gallery-section h2 {
    color: #ffe873;
    text-align: center;
    font-size: 2rem;
    margin-bottom: 28px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto 32px auto;
}

.gallery-item {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 14px #2223;
    background: #181818;
    transition: transform 0.22s, box-shadow 0.22s;
}
.gallery-item img {
    width: 100%;
    display: block;
    aspect-ratio: 4/3;
    object-fit: cover;
    transition: transform 0.18s;
}
.gallery-item:hover img {
    transform: scale(1.06);
}
.hidden {
    display: none;
}

/* Load More Button */
.gallery-btn-wrap {
    text-align: center;
}
.gallery-load-more {
    background: #d2c200;
    color: #181818;
    border: none;
    padding: 12px 34px;
    border-radius: 7px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 2px 10px #2222;
    transition: background 0.18s;
}
.gallery-load-more:hover {
    background: #ffe873;
}

/* Responsive */
@media (max-width: 1100px) {
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
@media (max-width: 800px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 500px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    .gallery-section h2 {
        font-size: 1.2rem;
    }
}

/* Video Gallery Section */
.video-gallery-section {
    padding: 60px 0 0 0;
}
.video-gallery-section h2 {
    color: #ffe873;
    text-align: center;
    font-size: 2rem;
    margin-bottom: 28px;
}
.video-gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
    max-width: 850px;
    margin: 0 auto 32px auto;
}
.video-gallery-item {
    border-radius: 12px;
    overflow: hidden;
    background: #181818;
    box-shadow: 0 2px 14px #2223;
}
.video-gallery-item iframe {
    width: 100%;
    height: 280px;
    display: block;
    border-radius: 12px;
}
.hidden { display: none; }

/* Load More Button (reuse gallery style) */
.video-gallery-btn-wrap {
    text-align: center;
}
.gallery-load-more {
    background: #d2c200;
    color: #181818;
    border: none;
    padding: 12px 34px;
    border-radius: 7px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 2px 10px #2222;
    transition: background 0.18s;
    margin-top: 10px;
}
.gallery-load-more:hover { background: #ffe873; }

/* Responsive */
@media (max-width: 900px) {
    .video-gallery-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }
    .video-gallery-item iframe {
        height: 44vw;
        min-height: 200px;
        max-height: 340px;
    }
}
@media (max-width: 600px) {
    .video-gallery-section h2 { font-size: 1.2rem; }
    .video-gallery-item iframe {
        height: 45vw;
        min-height: 150px;
        max-height: 220px;
    }
}


/* Team */
/* Team */
.team-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: center;
}
.team-member {
  background: #232323;
  border-radius: 14px;
  padding: 28px 18px;
  text-align: center;
  width: 200px;
  box-sizing: border-box;
  margin-bottom: 0;
}
.team-member img {
  width: 90px;
  height: 90px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 10px;
  border: 3px solid #d2c200;
}
.team-member h3 {
  margin-bottom: 6px;
}

/* Tablet: 2 per row */
@media (max-width: 850px) {
  .team-grid {
      gap: 22px;
  }
  .team-member {
      width: 45vw;
      max-width: 330px;
      min-width: 180px;
  }
}

/* Mobile: 1 per row */
@media (max-width: 500px) {
  .team-grid {
      flex-direction: column;
      gap: 18px;
      align-items: center;
  }
  .team-member {
      width: 94vw;
      max-width: 340px;
      min-width: 0;
      padding: 18px 6vw;
  }
  .team-member img {
      width: 70px;
      height: 70px;
  }
}


/* Testimonials */
.testimonials-grid { display: flex; gap: 28px; flex-wrap: wrap; justify-content: center; }
.testimonial { background: #232323; border-radius: 10px; padding: 32px 20px; width: 280px; min-height: 120px; }
.testimonial p { font-style: italic; margin-bottom: 12px; color: #f1e849; }
.testimonial span { font-size: 0.96rem; color: #ccc; }

/* Contact */
.contact-form { display: flex; flex-direction: column; max-width: 400px; margin: auto; gap: 18px; }
.contact-form input, .contact-form textarea { padding: 12px; border-radius: 8px; border: none; background: #232323; color: #fff; }
.contact-form textarea { min-height: 100px; resize: vertical; }
.contact-form button { margin-top: 8px; }

/* Footer */
.footer { background: #1a1a1a; padding: 24px 0; text-align: center; color: #d2c200; font-size: 1rem; margin-top: 32px; }

/* Responsive */
@media (max-width: 850px) {
    .about-content { flex-direction: column; }
    .gallery-slider { flex-direction: column; }
    .team-grid, .testimonials-grid { flex-direction: column; align-items: center; }
}

@media (max-width: 600px) {
  .gallery-slider {
    flex-direction: column;
    gap: 10px;
    width: 100vw;
    align-items: center;
  }
  .gallery-images {
    width: 96vw;
    height: 48vw;
    min-height: 180px;
    max-width: 99vw;
    max-height: 60vw;
    border-radius: 10px;
  }
  .gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
  }
  .gallery-btn {
    width: 38px;
    height: 38px;
    font-size: 1.2rem;
  }
}

/* Responsive container */
@media (max-width: 900px) {
  .container {
    max-width: 100vw;
    padding: 0 8px;
  }
}
@media (max-width: 600px) {
  .container {
    max-width: 100vw;
    padding: 0 2vw;
  }
}

/* Section padding and headings */
@media (max-width: 900px) {
  section {
    padding: 40px 0;
  }
  section h2 {
    font-size: 1.5rem;
    margin-bottom: 20px;
  }
}
@media (max-width: 600px) {
  section {
    padding: 24px 0;
  }
  section h2 {
    font-size: 1.2rem;
    margin-bottom: 14px;
  }
}

/* About section */
@media (max-width: 900px) {
  .about-content {
    flex-direction: column;
    gap: 18px;
    align-items: center;
  }
  .about-img {
    max-width: 90vw;
    width: 100%;
    margin: 0 auto;
  }
  .about-text {
    width: 100%;
  }
}

/* Features grid */
@media (max-width: 900px) {
  .features-grid {
    grid-template-columns: 1fr 1fr;
    gap: 18px;
  }
}
@media (max-width: 600px) {
  .features-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .feature-card {
    padding: 18px 8px;
  }
}

/* Testimonials grid */
@media (max-width: 900px) {
  .testimonials-grid {
    flex-direction: column;
    gap: 16px;
    align-items: center;
  }
  .testimonial {
    width: 90vw;
    min-width: 0;
    max-width: 400px;
  }
}

/* Contact form */
@media (max-width: 600px) {
  .contact-form {
    max-width: 99vw;
    padding: 0 2vw;
  }
}

/* Map section */
@media (max-width: 600px) {
  .map-section iframe {
    min-height: 180px;
    height: 40vw;
    max-height: 220px;
  }
}

/* Prevent horizontal scroll */
body, html {
  overflow-x: hidden;
}

@media (max-width: 400px) {
  .logo {
    font-size: 1.1rem;
  }
  .hero-content {
    padding: 10px 2vw;
  }
  .about-img {
    max-width: 98vw;
  }
  .feature-card h3 {
    font-size: 1rem;
  }
}
/* Popup overlay */
.popup {
  display: none;
  position: fixed;
  z-index: 9999;
  padding-top: 60px;
  left: 0; top: 0;
  width: 100%; height: 100%;
  overflow: auto;
  background: rgba(0,0,0,0.9);
}

/* Popup image */
.popup-content {
  margin: auto;
  display: block;
  max-width: 90%;
  max-height: 80vh;
  border-radius: 8px;
}

/* Caption */
#popupCaption {
  margin: 16px auto;
  text-align: center;
  color: #f1f1f1;
  font-size: 16px;
}

/* Close button */
.popup-close {
  position: absolute;
  top: 20px; right: 35px;
  color: #fff;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  transition: color 0.2s;
}
.popup-close:hover { color: #d2c200; }

/* Responsive */
@media (max-width: 600px) {
  .popup-content {
    max-width: 95%;
    max-height: 70vh;
  }
  #popupCaption { font-size: 14px; }
}