/* ==========================================
   TOKO JAM DIANA SEMARANG - LUXURY STYLESHEET
   ========================================== */

:root {
  --bg-dark: #090b0e;
  --bg-surface: #11151c;
  --bg-surface-elevated: #1a202c;
  --bg-glass: rgba(17, 21, 28, 0.85);
  
  --gold-primary: #d4af37;
  --gold-light: #f5e49b;
  --gold-dark: #a2821e;
  --gold-gradient: linear-gradient(135deg, #fff2aa 0%, #d4af37 50%, #997514 100%);
  --gold-glow: 0 0 25px rgba(212, 175, 55, 0.35);
  
  --text-main: #f1f5f9;
  --text-secondary: #94a3b8;
  --text-dim: #64748b;
  
  --border-color: rgba(212, 175, 55, 0.25);
  --border-color-hover: rgba(255, 255, 255, 0.7);
  
  --font-serif: 'Cinzel', 'Playfair Display', Georgia, serif;
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  
  --transition-smooth: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Global Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
}

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

body {
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Typography Helpers */
.font-serif {
  font-family: var(--font-serif);
}

.text-gold {
  color: var(--gold-primary) !important;
}

.text-gold-gradient {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.heading-underline {
  position: relative;
  display: inline-block;
  padding-bottom: 12px;
}

.heading-underline::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--gold-gradient);
  border-radius: 2px;
  box-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--bg-dark);
}

::-webkit-scrollbar-thumb {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-color);
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--gold-dark);
}

/* Glassmorphism Navbar */
.navbar-custom {
  background: var(--bg-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-color);
  padding: 12px 0;
  transition: var(--transition-smooth);
}

.navbar-custom.scrolled {
  background: rgba(9, 11, 14, 0.95);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
  padding: 8px 0;
}

.navbar-brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-icon {
  width: 44px;
  height: 44px;
  filter: drop-shadow(0 0 8px rgba(212, 175, 55, 0.5));
}

.brand-text-main {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: 2px;
  color: var(--text-main);
  line-height: 1.1;
}

.brand-text-sub {
  font-size: 0.68rem;
  letter-spacing: 3px;
  color: var(--gold-primary);
  text-transform: uppercase;
  font-weight: 600;
}

.nav-link-custom {
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 8px 16px !important;
  transition: var(--transition-smooth);
  position: relative;
}

.nav-link-custom:hover,
.nav-link-custom.active {
  color: #ffffff !important;
}

.nav-link-custom::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 16px;
  right: 16px;
  height: 2px;
  background: #ffffff;
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.nav-link-custom:hover::after,
.nav-link-custom.active::after {
  transform: scaleX(1);
}

/* Store Status Pill */
.store-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 600;
  border: 1px solid var(--border-color);
  background: rgba(26, 32, 44, 0.8);
}

.status-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  display: inline-block;
}

.status-dot.open {
  background-color: #10b981;
  box-shadow: 0 0 10px #10b981;
  animation: pulse-green 2s infinite;
}

.status-dot.closed {
  background-color: #ef4444;
  box-shadow: 0 0 10px #ef4444;
}

