/*
Theme Name: Flomm Consult
Theme URI: https://flommconsult.com/
Author: Flomm Consult
Author URI: https://flommconsult.com/
Description: A premium one-page travel & tourism WordPress theme for Flomm Consult — Ghana's heritage-first travel agency specializing in Kumasi tourism, diaspora relocation, national tour contracts, and international travel offers. Brand colors: #800080 (royal purple) and #2196f3 (azure blue).
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: flomm-consult
Tags: one-page, travel, tourism, custom-colors, custom-logo, custom-menu, featured-images, full-width-template, theme-options, threaded-comments, translation-ready, block-styles, wide-blocks
*/

/* =========================================================
   1. ROOT TOKENS — Flomm Consult Brand System
   ========================================================= */
:root {
  --flomm-purple: #800080;
  --flomm-purple-600: #6a006a;
  --flomm-purple-50: #f6e9f6;
  --flomm-blue: #2196f3;
  --flomm-blue-600: #1976d2;
  --flomm-blue-50: #e8f4fd;
  --flomm-ink: #0f0a14;
  --flomm-muted: #5b5566;
  --flomm-line: #ece6f0;
  --flomm-bg: #ffffff;
  --flomm-bg-soft: #fbf8fc;
  --flomm-gradient: linear-gradient(135deg, #800080 0%, #2196f3 100%);
  --flomm-gradient-soft: linear-gradient(135deg, rgba(128,0,128,0.08), rgba(33,150,243,0.08));
  --flomm-shadow-sm: 0 1px 2px rgba(15,10,20,.06), 0 1px 1px rgba(15,10,20,.04);
  --flomm-shadow-md: 0 10px 30px -12px rgba(128,0,128,.25);
  --flomm-shadow-lg: 0 30px 60px -20px rgba(33,150,243,.35);
  --flomm-radius: 14px;
  --flomm-radius-lg: 22px;
  --flomm-container: 1200px;
  --flomm-font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --flomm-font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* =========================================================
   2. RESET & BASE
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--flomm-font-sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--flomm-ink);
  background: var(--flomm-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--flomm-purple); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--flomm-blue); }

h1, h2, h3, h4 {
  font-family: var(--flomm-font-display);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--flomm-ink);
  margin: 0 0 .6em;
}
h1 { font-size: clamp(2.2rem, 5vw, 4rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.35rem; }
p  { margin: 0 0 1em; color: var(--flomm-muted); }

.container {
  width: 100%;
  max-width: var(--flomm-container);
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: clamp(64px, 9vw, 120px) 0; }
.section--soft { background: var(--flomm-bg-soft); }
.section__eyebrow {
  display: inline-block;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--flomm-purple);
  background: var(--flomm-purple-50);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}
.section__title { max-width: 760px; }
.section__lead  { max-width: 720px; font-size: 1.1rem; }

/* =========================================================
   3. BUTTONS
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: .95rem;
  letter-spacing: .01em;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform .2s ease, box-shadow .25s ease, background .25s ease, color .2s ease;
}
.btn--primary {
  background: var(--flomm-gradient);
  color: #fff;
  box-shadow: var(--flomm-shadow-md);
}
.btn--primary:hover { color: #fff; transform: translateY(-2px); box-shadow: var(--flomm-shadow-lg); }
.btn--ghost {
  background: transparent;
  color: var(--flomm-ink);
  border-color: var(--flomm-line);
}
.btn--ghost:hover { border-color: var(--flomm-purple); color: var(--flomm-purple); }

/* =========================================================
   4. HEADER / NAVIGATION
   ========================================================= */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.85);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--flomm-line);
}
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 76px;
}
.site-branding { display: flex; align-items: center; gap: 12px; }
.site-branding img { max-height: 44px; width: auto; }
.site-title {
  font-family: var(--flomm-font-display);
  font-size: 1.35rem; font-weight: 600;
  background: var(--flomm-gradient);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.site-title a { color: inherit; }

.main-nav ul {
  list-style: none; margin: 0; padding: 0;
  display: flex; gap: 30px; align-items: center;
}
.main-nav a {
  color: var(--flomm-ink); font-weight: 500; font-size: .95rem;
  position: relative; padding: 6px 0;
}
.main-nav a::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 0; height: 2px; background: var(--flomm-gradient);
  transition: width .25s ease;
}
.main-nav a:hover::after { width: 100%; }

.nav-toggle {
  display: none; background: none; border: 0; cursor: pointer;
  width: 44px; height: 44px; align-items: center; justify-content: center;
}
.nav-toggle span {
  display: block; width: 22px; height: 2px; background: var(--flomm-ink);
  position: relative;
}
.nav-toggle span::before, .nav-toggle span::after {
  content: ""; position: absolute; left: 0; width: 22px; height: 2px; background: var(--flomm-ink);
}
.nav-toggle span::before { top: -7px; }
.nav-toggle span::after  { top:  7px; }

