/*
  BuyRoyalHoney.com - Main Luxury Design System
  Theme: Dark Gold, Obsidian Black, Amber Cream
  Strict Overflow Prevention: overflow-x hidden, max-width 100%, border-box sizing
*/

:root {
  --bg-primary: #0b0d10;
  --bg-secondary: #13171f;
  --bg-card: rgba(22, 27, 36, 0.75);
  --bg-glass: rgba(19, 23, 31, 0.85);
  --accent-gold: #d4af37;
  --accent-gold-light: #ffd700;
  --accent-gold-glow: rgba(212, 175, 55, 0.3);
  --accent-amber: #f59e0b;
  --text-main: #f3f4f6;
  --text-muted: #9ca3af;
  --text-gold: #f3e5ab;
  --border-gold: rgba(212, 175, 55, 0.25);
  --border-subtle: rgba(255, 255, 255, 0.08);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --shadow-gold: 0 10px 30px -5px rgba(212, 175, 55, 0.15);
  --shadow-dark: 0 20px 40px rgba(0, 0, 0, 0.6);
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --font-heading: 'Cinzel', 'Georgia', serif;
  --font-body: 'Outfit', 'Inter', -apple-system, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  width: 100%;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-main);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
  position: relative;
  -webkit-font-smoothing: antialiased;
}

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

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

a:hover {
  color: var(--accent-gold-light);
}

/* Typography Utility */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: #ffffff;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 0.75rem;
}

.gold-gradient-text {
  background: linear-gradient(135deg, #ffffff 0%, #ffd700 50%, #d4af37 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.sub-heading {
  color: var(--accent-gold);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  display: block;
}

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

.section-padding {
  padding: 5rem 0;
}

@media (max-width: 768px) {
  .section-padding {
    padding: 3rem 0;
  }
}

.grid {
  display: grid;
  gap: 2rem;
}

.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 992px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

.text-center { text-align: center; }
.text-left { text-align: left; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: all var(--transition-normal);
  cursor: pointer;
  border: none;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: linear-gradient(135deg, #d4af37 0%, #b8860b 100%);
  color: #0b0d10;
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #ffd700 0%, #d4af37 100%);
  box-shadow: 0 6px 20px rgba(255, 215, 0, 0.4);
  transform: translateY(-2px);
  color: #000;
}

.btn-secondary {
  background: transparent;
  color: var(--text-main);
  border: 1px solid var(--accent-gold);
}

.btn-secondary:hover {
  background: rgba(212, 175, 55, 0.1);
  color: var(--accent-gold-light);
  transform: translateY(-2px);
}

/* Glass & Card Components */
.glass-card {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-md);
  padding: 2rem;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-normal);
}

.glass-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 215, 0, 0.5);
  box-shadow: var(--shadow-gold);
}

/* Header & Announcement Bar */
.top-bar {
  background: linear-gradient(90deg, #13171f 0%, #1f2736 50%, #13171f 100%);
  border-bottom: 1px solid var(--border-subtle);
  padding: 0.5rem 0;
  font-size: 0.85rem;
  color: var(--text-gold);
  text-align: center;
}

.top-bar strong {
  color: var(--accent-gold-light);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(11, 13, 16, 0.92);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border-bottom: 1px solid var(--border-gold);
  transition: all var(--transition-normal);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
}

.brand-logo span {
  color: var(--accent-gold);
}

.brand-badge {
  background: rgba(212, 175, 55, 0.15);
  border: 1px solid var(--accent-gold);
  color: var(--accent-gold-light);
  font-size: 0.65rem;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-link {
  color: var(--text-main);
  font-size: 0.95rem;
  font-weight: 500;
  padding: 0.5rem 0;
  position: relative;
  transition: color var(--transition-fast);
}

.nav-link:hover, .nav-link.active {
  color: var(--accent-gold-light);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-gold);
  transition: width var(--transition-normal);
}

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

.dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  width: 260px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-sm);
  padding: 0.75rem 0;
  box-shadow: var(--shadow-dark);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all var(--transition-normal);
}

.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-item {
  display: block;
  padding: 0.6rem 1.25rem;
  color: var(--text-main);
  font-size: 0.9rem;
  transition: background var(--transition-fast), color var(--transition-fast);
}

.dropdown-item:hover {
  background: rgba(212, 175, 55, 0.1);
  color: var(--accent-gold-light);
}

.mobile-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border-gold);
  color: var(--accent-gold);
  font-size: 1.5rem;
  padding: 0.4rem 0.75rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
}

@media (max-width: 992px) {
  .desktop-nav { display: none; }
  .mobile-toggle { display: block; }
}

/* Mobile Nav Drawer */
.mobile-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 85%;
  max-width: 360px;
  height: 100vh;
  background: var(--bg-secondary);
  border-left: 1px solid var(--border-gold);
  z-index: 2000;
  padding: 2rem 1.5rem;
  overflow-y: auto;
  transition: right 0.35s ease-in-out;
  box-shadow: -10px 0 30px rgba(0,0,0,0.8);
}

