/* ==========================================================================
   Indotek Retail Portfolio - local static rebuild
   ========================================================================== */

/* ---- Fonts (self-hosted, see assets/fonts/fonts.css) ------------------- */
@import url("../fonts/fonts.css");

:root {
  --dark: #1e1e1e;
  --darker: #171717;
  --ink: #05151b;
  --cream: #efebe6;
  --orange: #f5851f;
  --orange-dark: #ee7900;
  --white: #ffffff;
  --grey: #dadada;
  --text-light: rgba(255, 255, 255, 0.85);
  --text-dark: #2b2b2b;
  --serif: "Playfair Display", Georgia, serif;
  --sans: "Fira Sans", "Open Sans", Arial, sans-serif;
  --condensed: "Fira Sans Condensed", "Arial Narrow", sans-serif;
  --header-h: 92px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-light);
  background: var(--dark);
}

img { max-width: 100%; display: block; }

a { color: var(--orange); text-decoration: none; }
a:hover { color: var(--orange-dark); }

/* ---- Typography helpers ------------------------------------------------ */

.eyebrow {
  font-family: var(--condensed);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 18px;
}

.heading-xl,
.heading-lg,
.heading-md {
  font-family: var(--serif);
  font-weight: 400;
  color: var(--white);
  line-height: 1.1;
}

.heading-xl { font-size: clamp(44px, 7vw, 92px); }
.heading-lg { font-size: clamp(36px, 5vw, 64px); }
.heading-md { font-size: clamp(26px, 3vw, 38px); }

.on-cream .heading-xl,
.on-cream .heading-lg,
.on-cream .heading-md { color: var(--dark); }

/* ---- Header / navigation ------------------------------------------------ */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 48px;
  transition: background 0.3s ease;
}

.site-header.scrolled { background: rgba(23, 23, 23, 0.95); }

.site-header .logo img { width: 92px; height: auto; }

.menu-toggle {
  display: flex;
  align-items: center;
  gap: 10px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--condensed);
  font-weight: 600;
  font-size: 18px;
  letter-spacing: 2px;
  color: var(--orange);
  text-transform: uppercase;
}

.menu-toggle .bars { display: inline-block; width: 26px; }
.menu-toggle .bars span {
  display: block;
  height: 3px;
  margin: 5px 0;
  background: var(--orange);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

/* Fullscreen overlay menu */
.nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: rgba(15, 15, 15, 0.97);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.nav-overlay.open { opacity: 1; visibility: visible; }

.nav-overlay a {
  font-family: var(--serif);
  font-size: clamp(30px, 4.5vw, 52px);
  color: var(--white);
  padding: 6px 0;
}

.nav-overlay a:hover { color: var(--orange); }

.nav-overlay .nav-meta {
  margin-top: 40px;
  display: flex;
  gap: 32px;
  font-family: var(--condensed);
  font-size: 14px;
  letter-spacing: 1.5px;
  color: var(--text-light);
}

/* ---- Hero ---------------------------------------------------------------- */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 24px 80px;
  background-size: cover;
  background-position: center;
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(rgba(15, 18, 20, 0.78), rgba(15, 18, 20, 0.82));
}

.hero .tagline {
  margin-top: 28px;
  max-width: 420px;
  font-size: 17px;
  color: var(--text-light);
}

.hero .hero-side {
  position: absolute;
  right: 48px;
  bottom: 48px;
  font-family: var(--condensed);
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.scroll-cue {
  position: absolute;
  bottom: 42px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--white);
  font-size: 26px;
  animation: cue 2.2s infinite;
}

@keyframes cue {
  0%, 100% { transform: translate(-50%, 0); opacity: 0.9; }
  50% { transform: translate(-50%, 10px); opacity: 0.4; }
}

/* ---- Generic sections ---------------------------------------------------- */

.section { padding: 110px 24px; }
.section-inner { max-width: 1140px; margin: 0 auto; }
.on-dark { background: var(--dark); }
.on-darker { background: var(--darker); }
.on-cream { background: var(--cream); color: var(--text-dark); }

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.split .media img {
  width: 100%;
  height: 100%;
  min-height: 340px;
  object-fit: cover;
}

/* Numbered feature blocks (01 Introduction / 02 Strategic Turnarounds) */
.numbered-block { margin-bottom: 42px; }
.numbered-block:last-child { margin-bottom: 0; }

.numbered-block .num {
  font-family: var(--serif);
  font-size: 20px;
  color: var(--orange);
  display: block;
  margin-bottom: 6px;
}

.numbered-block h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 28px;
  margin-bottom: 14px;
}

