/* =============================================================
   Wingstop GCC — Holding Page Stylesheet
   Brand colors: Green #006938 | Black #000000 | White #FFFFFF
   ============================================================= */

/* ── Fonts ── */
@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;600;700;900&display=swap');

/* ── Roc Grotesk Condensed ── */
@font-face {
  font-family: 'Roc Grotesk';
  src: url('assets/fonts/RocGroteskCond-Light.otf') format('opentype');
  font-weight: 300;
  font-display: swap;
}
@font-face {
  font-family: 'Roc Grotesk';
  src: url('assets/fonts/RocGroteskCond-Medium.otf') format('opentype');
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: 'Roc Grotesk';
  src: url('assets/fonts/RocGroteskCond-Bold.otf') format('opentype');
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: 'Roc Grotesk';
  src: url('assets/fonts/RocGroteskCond-ExtraBold.otf') format('opentype');
  font-weight: 800;
  font-display: swap;
}
@font-face {
  font-family: 'Roc Grotesk';
  src: url('assets/fonts/RocGroteskCond-Black.otf') format('opentype');
  font-weight: 900;
  font-display: swap;
}

/* ── Design Tokens ── */
:root {
  --font-primary: 'Roc Grotesk', 'Cairo', sans-serif;
  --font-arabic:  'Cairo', sans-serif;

  --color-green:  #006938;
  --color-black:  #000000;
  --color-white:  #ffffff;
  --color-grey:   #111111;
  --color-muted:  #cccccc;

  --color-orange: #FF6B35;

  --radius: 8px;
  --transition: 150ms ease;
}

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

html {
  font-family: var(--font-primary);
  background: var(--color-black);
  color: var(--color-white);
  scroll-behavior: smooth;
}

/* Arabic direction & font */
[lang="ar"] {
  font-family: var(--font-arabic);
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

img { max-width: 100%; display: block; }
a  { color: inherit; text-decoration: none; }

/* ── Lang toggle (floats top-right over hero) ── */
.lang-toggle-wrap {
  position: fixed;
  inset-inline-end: 1.5rem;
  top: 1.25rem;
  z-index: 200;
}

.lang-toggle {
  display: flex;
  align-items: center;
  background: rgba(0,0,0,0.35);
  backdrop-filter: blur(6px);
  border: 2px solid var(--color-white);
  border-radius: var(--radius);
  padding: 0.4rem 1rem;
  cursor: pointer;
  font-family: var(--font-primary);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--color-white);
  letter-spacing: 0.05em;
  transition: background var(--transition), color var(--transition);
}
.lang-toggle:hover,
.lang-toggle:focus-visible {
  background: var(--color-white);
  color: var(--color-black);
  outline: none;
}
[lang="ar"] .lang-toggle {
  font-family: var(--font-arabic);
}

/* ── Logo text fallback ── */
.site-header__logo-text {
  font-size: 2.8rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-white);
}
.site-header__logo-text span {
  color: var(--color-black);
}

/* ── Hero ── */
.hero {
  background: var(--color-green);
  padding: 4rem 2rem 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero__logo-link {
  display: inline-block;
  margin-block-end: 2rem;
}

.hero__logo {
  height: 180px;
  width: auto;
  margin-inline: auto;
  filter: drop-shadow(0 4px 24px rgba(0,0,0,0.18));
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    -45deg,
    transparent,
    transparent 40px,
    rgba(0,0,0,0.06) 40px,
    rgba(0,0,0,0.06) 80px
  );
  pointer-events: none;
}

.hero__eyebrow {
  display: inline-block;
  background: var(--color-black);
  color: var(--color-white);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 0.35rem 1rem;
  border-radius: var(--radius);
  margin-block-end: 1.25rem;
}

.hero__headline {
  font-size: clamp(2.4rem, 6vw, 5rem);
  font-weight: 900;
  line-height: 1.05;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  color: var(--color-white);
  margin-block-end: 1.25rem;
}

[lang="ar"] .hero__headline {
  letter-spacing: 0;
  font-size: clamp(2rem, 5.5vw, 4.5rem);
}

.hero__subtext {
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: 400;
  color: rgba(255,255,255,0.9);
  max-width: 600px;
  margin-inline: auto;
  line-height: 1.6;
}

/* ── Info / Body Copy Section ── */
.info-section-wrap {
  background: var(--color-black);
  border-bottom: 1px solid #1e1e1e;
}

.info-section {
  padding: 4rem 3rem;
  display: flex;
  align-items: center;
  gap: 4rem;
  max-width: 1200px;
  margin-inline: auto;
  width: 100%;
  box-sizing: border-box;
}

.info-section__inner {
  flex: 1;
  min-width: 0;
  text-align: start;
}

.info-section__body {
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  line-height: 1.65;
  color: rgba(255,255,255,0.85);
  margin-block-end: 1.25rem;
}
.info-section__body:last-child { margin-block-end: 0; }

/* Google CTA — right column */
.google-cta {
  flex: 0 0 420px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.5rem;
  background: #0d0d0d;
  border: 1px solid #222;
  border-radius: calc(var(--radius) * 2);
  padding: 2.5rem;
}

.btn-google {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--color-green);
  color: var(--color-white);
  font-family: var(--font-primary);
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  font-weight: 700;
  letter-spacing: 0.03em;
  padding: 1.1rem 2rem;
  border-radius: var(--radius);
  text-decoration: none;
  width: 100%;
  justify-content: center;
  transition: filter var(--transition), transform var(--transition);
}
.btn-google:hover,
.btn-google:focus-visible {
  filter: brightness(1.15);
  transform: translateY(-2px);
  outline: none;
}
[lang="ar"] .btn-google {
  font-family: var(--font-arabic);
  letter-spacing: 0;
}

