/*
Theme Name: Glick Corporation
Theme URI: https://example.com/
Author: Glick Corporation Limited
Description: A clean, professional one-page business theme with a fixed picture banner for Glick Corporation Limited, a digital advertising and media technology company. Edit contact details under Appearance > Customize > Company Details.
Version: 3.0.0
Requires at least: 5.8
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: glick-corporation
*/

:root {
  --navy: #0f2f2c;
  --navy-2: #17443f;
  --blue: #0e8a6d;
  --blue-dark: #0a6b54;
  --gold: #ee8a1f;
  --bg: #ffffff;
  --bg-soft: #f3f7f6;
  --text: #1f2937;
  --muted: #5b6678;
  --line: #e0e9e6;
  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-dark); }
.container { width: min(1140px, 92%); margin: 0 auto; }

/* Header */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  background: #fff;
  border-bottom: 1px solid var(--line);
  box-shadow: 0 2px 14px rgba(15, 47, 44, .06);
}
.admin-bar .site-header { top: 32px; }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.logo { font-family: var(--serif); font-weight: 700; font-size: 1.25rem; color: var(--navy); display: flex; align-items: center; gap: .7rem; }
.logo:hover { color: var(--navy); }
.logo-mark {
  width: 38px; height: 38px; border-radius: 4px; background: var(--navy);
  display: grid; place-items: center; color: #fff; font-family: var(--serif); font-weight: 700; font-size: 1.25rem;
  border-bottom: 3px solid var(--gold);
}
.main-nav ul { list-style: none; display: flex; gap: 2.2rem; margin: 0; padding: 0; }
.main-nav a { color: var(--text); font-size: .92rem; font-weight: 500; letter-spacing: .02em; padding: .4rem 0; border-bottom: 2px solid transparent; }
.main-nav a:hover { color: var(--blue); border-bottom-color: var(--blue); }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); color: var(--navy); padding: .45rem .7rem; border-radius: 6px; font-size: 1.1rem; cursor: pointer; }