.mobile-drawer.open {
  right: 0;
}

.drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0,0,0,0.7);
  z-index: 1999;
  display: none;
}

.drawer-overlay.open {
  display: block;
}

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 1rem;
}

.drawer-close {
  background: transparent;
  border: none;
  color: var(--accent-gold);
  font-size: 1.8rem;
  cursor: pointer;
}

.mobile-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.mobile-nav-list a {
  color: var(--text-main);
  font-size: 1.05rem;
  font-weight: 500;
  display: block;
  padding: 0.5rem 0;
}

/* Hero Section */
.hero-section {
  position: relative;
  padding: 6rem 0 5rem;
  background: radial-gradient(circle at 50% 30%, rgba(212, 175, 55, 0.08) 0%, rgba(11, 13, 16, 1) 70%);
  overflow: hidden;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.hero-title {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2.2rem;
  }
}

.hero-desc {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
}

.hero-badges {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-top: 3rem;
}

.badge-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-gold);
  padding: 0.6rem 1.2rem;
  border-radius: 30px;
  font-size: 0.9rem;
  color: var(--text-gold);
}

/* Product Cards Grid */
.product-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-md);
  padding: 2rem;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(212, 175, 55, 0.2);
}

.product-tag {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: linear-gradient(135deg, #d4af37, #f59e0b);
  color: #000;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  text-transform: uppercase;
}

.product-image-box {
  width: 100%;
  height: 220px;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.15) 0%, rgba(19, 23, 31, 0.8) 100%);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  border: 1px solid var(--border-subtle);
}

.product-icon-art {
  font-size: 4rem;
  filter: drop-shadow(0 0 10px rgba(255,215,0,0.5));
}

.product-title {
  font-size: 1.5rem;
  color: #fff;
  margin-bottom: 0.75rem;
}

.product-price {
  font-size: 1.4rem;
  color: var(--accent-gold-light);
  font-weight: 700;
  margin: 1rem 0;
}

.product-features {
  list-style: none;
  margin-bottom: 1.5rem;
}

.product-features li {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.product-features li::before {
  content: '✓';
  color: var(--accent-gold);
  font-weight: bold;
}

/* SEO Content & Article Styling */
.article-content {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #d1d5db;
}

.article-content h2 {
  font-size: 2rem;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  color: #ffffff;
  border-left: 4px solid var(--accent-gold);
  padding-left: 1rem;
}

.article-content h3 {
  font-size: 1.4rem;
  margin-top: 1.8rem;
  margin-bottom: 0.75rem;
  color: var(--accent-gold-light);
}

.article-content p {
  margin-bottom: 1.5rem;
}

.article-content ul, .article-content ol {
  margin-left: 1.5rem;
  margin-bottom: 1.5rem;
}

.article-content li {
  margin-bottom: 0.5rem;
}

.internal-links-box {
  background: var(--bg-secondary);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-md);
  padding: 2rem;
  margin-top: 3rem;
}

.internal-links-box h3 {
  font-size: 1.25rem;
  color: var(--accent-gold-light);
  margin-bottom: 1rem;
}

.link-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1rem;
}

.seo-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border-subtle);
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  color: var(--text-main);
  font-size: 0.9rem;
  transition: all var(--transition-fast);
}

.seo-link:hover {
  background: rgba(212, 175, 55, 0.1);
  border-color: var(--accent-gold);
  color: var(--accent-gold-light);
  transform: translateX(3px);
}

/* Accordion FAQ */
.faq-item {
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  margin-bottom: 1rem;
  overflow: hidden;
}

.faq-question {
  padding: 1.25rem 1.5rem;
  font-size: 1.1rem;
  font-weight: 600;
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  user-select: none;
}

.faq-question:hover {
  color: var(--accent-gold-light);
}

.faq-answer {
  padding: 0 1.5rem 1.25rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* Footer Styling */
.site-footer {
  background: #07080a;
  border-top: 1px solid var(--border-gold);
  padding: 4rem 0 2rem;
  color: var(--text-muted);
  font-size: 0.9rem;
}

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

@media (max-width: 992px) {
  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 576px) {
  .footer-top {
    grid-template-columns: 1fr;
  }
}

.footer-col h4 {
  color: #fff;
  font-size: 1.1rem;
  margin-bottom: 1.25rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--accent-gold);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.6rem;
}

.footer-links a {
  color: var(--text-muted);
  transition: color var(--transition-fast);
}

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

.footer-disclaimer {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-subtle);
  padding: 1.25rem;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  line-height: 1.5;
  color: #6b7280;
  margin-bottom: 2rem;
}

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

/* 404 Redirect Banner */
.error-page-container {
  min-height: 70vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 3rem 1rem;
}

.countdown-box {
  font-size: 3rem;
  font-weight: bold;
  color: var(--accent-gold-light);
  margin: 1.5rem 0;
}
