/* ============================================
   CCS Group — Corporate Landing Page
   Design: Deep Navy + Gold + Serif
   ============================================ */

/* ---------- RESET & VARIABLES ---------- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
h1, h2, h3, h4, h5, h6 { font-weight: 400; }

:root {
  --navy: #0A1628;
  --navy-light: #0F1F35;
  --navy-card: #162240;
  --gold: #C9A96E;
  --gold-10: rgba(201, 169, 110, .1);
  --gold-20: rgba(201, 169, 110, .2);
  --gold-40: rgba(201, 169, 110, .4);
  --cream: #F5F0E8;
  --muted: #8B9AB5;
  --dark-bg: #060E1A;
  --serif: 'Playfair Display', Georgia, serif;
  --sans: 'Plus Jakarta Sans', system-ui, sans-serif;
  --max-w: 1440px;
  --pad: 24px;
  --pad-desk: 80px;
}

html { scroll-behavior: auto; }

body {
  font-family: var(--sans);
  background: var(--navy);
  color: var(--cream);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  max-width: 1920px;
  margin: 0 auto;
}

a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
img { display: block; width: 100%; height: 100%; object-fit: cover; }
.hero__bg img { object-position: 60% top; }
.spotlight__bg img { object-position: center 30%; }

/* ---------- RESPONSIVE HELPERS ---------- */
.stats--desk-only.stats__item,
.stats--desk-only.stats__div { display: none; }

/* ---------- ANIMATION CLASSES ---------- */
.anim { opacity: 0; transform: translateY(30px); }
.anim-left { opacity: 0; transform: translateX(-40px); }
.anim-right { opacity: 0; transform: translateX(40px); }

/* ---------- SHARED ---------- */
.logo { display: flex; align-items: baseline; gap: 8px; }
.logo__ccs { font-family: var(--sans); font-size: 15px; font-weight: 700; color: var(--gold); letter-spacing: 4px; }
.logo__group { font-family: var(--sans); font-size: 15px; font-weight: 200; color: var(--cream); letter-spacing: 4px; }

.section-tag { display: flex; align-items: center; gap: 8px; }
.section-tag__line { width: 20px; height: 1px; background: var(--gold); }
.section-tag__text { font-size: 9px; font-weight: 600; letter-spacing: 2.5px; color: var(--gold); }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 13px 22px; font-size: 13px; font-weight: 600;
  border-radius: 0; transition: opacity .2s;
}
.btn:hover { opacity: .85; }
.btn--primary { background: var(--gold); color: var(--navy); }
.btn--ghost { background: transparent; color: var(--cream); border: 1px solid rgba(255,255,255,.15); }
.btn--dark { background: var(--navy); color: var(--cream); font-weight: 600; padding: 15px 32px; font-size: 14px; }
.btn--dark-ghost { background: transparent; color: var(--navy); font-weight: 500; padding: 15px 32px; font-size: 14px; border: 1px solid rgba(10,22,40,.25); }

/* ---------- DEMO OVERLAY ---------- */
.demo-overlay {
  position: fixed; inset: 0; z-index: 2000;
  background: var(--navy);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none;
  transition: opacity .4s ease;
}
.demo-overlay.open { opacity: 1; pointer-events: all; }
.demo-overlay__inner {
  text-align: center; padding: 40px;
  display: flex; flex-direction: column; align-items: center; gap: 20px;
  max-width: 480px;
}
.demo-overlay__inner .logo { margin-bottom: 8px; }
.demo-overlay__label {
  font-size: 10px; font-weight: 600; letter-spacing: 3px; color: var(--gold);
  padding: 6px 16px; border: 1px solid var(--gold-40); background: var(--gold-10);
}
.demo-overlay__title {
  font-family: var(--serif); font-size: 40px; color: var(--cream); line-height: 1.1;
}
.demo-overlay__desc {
  font-size: 14px; color: var(--muted); line-height: 1.7;
}
.demo-overlay__btns { display: flex; gap: 12px; margin-top: 8px; }
.demo-overlay__credit {
  font-size: 11px; color: rgba(139,154,181,.4); margin-top: 24px;
}

