:root {
  --bg-dark: #070504;
  --bg-card: #0d0a07;
  --bg-border: #1e1610;
  --accent-gold: #d8963e;
  --accent-amber: #c37b27;
  --text-main: #f0eae1;
  --text-muted: #7c7267;
  --font-heading: 'Cinzel', serif;
  --font-body: 'Poppins', sans-serif;
  --font-hand: 'Caveat', cursive;
  --radius-sm: 4px;
  --radius-md: 8px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

/* NAVBAR */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 50px;
  background: rgba(7, 5, 4, 0.98);
  border-bottom: 1px solid var(--bg-border);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.logo-text {
  display: flex;
  flex-direction: column;
  font-family: var(--font-heading);
}

.title-main {
  font-weight: 800;
  font-size: 15px;
  color: #ffffff;
  letter-spacing: 1px;
  line-height: 1;
}

.title-sub {
  font-weight: 800;
  font-size: 15px;
  color: var(--accent-gold);
  line-height: 1.2;
}

.tagline {
  font-size: 10px;
  color: var(--text-muted);
  letter-spacing: 1.2px;
}

.nav-links { display: flex; gap: 32px; }
.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  position: relative;
  padding-bottom: 4px;
}
.nav-links a:hover, .nav-links a.active { color: var(--accent-gold); }
.nav-links a.active::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--accent-gold);
}

.nav-actions { display: flex; align-items: center; gap: 16px; }
.nav-cart {
  background: transparent;
  border: 1px solid var(--bg-border);
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  color: var(--accent-gold);
  font-size: 13px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
}
.login-btn {
  background: transparent;
  border: 1px solid var(--accent-amber);
  color: var(--accent-gold);
  padding: 8px 24px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-weight: 500;
  font-size: 13px;
  transition: all 0.2s ease;
}