@keyframes pulse-green {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

/* Buttons with White Hover Color */
.btn-gold {
  background: var(--gold-gradient);
  color: #0d0f12;
  font-weight: 700;
  padding: 12px 28px;
  border-radius: 50px;
  border: none;
  transition: var(--transition-smooth);
  box-shadow: 0 4px 20px rgba(212, 175, 55, 0.3);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-gold:hover {
  background: linear-gradient(135deg, #ffffff 0%, #d4af37 100%) !important;
  color: #ffffff !important;
  text-shadow: 0 1px 3px rgba(0,0,0,0.6);
  transform: translateY(-2px);
  box-shadow: 0 0 25px rgba(255, 255, 255, 0.5), var(--gold-glow);
}

.btn-outline-gold {
  background: transparent;
  color: var(--gold-primary);
  border: 1px solid var(--gold-primary);
  font-weight: 600;
  padding: 11px 26px;
  border-radius: 50px;
  transition: var(--transition-smooth);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-outline-gold:hover {
  background: rgba(255, 255, 255, 0.15) !important;
  color: #ffffff !important;
  border-color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.4);
}

/* Hero Section */
.hero-section {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  padding: 120px 0 60px 0;
  background: radial-gradient(circle at 70% 30%, rgba(212, 175, 55, 0.12) 0%, transparent 60%),
              radial-gradient(circle at 10% 80%, rgba(30, 40, 55, 0.4) 0%, transparent 50%),
              var(--bg-dark);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: 50px;
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid var(--border-color);
  color: var(--gold-light);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 24px;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5vw, 4.2rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 24px;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 580px;
  margin-bottom: 36px;
}

.hero-watch-display {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-glow-ring {
  position: absolute;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212,175,55,0.2) 0%, transparent 70%);
  animation: pulse-glow 4s ease-in-out infinite alternate;
}

@keyframes pulse-glow {
  0% { transform: scale(0.9); opacity: 0.5; }
  100% { transform: scale(1.1); opacity: 0.9; }
}

.hero-watch-card {
  position: relative;
  z-index: 2;
  background: var(--bg-glass);
  border: 1px solid var(--border-color);
  border-radius: 28px;
  padding: 30px;
  backdrop-filter: blur(12px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
  text-align: center;
  max-width: 380px;
  width: 100%;
  transition: var(--transition-smooth);
}

.hero-watch-card:hover {
  border-color: #ffffff;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), 0 0 25px rgba(255, 255, 255, 0.3);
}

.hero-watch-img {
  width: 100%;
  max-height: 280px;
  object-fit: contain;
  filter: drop-shadow(0 15px 25px rgba(0,0,0,0.7));
  transition: transform 0.5s ease;
}

.hero-watch-card:hover .hero-watch-img {
  transform: scale(1.06) rotate(-2deg);
}

/* Stats Container */
.stats-counter-bar {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 24px;
  margin-top: -30px;
  position: relative;
  z-index: 10;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

.stat-item h3 {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 800;
  color: var(--gold-primary);
  margin-bottom: 2px;
}

.stat-item p {
  color: var(--text-secondary);
  font-size: 0.85rem;
  margin: 0;
}

/* Feature Cards */
.feature-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 32px 24px;
  height: 100%;
  transition: var(--transition-smooth);
}

.feature-card:hover {
  transform: translateY(-8px);
  border-color: #ffffff !important;
  box-shadow: 0 0 25px rgba(255, 255, 255, 0.3);
}

.feature-icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: rgba(212, 175, 55, 0.12);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: var(--gold-primary);
  margin-bottom: 20px;
}

/* Brand Grid Slider - White Hover */
.brand-pill {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 14px;
  padding: 16px;
  text-align: center;
  transition: var(--transition-smooth);
  cursor: pointer;
}

.brand-pill:hover,
.brand-pill.active {
  background: rgba(255, 255, 255, 0.15) !important;
  border-color: #ffffff !important;
  transform: translateY(-4px);
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

.brand-pill:hover h5,
.brand-pill.active h5 {
  color: #ffffff !important;
}

.brand-pill h5 {
  font-family: var(--font-serif);
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--text-main);
  margin: 0;
  font-size: 1.1rem;
  transition: var(--transition-smooth);
}

/* Product Catalog */
.filter-btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-bottom: 30px;
}

.btn-filter {
  background: var(--bg-surface);
  color: var(--text-secondary);
  border: 1px solid var(--border-color);
  padding: 8px 18px;
  border-radius: 30px;
  font-size: 0.88rem;
  font-weight: 600;
  transition: var(--transition-smooth);
}

.btn-filter:hover,
.btn-filter.active {
  background: var(--gold-gradient);
  color: #ffffff !important;
  text-shadow: 0 1px 3px rgba(0,0,0,0.6);
  border-color: #ffffff !important;
  box-shadow: 0 4px 20px rgba(255, 255, 255, 0.4);
}

.search-input-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  border-radius: 30px;
  padding: 10px 20px 10px 45px;
  width: 100%;
  transition: var(--transition-smooth);
}

.search-input-box:focus {
  outline: none;
  border-color: #ffffff !important;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
  background: var(--bg-surface-elevated);
  color: var(--text-main);
}

.search-wrapper {
  position: relative;
}

.search-wrapper .bi-search {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gold-primary);
  font-size: 1.1rem;
}

/* Product Card - White Hover Border & Glow */
.product-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: var(--transition-smooth);
  position: relative;
}

