/* ===== BASE STYLES — Premium ===== */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700;800&family=Inter:wght@300;400;500;600;700&family=Cairo:wght@300;400;500;600;700&display=swap');

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
}

body {
  font-family: var(--font-body);
  background-color: var(--color-dark);
  color: var(--color-text);
  line-height: 1.7;
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
  position: relative;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Container */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 30px;
}

/* Section */
.section {
  padding: var(--section-padding) 0;
  position: relative;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--color-white);
  line-height: 1.15;
  font-weight: 700;
}

h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); }
h2 { font-size: clamp(2rem, 4vw, 3.2rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: clamp(1.2rem, 2vw, 1.5rem); }

p {
  color: var(--color-text);
  font-size: 1.05rem;
  line-height: 1.8;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-fast);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul, ol {
  list-style: none;
}

/* Global button reset — prevents browser default styles from leaking */
button {
  appearance: none;
  -webkit-appearance: none;
  background: transparent;
  border: none;
  padding: 0;
  margin: 0;
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  cursor: pointer;
  line-height: normal;
}

/* Buttons — Premium */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 38px;
  border-radius: 50px;
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
  color: var(--color-dark);
  box-shadow: 0 8px 25px rgba(212, 160, 48, 0.3);
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
  transition: left 0.6s ease;
}

.btn-primary:hover::before {
  left: 100%;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(212, 160, 48, 0.45);
}

.btn-secondary {
  background: transparent;
  color: var(--color-primary);
  border: 2px solid rgba(212, 160, 48, 0.4);
  backdrop-filter: blur(5px);
}

.btn-secondary:hover {
  background: rgba(212, 160, 48, 0.08);
  border-color: var(--color-primary);
  color: var(--color-primary);
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(212, 160, 48, 0.15);
}

/* Section Header — Premium */
.section-header {
  text-align: center;
  margin-bottom: 70px;
}

.section-header .subtitle {
  color: var(--color-primary);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 4px;
  margin-bottom: 18px;
  display: block;
}

.section-header h2 {
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}

.section-header p {
  max-width: 580px;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.5);
  font-size: 1.05rem;
}

/* Gold Line Decoration — Premium */
.gold-line {
  width: 50px;
  height: 3px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-primary-light));
  margin: 20px auto;
  border-radius: 2px;
}

/* Scroll Reveal */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Selection */
::selection {
  background: var(--color-primary);
  color: var(--color-dark);
}

/* Scrollbar — Premium */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: var(--color-darker);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(to bottom, var(--color-primary), var(--color-primary-dark));
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--color-primary);
}
/* ===== GLOBAL RESPONSIVE — base ===== */
@media (max-width: 768px) {
  :root { --section-padding: 70px; }
  h1 { font-size: clamp(2rem, 6vw, 3.5rem); }
  h2 { font-size: clamp(1.7rem, 5vw, 2.6rem); }
  .section-header { margin-bottom: 44px; }
  .btn { padding: 13px 28px; font-size: 0.85rem; }
}
@media (max-width: 576px) {
  :root { --section-padding: 54px; }
  .container { padding: 0 18px; }
}

/* Form success message */
.form-success {
  display: none;
  margin-top: 16px;
  padding: 14px 20px;
  background: rgba(212,160,48,0.1);
  border: 1px solid rgba(212,160,48,0.3);
  border-radius: var(--radius-sm);
  color: var(--color-primary);
  font-size: 0.9rem;
  text-align: center;
}