.login-btn:hover {
  background: var(--accent-amber);
  color: #000;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* USER PROFILE DROPDOWN MENU */
.user-dropdown-wrapper {
  position: relative;
  display: inline-block;
}

.user-menu-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-card, #150f0b);
  border: 1px solid var(--border-color, #2b1f16);
  padding: 4px 12px 4px 6px;
  border-radius: 20px;
  cursor: pointer;
  font-size: 12px;
  user-select: none;
  transition: all 0.2s ease;
}

.user-menu-pill:hover,
.user-dropdown-wrapper.active .user-menu-pill {
  border-color: var(--accent-gold, #d8963e);
  background: var(--bg-card-alt, #1a130e);
}

.user-menu-pill img {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  object-fit: cover;
}

.avatar-ring {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid #ff9800;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #1a1a1a;
}

.user-avatar {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dropdown-arrow {
  font-size: 11px;
  color: var(--text-secondary, #8c7867);
  display: inline-block;
  transition: transform 0.2s ease, color 0.2s ease;
}

.user-dropdown-wrapper.active .dropdown-arrow {
  transform: rotate(180deg);
  color: var(--accent-gold, #d8963e);
}

.user-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 230px;
  background: var(--bg-card, #150f0b);
  border: 1px solid var(--border-color, #2b1f16);
  border-radius: 10px;
  padding: 10px 0;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
  display: none;
  z-index: 1100;
  animation: navbarDropdownFade 0.2s ease forwards;
}

.user-dropdown-wrapper.active .user-dropdown-menu {
  display: block;
}

@keyframes navbarDropdownFade {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.dropdown-header {
  padding: 6px 16px 10px;
}

.dropdown-header .user-profile {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
}

.user-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary, #ebd9c5);
  display: block;
}

.user-handle {
  font-size: 0.85rem;
  color: #8c7867;
  font-weight: 400;
  display: block;
}

.dropdown-divider {
  height: 1px;
  background: var(--border-color, #2b1f16);
  margin: 6px 0;
}

.dropdown-items {
  display: flex;
  flex-direction: column;
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  color: var(--text-secondary, #8c7867);
  text-decoration: none;
  font-size: 12px;
  font-weight: 500;
  transition: all 0.2s ease;
}

.dropdown-item i {
  width: 14px;
  text-align: center;
  font-size: 12px;
  color: var(--accent-gold, #d8963e);
}

.dropdown-item:hover {
  background: rgba(216, 150, 62, 0.15);
  color: var(--accent-gold, #d8963e);
}

.dropdown-item.logout-item {
  color: #e74c3c;
}

.dropdown-item.logout-item i {
  color: #e74c3c;
}

.dropdown-item.logout-item:hover {
  background: rgba(231, 76, 60, 0.1);
}

/* CONTAINER */
.page-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 30px 40px;
}

.section-label {
  color: var(--accent-gold);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  display: block;
  margin-bottom: 8px;
}

.highlight { color: var(--accent-gold); }

/* HERO SECTION */
.hero-section {
  position: relative;
  min-height: 380px;
  border: 1px solid var(--bg-border);
  border-radius: var(--radius-md);
  padding: 50px;
  display: flex;
  align-items: center;
  background: radial-gradient(circle at 75% 50%, rgba(26, 16, 8, 0.4) 0%, #0d0a07 80%), url('assets/header.png') right center/contain no-repeat;
  margin-bottom: 30px;
  overflow: hidden;
}

.hero-content {
  max-width: 580px;
  z-index: 2;
}

.hero-content h1 {
  font-family: var(--font-heading);
  font-size: 34px;
  font-weight: 800;
  line-height: 1.15;
  color: #fff;
  margin-bottom: 16px;
}

.hero-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 24px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-gold), var(--accent-amber));
  color: #000;
  border: none;
  font-weight: 700;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 12px;
  letter-spacing: 0.5px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* STORY SECTION */
.story-section { margin-bottom: 30px; }
.story-card {
  background: var(--bg-card);
  border: 1px solid var(--bg-border);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  gap: 30px;
}

.story-img-wrap {
  width: 550px;
  flex-shrink: 0;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--bg-border);
}

.story-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.story-content {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.story-content h2 {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 16px;
}

.story-content p {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 14px;
}

.signature-block { margin-top: 10px; }
.johar-text {
  font-family: var(--font-hand);
  font-size: 38px;
  color: var(--accent-gold);
  display: block;
  line-height: 1;
}
.signature-sub {
  font-size: 10px;
  color: var(--text-muted);
}

/* STATS BAR */
.stats-section {
  background: var(--bg-card);
  border: 1px solid var(--bg-border);
  border-radius: var(--radius-md);
  padding: 20px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
}

.stat-item {
  text-align: center;
  flex: 1;
}

.stat-item i {
  color: var(--accent-gold);
  font-size: 18px;
  margin-bottom: 6px;
}

.stat-item h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--accent-gold);
  line-height: 1;
}

.stat-title {
  font-size: 11px;
  font-weight: 600;
  color: #fff;
  margin-top: 4px;
}

.stat-sub {
  font-size: 9px;
  color: var(--text-muted);
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--bg-border);
}

/* MISSION & VISION */
.mv-section {
  display: flex;
  gap: 20px;
  margin-bottom: 40px;
}

.mv-card {
  flex: 1;
  background: var(--bg-card);
  border: 1px solid var(--bg-border);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  align-items: center;
  gap: 20px;
}

.mv-icon {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: 1px solid var(--accent-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-gold);
  font-size: 20px;
  flex-shrink: 0;
}

.mv-text p {
  font-size: 11px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* TEAM SECTION */
.team-section { margin-bottom: 30px; }
.section-header {
  font-family: var(--font-heading);
  font-size: 16px;
  color: var(--accent-gold);
  letter-spacing: 1px;
  margin-bottom: 20px;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.team-card {
  background: var(--bg-card);
  border: 1px solid var(--bg-border);
  border-radius: var(--radius-md);
  padding: 20px;
  text-align: center;
}

.avatar-wrap {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 12px;
  border: 2px solid var(--accent-gold);
}

.avatar-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-card h3 {
  font-size: 13px;
  color: #fff;
  font-weight: 600;
}

.team-card .role {
  font-size: 10px;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 8px;
}

.social-links a {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1px solid var(--accent-gold);
  color: var(--accent-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  text-decoration: none;
}

/* QUOTE CARD */
.quote-card {
  background: radial-gradient(circle at right, #1f1207 0%, var(--bg-card) 70%);
  border: 1px solid var(--bg-border);
  border-radius: var(--radius-md);
  padding: 30px 40px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.quote-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--accent-gold);
  color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.quote-text {
  font-size: 13px;
  color: #e0d8ce;
  line-height: 1.6;
  font-style: italic;
}

/* PATTERN BANNER */
.pattern-banner {
  text-align: center;
  padding: 36px 20px;
  background: radial-gradient(circle at center, #26160b 0%, var(--bg-dark) 80%);
  border-top: 1px solid var(--bg-border);
  border-bottom: 1px solid var(--bg-border);
}

.pattern-banner h3 {
  font-family: var(--font-heading);
  font-size: 16px;
  letter-spacing: 2px;
  color: var(--accent-gold);
  margin-bottom: 14px;
}

/* FOOTER */
.site-footer {
  background: var(--bg-dark);
  padding: 40px 50px;
}

.footer-columns {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 2fr;
  gap: 20px;
  max-width: 1280px;
  margin: 0 auto;
}

.footer-col h5 {
  font-family: var(--font-heading);
  color: var(--accent-gold);
  font-size: 11px;
  letter-spacing: 1px;
  margin-bottom: 12px;
}

.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 6px; }
.footer-col a { color: var(--text-muted); text-decoration: none; font-size: 11px; }
.footer-col a:hover { color: var(--accent-gold); }

.footer-tagline { font-size: 10px; color: var(--text-muted); margin-top: 6px; }
.copyright { font-size: 10px; color: var(--text-muted); margin-top: 12px; line-height: 1.4; }

.newsletter-col p { font-size: 10px; color: var(--text-muted); margin-bottom: 10px; }
.newsletter-form { display: flex; }
.newsletter-form input {
  background: var(--bg-card);
  border: 1px solid var(--bg-border);
  padding: 8px 10px;
  font-size: 11px;
  color: #fff;
  flex-grow: 1;
  outline: none;
  border-radius: var(--radius-sm) 0 0 var(--radius-sm);
}
.newsletter-form button {
  background: var(--accent-gold);
  border: none;
  padding: 8px 12px;
  color: #000;
  cursor: pointer;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
/* Utility class to hide elements */
.hidden {
  display: none !important;
}