/* Home page specific styles for FratyGamePL (Merchants of the East) */

/* Skip link */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--color-primary);
  color: #fff;
  padding: var(--space-12) var(--space-16);
  border-radius: var(--radius-md);
}
.skip-link:focus { left: var(--space-16); top: var(--space-16); z-index: 1000; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 999;
  background: linear-gradient(180deg, #FFF, #FFF8F0 70%);
  border-bottom: 1px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
}
.header__inner { display: flex; align-items: center; justify-content: space-between; min-height: 64px; }
.brand__link { font-family: var(--font-serif); font-weight: 900; font-size: 1.25rem; color: var(--color-accent-brown); letter-spacing: 0.5px; }

/* Navigation */
.site-nav { display: flex; align-items: center; gap: var(--space-20); }
.nav__list { display: flex; gap: var(--space-16); padding: 0; margin: 0; }
.nav__item a { display: inline-flex; padding: 10px 12px; border-radius: var(--radius-sm); color: var(--gray-800); }
.nav__item a:hover { background: var(--gray-100); text-decoration: none; }

.nav-search { display: flex; gap: var(--space-8); align-items: center; }
.nav-search .input { max-width: 280px; }

/* Mobile nav toggle */
.nav-toggle { display: none; background: transparent; border: 0; padding: 10px; border-radius: var(--radius-sm); }
.nav-toggle:focus-visible { outline: 3px solid var(--color-primary); }
.nav-toggle__bar { display: block; width: 24px; height: 2px; background: var(--gray-800); margin: 5px 0; border-radius: 2px; transition: transform var(--duration-fast) var(--easing-standard); }

@media (max-width: 960px) {
  .nav-toggle { display: inline-flex; }
  .site-nav { position: fixed; inset-inline: 0; top: 64px; background: #fff; border-top: 1px solid var(--gray-200); box-shadow: var(--shadow-md); transform: translateY(-8px); opacity: 0; pointer-events: none; flex-direction: column; align-items: stretch; gap: var(--space-16); padding: var(--space-16); }
  .site-nav.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav__list { flex-direction: column; }
  .nav-search .input { max-width: 100%; }
}

/* Hero */
.hero { padding-block: clamp(32px, 6vw, 96px); background: radial-gradient(1200px 400px at 80% 0%, #FFF1D1, transparent 70%); }
.hero__grid { display: grid; grid-template-columns: 1.1fr 0.9fr; align-items: center; gap: clamp(16px, 4vw, 40px); }
.hero__content p { color: var(--gray-700); }
.hero__cta { display: flex; gap: var(--space-12); margin-top: var(--space-16); }
.hero__media { border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-lg); border: 1px solid var(--gray-200); }

@media (max-width: 880px) {
  .hero__grid { grid-template-columns: 1fr; }
}

/* Features */
.features { padding-block: clamp(32px, 6vw, 80px); }
.features__grid { gap: var(--space-24); }
.feature { display: grid; grid-template-rows: auto 1fr; }
.feature__media { border-radius: var(--radius-lg); overflow: hidden; margin-bottom: var(--space-16); border: 1px solid var(--gray-200); }
.feature__body p { color: var(--gray-700); }

/* Learning */
.learning { padding-block: clamp(32px, 6vw, 80px); border-top: 1px solid var(--gray-200); border-bottom: 1px solid var(--gray-200); }
.learning__grid { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(16px, 4vw, 40px); }
.learning__media { border-radius: var(--radius-xl); overflow: hidden; border: 1px solid var(--gray-200); box-shadow: var(--shadow-md); }
.learning__cta { display: flex; gap: var(--space-12); margin-top: var(--space-12); }
@media (max-width: 960px) { .learning__grid { grid-template-columns: 1fr; } }

/* FAQ */
.faq { padding-block: clamp(32px, 6vw, 80px); }
.faq__items { display: grid; gap: var(--space-16); margin-top: var(--space-12); }
.faq details summary { cursor: pointer; list-style: none; }
.faq details summary::-webkit-details-marker { display: none; }
.faq__cta { margin-top: var(--space-16); }

/* Infographics */
.infographics { padding-block: clamp(32px, 6vw, 80px); }
.infographics__grid { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(16px, 4vw, 40px); }
.infographics__media { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--gray-200); box-shadow: var(--shadow-md); }
@media (max-width: 960px) { .infographics__grid { grid-template-columns: 1fr; } }

/* Downloads */
.downloads { padding-block: clamp(32px, 6vw, 80px); }
.downloads__grid { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(16px, 4vw, 40px); }
.downloads__media { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--gray-200); box-shadow: var(--shadow-md); }
@media (max-width: 960px) { .downloads__grid { grid-template-columns: 1fr; } }

/* Connect */
.connect { padding-block: clamp(32px, 6vw, 80px); }
.connect__grid { display: grid; grid-template-columns: 1.2fr 0.8fr; align-items: start; gap: clamp(16px, 4vw, 40px); }
.socials { display: flex; gap: var(--space-12); margin-top: var(--space-8); }
.socials__link { display: inline-flex; padding: 8px; border: 1px solid var(--gray-300); border-radius: var(--radius-full); color: var(--gray-800); }
.socials__link:hover { background: var(--gray-100); text-decoration: none; }
.newsletter__feedback { margin-top: var(--space-12); font-weight: 600; }
@media (max-width: 960px) { .connect__grid { grid-template-columns: 1fr; } }

/* Footer */
.site-footer { background: #1E1A16; color: #F7F2EA; padding-top: var(--space-32); margin-top: var(--space-32); }
.footer__grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: var(--space-24); padding-bottom: var(--space-24); }
.footer__logo { color: #F7F2EA; font-family: var(--font-serif); font-weight: 900; font-size: 1.25rem; }
.footer__heading { font-size: var(--text-lg); margin-bottom: var(--space-12); }
.footer__links { padding: 0; margin: 0; display: grid; gap: 8px; }
.footer__links a { color: #D9B15A; }
.footer__links a:hover { color: #fff; text-decoration: underline; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,0.12); padding-block: var(--space-16); text-align: center; }
@media (max-width: 960px) { .footer__grid { grid-template-columns: 1fr; } }

/* Cookie banner */
.cookie-banner { position: fixed; inset-inline: 0; bottom: 0; z-index: 1000; background: #FFFDF8; border-top: 1px solid var(--gray-200); box-shadow: 0 -6px 18px rgba(24,18,14,0.06); }
.cookie-banner__inner { display: flex; align-items: center; justify-content: space-between; gap: var(--space-16); padding-block: var(--space-16); }
.cookie-banner__text { margin: 0; color: var(--gray-800); }
.cookie-banner__actions { display: flex; gap: var(--space-8); }
.cookie-banner.hidden { display: none; }
@media (max-width: 720px) { .cookie-banner__inner { flex-direction: column; align-items: stretch; } }