.product-card:hover {
  transform: translateY(-8px);
  border-color: #ffffff !important;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.8), 0 0 25px rgba(255, 255, 255, 0.3);
}

.product-img-box {
  position: relative;
  background: radial-gradient(circle, #1a212d 0%, #0d1016 100%);
  padding: 30px 20px;
  height: 240px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.product-img {
  max-height: 190px;
  max-width: 100%;
  object-fit: contain;
  transition: transform 0.5s ease;
  filter: drop-shadow(0 10px 15px rgba(0,0,0,0.6));
}

.product-card:hover .product-img {
  transform: scale(1.1);
}

.badge-brand {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(9, 11, 14, 0.85);
  color: var(--gold-light);
  border: 1px solid var(--border-color);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1px;
  backdrop-filter: blur(4px);
}

.badge-original {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.4);
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 0.72rem;
  font-weight: 600;
}

.product-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-title {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text-main);
  margin-bottom: 8px;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  height: 2.7em;
}

.product-specs-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 16px;
}

.spec-chip {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-secondary);
  font-size: 0.73rem;
  padding: 2px 8px;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.product-price {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--gold-primary);
  margin-top: auto;
  margin-bottom: 16px;
}

.product-actions {
  display: flex;
  gap: 8px;
}

/* Service Card */
.service-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 30px;
  height: 100%;
  transition: var(--transition-smooth);
}

.service-card:hover {
  background: var(--bg-surface-elevated);
  border-color: #ffffff !important;
  transform: translateY(-6px);
  box-shadow: 0 0 25px rgba(255, 255, 255, 0.25);
}

/* Gallery Grid & Lightbox */
.gallery-item {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border: 1px solid var(--border-color);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.gallery-item:hover {
  border-color: #ffffff !important;
  box-shadow: 0 0 25px rgba(255, 255, 255, 0.3);
}

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

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(9, 11, 14, 0.95) 0%, transparent 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.35s ease;
}

.gallery-item:hover .gallery-img {
  transform: scale(1.08);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

/* Contact & Hours Section */
.contact-info-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 32px;
  height: 100%;
}

.hours-table {
  width: 100%;
  border-collapse: collapse;
}

.hours-table tr {
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.hours-table tr:last-child {
  border-bottom: none;
}

.hours-table td {
  padding: 10px 0;
  font-size: 0.92rem;
}

.hours-table td.day {
  color: var(--text-secondary);
  font-weight: 500;
}

.hours-table td.time {
  text-align: right;
  color: var(--text-main);
  font-weight: 600;
}

.hours-table tr.today {
  color: var(--gold-primary);
}

.hours-table tr.today td {
  color: var(--gold-primary) !important;
  font-weight: 700;
}

/* Embedded Map Frame */
.map-responsive-container {
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--border-color);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  height: 100%;
  min-height: 380px;
}

.map-responsive-container iframe {
  width: 100%;
  height: 100%;
  min-height: 380px;
  border: 0;
  filter: saturate(0.9) contrast(1.1) invert(0.9) hue-rotate(180deg);
}

/* Floating WhatsApp Widget */
.btn-whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 60px;
  height: 60px;
  background-color: #25d366;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.85rem;
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
  z-index: 1000;
  text-decoration: none;
  transition: var(--transition-smooth);
  animation: wa-bounce 3s infinite;
}

.btn-whatsapp-float:hover {
  background-color: #20ba5a;
  color: #fff;
  transform: scale(1.1);
  box-shadow: 0 15px 30px rgba(37, 211, 102, 0.6);
}

@keyframes wa-bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* Modals */
.modal-custom .modal-content {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-color);
  border-radius: 24px;
  color: var(--text-main);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.9);
}

.modal-custom .modal-header {
  border-bottom: 1px solid var(--border-color);
  padding: 20px 24px;
}

.modal-custom .btn-close {
  filter: invert(1) grayscale(100%) brightness(200%);
}



/* Footer */
.footer-custom {
  background: #050608;
  border-top: 1px solid var(--border-color);
  padding: 60px 0 30px 0;
  color: var(--text-secondary);
}

.social-icon-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  color: var(--gold-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: var(--transition-smooth);
  text-decoration: none;
}

.social-icon-btn:hover {
  background: #ffffff !important;
  color: var(--gold-dark) !important;
  transform: translateY(-3px);
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.6);
}
