/* ─────────────────────────────────────────────────────────────────────────────
   GYC Marketing — Design System
   Golden Yacht Charters | goldenyachtcharters.com
   ───────────────────────────────────────────────────────────────────────────── */

/* ── Fonts ────────────────────────────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,500&family=Montserrat:wght@300;400;500;600;700&display=swap');

/* ── Tokens ────────────────────────────────────────────────────────────────── */
:root {
  /* Palette */
  --gold:        #C2A14D;
  --gold-light:  #D4B86A;
  --gold-dark:   #A8893A;
  --teal:        #4F8A8B;
  --teal-light:  #6BA3A4;
  --cream:       #F7F3EA;
  --cream-dark:  #EDE8DC;
  --charcoal:    #2B2B2B;
  --charcoal-mid:#444444;
  --white:       #FFFFFF;
  --black:       #111111;
  --overlay:     rgba(17, 17, 17, 0.52);

  /* Typography */
  --font-serif:  'Cormorant Garamond', 'Playfair Display', Georgia, serif;
  --font-sans:   'Montserrat', 'Inter', system-ui, sans-serif;

  /* Scale */
  --text-xs:     0.75rem;   /* 12px */
  --text-sm:     0.875rem;  /* 14px */
  --text-base:   1rem;      /* 16px */
  --text-lg:     1.125rem;  /* 18px */
  --text-xl:     1.25rem;   /* 20px */
  --text-2xl:    1.5rem;    /* 24px */
  --text-3xl:    1.875rem;  /* 30px */
  --text-4xl:    2.25rem;   /* 36px */
  --text-5xl:    3rem;      /* 48px */
  --text-6xl:    3.75rem;   /* 60px */
  --text-7xl:    4.5rem;    /* 72px */

  /* Spacing */
  --space-1:   0.25rem;
  --space-2:   0.5rem;
  --space-3:   0.75rem;
  --space-4:   1rem;
  --space-6:   1.5rem;
  --space-8:   2rem;
  --space-10:  2.5rem;
  --space-12:  3rem;
  --space-16:  4rem;
  --space-20:  5rem;
  --space-24:  6rem;
  --space-32:  8rem;

  /* Radii */
  --radius-sm:  4px;
  --radius-md:  8px;
  --radius-lg:  16px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm:  0 1px 3px rgba(0,0,0,.12), 0 1px 2px rgba(0,0,0,.08);
  --shadow-md:  0 4px 16px rgba(0,0,0,.15);
  --shadow-lg:  0 8px 32px rgba(0,0,0,.18);
  --shadow-gold: 0 2px 16px rgba(194,161,77,.30);

  /* Layout */
  --max-width:  1200px;
  --nav-h:      80px;

  /* Transitions */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --duration: 0.25s;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  font-size: var(--text-base);
  line-height: 1.6;
  color: var(--charcoal);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

ul, ol { list-style: none; }

button, input, select, textarea {
  font: inherit;
  border: none;
  outline: none;
  background: none;
}

/* ── Typography ────────────────────────────────────────────────────────────── */
.t-serif   { font-family: var(--font-serif); }
.t-sans    { font-family: var(--font-sans); }

.t-hero {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 300;
  line-height: 1.08;
  letter-spacing: -0.01em;
}
.t-display {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4.5vw, 3.75rem);
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: -0.01em;
}
.t-h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 3.5vw, 3rem);
  font-weight: 400;
  line-height: 1.15;
}
.t-h3 {
  font-family: var(--font-serif);
  font-size: clamp(1.25rem, 2.5vw, 2rem);
  font-weight: 400;
  line-height: 1.2;
}
.t-label {
  font-family: var(--font-sans);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.t-body {
  font-size: var(--text-lg);
  line-height: 1.7;
  color: var(--charcoal-mid);
}

/* ── Color utilities ────────────────────────────────────────────────────────── */
.c-gold    { color: var(--gold); }
.c-teal    { color: var(--teal); }
.c-cream   { color: var(--cream); }
.c-white   { color: var(--white); }
.c-charcoal { color: var(--charcoal); }

.bg-cream   { background: var(--cream); }
.bg-charcoal { background: var(--charcoal); }
.bg-gold    { background: var(--gold); }
.bg-white   { background: var(--white); }

/* ── Divider ─────────────────────────────────────────────────────────────── */
.divider {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  margin: var(--space-6) 0;
}
.divider::before, .divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--gold);
  opacity: 0.4;
}

/* ── Buttons ───────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 14px 32px;
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all var(--duration) var(--ease-out);
  white-space: nowrap;
}
.btn-gold {
  background: var(--gold);
  color: var(--white);
}
.btn-gold:hover {
  background: var(--gold-light);
  box-shadow: var(--shadow-gold);
  transform: translateY(-1px);
}
.btn-outline-gold {
  border: 1.5px solid var(--gold);
  color: var(--gold);
}
.btn-outline-gold:hover {
  background: var(--gold);
  color: var(--white);
}
.btn-outline-white {
  border: 1.5px solid rgba(255,255,255,.6);
  color: var(--white);
}
.btn-outline-white:hover {
  border-color: var(--white);
  background: rgba(255,255,255,.1);
}
.btn-lg {
  padding: 18px 44px;
  font-size: var(--text-base);
}

/* ── Container ─────────────────────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-6);
}
@media (max-width: 640px) {
  .container { padding: 0 var(--space-4); }
}

/* ── Section spacing ────────────────────────────────────────────────────────── */
.section { padding: var(--space-20) 0; }
.section-sm { padding: var(--space-12) 0; }
.section-lg { padding: var(--space-32) 0; }

/* ── Gold line accent ───────────────────────────────────────────────────────── */
.gold-line {
  display: block;
  width: 48px;
  height: 2px;
  background: var(--gold);
  margin: var(--space-4) auto;
}
.gold-line-left { margin-left: 0; }

/* ── Lazy load fade-in ──────────────────────────────────────────────────────── */
img[loading="lazy"] { opacity: 0; transition: opacity 0.4s ease; }
img[loading="lazy"].loaded { opacity: 1; }

/* ── Responsive visibility ──────────────────────────────────────────────────── */
@media (max-width: 768px) { .hide-mobile { display: none; } }
@media (min-width: 769px) { .hide-desktop { display: none; } }
