/* ===== GLOBAL THEME (Dark Blue + White Background) ===== */
* {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
      font-family: "Segoe UI", "Arial", sans-serif;
    }

    body { 
    margin: 0; 
    padding: 0; 
    background-color: #ffffff; 
    color: #1a2332;
  }

  .page-header {
    background: #1a2332;
    color: white;
    text-align: center;
    padding: 30px 20px;
    margin-bottom: 40px;
  }

  .page-header h1 {
    font-size: 32px;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin: 0;
  }

    /* ===== Header & Banner ===== */
    .banner {
      width: 100%;
      height: 280px;
      display: flex;
      justify-content: center;
      align-items: center;
      background: #1a2332;
      overflow: hidden;
      border-bottom: 3px solid #1a2332;
    }

    .banner img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      opacity: 0.9;
    }

    .header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 20px 60px;
      background: #ffffff;
      border-bottom: 1px solid #e5e5e5;
      box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    }

    .logo img {
      height: 70px;
    }

    .search-login {
      display: flex;
      align-items: center;
      gap: 15px;
    }

    .search-login input {
      padding: 10px 20px;
      border: 1px solid #d0d0d0;
      border-radius: 4px;
      width: 250px;
      font-size: 14px;
      transition: border-color 0.3s;
    }

    .search-login input:focus {
      outline: none;
      border-color: #1a2332;
    }

    .search-login button {
      padding: 10px 24px;
      background: #1a2332;
      color: white;
      border: none;
      border-radius: 4px;
      cursor: pointer;
      font-weight: 500;
      font-size: 14px;
      transition: background 0.3s;
    }

    .search-login button:hover {
      background: #2d3e50;
    }

    .search-login span {
      color: #1a2332;
      font-weight: 500;
      font-size: 14px;
    }

    /* ===== Navigation ===== */
    nav {
      display: flex;
      justify-content: center;
      background: #1a2332;
      border-bottom: 3px solid #1a2332;
    }

    nav ul {
      list-style: none;
      display: flex;
    }

    nav ul li {
      position: relative;
    }

    nav ul li a {
      display: block;
      padding: 16px 28px;
      color: white;
      text-decoration: none;
      font-weight: 500;
      font-size: 15px;
      transition: background 0.3s;
      letter-spacing: 0.3px;
    }

    nav ul li a:hover {
      background: #2d3e50;
    }

    nav ul li ul {
      position: absolute;
      top: 100%;
      left: 0;
      background: #1a2332;
      display: none;
      min-width: 220px;
      box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    }

    nav ul li:hover ul {
      display: block;
    }

    nav ul li ul li a {
      padding: 14px 22px;
      font-size: 14px;
      border-bottom: 1px solid rgba(255,255,255,0.1);
    }

    nav ul li ul li:last-child a {
      border-bottom: none;
    }

    nav ul li a.active {
      background-color: #2d3e50;
      color: white;
    }

/* ===== MAP SECTION ===== */
.map-container {
  max-width: 1200px;
  margin: 40px auto;
  padding: 20px;
}

.map-container iframe {
  width: 100%;
  height: 500px;
  border: 0;
  display: block;
  margin: 0 auto;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}



/* ===== ABOUT US SECTION ===== */
.aboutUs-container {
  max-width: 1200px;
  margin: 50px auto;
  padding: 30px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
}

.aboutUs {
  background: #1a2332; /* ✅ Biru gelap */
  border-radius: 16px;
  padding: 30px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
  text-align: center;
  color: #ffffff; /* ✅ Semua tulisan dalam box jadi putih */
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.aboutUs:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.3);
  background: #2d3e50; /* ✅ Lebih cerah bila hover */
}

.aboutUs h1 {
  font-size: 1.8rem;
  margin-bottom: 15px;
  color: #ffffff; /* ✅ Putih */
  letter-spacing: 0.5px;
}

.aboutUs p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: #f2f2f2; /* ✅ Putih lembut untuk kontras */
  margin: 10px 0;
  text-align: center;
}

/* Responsive grid (3 columns on large screens) */
@media (min-width: 900px) {
  .aboutUs-container {
    grid-template-columns: repeat(3, 1fr);
  }
}


/* ===== PRODUCT MODAL ===== */
.product-modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  justify-content: center;
  align-items: center;
}

.product-modal-content {
  background: #ffffff;
  padding: 25px;
  border-radius: 12px;
  width: 400px;
  text-align: center;
  position: relative;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
}

.product-modal-content img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
}

.product-modal-content h3 {
  margin-bottom: 10px;
  color: #1a2332;
  font-size: 1.4rem;
}

.product-modal-content p {
  font-size: 15px;
  margin-bottom: 20px;
  color: #444;
}

.product-modal-content button {
  padding: 10px 22px;
  background: #1a2332;
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.3s;
  font-weight: 500;
}

.product-modal-content button:hover {
  background: #2d3e50;
}

.close {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 22px;
  cursor: pointer;
  color: #333;
}

/* ===== LOGIN / REGISTER MODAL ===== */
.auth-modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  justify-content: center;
  align-items: center;
}

.auth-modal-content {
  background: #ffffff;
  padding: 25px;
  border-radius: 12px;
  width: 350px;
  text-align: center;
  position: relative;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
}

.auth-modal-content h2 {
  margin-bottom: 15px;
  color: #1a2332;
}

.auth-modal-content input {
  width: 90%;
  padding: 10px;
  margin: 10px 0;
  border: 1px solid #ccc;
  border-radius: 8px;
  transition: border-color 0.3s;
}

