/* ==========================================================================
   DASTAAN FRAGRANCES — ROYAL PAKISTANI PARFUMERIE DESIGN SYSTEM
   Editorial, Bespoke, Tactile Luxury (Anti-"Vibecoded" Manifesto)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400;1,600&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

:root {
  /* Spatial Palette */
  --bg-parchment: #FAF8F5;
  --bg-surface: #FFFFFF;
  --bg-subtle: #F4EFE6;
  --bg-dark: #151311;
  --bg-dark-surface: #1E1B18;

  /* Ink & Typography */
  --ink-primary: #151311;
  --ink-secondary: #57524C;
  --ink-muted: #8E877E;
  --ink-light: #F7F5F0;

  /* Haute Precious Accents */
  --gold-primary: #B89758;
  --gold-muted: #9E7F43;
  --gold-light: #F5EEDB;
  --amber-warm: #A8583B;
  --whatsapp-green: #1F7A4D;
  --whatsapp-hover: #17633D;

  /* Hairlines & Tactile Borders */
  --border-hairline: 1px solid rgba(21, 19, 17, 0.09);
  --border-medium: 1px solid rgba(21, 19, 17, 0.16);
  --border-gold: 1px solid rgba(184, 151, 88, 0.35);
  --border-dark: 1px solid rgba(255, 255, 255, 0.1);

  /* Shadows (Organic & Architectural, No Neon AI Dropshadows) */
  --shadow-subtle: 0 4px 20px -2px rgba(21, 19, 17, 0.04);
  --shadow-hover: 0 12px 35px -5px rgba(21, 19, 17, 0.08);
  --shadow-drawer: -8px 0 35px rgba(21, 19, 17, 0.12);
  --shadow-modal: 0 25px 60px -15px rgba(21, 19, 17, 0.25);

  /* Typography */
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Easing */
  --transition-smooth: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.2s ease;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-parchment);
  color: var(--ink-primary);
  line-height: 1.65;
  overflow-x: hidden;
}

/* Typography Hierarchy */
h1, h2, h3, h4, .font-serif {
  font-family: var(--font-serif);
  font-weight: 400;
  color: var(--ink-primary);
  line-height: 1.15;
}

h1 { font-size: clamp(2.5rem, 5vw, 4.25rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(2rem, 3.5vw, 3rem); letter-spacing: -0.01em; }
h3 { font-size: clamp(1.4rem, 2.2vw, 1.85rem); }
h4 { font-size: 1.15rem; font-weight: 500; }

p {
  color: var(--ink-secondary);
  font-size: 0.975rem;
}

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

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
  transition: var(--transition-fast);
}

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

/* Container */
.container {
  width: 100%;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 2rem;
  padding-right: 2rem;
}

.container-narrow {
  max-width: 980px;
}

/* Ultra-Thin Infinite Marquee Announcement Ticker */
.top-ticker {
  background-color: var(--bg-dark);
  color: var(--ink-light);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  height: 28px;
  overflow: hidden;
  white-space: nowrap;
  border-bottom: var(--border-dark);
  display: flex;
  align-items: center;
  position: relative;
}

.top-ticker:hover .top-ticker-track {
  animation-play-state: paused;
}

.top-ticker-track {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  will-change: transform;
  animation: topTickerScroll 30s linear infinite;
}

.top-ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 1.75rem;
  padding: 0 1.5rem;
  flex-shrink: 0;
}

.top-ticker-item .ticker-dot {
  color: var(--gold-primary);
  font-size: 0.72rem;
}

@keyframes topTickerScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Header & Navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(250, 248, 245, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: var(--border-hairline);
  transition: var(--transition-smooth);
}

.site-header.scrolled {
  background-color: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow-subtle);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
}

/* Brand Identity */
.brand-identity {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-family: var(--font-serif);
  font-size: 1.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--ink-primary);
  text-transform: uppercase;
  line-height: 1;
}

.brand-tagline {
  font-size: 0.65rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-muted);
  font-weight: 600;
  margin-top: 0.3rem;
}

