/* ==========================================================
   GOL HIBURAN — custom stylesheet
   Tailwind (via CDN) handles utility classes; this file holds
   brand fonts, animation keyframes, and small reusable components
   that are cleaner to write as real CSS than long Tailwind chains.
   ========================================================== */

/* -----------------------------------------------------------
   1. BRAND FONTS
   Files are expected at assets/fonts/Gokhan.otf and
   assets/fonts/ComicHelvetic.otf. Google Fonts (Unbounded /
   Plus Jakarta Sans) remain as the fallback in tailwind.config
   (index.html) in case a file is ever missing.
----------------------------------------------------------- */
@font-face {
  font-family: 'Gokhan';
  src: url('../assets/fonts/Gokhan.otf') format('opentype');
  font-weight: 400 900;
  font-display: swap;
  letter-spacing: 1px;
}
@font-face {
  font-family: 'ComicHelvetic';
  src: url('../assets/fonts/ComicHelvetic.otf') format('opentype');
  font-weight: 400 700;
  font-display: swap;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

.font-display{
  letter-spacing: 1px !important;
}

/* -----------------------------------------------------------
   2. NO ROUNDED CORNERS, ANYWHERE
   Belt-and-suspenders: strips radius even if a rounded-* utility
   class is left in the markup by mistake.
----------------------------------------------------------- */
*, *::before, *::after {
  border-radius: 0 !important;
}

/* -----------------------------------------------------------
   3. ACCESSIBILITY
----------------------------------------------------------- */
.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: #FFDD00;
  color: #0A0A0A;
  padding: 0.75rem 1.25rem;
  font-weight: 700;
  z-index: 999;
}
.skip-link:focus {
  left: 0;
}

:focus-visible {
  outline: 3px solid #FFDD00;
  outline-offset: 2px;
}

/* -----------------------------------------------------------
   4. SECTION BACKGROUNDS
   About / What We Do / Brands / Contact alternate white and black
   on purpose and stay fixed regardless of the dark-mode toggle
   below (which only affects nav, footer, and buttons).
----------------------------------------------------------- */
.section-light {
  background: #FFFFFF;
  color: #0A0A0A;
}
.section-dark {
  background: #0A0A0A;
  color: #FFFFFF;
}

/* -----------------------------------------------------------
   5. NAV LINKS
----------------------------------------------------------- */
.nav-link {
  position: relative;
  padding-bottom: 2px;
}
.nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  background: #FFDD00;
  transition: width 0.25s ease;
}
.nav-link:hover::after {
  width: 100%;
}

.lang-btn[aria-pressed="true"] {
  background: #FFDD00;
  color: #0A0A0A;
}

/* -----------------------------------------------------------
   6. SCROLL REVEAL
----------------------------------------------------------- */
.reveal-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.delay-150.is-visible { transition-delay: 0.15s; }
.delay-300.is-visible { transition-delay: 0.3s; }

/* -----------------------------------------------------------
   7. BROADCAST TICKER
----------------------------------------------------------- */
.ticker-track {
  animation: tickerScroll 22s linear infinite;
  width: max-content;
}
@keyframes tickerScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* -----------------------------------------------------------
   8. EYEBROW BADGE
----------------------------------------------------------- */
.eyebrow {
  display: inline-block;
  font-weight: 800;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #0A0A0A;
  background: #FFDD00;
  border: 2px solid #0A0A0A;
  padding: 0.25rem 0.85rem;
}
.section-dark .eyebrow {
  color: #FFDD00;
  background: transparent;
  border-color: #FFDD00;
}

