/* --- VARIABEL CSS --- */
:root {
  --primary: #2e363e;
  /* Hitam Abu untuk kesan Industrial */
  --secondary: #e6c63f;
  /* Warna Kopi Latte/Gold */
  --accent: #faedcd;
  /* Krem lembut */
  --white: #ffffff;
  --light-gray: #f5f5f5;
  --text-dark: #333333;
  --text-gray: #666666;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  --radius: 12px;
  --transition: all 0.3s ease;
}

/* --- RESET & GLOBAL --- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Roboto", sans-serif;
  color: var(--text-dark);
  background-color: var(--light-gray);
  line-height: 1.6;
}

h1,
h2,
h3,
h4 {
  font-family: "Manrope", sans-serif;
  font-weight: 800;
  color: var(--primary);
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

/* --- HEADER & NAV --- */
header {
  background: var(--white);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 15px 0;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo span {
  color: var(--secondary);
}

.nav-menu {
  display: flex;
  gap: 30px;
}

.nav-link {
  font-weight: 500;
  color: var(--text-dark);
  transition: var(--transition);
  font-size: 0.95rem;
}

.nav-link:hover {
  color: var(--secondary);
}

.mobile-toggle {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
}

/* --- HERO SECTION --- */
.hero {
  background:
    linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
    url("assets/img/hero.jpg");
  background-size: cover;
  background-position: center;
  height: 80vh;
  min-height: 500px;
  display: flex;
  align-items: center;
  text-align: center;
  color: var(--white);
  position: relative;
}

.hero-content {
  max-width: 80%;
  margin: 0 auto;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: var(--white);
  line-height: 1.2;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.btn {
  display: inline-block;
  padding: 12px 30px;
  background-color: var(--secondary);
  color: var(--white);
  font-weight: 700;
  border-radius: 50px;
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(212, 163, 115, 0.4);
}

.btn:hover {
  transform: translateY(-3px);
  background-color: #c49263;
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--white);
  margin-left: 10px;
  box-shadow: none;
}

.btn-outline:hover {
  background: var(--white);
  color: var(--primary);
}

/* --- SECTION STYLES --- */
section {
  padding: 80px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-header h2 {
  font-size: 2.2rem;
  margin-bottom: 10px;
}

.section-header p {
  color: var(--text-gray);
  max-width: 600px;
  margin: 0 auto;
}

/* --- ABOUT & CATEGORIES --- */
.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.cat-card {
  background: var(--white);
  padding: 30px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: var(--transition);
  text-align: center;
  border-bottom: 4px solid transparent;
}

.cat-card:hover {
  transform: translateY(-5px);
  border-bottom-color: var(--secondary);
}

.cat-icon {
  width: 70px;
  height: 70px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.8rem;
  color: var(--primary);
}

.cat-card h3 {
  margin-bottom: 15px;
}

.cat-card p {
  color: var(--text-gray);
  font-size: 0.9rem;
}

/* --- LOCATIONS (CORE REQUEST) --- */
#locations {
  background-color: var(--primary);
  color: var(--white);
}

#locations .section-header h2 {
  color: var(--white);
}

#locations .section-header p {
  color: #aaa;
}

.location-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

@media (max-width: 768px) {
  .location-grid {
    grid-template-columns: 1fr;
  }
}

.loc-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  padding: 30px;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.loc-card:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-5px);
  border-color: var(--secondary);
}

.loc-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 20px;
}

.loc-icon {
  font-size: 1.5rem;
  color: var(--secondary);
}

.loc-info h3 {
  color: var(--white);
  font-size: 1.2rem;
  margin-bottom: 5px;
}

.loc-badge {
  font-size: 0.75rem;
  background: var(--secondary);
  color: var(--primary);
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 700;
  text-transform: uppercase;
}

.loc-details {
  flex-grow: 1;
  margin-bottom: 25px;
}

.detail-item {
  display: flex;
  gap: 12px;
  margin-bottom: 12px;
  color: #ddd;
  font-size: 0.95rem;
}

.detail-item i {
  color: var(--secondary);
  margin-top: 4px;
}

.loc-actions {
  background: rgba(0, 0, 0, 0.2);
  padding: 15px;
  border-radius: 8px;
  text-align: center;
}

.loc-actions p {
  font-size: 0.8rem;
  color: #aaa;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.action-links {
  display: flex;
  justify-content: center;
  gap: 15px;
}

.action-icon {
  color: var(--white);
  font-size: 1.2rem;
  transition: var(--transition);
  background: rgba(255, 255, 255, 0.1);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.action-icon:hover {
  background: var(--secondary);
  color: var(--primary);
}

/* --- CONTACT & FOOTER --- */
.cta-section {
  background-color: var(--accent);
  text-align: center;
}

.footer {
  background-color: var(--white);
  color: #777;
  padding: 40px 0 20px;
  text-align: center;
  font-size: 0.9rem;
}

.footer p {
  margin-bottom: 10px;
}

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: 70px;
    right: -100%;
    width: 80%;
    height: calc(100vh - 70px);
    background: var(--white);
    flex-direction: column;
    padding: 30px;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    transition: 0.3s ease-in-out;
  }

  .nav-menu.active {
    right: 0;
  }

  .mobile-toggle {
    display: block;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .btn-outline {
    margin-left: 0;
  }
}

/* --- PARTNER SLIDER --- */
.partnerSwiper {
  width: 100%;
  padding-bottom: 50px;
}

.partnerSwiper .swiper-slide {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px;
}

.partnerSwiper .swiper-slide img {
  max-width: 150px;
  transition: var(--transition);
  border: 1px solid var(--secondary);
  border-radius: 8px;
  background: #fff;
}

.partnerSwiper .swiper-slide img:hover {
  transform: scale(1.1);
  border-color: var(--secondary);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

/* --- FRAUD WARNING POPUP --- */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  background: var(--white);
  width: 90%;
  max-width: 500px;
  padding: 30px;
  border-radius: var(--radius);
  position: relative;
  text-align: center;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
  transform: translateY(-20px);
  transition: all 0.3s ease;
}

.modal-overlay.active .modal-content {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: 15px;
  right: 15px;
  font-size: 1.5rem;
  cursor: pointer;
  color: #999;
  transition: var(--transition);
}

.modal-close:hover {
  color: var(--primary);
}

.modal-icon {
  font-size: 3rem;
  color: #e74c3c;
  margin-bottom: 20px;
}

.modal-title {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: var(--primary);
}

.modal-text {
  color: var(--text-dark);
  margin-bottom: 25px;
  font-size: 0.95rem;
  line-height: 1.6;
}

.modal-btn {
  background: var(--primary);
  color: var(--white);
  border: none;
  padding: 10px 30px;
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.modal-btn:hover {
  background: #444;
}

/* --- TOP NAVBAR --- */
.top-bar {
  background-color: var(--primary);
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.top-bar-container {
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.top-bar-socials a {
  color: rgba(255, 255, 255, 0.8);
  margin-left: 15px;
  font-size: 0.9rem;
  transition: var(--transition);
}

.top-bar-socials a:hover {
  color: var(--secondary);
}

/* --- TIGHT DOT SPACING --- */
.tight-dot {
  margin-left: -0.25em;
  margin-right: -0.25em;
  display: inline-block;
}
