/*
Theme Name: Eventful Adventures
Description: Southern African travel, destination guides and events.
Author: Cubetech Innovations
Version: 1.2.3
Requires at least: 6.2
Requires PHP: 7.4
Text Domain: eventful-adventures
*/
:root {
    --paper: #fffdf9;
    --cream: #fff8f0;
    --white: #ffffff;
    --ink: #2b1f15;
    --muted: #6b5442;
    --dark: #1a0f07;
    --orange: #F97316;
    --rust: #c2410c;
    --line: #f4dcc7;
    --heading: Georgia, "Times New Roman", serif;
    --body: "Segoe UI", system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 16px/1.65 var(--body); }
a { color: inherit; text-underline-offset: .2em; }
img { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; }
.icon { display: inline-block; width: 1.12em; height: 1.12em; flex: 0 0 auto; vertical-align: -.18em; }
:focus-visible { outline: 3px solid #22827b; outline-offset: 4px; }
h1, h2, h3 { font-family: var(--heading); font-weight: 500; line-height: 1.08; margin: 0 0 .45em; overflow-wrap: break-word; }
h1 { font-size: clamp(2.75rem, 6vw, 5.5rem); letter-spacing: -.045em; }
h2 { font-size: clamp(2rem, 4vw, 3.55rem); letter-spacing: -.04em; }
h3 { font-size: clamp(1.35rem, 2.2vw, 1.85rem); letter-spacing: -.025em; }
p { margin: 0 0 1em; }
.wrap { width: min(1180px, calc(100% - 72px)); margin-inline: auto; }
.section { padding-block: clamp(3rem, 7vw, 6.5rem); }
.tinted { background: var(--cream); }
.eyebrow { color: var(--rust); font-weight: 750; text-transform: uppercase; font-size: .72rem; letter-spacing: .17em; margin: 0 0 .8rem; }
.skip { position: absolute; left: 1rem; top: 1rem; z-index: 5; padding: .5rem 1rem; background: var(--white); transform: translateY(-200%); }
.skip:focus { transform: none; }
.site-header { color: var(--white); background: var(--dark); }
.topbar { background: var(--orange); color: #fff; font-size: .83rem; }
.topbar-inner, .topbar-contact, .topbar-social { display: flex; align-items: center; }
.topbar-inner { justify-content: space-between; gap: .35rem 1.15rem; padding-block: .2rem; }
.topbar-contact { flex-wrap: wrap; gap: 0 1.15rem; }
.topbar a { display: inline-flex; align-items: center; gap: .38rem; color: #fff; text-decoration: none; }
.topbar-contact a { min-height: 32px; }
.topbar-contact a:hover { text-decoration: underline; }
.topbar a:focus-visible { outline-color: #fff; outline-offset: 1px; }
.topbar-social { gap: .15rem; flex-shrink: 0; }
.topbar-social a { width: 36px; height: 36px; justify-content: center; border-radius: 5px; }
.topbar-social a:hover { background: #ffffff24; }
.topbar .icon { width: 1.25em; height: 1.25em; }
.nav-row { display: grid; grid-template-columns: 1fr auto 1fr; gap: 1.5rem; min-height: 82px; align-items: center; }
.brand, .custom-logo-link { width: max-content; }
.brand img, .custom-logo { width: 92px; height: 64px; object-fit: contain; }
#main-nav { display: flex; gap: clamp(1rem, 3vw, 2.5rem); align-items: center; }
#main-nav a { color: #fbebdc; text-decoration: none; font-size: .94rem; }
#main-nav a:hover, #main-nav a[aria-current] { color: var(--orange); }
.menu-toggle { display: none; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: .75rem; min-height: 49px; padding: .65rem 1.25rem; border: 1px solid transparent; border-radius: 5px; background: var(--orange); color: #fff; font-weight: 750; text-decoration: none; cursor: pointer; }
.button:hover { background: #c2410c; color: #fff; }
.button.ghost { border-color: #faeddabf; background: #20161045; color: #ffffff; }
.button.ghost:hover { background: #201610bc; }
.nav-cta { justify-self: end; white-space: nowrap; }
.hero {
    position: relative;
    display: grid;
    align-items: center;
    min-height: clamp(270px, 28vw, 365px);
    isolation: isolate;
    background: var(--dark);
    color: #fff;
    text-align: center;
}
.hero-home { min-height: clamp(350px, 40vw, 480px); }
.hero-photo, .hero::after { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-photo { object-fit: cover; z-index: -2; }
.hero::after { content: ""; z-index: -1; background: linear-gradient(180deg, #1a0f07a8, #1a0f078c 50%, #1a0f07b8); }
.hero-content { padding-block: clamp(2.5rem, 5vw, 4.25rem); }
.hero h1 { max-width: 880px; margin: 0 auto .4em; font-size: clamp(2.25rem, 5vw, 4.15rem); }
.hero-home h1 { font-size: clamp(2.65rem, 6vw, 5.15rem); }
.hero .eyebrow { color: #ffd6a8; }
.hero-copy { font-size: clamp(1rem, 1.65vw, 1.16rem); max-width: 56ch; margin: 0 auto; color: #fff8f0; }
.actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .7rem; margin-top: 1.45rem; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 1.3rem; margin-bottom: 1.65rem; }
.section-head h2 { margin: 0; }
.text-link { color: var(--rust); font-weight: 750; }
.section-head .text-link { flex: 0 0 auto; }
.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(.9rem, 2vw, 1.5rem); }
.card { min-width: 0; background: var(--white); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.card-link { display: flex; flex-direction: column; height: 100%; text-decoration: none; }
.card-link:focus-visible { outline-offset: -5px; }
.card-link:hover h3 { color: var(--rust); }
.card img { width: 100%; aspect-ratio: 1.65; object-fit: cover; background: var(--cream); }
.card-body { padding: clamp(1.15rem, 2.8vw, 1.85rem); flex: 1; position: relative; }
.card-body p:not(.eyebrow) { color: var(--muted); margin-bottom: 0; }
.destination-card .card-body { padding-right: clamp(3rem, 5vw, 4.3rem); }
.destination-card .arrow { position: absolute; right: 1rem; top: 1.2rem; border: 1px solid var(--line); color: var(--rust); border-radius: 50%; display: grid; place-items: center; width: 2rem; height: 2rem; }
.services-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.services-grid .card { grid-column: span 2; }
.services-grid .card:nth-child(n+4) { grid-column: span 3; }
.services-grid .card:nth-child(n+4) img { aspect-ratio: 2.5; }
.services-grid .card-body { display: flex; flex-direction: column; align-items: flex-start; }
.services-grid .text-link { margin-top: auto; padding-top: 1.1rem; }
.split { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(1.6rem, 6vw, 6rem); }
.split p { max-width: 57ch; }
.lead { font-size: 1.18rem; color: var(--rust); font-weight: 650; }
.feature-photo { width: 100%; aspect-ratio: 1.38; object-fit: cover; border-radius: 12px; }
.founder-card {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 1020px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: var(--white);
}
.founder-portrait {
    display: grid;
    place-items: center;
    margin: 0;
    padding: clamp(1.15rem, 3vw, 2rem);
    background: radial-gradient(ellipse at 50% 35%, #ffe4c4, #fff8f0);
}
.founder-portrait img {
    width: min(100%, 320px);
    height: auto;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    object-position: center top;
    border-radius: 12px;
    box-shadow: 0 14px 32px #7c2d1226;
}
.founder-copy { align-self: center; padding: clamp(1.45rem, 4.25vw, 3.6rem); }
.founder-copy h2 { font-size: clamp(2rem, 3.6vw, 3.25rem); }
.founder-copy p:last-child { margin-bottom: 0; }
.highlights { margin-top: 1.55rem; }
.cta { background: linear-gradient(120deg, #c2410c, #7c2d12); color: var(--white); padding-block: clamp(2rem, 4.5vw, 3.5rem); }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem 2.75rem; }
.cta h2 { font-size: clamp(1.85rem, 3.6vw, 3rem); }
.cta .button { flex-shrink: 0; background: #fffdf9; color: var(--ink); }
.cta .button:hover { background: #ffe4c4; color: var(--ink); }
.cta p { margin: 0; color: #fff8f0; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: .6rem; color: var(--muted); font-size: .88rem; margin-bottom: 1.7rem; }
.breadcrumb a, .sitemap a { color: var(--rust); }
.intro { max-width: 760px; }
.intro p { font-size: 1.14rem; color: var(--muted); }
.trip-note { margin-top: 1.5rem; border-left: 4px solid var(--rust); padding: 1.35rem 1.6rem; background: var(--cream); border-radius: 0 8px 8px 0; }
.trip-note p { margin: 0; }
.region-nav { padding-block: 1.35rem; border-bottom: 1px solid var(--line); }
.region-nav .wrap { display: flex; flex-wrap: wrap; gap: .45rem; }
.region-nav a { background: var(--cream); border-radius: 100px; padding: .35rem .85rem; color: #58331f; font-size: .88rem; text-decoration: none; }
.region-nav a:hover { text-decoration: underline; }
.region { padding-block: clamp(2rem, 4vw, 3.6rem); }
.region:nth-of-type(odd) { background: #f6eee2; }
.sitemap ul { padding-inline-start: 1.2rem; margin-block: 0 1.5rem; }
.sitemap .card ul { margin-bottom: 0; }
.prose { max-width: 800px; }
.contact-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.55fr); align-items: start; gap: clamp(1.25rem, 4vw, 3.25rem); }
.contact-details { border-block-start: 3px solid var(--rust); padding: 1.4rem 0; }
.contact-details h2, .form-panel h2 { font-size: clamp(1.85rem, 3.2vw, 2.65rem); }
.contact-details a { display: block; width: fit-content; margin-block: .5rem; overflow-wrap: anywhere; }
.form-panel { background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: clamp(1.15rem, 3.6vw, 2.6rem); min-width: 0; }
fieldset { margin: 1.75rem 0; padding: 0; border: 0; min-inline-size: 0; }
legend { width: 100%; padding: 0 0 .55rem; margin-bottom: .85rem; border-bottom: 1px solid var(--line); font: 1.5rem var(--heading); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.field { min-width: 0; }
.field.wide { grid-column: 1 / -1; }
.field label { display: block; font-size: .9rem; font-weight: 700; margin-bottom: .3rem; }
.field label span { color: var(--rust); }
.field input, .field select, .field textarea { width: 100%; min-width: 0; min-height: 45px; border: 1px solid #bba89a; color: var(--ink); background: #fff; border-radius: 5px; padding: .5rem .65rem; }
.field textarea { resize: vertical; display: block; }
.field small { display: block; color: var(--muted); margin-top: .25rem; }
.check { display: flex; align-items: start; gap: .6rem; margin-bottom: 1.15rem; }
.check input { margin-top: .35rem; accent-color: var(--rust); }
.trap { position: absolute; left: -100vw; width: 1px; height: 1px; overflow: hidden; }
.notice { padding: .85rem 1rem; border: 1px solid; border-radius: 5px; }
.success { color: #215036; background: #edf7ed; }
.error { color: #772e20; background: #fff1ed; }
.error ul { margin-bottom: 0; }
.site-footer { background: var(--dark); color: #f4dcc7; border-top: 4px solid var(--orange); padding-top: clamp(2rem, 4vw, 3.25rem); }
.footer-top { display: grid; grid-template-columns: 1.3fr .72fr 1fr; gap: 1.8rem 2.75rem; }
.footer-brand img { object-fit: contain; margin-bottom: .55rem; }
.footer-brand p { max-width: 30ch; margin-bottom: 0; }
.footer-top h2, .footer-directory-head h2 { color: #fffdf9; font: 750 1rem/1.25 var(--body); letter-spacing: 0; margin-bottom: .7rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li + li { margin-top: .35rem; }
.site-footer a { overflow-wrap: anywhere; text-decoration: none; }
.site-footer a:hover { color: #ffd6a8; text-decoration: underline; }
.site-footer a:focus-visible { outline-color: #ffd6a8; }
.footer-whatsapp { display: inline-flex; gap: .5rem; align-items: center; margin-top: .45rem; padding: .48rem .72rem; border: 1px solid #f973168a; border-radius: 5px; color: #ffd6a8; }
.footer-destinations { margin-top: 2rem; padding-block: 1.55rem; border-top: 1px solid #ffffff2a; }
.footer-directory-head { display: flex; align-items: baseline; justify-content: space-between; gap: .55rem 1.2rem; flex-wrap: wrap; margin-bottom: 1rem; }
.footer-directory-head h2 { margin: 0; }
.footer-directory-head a { color: #ffd6a8; font-size: .88rem; font-weight: 650; }
.footer-groups { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .65rem; align-items: stretch; }
.footer-region { min-width: 0; padding: .85rem .95rem; border: 1px solid #ffffff1e; background: #fff8f00a; border-radius: 8px; }
.footer-groups h3 { color: #ffd6a8; font: 700 .87rem/1.4 var(--body); margin-bottom: .38rem; }
.footer-groups a { font-size: .84rem; }
.footer-bottom, .footer-legal { display: flex; flex-wrap: wrap; gap: .55rem 1.25rem; align-items: center; }
.footer-bottom { justify-content: space-between; border-top: 1px solid #ffffff2a; padding-block: 1rem; font-size: .82rem; }
@media (max-width: 860px) {
    .wrap { width: min(100% - 40px, 1180px); }
    .nav-row { column-gap: 1rem; }
    .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .services-grid .card:nth-child(n) { grid-column: span 1; }
    .services-grid .card:nth-child(n) img { aspect-ratio: 1.65; }
    .footer-groups { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .contact-layout { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 620px) {
    .wrap { width: calc(100% - 32px); }
    .nav-row { grid-template-columns: 1fr auto; column-gap: .75rem; row-gap: 0; min-height: 70px; padding-block: .3rem; }
    .nav-cta { display: none; }
    .menu-toggle:not([hidden]) { display: inline-flex; gap: .55rem; align-items: center; justify-content: center; min-height: 44px; padding: .25rem .65rem; border-radius: 5px; color: var(--white); background: transparent; border: 1px solid #ffffff5e; }
    #main-nav { grid-column: 1 / -1; align-items: stretch; flex-direction: column; gap: 0; padding-bottom: .45rem; }
    #main-nav.menu-ready:not(.open) { display: none; }
    #main-nav a { padding: .65rem .3rem; border-top: 1px solid #ffffff24; }
    .hero::after { background: linear-gradient(180deg, #1a0f07bc, #1a0f07a1 50%, #1a0f07c4); }
    .section-head, .cta-inner { display: grid; align-items: start; justify-content: start; }
    .section-head .text-link, .cta .button { justify-self: start; }
    .split, .founder-card, .card-grid, .form-grid { grid-template-columns: minmax(0, 1fr); }
    .topbar-inner { flex-wrap: wrap; justify-content: center; gap: .15rem; padding-block: .3rem; }
    .topbar-contact { justify-content: center; gap: 0 .8rem; }
    .topbar-contact a { min-height: 30px; }
    .topbar-address { flex-basis: 100%; justify-content: center; text-align: center; }
    .topbar-social a { width: 44px; height: 44px; }
    .founder-portrait img { width: min(100%, 260px); }
    .field.wide { grid-column: 1; }
    .footer-top { grid-template-columns: 1fr 1fr; }
    .footer-top > :first-child { grid-column: 1 / -1; }
    .footer-groups { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