/* ---------- OVERLAY MENU ---------- */
.overlay-menu {
  position: fixed; inset: 0; z-index: 1000;
  background: var(--navy); display: flex; flex-direction: column;
  padding: 20px var(--pad); transform: translateX(100%);
  transition: transform .4s cubic-bezier(.4,0,.2,1);
}
.overlay-menu.open { transform: translateX(0); }
.overlay-menu__head { display: flex; justify-content: space-between; align-items: center; height: 44px; }
.overlay-menu__close { font-size: 28px; color: var(--cream); }
.overlay-menu__nav { display: flex; flex-direction: column; gap: 28px; margin-top: 48px; }
.overlay-menu__nav a { font-family: var(--serif); font-size: 28px; color: var(--cream); }
.overlay-menu__nav--dimmed { opacity: .35 !important; }
.overlay-menu__foot { margin-top: auto; padding-bottom: 24px; }
.overlay-menu__foot p { font-size: 11px; color: var(--muted); line-height: 1.8; }

/* ---------- NAVBAR ---------- */
.navbar {
  position: sticky; top: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  height: 64px; padding: 0 var(--pad);
  background: var(--navy); border-bottom: 1px solid var(--gold);
}
.navbar__links { display: none; }
.navbar__right { display: flex; align-items: center; gap: 14px; }
.navbar__bursa {
  font-size: 8px; font-weight: 600; letter-spacing: 1.5px; color: var(--gold);
  padding: 4px 8px; background: var(--gold-10); border: 1px solid var(--gold-40);
}
.navbar__contact { display: none; }
.navbar__hamburger {
  display: flex; flex-direction: column; gap: 5px; justify-content: center;
  width: 22px; height: 22px;
}
.navbar__hamburger span {
  display: block; height: 2px; background: var(--cream); border-radius: 2px;
}
.navbar__hamburger span:nth-child(3) { width: 14px; }

/* ---------- HERO ---------- */
.hero {
  position: relative; height: 520px; overflow: hidden;
  display: flex; align-items: flex-end;
}
.hero__bg {
  position: absolute; inset: 0;
}
.hero__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, #0A1628f2 0%, #0A1628bb 45%, #0A162800 100%);
}
/* Desktop: left-to-right gradient so image visible on right */
.hero__content {
  position: relative; z-index: 1;
  display: flex; flex-direction: column; gap: 16px;
  padding: 0 var(--pad) 44px;
}
.hero__tag { display: flex; align-items: center; gap: 10px; }
.hero__tag-line { width: 28px; height: 1px; background: var(--gold); flex-shrink: 0; }
.hero__tag-text { font-size: 10px; font-weight: 600; letter-spacing: 2.5px; color: var(--gold); }
.hero__title {
  font-family: var(--serif); font-size: 38px; font-weight: 400; line-height: 1.1;
}
.hero__sub {
  font-size: 14px; line-height: 1.65; color: var(--muted); max-width: 320px;
}
.hero__ctas { display: flex; gap: 12px; }

/* ---------- STATS ---------- */
.stats {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 var(--pad); height: 100px;
  background: var(--navy-light);
}
.stats__item { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.stats__val { font-family: var(--serif); font-size: 28px; font-weight: 400; color: var(--cream); }
.stats__label { font-size: 9px; font-weight: 600; letter-spacing: 2px; color: var(--gold); }
.stats__div { width: 1px; height: 40px; background: var(--gold-40); }

/* ---------- BUSINESS PILLARS ---------- */
.pillars { padding: 48px var(--pad); background: var(--navy); }
.pillars__header { margin-bottom: 32px; }
.pillars__header-left { display: flex; flex-direction: column; gap: 12px; }
.pillars__title { font-family: var(--serif); font-size: 30px; font-weight: 400; line-height: 1.15; }
.pillars__sub { font-size: 13px; line-height: 1.6; color: var(--muted); max-width: 300px; margin-top: 10px; }
.pillars__sub-ext { display: none; }
.pillars__grid { display: flex; flex-direction: column; gap: 0; }

.pillar-card {
  position: relative; display: block; height: 200px; overflow: hidden;
}
.pillar-card__img { position: absolute; inset: 0; }
.pillar-card__img img { width: 100%; height: 100%; object-fit: cover; }
.pillar-card__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, #0A1628ee 0%, #0A162800 30%);
}
.pillar-card__content {
  position: absolute; bottom: 0; left: 0; right: 0;
  display: flex; flex-direction: column; gap: 8px;
  padding: 28px 24px;
}
.pillar-card__label { font-size: 9px; font-weight: 700; letter-spacing: 2.5px; color: var(--gold); }
.pillar-card__name { font-family: var(--serif); font-size: 20px; line-height: 1.2; }
.pillar-card__desc { font-size: 12px; color: var(--muted); line-height: 1.6; display: none; }

