/* =========================================================
   GLOCKCORE 121 - COFFEE SHOP
   Theme: Modern Black & White / Minimalist Streetwear Cafe
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Syne:wght@700;800&display=swap');

:root {
  --bg-main: #0a0a0a;
  --bg-surface: #121212;
  --bg-card: #161616;
  --bg-card-hover: #1c1c1c;
  --border-subtle: #242424;
  --border-strong: #383838;
  --border-light: #ffffff;
  
  --text-pure: #ffffff;
  --text-high: #f0f0f0;
  --text-muted: #9e9e9e;
  --text-subtle: #636363;
  
  --white: #ffffff;
  --black: #000000;
  
  --font-display: 'Syne', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
  
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  
  --shadow-card: 0 10px 30px rgba(0, 0, 0, 0.6);
  --shadow-glow: 0 0 25px rgba(255, 255, 255, 0.12);
  --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Base Reset */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-main);
  color: var(--text-high);
  line-height: 1.6;
  overflow-x: hidden;
  background-image: 
    radial-gradient(circle at 10% 20%, rgba(255, 255, 255, 0.03) 0%, transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(255, 255, 255, 0.02) 0%, transparent 50%);
  background-attachment: fixed;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Typography */
h1, h2, h3, h4, .brand-text {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-pure);
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-main);
}
::-webkit-scrollbar-thumb {
  background: #333333;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #555555;
}

/* Layout Utilities */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Navigation Bar */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(10, 10, 10, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-subtle);
  padding: 1rem 0;
  transition: var(--transition);
}

.navbar .nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-wrapper {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.brand-logo {
  height: 40px;
  width: auto;
  object-fit: contain;
  border-radius: 6px;
  background: #ffffff;
  padding: 3px 8px;
}

.brand-title {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.brand-title span {
  color: var(--text-muted);
  font-weight: 400;
  font-size: 0.85em;
  margin-left: 2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-muted);
  position: relative;
  padding: 0.5rem 0;
}

.nav-link:hover,
.nav-link.active {
  color: var(--text-pure);
}

.nav-link.active::after,
.nav-link:hover::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.8);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.25rem;
  background: var(--white);
  color: var(--black);
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.9rem;
  border: 1px solid var(--white);
  transition: var(--transition);
}

.nav-cta:hover {
  background: transparent;
  color: var(--white);
  box-shadow: var(--shadow-glow);
}

/* Mobile Toggle */
.mobile-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border-strong);
  color: var(--white);
  font-size: 1.4rem;
  cursor: pointer;
  padding: 0.4rem 0.75rem;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.mobile-toggle:hover {
  border-color: var(--white);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  padding: 0.85rem 1.75rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: var(--transition);
  border: 1px solid transparent;
  text-decoration: none;
}

.btn-primary {
  background: var(--white);
  color: var(--black);
  box-shadow: 0 4px 20px rgba(255, 255, 255, 0.2);
}

.btn-primary:hover {
  background: #eaeaea;
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(255, 255, 255, 0.35);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1px solid var(--border-strong);
}

.btn-outline:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.06);
  transform: translateY(-2px);
}

.btn-icon {
  width: 20px;
  height: 20px;
  transition: transform 0.2s ease;
}

.btn:hover .btn-icon {
  transform: translateX(4px);
}

/* Hero Section (Page 1) */
.hero {
  padding: 4.5rem 0 3.5rem;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #191919;
  border: 1px solid var(--border-strong);
  color: var(--white);
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  width: fit-content;
  letter-spacing: 0.03em;
}

.badge-tag .dot {
  width: 8px;
  height: 8px;
  background: #00ff66;
  border-radius: 50%;
  box-shadow: 0 0 8px #00ff66;
  display: inline-block;
}

.hero-title {
  font-size: clamp(2.3rem, 4vw, 3.4rem);
  line-height: 1.15;
  text-transform: uppercase;
}

.hero-title .highlight {
  color: var(--white);
  display: block;
  text-shadow: 0 0 30px rgba(255, 255, 255, 0.25);
}

.hero-slogan-box {
  background: linear-gradient(135deg, rgba(255,255,255,0.06) 0%, rgba(255,255,255,0.01) 100%);
  border-left: 3px solid var(--white);
  padding: 1rem 1.25rem;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.hero-slogan {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--white);
  font-style: italic;
}

.hero-meta {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  padding: 0.5rem 0;
}

.meta-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  color: var(--text-high);
  font-size: 1.05rem;
}

.meta-item svg {
  flex-shrink: 0;
  margin-top: 3px;
  color: var(--white);
}

.meta-item a.ig-link {
  color: var(--white);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.meta-item a.ig-link:hover {
  color: #c9c9c9;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 0.5rem;
}

/* Pamphlet Card (Right Side) */
.pamphlet-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
}

.pamphlet-frame {
  position: relative;
  background: var(--bg-card);
  border: 2px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 0.75rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.8), var(--shadow-glow);
  transition: var(--transition);
  max-width: 440px;
  width: 100%;
}

.pamphlet-frame:hover {
  border-color: var(--white);
  transform: translateY(-5px);
}

.pamphlet-img {
  width: 100%;
  height: auto;
  border-radius: calc(var(--radius-lg) - 6px);
  object-fit: cover;
  filter: contrast(1.05);
}

.pamphlet-badge {
  position: absolute;
  bottom: -15px;
  right: 20px;
  background: var(--black);
  border: 1px solid var(--white);
  color: var(--white);
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 4px 15px rgba(0,0,0,0.7);
}

/* Features Highlight Section */
.features-section {
  padding: 4rem 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  background: var(--bg-surface);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 2rem;
  transition: var(--transition);
}

