/* ============================================
   COLOR VARIABLES & TYPOGRAPHY
   ============================================ */
:root {
  --gold: #a98f41;
  --gold-light: #d0bd72;
  --gold-bright: #f0d77a;
  --dark: #20211e;
  --dark-mid: #292a26;
  --dark-light: #34352f;
  --text-light: #fff8ed;
  --text-muted: rgba(255, 248, 237, 0.68);
  
  --font-display: 'Cormorant Garamond', serif;
  --font-body: 'Lato', sans-serif;
  --font-farsi: 'Vazirmatn', sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

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

body.farsi {
  font-family: var(--font-farsi);
  direction: rtl;
  text-align: right;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0;
}

h1 { font-size: clamp(2.5rem, 5vw, 3.5rem); }
h2 { font-size: clamp(2rem, 4vw, 2.8rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

p {
  margin-bottom: 1rem;
  opacity: 0.95;
}

a {
  color: var(--gold);
  text-decoration: none;
  transition: all 0.3s ease;
}

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

button {
  cursor: pointer;
  border: none;
  font-family: var(--font-body);
  transition: all 0.3s ease;
}

input,
select,
textarea {
  font-family: var(--font-body);
}

select {
  color-scheme: dark;
}

select option,
select optgroup {
  color: var(--dark-mid);
  background: #f5e6c8;
}

select option[value=""] {
  color: #71593b;
}

/* ============================================
   UTILITIES
   ============================================ */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.btn {
  padding: 0.95rem 1.55rem;
  border-radius: 0;
  font-weight: 600;
  letter-spacing: 0;
  display: inline-block;
  text-align: center;
  transition: all 0.3s ease;
}

.btn-primary {
  background: #b4aa8b;
  color: #fff;
  border: 1px solid #b4aa8b;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(139, 105, 20, 0.4);
}

.btn-secondary {
  background: transparent;
  color: var(--gold-light);
  border: 1px solid rgba(201, 168, 76, 0.58);
}

.btn-secondary:hover {
  background: var(--gold);
  color: var(--dark);
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes scaleIn {
  from { transform: scale(0.95); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

@keyframes slideInRight {
  from { transform: translateX(30px); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

.fade-in-up {
  animation: fadeInUp 0.8s ease forwards;
}

.fade-in {
  animation: fadeIn 0.6s ease forwards;
}

.scale-in {
  animation: scaleIn 0.6s ease forwards;
}

.slide-in-right {
  animation: slideInRight 0.8s ease forwards;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.75rem; }
  h3 { font-size: 1.25rem; }
}