/* ---------- SPOTLIGHT ---------- */
.spotlight { background: var(--navy); }
.spotlight__img {
  position: relative; height: 320px; overflow: hidden;
}
.spotlight__img img { width: 100%; height: 100%; object-fit: cover; }
.spotlight__img-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, #0A1628f5 0%, #0A1628cc 50%, #0A162800 100%);
}
.spotlight__mobile-content {
  position: absolute; inset: 0; z-index: 1;
  display: flex; flex-direction: column; justify-content: flex-start; gap: 16px;
  padding: 32px var(--pad);
}
.spotlight__panel { display: none; }
.spotlight__title { font-family: var(--serif); font-size: 34px; font-weight: 400; line-height: 1.1; }
.spotlight__sub { font-size: 13px; line-height: 1.6; color: var(--muted); }
.spotlight__metrics { display: flex; gap: 24px; padding-top: 16px; }
.spotlight__metric { display: flex; flex-direction: column; gap: 4px; }
.spotlight__metric-val { font-family: var(--serif); font-size: 24px; font-weight: 400; color: var(--cream); }
.spotlight__metric-label { font-size: 8px; font-weight: 600; letter-spacing: 2px; color: var(--gold); }
.spotlight__metric-div { width: 1px; height: 36px; background: var(--gold-40); }
.spotlight__cta {
  display: inline-flex; align-self: flex-start; width: fit-content;
  padding: 13px 24px; font-size: 13px; font-weight: 500; color: var(--gold);
  border: 1px solid rgba(201,169,110,.4); transition: border-color .2s;
}
.spotlight__cta:hover { border-color: var(--gold); }

/* ---------- ESG ---------- */
.esg { padding: 48px var(--pad); background: var(--navy-light); }
.esg__header { margin-bottom: 24px; }
.esg__header-left { display: flex; flex-direction: column; gap: 12px; }
.esg__title { font-family: var(--serif); font-size: 26px; font-weight: 400; line-height: 1.2; }
.esg__header-right { font-size: 13px; line-height: 1.6; color: var(--muted); margin-top: 16px; max-width: 340px; display: none; }
.esg__items { display: flex; flex-direction: column; gap: 20px; }
.esg__item {
  display: flex; align-items: center; gap: 16px;
  padding: 20px; background: var(--navy-card);
  border: 1px solid rgba(201,169,110,.13);
}
.esg__num { font-family: var(--serif); font-size: 28px; font-weight: 400; color: var(--gold); opacity: .27; flex-shrink: 0; }
.esg__item-text { display: flex; flex-direction: column; gap: 4px; }
.esg__item-title { font-size: 13px; font-weight: 600; color: var(--cream); }
.esg__item-desc { font-size: 11px; color: var(--muted); line-height: 1.5; max-width: 220px; }
.esg__desc-desktop { display: none; }
.esg__desc-mobile { display: inline; }

