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

:root {
  /* Color Palette - Ottoman Basalt Stone & Radiant Gold */
  --bg-dark: #0a0908;
  --bg-dark-rgb: 10, 9, 8;
  --bg-surface: #12100e;
  --bg-card: #181512;
  --bg-card-hover: #221e1a;
  --bg-glass: rgba(18, 16, 14, 0.82);
  --bg-glass-strong: rgba(10, 9, 8, 0.94);
  
  /* Gold Accents */
  --gold-primary: #c89d56;
  --gold-primary-rgb: 200, 157, 86;
  --gold-light: #dfb76c;
  --gold-lighter: #f5d799;
  --gold-dark: #916b28;
  --gold-glow: rgba(200, 157, 86, 0.3);
  --gold-border: rgba(200, 157, 86, 0.22);
  --gold-border-bright: rgba(200, 157, 86, 0.55);
  
  /* Charcoal & Embers */
  --flame-primary: #e65c00;
  --flame-light: #ff7a18;
  --flame-glow: rgba(230, 92, 0, 0.35);
  --flame-gradient: linear-gradient(135deg, #ff7a18 0%, #e65c00 100%);
  
  /* Gradients */
  --gold-gradient: linear-gradient(135deg, #f8dfaa 0%, #c89d56 50%, #916b28 100%);
  --gold-text-gradient: linear-gradient(135deg, #ffffff 0%, #f6e0b0 35%, #c89d56 75%, #a67c33 100%);
  --stone-card-gradient: linear-gradient(180deg, rgba(28, 24, 20, 0.95) 0%, rgba(18, 15, 12, 0.98) 100%);
  --hero-overlay-gradient: linear-gradient(180deg, rgba(10, 9, 8, 0.4) 0%, rgba(10, 9, 8, 0.85) 70%, #0a0908 100%);
  
  /* Typography Colors */
  --text-primary: #fcfaf7;
  --text-secondary: #d4ccbe;
  --text-muted: #968c7e;
  --text-gold: #e2be79;
  
  /* Borders & Shadows */
  --border-subtle: rgba(255, 255, 255, 0.07);
  --border-gold: rgba(200, 157, 86, 0.25);
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.6);
  --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.8);
  --shadow-gold: 0 8px 30px rgba(200, 157, 86, 0.2);
  --shadow-flame: 0 8px 30px rgba(230, 92, 0, 0.25);

  /* Font Families */
  --font-serif: 'Cinzel', serif;
  --font-subheading: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  
  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  
  /* Layout */
  --container-max: 1280px;
  --header-height: 84px;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-dark);
  color: var(--text-primary);
  color-scheme: dark;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-dark);
  color: var(--text-primary);
  line-height: 1.65;
  overflow-x: hidden;
  position: relative;
  background-image: 
    radial-gradient(circle at 50% 0%, rgba(200, 157, 86, 0.04) 0%, transparent 70%),
    radial-gradient(circle at 100% 50%, rgba(230, 92, 0, 0.03) 0%, transparent 50%),
    radial-gradient(circle at 0% 80%, rgba(200, 157, 86, 0.03) 0%, transparent 50%);
  background-attachment: fixed;
}

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

input, button, textarea, select {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

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

ul, ol {
  list-style: none;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 9px;
}
::-webkit-scrollbar-track {
  background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
  background: #2b2620;
  border-radius: var(--radius-full);
  border: 2px solid var(--bg-dark);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--gold-primary);
}

/* Selection */
::selection {
  background-color: var(--gold-primary);
  color: var(--bg-dark);
}

/* Typography Utilities */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.25;
  letter-spacing: 0.02em;
}

.font-subheading {
  font-family: var(--font-subheading);
  letter-spacing: 0.01em;
}

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

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

.flame-accent {
  color: var(--flame-light);
}

/* Container & Sections */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.section-py {
  padding-top: 6rem;
  padding-bottom: 6rem;
  position: relative;
}

@media (max-width: 768px) {
  .section-py {
    padding-top: 4.5rem;
    padding-bottom: 4.5rem;
  }
}

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

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-serif);
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--gold-light);
  background: rgba(200, 157, 86, 0.1);
  border: 1px solid var(--gold-border);
  padding: 0.4rem 1.1rem;
  border-radius: var(--radius-full);
  margin-bottom: 1.25rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.section-title {
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 700;
  margin-bottom: 1.25rem;
  line-height: 1.2;
}

.section-desc {
  color: var(--text-secondary);
  font-size: 1.0625rem;
  line-height: 1.7;
}

/* Decorative Divider */
.gold-ornament-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin: 1.25rem auto 1.75rem auto;
  max-width: 240px;
}
.gold-ornament-divider .line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-primary), transparent);
}
.gold-ornament-divider .diamond {
  width: 8px;
  height: 8px;
  background-color: var(--gold-primary);
  transform: rotate(45deg);
  box-shadow: 0 0 10px var(--gold-glow);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.9375rem;
  padding: 0.875rem 1.75rem;
  border-radius: var(--radius-sm);
  transition: all var(--transition-normal);
  text-align: center;
  white-space: nowrap;
  user-select: none;
  position: relative;
  overflow: hidden;
}

.btn-gold {
  background: var(--gold-gradient);
  color: #120e06;
  font-weight: 700;
  letter-spacing: 0.03em;
  box-shadow: 0 4px 20px rgba(200, 157, 86, 0.35);
  border: 1px solid rgba(255, 230, 180, 0.4);
}
.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(200, 157, 86, 0.5);
  filter: brightness(1.06);
}
.btn-gold:active {
  transform: translateY(0);
}

.btn-flame {
  background: var(--flame-gradient);
  color: #ffffff;
  font-weight: 700;
  box-shadow: 0 4px 20px rgba(230, 92, 0, 0.4);
  border: 1px solid rgba(255, 160, 100, 0.4);
}
.btn-flame:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(230, 92, 0, 0.55);
  filter: brightness(1.08);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-primary);
  border: 1px solid var(--border-subtle);
  backdrop-filter: blur(10px);
}
.btn-outline:hover {
  background: rgba(200, 157, 86, 0.08);
  border-color: var(--gold-primary);
  color: var(--gold-light);
  transform: translateY(-2px);
}

.btn-gold-outline {
  background: rgba(200, 157, 86, 0.05);
  color: var(--gold-light);
  border: 1px solid var(--gold-border-bright);
}
.btn-gold-outline:hover {
  background: var(--gold-primary);
  color: #120e06;
  font-weight: 700;
  box-shadow: var(--shadow-gold);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.8125rem;
}

.btn-lg {
  padding: 1.125rem 2.25rem;
  font-size: 1.0625rem;
}

.btn-icon-only {
  width: 42px;
  height: 42px;
  padding: 0;
  border-radius: 50%;
}

/* Shimmer Button Effect */
.btn-shimmer::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  transform: skewX(-20deg);
  transition: none;
}
.btn-shimmer:hover::before {
  left: 140%;
  transition: left 0.75s ease-in-out;
}

/* Cards & Surfaces */
.stone-card {
  background: var(--stone-card-gradient);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  position: relative;
  transition: all var(--transition-normal);
  overflow: hidden;
}
.stone-card:hover {
  border-color: var(--gold-border);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg), 0 0 20px rgba(200, 157, 86, 0.1);
}

/* Glass Surface */
.glass-panel {
  background: var(--bg-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
}

/* Grid Utilities */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

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

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

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

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