/* -----------------------------------------------------------
   9. CTA BUTTONS (brand-colored: WhatsApp, YouTube, Gmail)
----------------------------------------------------------- */
.btn-whatsapp,
.btn-youtube,
.btn-gmail {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-family: 'Gokhan', 'Unbounded', sans-serif;
  font-weight: 700;
  color: #FFFFFF;
  padding: 0.9rem 1.75rem;
  border: none !important;
  box-shadow: 6px 6px 0px 0px #0A0A0A;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.btn-whatsapp:hover,
.btn-youtube:hover,
.btn-gmail:hover {
  transform: translateY(-3px);
  box-shadow: 9px 9px 0px 0px #0A0A0A;
}
.btn-whatsapp:active,
.btn-youtube:active,
.btn-gmail:active {
  transform: translateY(0);
  box-shadow: 3px 3px 0px 0px #0A0A0A;
}
.btn-whatsapp {
  background: #25D366; /* WhatsApp green */
}
.btn-youtube {
  color: #0A0A0A;
  background: #FFFFFF; /* YouTube red */
}
.btn-gmail {
  color: #0A0A0A;
  background: #FFFFFF; /* Gmail white */
}
/* Only the WhatsApp glyph needs recoloring to white — the YouTube
   and Gmail marks are shown exactly as their source files. */
.btn-whatsapp img {
  filter: brightness(0) invert(1);
}

/* Small white chip behind an icon that needs a light backdrop
   (e.g. the multi-color Gmail mark on a red button) */
.icon-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  background: #FFFFFF;
  padding: 0.2rem;
  flex-shrink: 0;
}
.icon-chip img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Keep CTA button pairs the same width regardless of label length */
.btn-uniform {
  display: inline-flex;
  justify-content: center;
  min-width: 280px;
  max-width: 100%;
  text-align: center;
}

@media (max-width: 640px) {
  .btn-uniform {
    width: 100%;
    min-width: 0;
  }
}

/* -----------------------------------------------------------
   10. SOCIAL CHIPS (About section, bigger tap targets)
----------------------------------------------------------- */
.social-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.75rem 1.25rem;
  border: 2px solid #0A0A0A;
  background: #FFFFFF;
  color: #0A0A0A;
  box-shadow: 6px 6px 0px 0px #0A0A0A;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}
.social-chip:hover {
  background: #FFDD00;
  transform: translateY(-3px);
  box-shadow: 6px 6px 0px 0px #0A0A0A;
}
.social-chip img {
  width: 1.25rem;
  height: 1.25rem;
}

/* -----------------------------------------------------------
   11. STAT CARDS (About section — sits on section-dark)
----------------------------------------------------------- */
.stat-card {
  background: #FFFFFF;
  color: #0A0A0A;
  border: 2px solid #0A0A0A;
  padding: 1.5rem;
  box-shadow: 4px 4px 0px 0px #0A0A0A;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: 7px 7px 0px 0px #0A0A0A;
}

/* -----------------------------------------------------------
   12. SERVICE CARDS (What We Do — sits on section-light)
----------------------------------------------------------- */
.service-card {
  background: #FFFFFF;
  border: 2px solid #0A0A0A;
  padding: 1.75rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  box-shadow: 5px 5px 0px 0px #0A0A0A;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 9px 9px 0px 0px #0A0A0A;
}

/* Vertical (Shorts) video embed, cropped to a consistent frame */
.embed-frame {
  position: relative;
  width: 100%;
  max-width: 240px;
  aspect-ratio: 9 / 16;
  margin: 0 auto;
  border: 2px solid #0A0A0A;
  overflow: hidden;
  background: #0A0A0A;
}
.embed-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* -----------------------------------------------------------
   13. BRAND LOGOS (Brands section — sits on section-dark)
----------------------------------------------------------- */
.brand-logo {
  height: 130px;
  display: grid;
  place-items: center;
  padding: 1.25rem;
  background: #FFFFFF;
  border: 2px solid #0A0A0A;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.brand-logo:hover {
  transform: translateY(-3px);
  box-shadow: 5px 5px 0px 0px #0A0A0A;
}
.brand-logo img {
  max-width: 100%;
  max-height: 80px;
  object-fit: contain;
  transition: filter 0.3s ease, opacity 0.3s ease;
}

/* Oakever's mark is solid white and disappears on a white card —
   give it a dark teal card instead so it stays visible. */
.brand-logo--invert {
  background: #0d7551;
  border-color: #0A0A0A;
}
.brand-logo--invert img {
  filter: none;
  opacity: 1;
}

/* -----------------------------------------------------------
   14. FOOTER ICONS
----------------------------------------------------------- */
.footer-icon {
  width: 2.25rem;
  height: 2.25rem;
  display: grid;
  place-items: center;
  border: 2px solid #0A0A0A;
  transition: background 0.2s ease, transform 0.2s ease;
}
.footer-icon:hover {
  background: #FFDD00;
  transform: translateY(-2px);
}
html.dark .footer-icon {
  border-color: #FFDD00;
}