.auth-modal-content input:focus {
  border-color: #1a2332;
}

.auth-modal-content button {
  width: 100%;
  padding: 10px;
  margin-top: 10px;
  border: none;
  border-radius: 8px;
  background: #1a2332;
  color: white;
  cursor: pointer;
  font-size: 16px;
  font-weight: 500;
  transition: 0.3s;
}

.auth-modal-content button:hover {
  background: #2d3e50;
}

.toggle-link {
  margin-top: 10px;
  display: block;
  color: #1a2332;
  cursor: pointer;
  font-size: 14px;
  text-decoration: underline;
}

/* ===== UTILITY ===== */
.text-center {
  text-align: center;
}

.shadow-light {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

   /* footer */
  footer {
    background: linear-gradient(135deg, #0f1923 0%, #1a2332 50%, #152238 100%);
    color: white;
    padding: 50px 20px 20px;
    font-family: "Segoe UI", Arial, sans-serif;
    position: relative;
    overflow: hidden;
  }

  footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #5da8ff, #9bccff, #5da8ff);
  }

  .footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    text-align: center;
  }

  .footer-section h3 {
    font-weight: 700;
    margin-bottom: 20px;
    color: #9bccff;
    font-size: 20px;
    letter-spacing: 0.5px;
    position: relative;
    display: inline-block;
  }

  .footer-section h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, transparent, #5da8ff, transparent);
    border-radius: 2px;
  }

  .footer-section p {
    line-height: 1.9;
    color: #d0dce8;
    font-size: 14.5px;
    margin-top: 15px;
  }

  .footer-section a {
    color: #93bee9;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
  }

  .footer-section a:hover {
    color: #5da8ff;
    text-decoration: underline;
  }

  .social-icons {
    margin: 25px 0;
    display: flex;
    justify-content: center;
    gap: 15px;
  }

  .social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: rgba(93, 168, 255, 0.1);
    border: 2px solid rgba(93, 168, 255, 0.3);
    border-radius: 50%;
    color: #9bccff;
    font-size: 20px;
    transition: all 0.4s ease;
  }

  .social-icons a:hover {
    background: #5da8ff;
    color: white;
    border-color: #5da8ff;
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 8px 20px rgba(93, 168, 255, 0.4);
  }

  .footer-bottom {
    margin-top: 40px;
    padding-top: 25px;
    border-top: 1px solid rgba(93, 168, 255, 0.2);
  }

  .footer-bottom small {
    color: #8fa8c4;
    font-size: 13px;
    letter-spacing: 0.3px;
  }

  @media (max-width: 480px) {
    footer {
      padding: 40px 15px 15px;
    }

    .banner {
    height: 180px;
  }
    
    .footer-section h3 {
      font-size: 18px;
    }
    
    .footer-section p {
      font-size: 13.5px;
    }
    
    .social-icons a {
      width: 42px;
      height: 42px;
      font-size: 18px;
    }
    
    .footer-bottom {
      margin-top: 30px;
      padding-top: 20px;
    }
  }

  @media (max-width: 600px) {
    footer {
      padding: 40px 15px 15px;
    }

    .banner {
    height: 180px;
  }
    
    .footer-section h3 {
      font-size: 18px;
    }
    
    .footer-section p {
      font-size: 13.5px;
    }
    
    .social-icons a {
      width: 42px;
      height: 42px;
      font-size: 18px;
    }
    
    .footer-bottom {
      margin-top: 30px;
      padding-top: 20px;
    }
  }

  @media (max-width: 768px) {
    .f1004modal-content {
      flex-direction: column;
      padding: 20px;
    }

 .header {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 15px;
  }

  .banner {
    height: 180px;
  }
  

  .logo img {
    height: 60px;
    margin-bottom: 10px;
  }

  .search-login {
    flex-direction: column;
    align-items: center;
    width: 100%;
    gap: 10px;
  }

  .search-login input {
    width: 90%;
    max-width: 320px;
    text-align: center;
  }

  .search-login button {
    width: 150px;
    text-align: center;
  }
    .f1004modal-left {
      flex: 1 1 auto;
      width: 100%;
    }

    .btn-group {
      flex-direction: column;
    }
    
    nav ul {
    flex-direction: row;       
    justify-content: center;
    flex-wrap: nowrap;          
    gap: 5px;
  }

  nav ul li a {
   font-size: 12px;         
    padding: 6px 10px; 
  }

  nav ul li a.active {
    background: #2d3e50;
    color: #fff;
    border-radius: 6px;
  }
}

@media (max-width: 1024px) {
    .f1004modal-content {
      flex-direction: column;
      padding: 20px;
    }

    .banner {
    height: 180px;
  }

 .header {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 15px;
  }
  

  .logo img {
    height: 60px;
    margin-bottom: 10px;
  }

  .search-login {
    flex-direction: column;
    align-items: center;
    width: 100%;
    gap: 10px;
  }

  .search-login input {
    width: 90%;
    max-width: 320px;
    text-align: center;
  }

  .search-login button {
    width: 150px;
    text-align: center;
  }
    .f1004modal-left {
      flex: 1 1 auto;
      width: 100%;
    }

    .btn-group {
      flex-direction: column;
    }
    
    nav ul {
    flex-direction: row;       
    justify-content: center;
    flex-wrap: nowrap;          
    gap: 5px;
  }

  nav ul li a {
   font-size: 12px;         
    padding: 6px 10px; 
  }

  nav ul li a.active {
    background: #2d3e50;
    color: #fff;
    border-radius: 6px;
  }
}