/*
Theme Name: Gunner's Peaceful Travels
Theme URI: https://example.com/gunners-peaceful-travels
Author: Gunner's Peaceful Travels
Description: A calm, nature-forward travel agency theme integrated with Planet Parks.
Version: 1.0.0
Requires at least: 6.2
Tested up to: 6.6
Requires PHP: 7.4
Text Domain: gpt-travel
*/

:root {
  --gpt-green: #244b35;
  --gpt-green-dark: #183526;
  --gpt-sage: #859b61;
  --gpt-cream: #f6f2e8;
  --gpt-paper: #fffdf8;
  --gpt-ink: #213129;
  --gpt-muted: #647068;
  --gpt-border: rgba(36,75,53,.14);
  --gpt-shadow: 0 18px 45px rgba(23,43,31,.14);
  --gpt-radius: 18px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--gpt-ink);
  background: var(--gpt-paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
button, input, select, textarea { font: inherit; }
.container { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.section { padding: 76px 0; }
.section-title { margin: 0 0 12px; text-align: center; font-family: Georgia, serif; font-size: clamp(2rem, 4vw, 3.3rem); font-weight: 500; }
.section-kicker { margin: 0 auto 42px; max-width: 680px; text-align: center; color: var(--gpt-muted); }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 23px; border-radius: 6px; border: 1px solid transparent; font-weight: 750; letter-spacing: .03em; cursor: pointer; transition: .2s ease; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--gpt-green); color: #fff; }
.btn-primary:hover { background: var(--gpt-green-dark); }
.btn-outline { border-color: currentColor; background: transparent; color: #fff; }

.topbar { background: var(--gpt-green-dark); color: #fff; font-size: .9rem; }
.topbar-inner { min-height: 38px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.site-header { position: relative; z-index: 20; background: rgba(255,253,248,.96); border-bottom: 1px solid var(--gpt-border); }
.header-inner { min-height: 94px; display: flex; align-items: center; gap: 30px; }
.brand { display: flex; align-items: center; gap: 14px; min-width: 275px; }
.brand-mark { width: 62px; height: 62px; border: 2px solid var(--gpt-green); border-radius: 50%; display: grid; place-items: center; font-size: 28px; background: var(--gpt-cream); }
.brand-name { font-family: Georgia, serif; font-size: 1.58rem; letter-spacing: .08em; line-height: 1.05; }
.brand-sub { display: block; margin-top: 5px; font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; }
.primary-nav { margin-left: auto; }
.primary-nav ul { display: flex; align-items: center; gap: 24px; list-style: none; margin: 0; padding: 0; }
.primary-nav a { font-size: .88rem; font-weight: 700; }
.menu-toggle { display: none; margin-left: auto; border: 0; background: transparent; font-size: 1.6rem; }

.hero { min-height: 620px; position: relative; display: grid; align-items: center; color: #fff; background: linear-gradient(90deg, rgba(8,27,20,.78), rgba(8,27,20,.22)), url('assets/images/hero.jpg') center/cover no-repeat; }
.hero::after { content:""; position:absolute; inset:auto 0 0; height: 35%; background: linear-gradient(transparent, rgba(10,29,20,.48)); }
.hero-content { position: relative; z-index: 2; max-width: 680px; padding: 110px 0 130px; }
.hero-title { margin: 0 0 18px; font-family: Georgia, serif; font-size: clamp(3.8rem, 8vw, 7.4rem); line-height: .86; font-weight: 500; text-transform: uppercase; }
.hero-script { display:block; color: #a7bd72; font-style: italic; text-transform: none; font-size: .57em; margin-top: 16px; }
.hero-copy { max-width: 560px; font-size: 1.13rem; }
.hero-actions { display:flex; flex-wrap:wrap; gap:14px; margin-top:32px; }

.trip-finder { position: relative; z-index: 5; margin-top: -58px; }
.trip-finder-inner { background:#fff; border-radius:15px; box-shadow:var(--gpt-shadow); padding:18px; display:grid; grid-template-columns:1.25fr repeat(4,1fr) auto; align-items:center; gap:8px; }
.finder-intro { padding: 5px 16px; }
.finder-intro strong { display:block; font-family:Georgia,serif; font-size:1.2rem; }
.finder-field { padding: 5px 14px; border-left:1px solid var(--gpt-border); }
.finder-field label { display:block; font-size:.75rem; font-weight:800; }
.finder-field select { width:100%; border:0; background:transparent; color:var(--gpt-muted); padding:4px 0; outline:none; }

.card-grid { display:grid; grid-template-columns:repeat(6,1fr); gap:12px; }
.adventure-card { overflow:hidden; border-radius:10px; background:var(--gpt-cream); border:1px solid var(--gpt-border); text-align:center; transition:.2s ease; }
.adventure-card:hover { transform:translateY(-5px); box-shadow:var(--gpt-shadow); }
.adventure-card img { width:100%; aspect-ratio: 1.12/1; object-fit:cover; }
.adventure-card span { display:block; padding:18px 8px; font-size:.78rem; font-weight:800; letter-spacing:.05em; text-transform:uppercase; }

.journey-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:18px; }
.journey-card { position:relative; min-height:390px; border-radius:14px; overflow:hidden; color:#fff; background:#173326; }
.journey-card img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; opacity:.88; transition:.35s ease; }
.journey-card:hover img { transform:scale(1.04); }
.journey-card::after { content:""; position:absolute; inset:0; background:linear-gradient(transparent 28%, rgba(10,25,18,.92)); }
.journey-content { position:absolute; z-index:2; inset:auto 22px 22px; }
.journey-label { text-transform:uppercase; font-size:.7rem; letter-spacing:.13em; }
.journey-card h3 { margin:6px 0 8px; font-family:Georgia,serif; font-size:1.8rem; line-height:1.05; font-weight:500; }
.journey-card p { margin:0 0 17px; font-size:.9rem; color:rgba(255,255,255,.88); }
.journey-card .btn { min-height:38px; padding:0 14px; font-size:.75rem; }

.difference { background: var(--gpt-cream); }
.difference-inner { display:grid; grid-template-columns:.85fr 1.15fr; align-items:center; gap:54px; }
.difference-image img { border-radius: 0 90px 0 0; min-height:420px; object-fit:cover; }
.difference h2 { font-family:Georgia,serif; font-weight:500; font-size:clamp(2rem,4vw,3rem); line-height:1.15; }
.feature-list { display:grid; grid-template-columns:repeat(3,1fr); gap:20px; margin-top:30px; }
.feature { padding-top:20px; border-top:1px solid var(--gpt-border); }
.feature-icon { font-size:1.8rem; }
.feature h3 { margin:8px 0 6px; font-size:.9rem; text-transform:uppercase; }
.feature p { margin:0; color:var(--gpt-muted); font-size:.88rem; }

.cta-grid { display:grid; grid-template-columns:1fr 1.06fr; gap:22px; }
.cta-card { min-height:300px; border-radius:18px; padding:34px; overflow:hidden; position:relative; }
.quiz-card { background:linear-gradient(90deg, rgba(246,242,232,.98), rgba(246,242,232,.75)), url('assets/images/quiz.jpg') right center/cover no-repeat; }
.newsletter-card { background:var(--gpt-green); color:#fff; }
.cta-card h2 { margin:0 0 10px; font-family:Georgia,serif; font-weight:500; font-size:2rem; }
.newsletter-form { display:flex; gap:0; margin-top:26px; }
.newsletter-form input { flex:1; border:0; padding:14px; min-width:0; }
.newsletter-form button { border-radius:0 5px 5px 0; border:1px solid #fff; }

.site-footer { background:var(--gpt-green-dark); color:#fff; padding:50px 0 20px; }
.footer-grid { display:grid; grid-template-columns:1.25fr repeat(3,1fr); gap:36px; }
.footer-title { font-family:Georgia,serif; font-size:1.6rem; }
.footer-col h3 { font-size:.8rem; text-transform:uppercase; letter-spacing:.12em; }
.footer-col ul { list-style:none; padding:0; margin:0; color:rgba(255,255,255,.75); }
.footer-bottom { margin-top:35px; padding-top:18px; border-top:1px solid rgba(255,255,255,.18); display:flex; justify-content:space-between; gap:20px; font-size:.8rem; color:rgba(255,255,255,.66); }

.page-wrap { padding:70px 0; }
.entry-title { font-family:Georgia,serif; font-size:clamp(2.5rem,5vw,4.4rem); font-weight:500; }
.entry-content { max-width:820px; font-size:1.05rem; }

@media (max-width: 1000px) {
  .primary-nav { display:none; position:absolute; top:100%; left:0; right:0; background:#fff; padding:20px; box-shadow:var(--gpt-shadow); }
  .primary-nav.is-open { display:block; }
  .primary-nav ul { flex-direction:column; align-items:flex-start; }
  .menu-toggle { display:block; }
  .header-cta { display:none; }
  .trip-finder-inner { grid-template-columns:1fr 1fr; }
  .finder-intro { grid-column:1/-1; }
  .finder-field { border-left:0; border-top:1px solid var(--gpt-border); }
  .card-grid { grid-template-columns:repeat(3,1fr); }
  .difference-inner { grid-template-columns:1fr; }
}
@media (max-width: 700px) {
  .container { width:min(100% - 24px, 1180px); }
  .topbar-inner { justify-content:center; text-align:center; }
  .topbar-social { display:none; }
  .brand { min-width:0; }
  .brand-mark { width:50px; height:50px; }
  .brand-name { font-size:1.18rem; }
  .hero { min-height:550px; }
  .hero-content { padding:85px 0 115px; }
  .trip-finder { margin-top:-45px; }
  .trip-finder-inner { grid-template-columns:1fr; }
  .finder-intro { grid-column:auto; }
  .card-grid, .journey-grid, .feature-list, .cta-grid, .footer-grid { grid-template-columns:1fr; }
  .adventure-card img { aspect-ratio:1.8/1; }
  .journey-card { min-height:360px; }
  .footer-bottom { flex-direction:column; }
}