.feature-card:hover {
  border-color: var(--border-strong);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}

.feature-icon {
  width: 50px;
  height: 50px;
  background: var(--black);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  color: var(--white);
}

.feature-title {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.feature-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* =========================================================
   PAGE 2: MENU PAGE STYLES
   ========================================================= */

.page-header {
  padding: 3.5rem 0 2rem;
  text-align: center;
  background: radial-gradient(ellipse at center, rgba(255,255,255,0.05) 0%, transparent 70%);
}

.page-header-title {
  font-size: clamp(2rem, 3.5vw, 3rem);
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.page-header-subtitle {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

/* Filter Buttons */
.filter-wrapper {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 2rem 0 3rem;
}

.filter-btn {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.55rem 1.4rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--white);
  color: var(--black);
  border-color: var(--white);
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.2);
}

/* Menu Grid */
.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
  margin-bottom: 4rem;
}

/* Individual Menu Frame (Bingkai) */
.menu-frame {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-card);
  transition: var(--transition);
  position: relative;
}

.menu-frame:hover {
  border-color: var(--white);
  transform: translateY(-6px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.7), 0 0 20px rgba(255, 255, 255, 0.08);
}

.menu-img-wrap {
  width: 100%;
  height: 250px;
  overflow: hidden;
  background: #0f0f0f;
  position: relative;
  border-bottom: 1px solid var(--border-subtle);
}

.menu-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.menu-frame:hover .menu-img {
  transform: scale(1.08);
}

.menu-category-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(6px);
  border: 1px solid var(--border-strong);
  color: var(--text-pure);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
}

.menu-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.menu-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  margin-bottom: 0.75rem;
  flex-wrap: wrap; /* Mencegah harga terpotong jika nama menu panjang */
}

.menu-name {
  font-size: 1.15rem;
  line-height: 1.3;
  color: var(--white);
  flex: 1 1 auto;
  min-width: 0;
  word-break: break-word;
}

.menu-price {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 800;
  color: var(--white);
  background: #202020;
  padding: 0.3rem 0.7rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-strong);
  white-space: nowrap;
  flex-shrink: 0;
  letter-spacing: 0.02em;
}

.menu-caption {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.5;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.menu-footer {
  margin-top: auto;
}

/* Order Item Button (Instagram) */
.btn-order-item {
  width: 100%;
  padding: 0.7rem 1rem;
  background: #181818;
  color: var(--white);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  box-sizing: border-box;
}

.btn-order-item svg {
  flex-shrink: 0;
  color: var(--white);
  transition: transform 0.2s ease;
}

.btn-order-item:hover {
  background: var(--white);
  color: var(--black);
  border-color: var(--white);
}

.btn-order-item:hover svg {
  color: var(--black);
  transform: scale(1.1);
}

/* Page Navigation Banner */
.page-nav-banner {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  margin-bottom: 4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.page-nav-text h3 {
  font-size: 1.5rem;
  margin-bottom: 0.35rem;
}

.page-nav-text p {
  color: var(--text-muted);
}

.page-nav-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* =========================================================
   PAGE 3: CONTACT & LOCATION STYLES
   ========================================================= */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 4rem;
}

.info-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 2rem;
  box-shadow: var(--shadow-card);
}

.info-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-subtle);
}

.info-header-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #202020;
  border: 1px solid var(--border-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
}

.info-title {
  font-size: 1.35rem;
}

.detail-row {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.detail-icon {
  color: var(--white);
  margin-top: 3px;
  flex-shrink: 0;
}

.detail-text h4 {
  font-size: 1rem;
  margin-bottom: 0.2rem;
}

.detail-text p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Maps Frame */
.maps-container {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-strong);
  margin-top: 1.25rem;
  height: 280px;
}

.maps-container iframe {
  width: 100%;
  height: 100%;
  border: none;
  filter: grayscale(1) invert(0.92) contrast(1.2);
}

/* Order Channels Box */
.order-channel-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 1.5rem;
}

.channel-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1.5rem 1rem;
  background: #1c1c1c;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  transition: var(--transition);
  text-decoration: none;
}

.channel-btn:hover {
  border-color: var(--white);
  background: #252525;
  transform: translateY(-3px);
}

.channel-icon {
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.channel-title {
  font-weight: 700;
  font-size: 1rem;
  color: var(--white);
}

.channel-sub {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Footer */
.footer {
  margin-top: auto;
  background: #050505;
  border-top: 1px solid var(--border-subtle);
  padding: 3rem 0 2rem;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-top: 1rem;
  max-width: 320px;
}

.footer-col h4 {
  font-size: 1.1rem;
  margin-bottom: 1.25rem;
  color: var(--white);
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-col ul a {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.footer-col ul a:hover {
  color: var(--white);
}

.footer-bottom {
  padding-top: 1.5rem;
  border-top: 1px solid #1a1a1a;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  color: var(--text-subtle);
  font-size: 0.85rem;
}

/* Responsive Media Queries */
@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .pamphlet-wrapper {
    order: 2;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-top {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .mobile-toggle {
    display: block;
  }
  
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #0d0d0d;
    border-bottom: 1px solid var(--border-strong);
    flex-direction: column;
    padding: 1.5rem;
    gap: 1rem;
    display: none;
  }
  
  .nav-links.open {
    display: flex;
  }
  
  .nav-cta {
    display: none;
  }
  
  .order-channel-box {
    grid-template-columns: 1fr;
  }
  
  .page-nav-banner {
    flex-direction: column;
    align-items: flex-start;
  }
}
