/*
Theme Name: Galaxy Focus
Theme URI: https://galaxy.org.za
Author: Galaxy Focus
Description: One-page business theme for Galaxy Focus, IT solutions and LPG / petroleum products supply, Boksburg.
Version: 1.1.0
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: galaxy-focus
*/

:root {
  --navy: #083b52;
  --navy-deep: #04202e;
  --space: #050b1a;
  --orange: #f28c38;
  --amber: #ffb547;
  --teal: #19c3c9;
  --violet: #7b5cff;
  --magenta: #e2468f;
  --ink: #12222d;
  --muted: #5a6b77;
  --line: #e3e9ee;
  --paper: #ffffff;
  --mist: #f4f7fa;
  --radius: 18px;
  --shadow: 0 18px 50px -20px rgba(8, 59, 82, .35);
  --head: "Exo 2", "Segoe UI", sans-serif;
  --body: "Nunito Sans", "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; font-family: var(--body); color: var(--ink); background: var(--paper); line-height: 1.65; font-size: 17px; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); }
h1, h2, h3, h4 { font-family: var(--head); line-height: 1.15; margin: 0 0 .6em; color: var(--navy); }
p { margin: 0 0 1em; }
.wrap { width: min(1180px, 100% - 40px); margin-inline: auto; }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--orange); color: #fff; padding: 10px 16px; z-index: 999; }
.skip-link:focus { left: 10px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .92); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.admin-bar .site-header { top: 32px; }
.nav-bar { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 20px; }
.brand img { height: 46px; width: auto; }
.menu { display: flex; gap: 6px; list-style: none; margin: 0; padding: 0; align-items: center; }
.menu a { text-decoration: none; font-weight: 700; font-size: 15px; color: var(--navy); padding: 10px 14px; border-radius: 999px; transition: background .2s, color .2s; }
.menu a:hover { background: var(--mist); color: var(--orange); }
.menu .cta { background: var(--orange); color: #fff; }
.menu .cta:hover { background: var(--navy); color: #fff; }
.nav-toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.nav-toggle span { display: block; width: 26px; height: 3px; background: var(--navy); margin: 5px 0; border-radius: 2px; transition: transform .25s, opacity .25s; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; font-family: var(--head); font-weight: 700; letter-spacing: .02em; text-decoration: none; padding: 15px 28px; border-radius: 999px; border: 2px solid transparent; transition: transform .2s, box-shadow .2s, background .2s; cursor: pointer; font-size: 16px; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: linear-gradient(135deg, var(--orange), var(--amber)); color: #fff; box-shadow: 0 12px 30px -10px rgba(242, 140, 56, .7); }
.btn-ghost { border-color: rgba(255, 255, 255, .45); color: #fff; }
.btn-ghost:hover { background: rgba(255, 255, 255, .1); }

/* Hero */
.hero { position: relative; overflow: hidden; color: #fff; background: radial-gradient(ellipse at 75% 20%, rgba(123, 92, 255, .55), transparent 55%), radial-gradient(ellipse at 15% 85%, rgba(25, 195, 201, .35), transparent 55%), radial-gradient(ellipse at 90% 90%, rgba(226, 70, 143, .3), transparent 50%), linear-gradient(160deg, var(--navy-deep), var(--space) 70%); padding: 120px 0 140px; }
#stars { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero .wrap { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: 50px; align-items: center; }
.eyebrow { display: inline-block; font-family: var(--head); font-weight: 700; font-size: 13px; letter-spacing: .18em; text-transform: uppercase; color: var(--amber); background: rgba(255, 181, 71, .12); border: 1px solid rgba(255, 181, 71, .35); padding: 7px 14px; border-radius: 999px; margin-bottom: 22px; }
.hero h1 { color: #fff; font-size: clamp(38px, 5.6vw, 66px); font-weight: 800; }
.hero h1 .grad { background: linear-gradient(90deg, var(--amber), var(--orange) 40%, var(--magenta) 75%, var(--violet)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { font-size: 20px; color: rgba(255, 255, 255, .82); max-width: 560px; margin-bottom: 34px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.orbit { position: relative; aspect-ratio: 1; width: 100%; max-width: 440px; margin-inline: auto; }
.orbit .ring { position: absolute; inset: 0; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .14); }
.orbit .ring:nth-child(2) { inset: 14%; border-color: rgba(25, 195, 201, .4); animation: spin 28s linear infinite; }
.orbit .ring:nth-child(3) { inset: 30%; border-color: rgba(242, 140, 56, .5); animation: spin 18s linear infinite reverse; }
.orbit .ring::after { content: ""; position: absolute; top: -8px; left: calc(50% - 8px); width: 16px; height: 16px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 20px var(--teal); }
.orbit .ring:nth-child(3)::after { background: var(--orange); box-shadow: 0 0 20px var(--orange); }
.orbit .ring:first-child::after { display: none; }
.orbit .core { position: absolute; inset: 40%; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff, var(--amber) 30%, var(--orange) 60%, var(--magenta)); box-shadow: 0 0 80px rgba(242, 140, 56, .8); }
.orbit .chip { position: absolute; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .25); backdrop-filter: blur(6px); padding: 10px 16px; border-radius: 14px; font-family: var(--head); font-weight: 700; font-size: 14px; white-space: nowrap; }
.chip.c1 { top: 6%; left: -4%; } .chip.c2 { top: 44%; right: -8%; } .chip.c3 { bottom: 6%; left: 6%; }
@keyframes spin { to { transform: rotate(360deg); } }
.hero-wave { position: absolute; bottom: -1px; left: 0; width: 100%; height: 80px; }

/* Sections */
section { padding: 100px 0; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.section-head .eyebrow { color: var(--orange); background: rgba(242, 140, 56, .1); border-color: rgba(242, 140, 56, .3); }
.section-head h2 { font-size: clamp(30px, 4vw, 46px); font-weight: 800; }
.section-head p { color: var(--muted); font-size: 18px; }

/* Pillars */
.pillars { margin-top: -70px; position: relative; z-index: 2; padding: 0; }
.pillar-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.pillar { border-radius: var(--radius); padding: 38px; color: #fff; box-shadow: var(--shadow); position: relative; overflow: hidden; }
.pillar.it { background: linear-gradient(135deg, var(--navy), #0e5d7d 60%, var(--teal)); }
.pillar.fuel { background: linear-gradient(135deg, #c2410c, var(--orange) 55%, var(--amber)); }
.pillar h3 { color: #fff; font-size: 26px; }
.pillar p { color: rgba(255, 255, 255, .88); }
.pillar a { color: #fff; font-weight: 800; text-decoration: none; border-bottom: 2px solid rgba(255, 255, 255, .5); }
.pillar .big-ic { position: absolute; right: -20px; bottom: -20px; width: 150px; height: 150px; opacity: .15; }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; transition: transform .25s, box-shadow .25s, border-color .25s; position: relative; }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.card .ic { width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 20px; color: #fff; }
.card .ic svg { width: 28px; height: 28px; }
.card h3 { font-size: 21px; }
.card p { color: var(--muted); font-size: 16px; margin: 0; }
.g1 { background: linear-gradient(135deg, var(--teal), #0e7fa8); }
.g2 { background: linear-gradient(135deg, var(--violet), #4c3bd1); }
.g3 { background: linear-gradient(135deg, var(--magenta), #a8327a); }
.g4 { background: linear-gradient(135deg, var(--orange), var(--amber)); }
.g5 { background: linear-gradient(135deg, var(--navy), #136b8c); }
.g6 { background: linear-gradient(135deg, #22c55e, #0f9d74); }

/* Petroleum */
.fuel-section { background: linear-gradient(180deg, #fff7ef, #fff); }
.fuel-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: center; }
.fuel-visual { border-radius: 26px; padding: 44px; background: radial-gradient(circle at 80% 15%, rgba(255, 181, 71, .6), transparent 50%), linear-gradient(150deg, var(--navy-deep), var(--navy)); color: #fff; box-shadow: var(--shadow); }
.fuel-visual h3 { color: #fff; font-size: 28px; }
.fuel-visual p { color: rgba(255, 255, 255, .8); }
.fuel-visual ul { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 12px; }
.fuel-visual li { display: flex; gap: 12px; align-items: flex-start; }
.fuel-visual li::before { content: ""; flex: 0 0 10px; height: 10px; border-radius: 50%; background: var(--amber); margin-top: 9px; box-shadow: 0 0 12px var(--amber); }
.fuel-list { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.fuel-item { background: #fff; border-radius: 16px; padding: 24px; border-left: 5px solid var(--orange); box-shadow: 0 10px 30px -18px rgba(8, 59, 82, .4); }
.fuel-item:nth-child(2) { border-color: var(--magenta); } .fuel-item:nth-child(3) { border-color: var(--teal); } .fuel-item:nth-child(4) { border-color: var(--violet); }
.fuel-item h4 { font-size: 19px; margin-bottom: 6px; }
.fuel-item p { color: var(--muted); font-size: 15px; margin: 0; }

/* Why */
.why { background: var(--space); color: #fff; position: relative; overflow: hidden; }
.why::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 10% 20%, rgba(123, 92, 255, .35), transparent 40%), radial-gradient(circle at 90% 80%, rgba(25, 195, 201, .3), transparent 40%); }
.why .wrap { position: relative; }
.why .section-head h2 { color: #fff; }
.why .section-head p { color: rgba(255, 255, 255, .75); }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: step; }
.step { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); border-radius: var(--radius); padding: 30px 26px; }
.step::before { counter-increment: step; content: "0" counter(step); font-family: var(--head); font-weight: 800; font-size: 40px; background: linear-gradient(90deg, var(--amber), var(--magenta)); -webkit-background-clip: text; background-clip: text; color: transparent; display: block; margin-bottom: 10px; }
.step h3 { color: #fff; font-size: 20px; }
.step p { color: rgba(255, 255, 255, .72); font-size: 15px; margin: 0; }

/* CTA band */
.band { padding: 0; }
.band-inner { margin-top: -50px; position: relative; z-index: 2; border-radius: 24px; padding: 44px 50px; background: linear-gradient(110deg, var(--orange), var(--magenta) 55%, var(--violet)); color: #fff; display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; box-shadow: var(--shadow); }
.band-inner h2 { color: #fff; font-size: clamp(24px, 3vw, 34px); margin: 0 0 6px; }
.band-inner p { margin: 0; color: rgba(255, 255, 255, .9); }
.band .btn { background: #fff; color: var(--navy); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 40px; }
.info { display: grid; gap: 16px; align-content: start; }
.info-item { display: flex; gap: 16px; align-items: center; padding: 20px; border-radius: 16px; background: var(--mist); text-decoration: none; color: var(--ink); transition: background .2s; }
a.info-item:hover { background: #e9f3f8; }
.info-item .ic { width: 50px; height: 50px; flex: 0 0 50px; border-radius: 14px; display: grid; place-items: center; color: #fff; }
.info-item .ic svg { width: 24px; height: 24px; }
.info-item small { display: block; color: var(--muted); font-size: 13px; text-transform: uppercase; letter-spacing: .1em; font-weight: 700; }
.info-item strong { font-family: var(--head); font-size: 18px; color: var(--navy); }
.map { border-radius: 16px; overflow: hidden; border: 0; width: 100%; height: 240px; }
.form { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 36px; box-shadow: var(--shadow); }
.form h3 { font-size: 26px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form label { display: block; font-weight: 700; font-size: 14px; margin-bottom: 6px; color: var(--navy); }
.form input, .form select, .form textarea { width: 100%; font: inherit; font-size: 16px; padding: 13px 15px; border: 1.5px solid var(--line); border-radius: 12px; background: var(--mist); margin-bottom: 16px; transition: border-color .2s, background .2s; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--orange); background: #fff; }
.form textarea { min-height: 130px; resize: vertical; }
.form .hp { position: absolute; left: -9999px; }
.notice { padding: 14px 18px; border-radius: 12px; margin-bottom: 18px; font-weight: 700; }
.notice.ok { background: #e7f8ef; color: #12693f; }
.notice.err { background: #fdeceb; color: #a12a20; }

/* Footer */
.site-footer { background: var(--navy-deep); color: rgba(255, 255, 255, .75); padding: 70px 0 30px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.site-footer img { height: 54px; width: auto; margin-bottom: 18px; }
.site-footer h4 { color: #fff; font-size: 17px; margin-bottom: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer a { color: rgba(255, 255, 255, .75); text-decoration: none; }
.site-footer a:hover { color: var(--amber); }
.foot-bottom { border-top: 1px solid rgba(255, 255, 255, .12); margin-top: 50px; padding-top: 24px; font-size: 14px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }

/* Blog / page fallback */
.page-content { padding: 70px 0; }
.page-content article { max-width: 780px; margin: 0 auto 60px; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } .orbit .ring { animation: none !important; } html { scroll-behavior: auto; } }

/* Responsive */
@media (max-width: 980px) {
  .hero .wrap, .fuel-grid, .contact-grid { grid-template-columns: 1fr; }
  .orbit { max-width: 320px; }
  .cards { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 820px) {
  .nav-toggle { display: block; }
  .menu { position: absolute; top: 76px; left: 0; right: 0; flex-direction: column; background: #fff; padding: 16px 20px 24px; border-bottom: 1px solid var(--line); gap: 4px; align-items: stretch; display: none; }
  .menu.open { display: flex; }
  .menu a { display: block; }
  .nav-toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  section { padding: 70px 0; }
  .hero { padding: 80px 0 120px; }
  .pillar-grid, .cards, .steps, .fuel-list, .form .row, .foot-grid { grid-template-columns: 1fr; }
  .chip.c2 { right: 0; }
  .band-inner { padding: 32px 26px; }
  .form { padding: 26px; }
  .brand img { height: 38px; }
}

/* Trust badges, LPG feature, WhatsApp */
.trust { display: flex; flex-wrap: wrap; gap: 10px; margin: -14px 0 30px; }
.trust span { font-family: var(--head); font-weight: 700; font-size: 14px; padding: 7px 14px; border-radius: 10px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(25, 195, 201, .45); color: #fff; }
.trust span:first-child { border-color: rgba(34, 197, 94, .6); background: rgba(34, 197, 94, .15); }
.fuel-item.feature { grid-column: 1 / -1; border-left: 0; color: #fff; background: linear-gradient(120deg, var(--orange), var(--magenta)); }
.fuel-item.feature h4 { color: #fff; font-size: 21px; }
.fuel-item.feature p { color: rgba(255, 255, 255, .92); }
.fuel-item:nth-child(3) { border-color: var(--magenta); } .fuel-item:nth-child(4) { border-color: var(--teal); } .fuel-item:nth-child(5) { border-color: var(--violet); }
.fuel-item:nth-child(2) { border-color: var(--orange); }
.site-footer .reg { font-family: var(--head); font-weight: 700; color: #fff; font-size: 15px; }
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 60; width: 58px; height: 58px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 12px 30px -8px rgba(37, 211, 102, .7); transition: transform .2s; }
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 30px; height: 30px; }