.btn-google__icon {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  color: var(--color-white);
}

.google-cta__hint {
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  color: var(--color-muted);
  line-height: 1.6;
}
.google-cta__hint strong {
  color: var(--color-white);
}

.google-cta__list {
  list-style: none;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  text-align: start;
  color: var(--color-white);
  font-size: 1rem;
  line-height: 1.45;
}

.google-cta__list li {
  position: relative;
  padding-inline-start: 1rem;
}

.google-cta__list li::before {
  content: '\2022';
  position: absolute;
  inset-inline-start: 0;
  color: var(--color-white);
}

[dir="rtl"] .google-cta__list {
  text-align: end;
}

/* Stack on smaller screens */
@media (max-width: 768px) {
  .info-section {
    flex-direction: column;
    gap: 2.5rem;
    padding: 3rem 1.5rem;
  }
  .info-section__inner {
    text-align: center;
  }
  .google-cta {
    flex: none;
    width: 100%;
  }
}

/* ── Country Grid Section ── */
.countries-section {
  flex: 1;
  padding: 4rem 2rem;
  background: var(--color-grey);
}

.countries-section__title {
  text-align: center;
  font-size: clamp(1.2rem, 3vw, 1.6rem);
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-white);
  margin-block-end: 0.5rem;
}

.countries-section__subtitle {
  text-align: center;
  font-size: clamp(0.9rem, 2vw, 1rem);
  color: var(--color-muted);
  margin-block-end: 2rem;
  max-width: 560px;
  margin-inline: auto;
  line-height: 1.6;
}

.country-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
  max-width: 1200px;
  margin-inline: auto;
}

/* ── Country Card ── */
.country-card {
  width: 100%;
  min-height: 320px;
  background: var(--color-black);
  border: 1px solid #222;
  border-radius: calc(var(--radius) * 2);
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
  transition: border-color var(--transition), transform var(--transition);
}
.country-card:hover {
  border-color: var(--color-green);
  transform: translateY(-3px);
}

.country-card__flag {
  width: 120px;
  height: 70px;
  object-fit: contain;
  border-radius: 4px;
}

.country-card__name {
  min-height: 4.8rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  font-size: 1.4rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--color-white);
  line-height: 1.2;
}
[lang="ar"] .country-card__name {
  min-height: 3.6rem;
  letter-spacing: 0;
}
[lang="ar"] .country-card__name-ar {
  display: none;
}

.country-card__name-ar {
  display: block;
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-muted);
  margin-block-start: 0.2rem;
  font-family: var(--font-arabic);
  letter-spacing: 0;
}

.country-card__buttons {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.625rem;
  width: 100%;
  margin-block-start: auto;
}

.country-card--multi-cta .country-card__buttons {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-block-start: 0;
}

.country-card--multi-cta .btn-order {
  min-height: 52px;
  padding: 0.6rem 0.5rem;
  font-size: 0.78rem;
  letter-spacing: 0.02em;
  line-height: 1.2;
}

.country-card--multi-cta .btn-order__icon {
  width: 16px;
  height: 16px;
}

.country-card--multi-cta .btn-order--zomato {
  grid-column: 2;
}

/* ── Order Buttons ── */
.btn-order {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
  font-family: var(--font-primary);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: filter var(--transition), transform var(--transition);
}
.btn-order:hover,
.btn-order:focus-visible {
  filter: brightness(1.12);
  transform: scale(1.02);
  outline: none;
}
[lang="ar"] .btn-order {
  font-family: var(--font-arabic);
  letter-spacing: 0;
}

.country-card__buttons .btn-order,
.country-card__buttons .btn-order:visited,
.country-card__buttons .btn-order:hover,
.country-card__buttons .btn-order:focus-visible,
.country-card__buttons .btn-order:active {
  background: var(--color-orange) !important;
  color: var(--color-white) !important;
}
.btn-order__icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

/* ── Footer ── */
.site-footer {
  background: var(--color-black);
  border-top: 3px solid var(--color-green);
  padding: 2.5rem 2rem 2rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
}

.site-footer__thanks {
  font-size: clamp(0.9rem, 2vw, 1rem);
  color: var(--color-white);
  font-weight: 400;
}

.site-footer__soon {
  font-size: clamp(0.9rem, 2vw, 1rem);
  color: var(--color-white);
  font-weight: 400;
  margin-block-end: 0.75rem;
}

.site-footer__brand {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 900;
  color: var(--color-green);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  line-height: 1.1;
  margin-block-end: 0.75rem;
}

.site-footer__copy {
  font-size: 0.75rem;
  color: var(--color-muted);
  letter-spacing: 0.04em;
}

[lang="ar"] .site-footer__brand,
[lang="ar"] .site-footer__copy {
  letter-spacing: 0;
}

/* ── Responsive ── */
@media (max-width: 480px) {
  .hero__logo {
    height: 110px;
  }
  .hero {
    padding: 3rem 1.25rem 2.5rem;
  }
  .countries-section {
    padding: 2.5rem 1.25rem;
  }
  .country-card {
    width: 100%;
  }
}

@media (max-width: 980px) {
  .country-grid {
    grid-template-columns: 1fr;
  }
  .country-card--multi-cta .country-card__buttons {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .country-card--multi-cta .btn-order--zomato {
    grid-column: auto;
  }
}

@media (max-width: 640px) {
  .country-card--multi-cta .country-card__buttons {
    grid-template-columns: 1fr;
  }
}

/* ── RTL overrides (logical properties handle most cases automatically) ── */
/* Header flex-direction not needed — logo is centered, toggle uses inset-inline-end */
[dir="rtl"] .btn-order {
  flex-direction: row-reverse;
}
