/*
Theme Name: Travel Anchor
Theme URI: https://travelanchortourism.com
Author: Travel Anchor Tours & Travels
Description: Custom theme for Travel Anchor Tours & Travels — tour packages, services, visa, and blog.
Version: 1.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: travel-anchor
*/

:root {
  --ink: #0f2438;
  --ink-soft: #45566a;
  --ink-faint: #7c8a99;
  --accent: #0b63d6;
  --accent-ink: #063b85;
  --accent-soft: #dceafc;
  --brass: #f2a400;
  --line: #e4e8ee;
  --line-strong: #cdd5e0;
  --surface: #ffffff;
  --bg: #f7f8fa;
  --glass-bg: rgba(255, 255, 255, 0.55);
  --glass-bg-strong: rgba(255, 255, 255, 0.75);
  --glass-border: rgba(255, 255, 255, 0.4);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.5;
}

h1, h2, h3, h4 {
  font-family: Georgia, "Times New Roman", serif;
  margin: 0;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { max-width: 1152px; margin: 0 auto; padding: 0 1.5rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: var(--glass-bg);
  backdrop-filter: blur(20px) saturate(160%);
  border-bottom: 1px solid var(--glass-border);
}
.site-header .container {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding-top: 0.5rem; padding-bottom: 0.5rem;
}
.site-logo { display: flex; align-items: center; gap: 0.4rem; }
.site-logo img { height: 56px; width: auto; }
.site-logo .brand-name { font-family: "Poppins", sans-serif; font-weight: 600; font-size: 1rem; line-height: 1.1; }
.main-nav { display: none; align-items: center; gap: 1.5rem; font-size: 0.9rem; font-weight: 500; color: var(--ink-soft); }
.main-nav a:hover { color: var(--accent); }
@media (min-width: 1024px) { .main-nav { display: flex; } }
.btn-accent {
  display: inline-block; background: var(--accent); color: #fff;
  border-radius: 999px; padding: 0.6rem 1.3rem; font-size: 0.85rem; font-weight: 600;
  transition: background 0.2s;
}
.btn-accent:hover { background: var(--accent-ink); color: #fff; }

/* ---------- Hero ---------- */
.hero {
  position: relative; height: 88vh; min-height: 560px; overflow: hidden;
  background: #0b1a26; color: #fff;
}
.hero-bg { position: absolute; inset: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-scrim {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(11,26,38,0.9), rgba(11,26,38,0.2) 60%, rgba(11,26,38,0.5));
}
.hero-content { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; justify-content: center; padding: 0 1.5rem; max-width: 640px; margin: 0 5%; }
.hero-tag { text-transform: uppercase; letter-spacing: 0.3em; font-size: 0.75rem; font-weight: 600; color: var(--brass); }
.hero-heading { font-size: 4rem; font-weight: 800; line-height: 1; margin-top: 0.75rem; }
.hero-blurb { margin-top: 1.25rem; max-width: 420px; font-size: 0.95rem; color: rgba(255,255,255,0.85); }
@media (max-width: 640px) { .hero-heading { font-size: 2.5rem; } }

/* ---------- Sections ---------- */
.section { padding: 4rem 0; }
.section-eyebrow { text-transform: uppercase; letter-spacing: 0.05em; font-size: 0.75rem; font-weight: 600; color: var(--accent); }
.section-title { margin-top: 0.25rem; font-size: 1.75rem; font-weight: 600; }
.section-header { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1rem; margin-bottom: 2rem; }

/* ---------- Category tiles ---------- */
.tile-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }
@media (min-width: 768px) { .tile-grid { grid-template-columns: repeat(4, 1fr); } }
.tile { position: relative; height: 8rem; border-radius: 1rem; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; padding: 1rem; color: #fff; }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.75), rgba(0,0,0,0.15)); }
.tile span, .tile small { position: relative; z-index: 1; }
.tile span { font-weight: 600; font-size: 1.05rem; }
.tile small { margin-top: 0.15rem; font-size: 0.75rem; opacity: 0.9; }

/* ---------- Cards ---------- */
.card-grid { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.package-card { background: var(--surface); border: 1px solid var(--line); border-radius: 1rem; overflow: hidden; transition: transform 0.2s; }
.package-card:hover { transform: translateY(-3px); }
.package-card .thumb { position: relative; aspect-ratio: 4/3; }
.package-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.package-card .body { padding: 1rem; }
.package-card .meta { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--ink-faint); }
.package-card h3 { font-size: 1.05rem; margin-top: 0.35rem; }
.package-card p { font-size: 0.85rem; color: var(--ink-soft); margin-top: 0.4rem; }
.package-card .price { margin-top: 0.75rem; font-weight: 700; color: var(--accent); }

/* ---------- Footer ---------- */
.site-footer { background: #0b1a26; color: rgba(255,255,255,0.7); }
.site-footer a:hover { color: #fff; }
.footer-cta { border-bottom: 1px solid rgba(255,255,255,0.1); padding: 2rem 0; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; }
.footer-cols { display: grid; gap: 2.5rem; grid-template-columns: repeat(2, 1fr); padding: 3.5rem 0; }
@media (min-width: 768px) { .footer-cols { grid-template-columns: 1.4fr repeat(4, 1fr); } }
.footer-cols h4 { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.05em; color: rgba(255,255,255,0.4); font-weight: 600; }
.footer-cols ul { list-style: none; margin: 1rem 0 0; padding: 0; }
.footer-cols li { margin-top: 0.6rem; font-size: 0.9rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding: 1.5rem 0; font-size: 0.75rem; color: rgba(255,255,255,0.4); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.5rem; }

/* ---------- Page hero (About/Visa/etc) ---------- */
.page-hero { position: relative; height: 45vh; min-height: 320px; overflow: hidden; color: #fff; }
.page-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-hero .scrim { position: absolute; inset: 0; background: linear-gradient(to top, rgba(11,26,38,0.9), rgba(11,26,38,0.3)); }
.page-hero .content { position: relative; z-index: 1; height: 100%; display: flex; flex-direction: column; justify-content: center; max-width: 900px; margin: 0 auto; padding: 0 1.5rem; }
.page-hero h1 { font-size: 2.5rem; margin-top: 0.5rem; }

/* ---------- Forms ---------- */
.form-input {
  width: 100%; border: 1px solid var(--line); border-radius: 0.6rem;
  padding: 0.65rem 0.8rem; font-size: 0.9rem; background: #fff; color: var(--ink);
}
.field-label { display: block; font-size: 0.75rem; font-weight: 600; text-transform: uppercase; color: var(--ink-faint); margin-bottom: 0.35rem; }

/* ---------- Utility ---------- */
.glass { background: var(--glass-bg); backdrop-filter: blur(20px) saturate(160%); border: 1px solid var(--glass-border); border-radius: 1rem; }
.text-center { text-align: center; }
.mt-2 { margin-top: 2rem; }