.on-cream .numbered-block h3 { color: var(--dark); }
.on-cream p { color: #4a4a4a; }

/* ---- Vision (photo background) ------------------------------------------ */

.vision {
  position: relative;
  padding: 150px 24px;
  background-size: cover;
  background-position: center;
  isolation: isolate;
}

.vision::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(rgba(10, 12, 14, 0.72), rgba(10, 12, 14, 0.55));
}

.vision .cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  margin-top: 48px;
}

.vision h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 24px;
  color: var(--white);
  margin-bottom: 12px;
}

/* ---- Key facts ------------------------------------------------------------ */

.facts-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 64px;
}

.facts-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 56px 40px;
}

.fact .value {
  font-family: var(--serif);
  font-size: clamp(44px, 4.5vw, 68px);
  line-height: 1;
  color: var(--orange);
}

.fact .label {
  margin-top: 12px;
  font-family: var(--condensed);
  font-size: 14px;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--text-light);
}

/* ---- Map / footprint ------------------------------------------------------ */

.map-frame { margin-top: 56px; }
.map-frame img { width: 100%; }

/* ---- Portfolio page -------------------------------------------------------- */

.country-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 56px 0 0;
}

.country-tab {
  flex: 1 1 auto;
  padding: 16px 22px;
  border: none;
  cursor: pointer;
  background: #6f6f6f;
  color: var(--white);
  font-family: var(--condensed);
  font-weight: 500;
  font-size: 17px;
  letter-spacing: 0.5px;
  text-align: center;
  transition: background 0.2s ease;
}

.country-tab:hover { background: #5c5c5c; }
.country-tab.active { background: var(--cream); color: var(--dark); }

.country-panel { display: none; }
.country-panel.active { display: block; }

.property-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 48px;
}

.property-card {
  background: #262626;
  overflow: hidden;
}

.on-cream .property-card { background: var(--white); }

.property-card img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.property-card:hover img { transform: scale(1.04); }

.property-card .card-body { padding: 18px 20px 22px; }

.property-card h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 22px;
  color: var(--white);
  margin-bottom: 6px;
}

.on-cream .property-card h3 { color: var(--dark); }

.property-card .meta {
  display: flex;
  justify-content: space-between;
  font-family: var(--condensed);
  font-size: 14px;
  letter-spacing: 0.8px;
  color: var(--orange);
  text-transform: uppercase;
}

.on-cream .property-card .meta { color: var(--orange-dark); }

/* ---- CTA / contact / footer ------------------------------------------------ */

.cta p {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  font-size: 18px;
}

.contact-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  margin-top: 72px;
  text-align: center;
}

.contact-cols h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(30px, 3vw, 44px);
  color: var(--white);
  margin-bottom: 10px;
}

.contact-cols a,
.contact-cols span { color: var(--text-light); font-size: 16px; }
.contact-cols a:hover { color: var(--orange); }

.footer-bottom {
  margin-top: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-bottom .copyright {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.45);
}

.linkedin-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  color: var(--white);
  font-family: var(--condensed);
  font-size: 15px;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.linkedin-badge:hover { border-color: var(--orange); color: var(--orange); }

/* ---- GDPR page --------------------------------------------------------------- */

.article {
  max-width: 820px;
  margin: 0 auto;
  padding: 180px 24px 110px;
}

.article h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(34px, 4.5vw, 54px);
  color: var(--white);
  margin-bottom: 40px;
}

.article h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 26px;
  color: var(--orange);
  margin: 44px 0 14px;
}

.article p, .article li { margin-bottom: 14px; }
.article ul { padding-left: 22px; }
.article a { word-break: break-all; }

/* ---- Cookie banner -------------------------------------------------------------- */

.cookie-banner {
  position: fixed;
  inset: auto 0 0 0;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 18px;
  padding: 16px 24px;
  background: rgba(20, 20, 20, 0.97);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 13.5px;
}

.cookie-banner.visible { display: flex; }

.cookie-banner .actions { display: flex; gap: 10px; }

.cookie-banner button {
  padding: 9px 26px;
  border: none;
  cursor: pointer;
  background: var(--orange);
  color: var(--white);
  font-family: var(--condensed);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.cookie-banner button:hover { background: var(--orange-dark); }

/* ---- Reveal on scroll ------------------------------------------------------------- */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.in { opacity: 1; transform: none; }

/* ---- Responsive --------------------------------------------------------------------- */

@media (max-width: 980px) {
  .facts-grid { grid-template-columns: repeat(2, 1fr); }
  .property-grid { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; gap: 40px; }
  .vision .cols { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .site-header { padding: 18px 20px; }
  .section { padding: 80px 18px; }
  .facts-grid { grid-template-columns: 1fr 1fr; gap: 40px 24px; }
  .property-grid { grid-template-columns: 1fr; }
  .contact-cols { grid-template-columns: 1fr; gap: 36px; }
  .hero .hero-side { display: none; }
  .country-tab { flex-basis: 100%; }
}