@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  .main-nav {
    position: absolute; top: 76px; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--flomm-line);
    transform: translateY(-12px); opacity: 0; pointer-events: none;
    transition: opacity .2s ease, transform .2s ease;
  }
  .main-nav.is-open { opacity: 1; transform: translateY(0); pointer-events: auto; }
  .main-nav ul { flex-direction: column; align-items: flex-start; padding: 18px 24px; gap: 16px; }
}

/* =========================================================
   5. HERO
   ========================================================= */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex; align-items: center;
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}
.hero__bg {
  position: absolute; inset: 0; z-index: -2;
  background-size: cover; background-position: center;
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(120deg, rgba(128,0,128,.78) 0%, rgba(33,150,243,.55) 100%);
}
.hero__inner { padding: 120px 0 100px; max-width: 880px; }
.hero h1 { color: #fff; }
.hero h1 em {
  font-style: italic; font-weight: 500;
  background: linear-gradient(90deg, #ffd1ff, #cfe8ff);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero p { color: rgba(255,255,255,.9); font-size: 1.2rem; max-width: 640px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.hero__cta .btn--ghost { color: #fff; border-color: rgba(255,255,255,.4); }
.hero__cta .btn--ghost:hover { background: #fff; color: var(--flomm-purple); }

.hero__stats {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px; margin-top: 56px; max-width: 600px;
}
.hero__stat strong { display:block; font-family: var(--flomm-font-display); font-size: 2rem; }
.hero__stat span { color: rgba(255,255,255,.8); font-size: .9rem; }

/* =========================================================
   6. CARDS / GRIDS
   ========================================================= */
.grid { display: grid; gap: 28px; }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 900px) { .grid--3, .grid--2 { grid-template-columns: 1fr; } }

.card {
  background: #fff;
  border: 1px solid var(--flomm-line);
  border-radius: var(--flomm-radius-lg);
  padding: 28px;
  box-shadow: var(--flomm-shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--flomm-shadow-md); border-color: transparent; }
.card__icon {
  width: 48px; height: 48px; border-radius: 14px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--flomm-gradient-soft); color: var(--flomm-purple);
  font-size: 1.4rem; margin-bottom: 16px;
}

/* Tourist site cards */
.site-card {
  position: relative; border-radius: var(--flomm-radius-lg);
  overflow: hidden; aspect-ratio: 4/5;
  box-shadow: var(--flomm-shadow-sm);
}
.site-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.site-card:hover img { transform: scale(1.06); }
.site-card__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(15,10,20,.85) 100%);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 22px; color: #fff;
}
.site-card__overlay h3 { color: #fff; margin: 0 0 6px; font-size: 1.25rem; }
.site-card__overlay span { font-size: .85rem; opacity: .85; }

/* =========================================================
   7. CONTACT FORM
   ========================================================= */
.contact-form { display: grid; gap: 16px; max-width: 640px; }
.contact-form input, .contact-form select, .contact-form textarea {
  width: 100%; padding: 14px 16px;
  border: 1px solid var(--flomm-line); border-radius: 12px;
  font: inherit; color: var(--flomm-ink); background: #fff;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.contact-form textarea { min-height: 140px; resize: vertical; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus {
  outline: none; border-color: var(--flomm-purple);
  box-shadow: 0 0 0 4px rgba(128,0,128,.12);
}

/* =========================================================
   8. FOOTER
   ========================================================= */
.site-footer {
  background: var(--flomm-ink); color: rgba(255,255,255,.75);
  padding: 80px 0 30px;
}
.site-footer h4 { color: #fff; font-family: var(--flomm-font-sans); font-size: 1rem; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 18px; }
.site-footer a { color: rgba(255,255,255,.75); }
.site-footer a:hover { color: #fff; }
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px;
  padding-bottom: 50px; border-bottom: 1px solid rgba(255,255,255,.1);
}
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 14px; padding-top: 28px; font-size: .85rem;
}

/* =========================================================
   9. UTILITIES & WORDPRESS DEFAULTS
   ========================================================= */
.screen-reader-text {
  position: absolute !important; clip: rect(1px,1px,1px,1px);
  height: 1px; width: 1px; overflow: hidden; word-wrap: normal !important;
}
.alignwide  { max-width: 1100px; margin-left: auto; margin-right: auto; }
.alignfull  { width: 100vw; margin-left: calc(50% - 50vw); }
.aligncenter { margin-left: auto; margin-right: auto; }
.wp-caption, .gallery-caption { font-size: .85rem; color: var(--flomm-muted); }
.sticky, .bypostauthor { display: block; }
