/* ═══════════════════════════════════════════════════
   ICORSTORE · AMERICA 250 COLLECTION
   style.css — Global Styles
   250.icorstore.com
═══════════════════════════════════════════════════ */

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

/* ── TOKENS ── */
:root {
  --navy:       #08111F;
  --navy2:      #0D1C30;
  --navy3:      #132440;
  --red:        #AE1C28;
  --red2:       #C8202E;
  --red-dark:   #7A1219;
  --gold:       #C8973A;
  --gold2:      #E4B860;
  --gold-pale:  #F2E0B0;
  --cream:      #F4EFE4;
  --white:      #FFFFFF;
  --muted:      rgba(244,239,228,0.87);
  --border:     rgba(200,151,58,0.22);
  --border2:    rgba(200,151,58,0.12);

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-ui:      'Barlow Condensed', sans-serif;
  --font-body:    'Barlow', sans-serif;

  --shadow-card: 0 8px 40px rgba(0,0,0,0.45);
  --shadow-hover: 0 24px 64px rgba(0,0,0,0.6), 0 0 40px rgba(200,151,58,0.08);
  --radius: 3px;
  --transition: 0.28s cubic-bezier(0.4,0,0.2,1);
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  background: var(--navy);
  color: var(--cream);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }

/* ── GRAIN ── */
body::after {
  content: '';
  position: fixed; inset: 0; pointer-events: none; z-index: 999;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='grain'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23grain)' opacity='0.035'/%3E%3C/svg%3E");
  opacity: 0.4;
}

/* ── LAYOUT ── */
.container { max-width: 1280px; margin: 0 auto; padding: 0 48px; }
@media(max-width:768px){ .container { padding: 0 20px; } }

.section-pad { padding: 100px 0; }
.section-pad-sm { padding: 60px 0; }

/* ── EYEBROW ── */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-ui);
  font-size: 11px; font-weight: 600;
  letter-spacing: 4px; text-transform: uppercase;
  color: var(--gold);
}
.eyebrow::before, .eyebrow::after {
  content: ''; display: block;
  width: 28px; height: 1px; background: var(--gold); opacity: 0.6;
}

/* ── SECTION TITLE ── */
.section-title {
  font-family: var(--font-display);
  font-size: clamp(38px, 5vw, 62px);
  font-weight: 600; line-height: 1.05;
  color: var(--cream);
  margin-top: 16px;
}
.section-title em { font-style: italic; color: var(--gold); }

/* ── BUTTONS ── */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-ui);
  font-size: 12px; font-weight: 600;
  letter-spacing: 3px; text-transform: uppercase;
  padding: 14px 32px;
  border-radius: var(--radius);
  transition: var(--transition);
  white-space: nowrap;
}
.btn-red {
  background: var(--red);
  color: var(--cream);
  border: 2px solid var(--red);
}
.btn-red:hover { background: var(--red2); border-color: var(--red2); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(174,28,40,0.4); }

.btn-gold {
  background: var(--gold);
  color: var(--navy);
  border: 2px solid var(--gold);
}
.btn-gold:hover { background: var(--gold2); border-color: var(--gold2); transform: translateY(-2px); }

.btn-outline {
  background: transparent;
  color: var(--cream);
  border: 2px solid rgba(244,239,228,0.3);
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-2px); }

.btn-outline-gold {
  background: transparent;
  color: var(--gold);
  border: 2px solid var(--gold);
}
.btn-outline-gold:hover { background: rgba(200,151,58,0.1); transform: translateY(-2px); }

/* ── DIVIDER ── */
.ornament-divider {
  display: flex; align-items: center; gap: 20px;
  padding: 0;
}
.ornament-divider .line { flex: 1; height: 1px; background: var(--border); }
.ornament-divider .stars {
  font-size: 14px; letter-spacing: 8px;
  color: var(--gold); opacity: 0.7;
}

/* ── BADGE ── */
.badge {
  display: inline-block;
  font-family: var(--font-ui);
  font-size: 10px; font-weight: 600;
  letter-spacing: 2px; text-transform: uppercase;
  padding: 4px 12px; border-radius: 2px;
}
.badge-gold { background: var(--gold); color: var(--navy); }
.badge-red  { background: var(--red);  color: var(--cream); }
.badge-outline { border: 1px solid var(--gold); color: var(--gold); }

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; } to { opacity: 1; }
}
@keyframes shimmer {
  0%   { background-position: -200% center; }
  100% { background-position:  200% center; }
}
@keyframes pulse-gold {
  0%, 100% { box-shadow: 0 0 0 0 rgba(200,151,58,0.3); }
  50%       { box-shadow: 0 0 0 8px rgba(200,151,58,0); }
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-10px); }
}

.animate-fade-up   { animation: fadeUp 0.7s ease both; }
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }
.delay-5 { animation-delay: 0.5s; }

/* ── REVEAL ON SCROLL ── */
.reveal, .reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ── MARQUEE STRIP ── */
.marquee-strip {
  overflow: hidden;
  background: var(--red);
  padding: 13px 0;
  position: relative; z-index: 10;
}
.marquee-inner {
  display: flex; gap: 0;
  animation: marquee 20s linear infinite;
  width: max-content;
}
.marquee-item {
  font-family: var(--font-ui);
  font-size: 12px; font-weight: 600;
  letter-spacing: 3px; text-transform: uppercase;
  color: rgba(244,239,228,0.9);
  padding: 0 40px;
  display: flex; align-items: center; gap: 40px;
  white-space: nowrap;
}
.marquee-item::after { content: '✦'; opacity: 0.5; }

/* ── TOAST ── */
.toast {
  position: fixed; bottom: 28px; right: 28px;
  background: var(--gold);
  color: var(--navy);
  padding: 14px 24px;
  border-radius: var(--radius);
  font-family: var(--font-ui);
  font-size: 13px; font-weight: 600;
  letter-spacing: 1px;
  z-index: 9999;
  transform: translateY(80px); opacity: 0;
  transition: all 0.35s cubic-bezier(0.4,0,0.2,1);
  pointer-events: none;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
}
.toast.show { transform: translateY(0); opacity: 1; }

/* ── MODAL ── */
.modal-overlay {
  display: none; position: fixed; inset: 0;
  background: rgba(0,0,0,0.8);
  z-index: 8000;
  align-items: center; justify-content: center;
  padding: 20px;
  backdrop-filter: blur(4px);
}
.modal-overlay.open { display: flex; }
.modal-box {
  background: var(--navy2);
  border: 1px solid var(--border);
  border-radius: 4px;
  max-width: 600px; width: 100%;
  max-height: 90vh; overflow-y: auto;
  animation: fadeUp 0.3s ease;
  position: relative;
}
.modal-close-btn {
  position: absolute; top: 16px; right: 20px;
  font-size: 22px; color: var(--muted);
  background: none; border: none; cursor: pointer;
  transition: color 0.2s;
}
.modal-close-btn:hover { color: var(--cream); }

/* ── SCROLLBAR ── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--navy); }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }

/* ── UTILITY ── */
.text-gold   { color: var(--gold); }
.text-red    { color: var(--red2); }
.text-muted  { color: var(--muted); }
.text-center { text-align: center; }
.text-upper  { text-transform: uppercase; letter-spacing: 2px; }
.mt-8  { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }
.mb-8  { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.flex  { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.gap-16 { gap: 16px; }
.gap-24 { gap: 24px; }