/* Hero */
.hero {
  position: relative; min-height: 92vh; display: flex; align-items: center; overflow: hidden;
  padding: 150px 0 90px; color: #fff;
  background:
    linear-gradient(rgba(8, 32, 30, .62), rgba(8, 32, 30, .72)),
    url("assets/img/hero.jpg") center center / cover no-repeat fixed;
  background-color: var(--navy);
}
.hero .container { position: relative; z-index: 1; }
.eyebrow { color: var(--gold); font-size: .8rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; }
.hero .eyebrow { color: #ffb55c; }
.hero h1 { font-family: var(--serif); font-size: clamp(2.3rem, 5.4vw, 4.2rem); line-height: 1.12; margin: .8rem 0 1.3rem; color: #fff; max-width: 16ch; font-weight: 700; }
.hero h1 span { color: #ffb55c; }
.hero p { max-width: 58ch; color: #d8e6e2; font-size: 1.15rem; }
.btn {
  display: inline-block; margin-top: 1.8rem; padding: .95rem 2rem; border-radius: 4px;
  background: var(--gold); color: #fff; font-weight: 600; letter-spacing: .04em; font-size: .92rem; text-transform: uppercase;
  transition: background .2s, transform .2s;
}
.btn:hover { background: #d1730f; color: #fff; transform: translateY(-2px); }
.btn.ghost { background: transparent; color: #fff; border: 1px solid rgba(255, 255, 255, .6); margin-left: .8rem; }
.btn.ghost:hover { background: #fff; color: var(--navy); }
.hero-stats { display: flex; gap: 3rem; margin-top: 3.8rem; flex-wrap: wrap; border-top: 1px solid rgba(255, 255, 255, .18); padding-top: 1.8rem; }
.hero-stats strong { display: block; font-family: var(--serif); font-size: 2rem; color: #fff; line-height: 1.2; }
.hero-stats small { color: #b4c9c4; text-transform: uppercase; letter-spacing: .12em; font-size: .75rem; }

/* Sections */
section { padding: 100px 0; }
section.alt { background: var(--bg-soft); }
.section-head { margin-bottom: 3.2rem; max-width: 62ch; }
.section-head h2 { font-family: var(--serif); font-size: clamp(1.9rem, 3.6vw, 2.6rem); color: var(--navy); margin: .5rem 0 0; line-height: 1.2; }
.section-head h2::after { content: ""; display: block; width: 56px; height: 3px; background: var(--gold); margin-top: 1rem; }

.grid { display: grid; gap: 1.6rem; }
.grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.card {
  background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--navy); border-radius: 4px; padding: 2rem;
  box-shadow: 0 2px 12px rgba(15, 47, 44, .05);
  transition: transform .25s, box-shadow .25s, border-top-color .25s;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 14px 34px rgba(15, 47, 44, .12); border-top-color: var(--gold); }
.card .icon {
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 1.2rem;
  background: var(--bg-soft); color: var(--blue); font-weight: 700; font-size: .95rem; border: 1px solid var(--line);
}
.card h3 { margin: 0 0 .6rem; color: var(--navy); font-size: 1.15rem; font-weight: 600; }
.card p { margin: 0; color: var(--muted); font-size: .98rem; }

/* Solutions list */
.solutions { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 3rem; border-top: 1px solid var(--line); }
.solutions a {
  display: flex; gap: 1.2rem; align-items: center; padding: 1.1rem .4rem;
  border-bottom: 1px solid var(--line); color: var(--navy); font-weight: 500;
  transition: color .2s, padding-left .2s;
}
.solutions a:hover { color: var(--blue); padding-left: 1rem; }
.solutions .num { font-family: var(--serif); color: var(--gold); font-weight: 700; font-size: 1.1rem; min-width: 1.8rem; }

/* About */
.about-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.about-visual {
  aspect-ratio: 4 / 3; border-radius: 4px; position: relative; overflow: hidden;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 55%, var(--blue) 100%);
  box-shadow: 18px 18px 0 -2px rgba(238, 138, 31, .35);
}
.about-visual::after {
  content: ""; position: absolute; inset: 0; opacity: .12;
  background-image: linear-gradient(#fff 1px, transparent 1px), linear-gradient(90deg, #fff 1px, transparent 1px);
  background-size: 40px 40px;
}
.about-visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
.about-text p { color: var(--muted); }
.checks { list-style: none; padding: 0; margin: 1.6rem 0 0; }
.checks li { padding: .85rem 0 .85rem 2rem; position: relative; border-top: 1px solid var(--line); color: var(--text); }
.checks li::before { content: ""; position: absolute; left: .2rem; top: 1.4rem; width: 8px; height: 8px; background: var(--gold); transform: rotate(45deg); }
.checks b { color: var(--navy); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.6rem; }
.contact-grid > div { background: #fff; border: 1px solid var(--line); border-left: 3px solid var(--gold); border-radius: 4px; padding: 1.5rem; }
.contact-grid h3 { font-size: .75rem; text-transform: uppercase; letter-spacing: .15em; color: var(--gold); margin: 0 0 .6rem; font-weight: 600; }
.contact-grid p { margin: 0; color: var(--text); word-break: break-word; font-size: .96rem; }

/* Footer */
.site-footer { background: var(--navy); border-top: 4px solid var(--gold); padding: 64px 0 28px; color: #b4c9c4; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 2.5rem; }
.site-footer h4 { color: #fff; margin: 0 0 1rem; font-family: var(--serif); font-size: 1.1rem; font-weight: 700; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: .5rem 0; }
.site-footer a { color: #b4c9c4; }
.site-footer a:hover { color: #fff; }
.site-footer strong { color: #fff; font-weight: 600; }
.copyright { border-top: 1px solid rgba(255, 255, 255, .12); margin-top: 2.5rem; padding-top: 1.4rem; font-size: .85rem; color: #8fa8a2; }

/* Generic pages / posts */
.page-content { padding: 150px 0 80px; min-height: 70vh; }
.page-content h1, .page-content h2 { font-family: var(--serif); color: var(--navy); }

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s, transform .7s; }
.reveal.in { opacity: 1; transform: none; }

@media (max-width: 900px) {
  .grid.cols-3, .contact-grid { grid-template-columns: 1fr 1fr; }
  .about-wrap, .footer-grid, .solutions { grid-template-columns: 1fr; }
  .about-wrap { gap: 3rem; }
}
@media (max-width: 720px) {
  .hero { background-attachment: scroll; }
  .admin-bar .site-header { top: 46px; }
  .nav-toggle { display: block; }
  .main-nav { display: none; position: absolute; top: 76px; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--line); padding: 1rem 4%; box-shadow: 0 10px 20px rgba(15, 47, 44, .08); }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; gap: .6rem; }
  .grid.cols-3, .contact-grid { grid-template-columns: 1fr; }
  .btn.ghost { margin-left: 0; }
  .hero { padding: 120px 0 70px; }
  section { padding: 70px 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}