/* ---------- NEWS ---------- */
.news { padding: 48px var(--pad) 40px; background: var(--navy); }
.news__header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 28px; }
.news__view-all { font-size: 13px; font-weight: 500; color: var(--gold); }
.news__grid { display: flex; flex-direction: column; gap: 16px; }
.news__card { padding: 24px; background: var(--navy); border-top: 1px solid rgba(245,240,232,.06); }
.news__meta { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.news__date { font-size: 10px; font-weight: 500; letter-spacing: 1px; color: var(--muted); }
.news__dot { width: 3px; height: 3px; border-radius: 50%; background: var(--gold-40); }
.news__cat { font-size: 10px; font-weight: 600; letter-spacing: 1px; color: var(--gold); }
.news__title { font-family: var(--serif); font-size: 16px; font-weight: normal; line-height: 1.3; margin-bottom: 12px; }
.news__desc { font-size: 12px; color: var(--muted); line-height: 1.6; display: none; }

/* ---------- CTA STRIP ---------- */
.cta-strip { padding: 40px var(--pad); background: var(--gold); }
.cta-strip__title { font-family: var(--serif); font-size: 28px; font-weight: 400; line-height: 1.1; color: var(--navy); margin-bottom: 20px; }
.cta-strip__sub { font-size: 13px; line-height: 1.6; color: rgba(10,22,40,.6); margin-bottom: 20px; max-width: 300px; }
.cta-strip__btns { display: flex; flex-direction: column; gap: 12px; }

/* ---------- FOOTER ---------- */
.footer { padding: 40px var(--pad) 32px; background: var(--dark-bg); }
.footer__mobile {
  display: flex; flex-direction: column; gap: 32px;
  padding-bottom: 32px; border-bottom: 1px solid rgba(245,240,232,.06);
}
.footer__mobile-brand { display: flex; flex-direction: column; gap: 8px; }
.footer__tagline { font-size: 12px; color: var(--muted); line-height: 1.6; }
.footer__mobile-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.footer__desktop { display: none; }
.footer__col { display: flex; flex-direction: column; gap: 12px; }
.footer__col--brand { gap: 8px; }
.footer__bursa-text { font-size: 10px; font-weight: 500; color: rgba(201,169,110,.4); letter-spacing: .5px; }
.footer__heading { font-size: 11px; font-weight: 600; letter-spacing: 1.5px; color: var(--cream); margin-bottom: 4px; }
.footer__col a { font-size: 13px; color: var(--muted); }
.footer__col a:hover { color: var(--cream); }
.footer__bottom {
  display: flex; flex-direction: column; gap: 6px; padding-top: 24px;
}
.footer__bottom p { font-size: 10px; color: rgba(139,154,181,.4); }
p.footer__bottom-bursa { font-size: 9px; font-weight: 500; color: rgba(201,169,110,.55); letter-spacing: .3px; }

/* ==========================================
   DESKTOP (1024px+)
   ========================================== */
@media (min-width: 1024px) {
  .stats--desk-only.stats__item { display: flex; }
  .stats--desk-only.stats__div { display: block; }

  .navbar {
    height: 72px; padding: 0 var(--pad-desk);
  }
  .navbar__links {
    display: flex; align-items: center; gap: 32px;
  }
  .navbar__link { font-size: 13px; color: var(--muted); transition: color .2s; }
  .navbar__link:hover { color: var(--cream); }
  .navbar__contact {
    display: flex; align-items: center; justify-content: center;
    padding: 10px 22px; font-size: 13px; color: var(--cream);
    border: 1px solid rgba(245,240,232,.13);
    transition: border-color .2s;
  }
  .navbar__contact:hover { border-color: var(--gold); }
  .navbar__hamburger { display: none; }
  .navbar__bursa { font-size: 9px; padding: 5px 10px; }

  /* Hero desktop */
  .hero { height: 680px; }
  .hero__overlay {
    background: linear-gradient(to right, #0A1628e0 0%, #0A162840 45%, #0A162800 70%);
  }
  .hero__content {
    padding: 0 var(--pad-desk) 80px; gap: 22px;
    max-width: 760px;
  }
  .hero__title { font-size: 82px; line-height: 1.05; max-width: 680px; }
  .hero__sub { font-size: 15px; max-width: 480px; }
  .hero__ctas { gap: 14px; }
  .hero__ctas .btn { padding: 14px 28px; font-size: 14px; }

  /* Stats desktop — 4 items */
  .stats {
    height: 108px; padding: 0 var(--pad-desk);
  }
  .stats__val { font-size: 34px; }
  .stats__label { font-size: 8px; }

  /* Pillars desktop */
  .pillars { padding: var(--pad-desk); }
  .pillars__header {
    display: flex; align-items: flex-end; justify-content: space-between;
    margin-bottom: 48px;
  }
  .pillars__title { font-size: 44px; }
  .pillars__sub { font-size: 14px; line-height: 1.7; max-width: 360px; margin-top: 0; }
  .pillars__sub-ext { display: inline; }
  .pillars__grid { flex-direction: row; gap: 0; }
  .pillar-card { flex: 1; height: 460px; }
  .pillar-card__name { font-size: 24px; }
  .pillar-card__desc { display: block; }

  /* Spotlight desktop — split layout */
  .spotlight {
    display: flex; height: 540px;
  }
  .spotlight__img {
    width: 700px; flex-shrink: 0; height: 540px;
  }
  .spotlight__img-overlay { display: none; }
  .spotlight__mobile-content { display: none; }
  .spotlight__panel {
    display: flex; flex-direction: column; justify-content: center; gap: 24px;
    flex: 1; padding: 56px; background: var(--navy-light);
  }
  .spotlight__title { font-size: 52px; }
  .spotlight__sub { font-size: 14px; line-height: 1.7; }
  .spotlight__metrics { gap: 32px; }
  .spotlight__metric-val { font-size: 28px; font-weight: 400; }

  /* ESG desktop */
  .esg { padding: var(--pad-desk); }
  .esg__header {
    display: flex; align-items: flex-end; justify-content: space-between;
    margin-bottom: 48px;
  }
  .esg__title { font-size: 40px; }
  .esg__header-right { display: block; font-size: 14px; line-height: 1.7; max-width: 380px; margin-top: 0; }
  .esg__items { flex-direction: row; gap: 20px; }
  .esg__item { flex: 1; flex-direction: column; align-items: flex-start; gap: 20px; padding: 32px; }
  .esg__num { font-size: 32px; }
  .esg__item-title { font-size: 15px; }
  .esg__item-desc { font-size: 13px; line-height: 1.6; max-width: 260px; }
  .esg__desc-desktop { display: inline; }
  .esg__desc-mobile { display: none; }

  /* News desktop: 3 card columns */
  .news { padding: var(--pad-desk); }
  .news__grid {
    flex-direction: row; gap: 1px;
    background: rgba(245,240,232,.06);
  }
  .news__card {
    flex: 1; padding: 32px; border-top: none;
    background: var(--navy);
  }
  .news__title { font-size: 20px; max-width: 360px; }
  .news__desc { display: block; max-width: 360px; }
  .news__meta { margin-bottom: 16px; }

  /* CTA desktop */
  .cta-strip {
    display: flex; align-items: center; justify-content: space-between;
    padding: var(--pad-desk);
  }
  .cta-strip__left { display: flex; flex-direction: column; gap: 12px; }
  .cta-strip__title { font-size: 48px; margin-bottom: 0; max-width: 520px; }
  .cta-strip__sub { margin-bottom: 0; max-width: 460px; font-size: 15px; }
  .cta-strip__btns { flex-shrink: 0; flex-direction: row; }

  /* Footer desktop: 4 columns */
  .footer { padding: 64px var(--pad-desk) 40px; }
  .footer__mobile { display: none; }
  .footer__desktop {
    display: flex; justify-content: space-between;
    padding-bottom: 48px; border-bottom: 1px solid rgba(245,240,232,.06);
  }
  .footer__col--brand { width: 280px; }
  .footer__bottom { flex-direction: row; justify-content: space-between; align-items: center; padding-top: 32px; }
  .footer__bottom p { font-size: 11px; }
  .footer__bottom-bursa { font-size: 11px; color: rgba(201,169,110,.55); }
}

/* ==========================================
   LARGE DESKTOP (1600px+)
   ========================================== */
@media (min-width: 1600px) {
  .hero { height: 800px; }
  .hero__title { font-size: 90px; }
  .pillar-card { height: 520px; }
  .spotlight { height: 600px; }
  .spotlight__img { height: 600px; }
}
