/* --- VARIABEL CSS LOBRIN --- */
:root {
  --primary: #222930;
  /* Charcoal / Deep Slate industrial */
  --secondary: #16b3ba;
  /* Tosca / Teal utama dari logo resmi LoBrin */
  --secondary-hover: #129aa0;
  /* Tosca shade gelap untuk hover */
  --secondary-light: #3cd0d7;
  /* Tosca cerah highlight */
  --accent: #e8f8f9;
  /* Ice Tosca / Mint lembut pengganti krem */
  --accent-dark: #0f8287;
  /* Tosca tua untuk kontras */
  --white: #ffffff;
  --light-gray: #f5f9fa;
  --text-dark: #242c33;
  --text-gray: #5a6773;
  --shadow: 0 10px 30px rgba(22, 179, 186, 0.12);
  --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: 12px 0;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo img {
  height: 46px;
  width: auto;
  object-fit: contain;
  display: block;
}

.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;
  color: var(--primary);
}

/* --- HERO SECTION --- */
.hero {
  background:
    linear-gradient(rgba(26, 34, 40, 0.8), rgba(26, 34, 40, 0.8)),
    url("assets/img/hero.webp");
  background-size: cover;
  background-position: center;
  height: 80vh;
  min-height: 520px;
  display: flex;
  align-items: center;
  text-align: center;
  color: var(--white);
  position: relative;
}

.hero-content {
  max-width: 80%;
  margin: 0 auto;
}

.hero-tagline {
  display: inline-block;
  color: var(--secondary-light);
  font-weight: 800;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  font-size: 1rem;
  margin-bottom: 12px;
  background: rgba(22, 179, 186, 0.15);
  padding: 6px 18px;
  border-radius: 50px;
  border: 1px solid rgba(22, 179, 186, 0.35);
}

.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.92;
}

.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(22, 179, 186, 0.35);
}

.btn:hover {
  transform: translateY(-3px);
  background-color: var(--secondary-hover);
  box-shadow: 0 6px 20px rgba(22, 179, 186, 0.45);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--white);
  color: var(--white);
  margin-left: 10px;
  box-shadow: none;
}

.btn-outline:hover {
  background: var(--secondary);
  border-color: var(--secondary);
  color: var(--white);
}

/* --- SECTION STYLES --- */
section {
  padding: 50px 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: 650px;
  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: 35px 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(--secondary);
}

.cat-card h3 {
  margin-bottom: 15px;
}

.cat-card p {
  color: var(--text-gray);
  font-size: 0.95rem;
}

/* --- LOCATIONS (CORE OUTLETS) --- */
#locations {
  background-color: #1a2228;
  color: var(--white);
}

#locations .section-header h2 {
  color: var(--white);
}

#locations .section-header p {
  color: #a0b0be;
}

.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.08);
  transform: translateY(-5px);
  border-color: var(--secondary);
  box-shadow: 0 10px 30px rgba(22, 179, 186, 0.18);
}

.loc-card.featured-card {
  border: 2px solid var(--secondary);
  background: rgba(22, 179, 186, 0.05);
  box-shadow: 0 10px 35px rgba(22, 179, 186, 0.2);
}

.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.25rem;
  margin-bottom: 5px;
}

.loc-badge {
  font-size: 0.75rem;
  background: var(--secondary);
  color: var(--white);
  padding: 3px 10px;
  border-radius: 4px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.loc-badge.badge-flagship {
  background: linear-gradient(135deg, #16b3ba 0%, #0d8b91 100%);
  box-shadow: 0 2px 10px rgba(22, 179, 186, 0.4);
}

.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;
}

/* --- TOMBOL KATALOG OUTLET (TOSCA GRADIENT) --- */
.btn-catalog {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 12px 20px;
  background: linear-gradient(135deg, #16b3ba 0%, #0d8b91 100%);
  color: var(--white);
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: 50px;
  margin-bottom: 15px;
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(22, 179, 186, 0.3);
  text-align: center;
  text-decoration: none;
}

.btn-catalog:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, #32d3da 0%, #13a0a7 100%);
  box-shadow: 0 6px 20px rgba(22, 179, 186, 0.45);
  color: var(--white);
}

.btn-catalog:active {
  transform: translateY(0);
  box-shadow: 0 2px 10px rgba(22, 179, 186, 0.25);
}

.btn-catalog i {
  font-size: 1.05rem;
}

.loc-actions {
  background: rgba(0, 0, 0, 0.25);
  padding: 15px;
  border-radius: 8px;
  text-align: center;
}

.loc-actions p {
  font-size: 0.8rem;
  color: #a0b0be;
  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(--white);
  transform: scale(1.1);
}

/* --- CONTACT & FOOTER --- */
.cta-section {
  background-color: var(--accent);
  text-align: center;
  border-top: 1px solid rgba(22, 179, 186, 0.2);
  border-bottom: 1px solid rgba(22, 179, 186, 0.2);
}

.footer {
  background-color: var(--white);
  color: #777;
  padding: 50px 0 25px;
  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 rgba(22, 179, 186, 0.4);
  border-radius: 8px;
  background: #fff;
}

.partnerSwiper .swiper-slide img:hover {
  transform: scale(1.1);
  border-color: var(--secondary);
  box-shadow: 0 5px 15px rgba(22, 179, 186, 0.2);
}

/* --- 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(--secondary);
  color: var(--white);
  border: none;
  padding: 10px 30px;
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(22, 179, 186, 0.3);
}

.modal-btn:hover {
  background: var(--secondary-hover);
}

/* --- TOP NAVBAR --- */
.top-bar {
  background-color: var(--primary);
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.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.85);
  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;
}

/* --- EQIYU BUTTONS --- */
.btn-eqiyu {
  display: inline-block;
  padding: 10px 20px;
  background-color: #f6ae2d;
  color: var(--white);
  font-weight: 700;
  border-radius: 50px;
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(246, 174, 45, 0.3);
  margin-bottom: 10px;
  width: 100%;
  box-sizing: border-box;
  text-align: center;
}

.btn-eqiyu:hover {
  transform: translateY(-2px);
  background-color: #db9314;
}

/* --- WHATSAPP BUTTONS --- */
.btn-whatsapp {
  background-color: #25D366;
  color: var(--white);
  text-align: center;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp-block {
  width: 100%;
  box-sizing: border-box;
  padding: 10px 20px;
  margin-bottom: 10px;
}

.btn-whatsapp-block:last-child {
  margin-bottom: 0;
}

.btn-whatsapp:hover {
  background-color: #1ebea5;
  color: var(--white);
  transform: translateY(-2px);
}