/* Nav Menu Links */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 2.2rem;
  list-style: none;
}

.nav-item a {
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-primary);
  position: relative;
  padding: 0.5rem 0;
}

.nav-item a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 1px;
  background-color: var(--gold-primary);
  transition: var(--transition-fast);
}

.nav-item a:hover::after,
.nav-item a.active::after {
  width: 100%;
}

.nav-item a.active {
  color: var(--gold-muted);
}

/* Header Utilities */
.header-utilities {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.whatsapp-concierge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 1.15rem;
  background-color: var(--whatsapp-green);
  color: #ffffff;
  border-radius: 2px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  transition: var(--transition-fast);
}

.whatsapp-concierge-pill:hover {
  background-color: var(--whatsapp-hover);
  color: #ffffff;
}

.cart-toggle-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 1rem;
  border: var(--border-hairline);
  background-color: var(--bg-surface);
  border-radius: 2px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--ink-primary);
  position: relative;
  transition: var(--transition-fast);
}

.cart-toggle-btn:hover {
  border-color: var(--gold-primary);
}

.cart-count-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  background-color: var(--gold-primary);
  color: #ffffff;
  font-size: 0.68rem;
  font-weight: 700;
  border-radius: 50%;
}

/* Mobile Nav Toggle */
.mobile-nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 0.5rem;
}

.mobile-nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background-color: var(--ink-primary);
  transition: var(--transition-fast);
}

/* Section Header Typography Utility */
.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 3.5rem auto;
}

.section-overline {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  color: var(--gold-muted);
  margin-bottom: 0.75rem;
}

.section-title {
  margin-bottom: 1rem;
}

.section-desc {
  font-size: 1rem;
  color: var(--ink-secondary);
}

/* Button System (Refined & Tactile) */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85rem 1.75rem;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 2px;
  transition: var(--transition-smooth);
}

.btn-primary {
  background-color: var(--ink-primary);
  color: var(--bg-parchment);
  border: 1px solid var(--ink-primary);
}

.btn-primary:hover {
  background-color: #000000;
  border-color: #000000;
  color: #ffffff;
}

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

.btn-outline:hover {
  background-color: var(--ink-primary);
  color: #ffffff;
}

.btn-gold {
  background-color: var(--gold-primary);
  color: #ffffff;
  border: 1px solid var(--gold-primary);
}

.btn-gold:hover {
  background-color: var(--gold-muted);
  border-color: var(--gold-muted);
}

.btn-whatsapp-primary {
  background-color: var(--whatsapp-green);
  color: #ffffff;
  border: 1px solid var(--whatsapp-green);
  box-shadow: 0 4px 15px rgba(31, 122, 77, 0.2);
}

.btn-whatsapp-primary:hover {
  background-color: var(--whatsapp-hover);
  border-color: var(--whatsapp-hover);
}

/* Footer Section */
.site-footer {
  background-color: var(--bg-dark);
  color: #A39D94;
  padding-top: 5rem;
  padding-bottom: 3rem;
  border-top: var(--border-dark);
}

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

.footer-brand .brand-title {
  color: #FFFFFF;
}

.footer-brand .brand-tagline {
  color: var(--gold-primary);
}

.footer-bio {
  margin-top: 1.25rem;
  color: #9E978C;
  font-size: 0.88rem;
  line-height: 1.7;
}

.footer-col-title {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: #FFFFFF;
  margin-bottom: 1.5rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.footer-links a {
  color: #A39D94;
  font-size: 0.85rem;
}

.footer-links a:hover {
  color: var(--gold-primary);
}

.footer-whatsapp-box {
  background-color: var(--bg-dark-surface);
  border: var(--border-dark);
  padding: 1.5rem;
  border-radius: 2px;
}

.footer-whatsapp-box p {
  color: #A39D94;
  font-size: 0.85rem;
  margin-bottom: 1rem;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  border-top: var(--border-dark);
  font-size: 0.78rem;
  color: #7A746B;
}

.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
}
