/* ============================================
   YELKENDERSİ.COM — Global Styles
   ============================================ */

/* ─── Reset ─── */
*, *::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-body);
  background-color: var(--midnight-navy);
  color: var(--cream);
  line-height: 1.7;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

ul, ol {
  list-style: none;
}

/* ─── Custom Scrollbar ─── */
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: var(--midnight-navy);
}
::-webkit-scrollbar-thumb {
  background: var(--gold-dark);
  border-radius: var(--radius-full);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--gold-brush);
}

/* ─── Text Selection ─── */
::selection {
  background: var(--gold-brush);
  color: var(--midnight-navy);
}

/* ─── Typography Scale ─── */
.font-display {
  font-family: var(--font-display);
}
.font-heading {
  font-family: var(--font-heading);
}

h1, h2, h3 {
  font-family: var(--font-heading);
  line-height: 1.15;
  font-weight: 600;
}

h4, h5, h6 {
  font-family: var(--font-body);
  font-weight: 600;
  line-height: 1.3;
}

/* ─── Text Utilities ─── */
.text-gold-gradient {
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-cream { color: var(--cream); }
.text-cream-muted { color: var(--cream-muted); }
.text-gold { color: var(--gold-brush); }

.eyebrow {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-brush);
}

/* ─── Layout Containers ─── */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 3rem);
}

.container--wide {
  max-width: var(--container-wide);
  padding-inline: clamp(1.25rem, 4vw, 3rem);
}

.section {
  padding-block: var(--section-padding-y);
}

.section--dark {
  background-color: var(--midnight-navy);
}

.section--navy {
  background-color: var(--deep-navy);
}

.section--charcoal {
  background-color: var(--charcoal);
}

/* ─── Grid ─── */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-8);
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
}

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

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

/* ─── Divider ─── */
.gold-divider {
  width: 60px;
  height: 2px;
  background: var(--gradient-gold);
  border: none;
  margin-block: var(--space-6);
}

.gold-divider--center {
  margin-inline: auto;
}

/* ─── Section Header ─── */
.section-header {
  margin-bottom: var(--space-16);
}

.section-header--center {
  text-align: center;
}

.section-header--center .gold-divider {
  margin-inline: auto;
}

.section-header__eyebrow {
  margin-bottom: var(--space-4);
}

.section-header__title {
  font-size: var(--text-h1);
  color: var(--cream);
  margin-bottom: var(--space-6);
}

.section-header__subtitle {
  font-size: var(--text-lg);
  color: var(--cream-muted);
  max-width: 600px;
  line-height: 1.8;
}

.section-header--center .section-header__subtitle {
  margin-inline: auto;
}

/* ─── Scroll Progress Bar ─── */
#scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--gradient-gold);
  z-index: var(--z-toast);
  transition: width 0.1s linear;
}

/* ─── Page Transition ─── */
.page-transition-overlay {
  position: fixed;
  inset: 0;
  background: var(--midnight-navy);
  z-index: 9999;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s var(--ease-smooth);
}

/* ─── Responsive Helpers ─── */
.hide-mobile { }
.show-mobile { display: none; }

@media (max-width: 768px) {
  .hide-mobile { display: none !important; }
  .show-mobile { display: block; }
}
