/*
Theme Name: GFTL Child
Template:   astra
*/

/* ═══════════════════════════════════════════════════
   ⚙  WHITE-LABEL CONFIG — change only this block
      to rebrand for any client
═══════════════════════════════════════════════════ */
:root {
  --brand-primary:   #E8400C;   /* CTA / accent colour   */
  --brand-dark:      #0A1628;   /* navbar / dark sections */
  --brand-mid:       #122040;   /* footer bg              */
  --brand-light:     #F4F6FA;   /* page background        */
  --brand-accent:    #FFB400;   /* stars / highlights     */
  --font-display:    'Barlow Condensed', sans-serif;
  --font-body:       'Barlow', sans-serif;
}

/* ═══════════════════════════════════════════════════
   RESET & BASE
═══════════════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html  { scroll-behavior: smooth; }
body  { font-family: var(--font-body); background: var(--brand-light); color: #1a1a2e; line-height: 1.65; overflow-x: hidden; }
img   { max-width: 100%; display: block; }
a     { text-decoration: none; color: inherit; }
ul    { list-style: none; }

/* ═══════════════════════════════════════════════════
   UTILITIES
═══════════════════════════════════════════════════ */
.container       { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section-label   { display: inline-block; font-family: var(--font-display); font-size: 12px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; color: var(--brand-primary); margin-bottom: 12px; }
.section-title   { font-family: var(--font-display); font-size: clamp(28px,4vw,44px); font-weight: 800; line-height: 1.1; color: var(--brand-dark); text-transform: uppercase; }
.section-title span { color: var(--brand-primary); }

/* ═══════════════════════════════════════════════════
   BUTTONS
═══════════════════════════════════════════════════ */
.btn         { display: inline-flex; align-items: center; gap: 8px; padding: 14px 30px; font-family: var(--font-display); font-size: 14px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; border: none; cursor: pointer; transition: all .25s ease; }
.btn-primary { background: var(--brand-primary); color: #fff; clip-path: polygon(0 0,calc(100% - 12px) 0,100% 12px,100% 100%,12px 100%,0 calc(100% - 12px)); }
.btn-primary:hover { background: #c43309; transform: translateY(-2px); }
.btn-outline  { background: transparent; color: var(--brand-dark); border: 2px solid var(--brand-dark); }
.btn-outline:hover { background: var(--brand-dark); color: #fff; }
.btn-white    { background: #fff; color: var(--brand-primary); clip-path: polygon(0 0,calc(100% - 12px) 0,100% 12px,100% 100%,12px 100%,0 calc(100% - 12px)); }
.btn-white:hover { background: var(--brand-dark); color: #fff; }

/* ═══════════════════════════════════════════════════
   TOPBAR
═══════════════════════════════════════════════════ */
.topbar { background: var(--brand-primary); color: #fff; font-size: 13px; padding: 8px 0; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 6px; }
.topbar a { color: #fff; }
.topbar a:hover { text-decoration: underline; }

/* ═══════════════════════════════════════════════════
   NAVIGATION
═══════════════════════════════════════════════════ */
.site-nav { background: var(--brand-dark); position: sticky; top: 0; z-index: 100; box-shadow: 0 2px 20px rgba(0,0,0,.4); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; padding: 0 24px; max-width: 1200px; margin: 0 auto; height: 70px; }
.site-logo { font-family: var(--font-display); font-size: 22px; font-weight: 800; color: #fff; letter-spacing: 1px; display: flex; align-items: center; gap: 10px; }
.logo-icon  { width: 36px; height: 36px; background: var(--brand-primary); display: grid; place-items: center; clip-path: polygon(0 0,calc(100% - 8px) 0,100% 8px,100% 100%,8px 100%,0 calc(100% - 8px)); }
.logo-icon svg { width: 20px; height: 20px; fill: #fff; }
.nav-links  { display: flex; gap: 28px; align-items: center; }
.nav-links a { color: rgba(255,255,255,.75); font-family: var(--font-display); font-size: 13px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; transition: color .2s; position: relative; }
.nav-links a::after { content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 2px; background: var(--brand-primary); transition: width .2s; }
.nav-links a:hover, .nav-links a.current-menu-item { color: #fff; }
.nav-links a:hover::after, .nav-links a.current-menu-item::after { width: 100%; }
.nav-links a.current-menu-item { color: var(--brand-primary); }
.nav-cta { padding: 10px 20px !important; font-size: 12px !important; background: var(--brand-primary); color: #fff !important; clip-path: polygon(0 0,calc(100% - 10px) 0,100% 10px,100% 100%,10px 100%,0 calc(100% - 10px)); }
.nav-cta:hover { background: #c43309 !important; }
.nav-hamburger { display: none; background: none; border: none; cursor: pointer; padding: 4px; }
.nav-hamburger span { display: block; width: 24px; height: 2px; background: #fff; margin: 5px 0; transition: all .3s; }

/* ═══════════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════════ */
.site-footer { background: var(--brand-mid); color: rgba(255,255,255,.6); padding: 70px 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 40px; margin-bottom: 50px; }
.footer-brand p { font-size: 14px; line-height: 1.75; margin: 16px 0 24px; }
.footer-social { display: flex; gap: 10px; }
.social-btn { width: 36px; height: 36px; background: rgba(255,255,255,.07); display: grid; place-items: center; transition: background .2s; }
.social-btn:hover { background: var(--brand-primary); }
.social-btn svg { width: 16px; height: 16px; stroke: #fff; fill: none; stroke-width: 2; }
.footer-col h4 { font-family: var(--font-display); font-size: 15px; font-weight: 700; color: #fff; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 20px; padding-bottom: 10px; border-bottom: 1px solid rgba(255,255,255,.08); }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { font-size: 14px; color: rgba(255,255,255,.55); transition: color .2s; display: flex; align-items: center; gap: 6px; }
.footer-col ul li a::before { content: '›'; color: var(--brand-primary); }
.footer-col ul li a:hover { color: #fff; }
.footer-contact-item { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 16px; }
.footer-contact-item svg { width: 16px; height: 16px; stroke: var(--brand-primary); fill: none; stroke-width: 2; flex-shrink: 0; margin-top: 2px; }
.footer-contact-item span { font-size: 14px; line-height: 1.5; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.06); padding: 20px 0; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; font-size: 13px; }
.footer-bottom a { color: var(--brand-primary); }

/* ═══════════════════════════════════════════════════
   PAGE HERO (shared across inner pages)
═══════════════════════════════════════════════════ */
.page-hero { background: var(--brand-dark); padding: 80px 0 60px; position: relative; overflow: hidden; }
.page-hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.page-hero-overlay { position: absolute; inset: 0; background: linear-gradient(135deg,rgba(10,22,40,.97) 0%,rgba(10,22,40,.75) 100%); }
.page-hero-grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(232,64,12,.06) 1px,transparent 1px),linear-gradient(90deg,rgba(232,64,12,.06) 1px,transparent 1px); background-size: 60px 60px; }
.page-hero-inner { position: relative; z-index: 2; }
.breadcrumb { display: flex; align-items: center; gap: 8px; color: rgba(255,255,255,.45); font-size: 13px; margin-bottom: 20px; }
.breadcrumb a { color: var(--brand-primary); }
.breadcrumb .sep { color: rgba(255,255,255,.3); }
.page-hero h1 { font-family: var(--font-display); font-size: clamp(36px,6vw,72px); font-weight: 800; color: #fff; text-transform: uppercase; line-height: 1; }
.page-hero h1 span { color: var(--brand-primary); }
.page-hero .hero-desc { color: rgba(255,255,255,.6); font-size: 16px; margin-top: 16px; max-width: 560px; font-weight: 300; }

/* ═══════════════════════════════════════════════════
   FORM ELEMENTS (shared)
═══════════════════════════════════════════════════ */
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-family: var(--font-display); font-size: 12px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--brand-dark); margin-bottom: 8px; }
.form-group input,
.form-group select,
.form-group textarea { width: 100%; padding: 12px 16px; border: 1px solid #dde1ea; background: var(--brand-light); font-family: var(--font-body); font-size: 14px; color: var(--brand-dark); outline: none; transition: border-color .2s; }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--brand-primary); background: #fff; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

/* ═══════════════════════════════════════════════════
   CTA BANNER (shared)
═══════════════════════════════════════════════════ */
.cta-banner { background: var(--brand-primary); padding: 60px 0; position: relative; overflow: hidden; }
.cta-banner::before { content: ''; position: absolute; right: 0; top: 0; bottom: 0; width: 40%; background: rgba(0,0,0,.08); clip-path: polygon(15% 0%,100% 0%,100% 100%,0% 100%); }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; position: relative; z-index: 1; }
.cta-text h2 { font-family: var(--font-display); font-size: clamp(26px,3vw,40px); font-weight: 800; color: #fff; text-transform: uppercase; line-height: 1.1; }
.cta-text p { color: rgba(255,255,255,.8); margin-top: 8px; font-size: 15px; }

/* ═══════════════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════════════ */
@media (max-width: 960px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .nav-links { display: none; }
  .nav-links.open { display: flex; flex-direction: column; position: absolute; top: 70px; left: 0; right: 0; background: var(--brand-dark); padding: 20px 24px; gap: 16px; }
  .nav-hamburger { display: block; }
  .footer-grid { grid-template-columns: 1fr; }
}
