/*
Theme Name: Destination Planner Elegance
Theme URI: https://example.com/destination-planner-elegance
Author: Codex
Author URI: https://openai.com
Description: A refined WordPress theme for destination planners, luxury travel advisors, and bespoke itinerary studios.
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: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: destination-planner-elegance
Tags: travel, custom-logo, custom-menu, featured-images, one-column, responsive-layout
*/

:root {
  --ink: #17292c;
  --ink-soft: #345154;
  --pine: #0d3b3e;
  --sage: #6f8d78;
  --mist: #e9f0ee;
  --ivory: #f7f4ee;
  --paper: #ffffff;
  --coral: #c9684a;
  --gold: #d5ad62;
  --sky: #d9e8ef;
  --line: rgba(23, 41, 44, 0.14);
  --shadow: 0 24px 60px rgba(13, 59, 62, 0.14);
  --radius: 8px;
  --font-serif: "Cormorant Garamond", Georgia, serif;
  --font-sans: "Inter", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--ivory);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  letter-spacing: 0;
}

body.menu-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 1000;
  padding: 10px 14px;
  border-radius: 4px;
  color: var(--paper);
  background: var(--pine);
}

.skip-link:focus {
  top: 16px;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.screen-reader-text:focus {
  width: auto;
  height: auto;
  margin: 0;
  padding: 10px 14px;
  overflow: visible;
  clip: auto;
  white-space: normal;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(23, 41, 44, 0.12);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 12px 34px rgba(13, 59, 62, 0.08);
  backdrop-filter: blur(18px);
}

.admin-bar .site-header {
  top: 32px;
}

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1180px, calc(100% - 40px));
  min-height: 88px;
  margin: 0 auto;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 260px;
  gap: 12px;
}

.custom-logo-link img {
  max-width: 180px;
  max-height: 54px;
  object-fit: contain;
}

.brand-logo-image {
  display: block;
  width: 84px;
  max-width: 44vw;
  height: auto;
  border-radius: 4px;
  background: transparent;
  filter: drop-shadow(0 8px 16px rgba(5, 28, 31, 0.12));
}

.site-footer .brand-logo-image {
  width: 104px;
  max-width: 100%;
  filter: drop-shadow(0 8px 16px rgba(5, 28, 31, 0.1));
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.48);
  border-radius: 50%;
  color: var(--gold);
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 700;
}

.brand-text {
  display: grid;
  gap: 3px;
}

.brand-name {
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 700;
  line-height: 1;
}

.brand-kicker {
  margin-top: 4px;
  color: var(--ink-soft);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.primary-nav ul,
.footer-links ul {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.primary-nav a,
.footer-links a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 9px 12px;
  border-radius: 4px;
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 700;
}

.primary-nav a:hover,
.primary-nav a:focus-visible,
.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--pine);
  background: rgba(13, 59, 62, 0.08);
  outline: none;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  margin-left: 10px;
  padding: 10px 16px;
  border: 1px solid rgba(13, 59, 62, 0.16);
  border-radius: 4px;
  color: var(--pine);
  background: var(--gold);
  font-size: 14px;
  font-weight: 800;
}

.nav-cta:hover,
.nav-cta:focus-visible {
  background: #e3c47a;
  outline: none;
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(13, 59, 62, 0.2);
  border-radius: 4px;
  color: var(--pine);
  background: transparent;
  cursor: pointer;
}

.menu-toggle-bars,
.menu-toggle-bars::before,
.menu-toggle-bars::after {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  content: "";
}

.menu-toggle-bars {
  position: relative;
}

.menu-toggle-bars::before,
.menu-toggle-bars::after {
  position: absolute;
  left: 0;
}

.menu-toggle-bars::before {
  top: -7px;
}

.menu-toggle-bars::after {
  top: 7px;
}

.hero {
  position: relative;
  min-height: 82vh;
  color: var(--paper);
  isolation: isolate;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-position: center;
  background-size: cover;
}

.hero::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(5, 28, 31, 0.8) 0%, rgba(5, 28, 31, 0.48) 48%, rgba(5, 28, 31, 0.18) 100%),
    linear-gradient(180deg, rgba(5, 28, 31, 0.15) 0%, rgba(5, 28, 31, 0.72) 100%);
  content: "";
}

.hero-inner {
  display: grid;
  align-content: center;
  width: min(1180px, calc(100% - 40px));
  min-height: 72vh;
  margin: 0 auto;
  padding: 90px 0 42px;
}

.hero-copy {
  max-width: 720px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0;
}

.hero h1,
.section-heading h2,
.split-copy h2,
.planner-copy h2,
.cta-band h2,
.page-title {
  margin: 0;
  font-family: var(--font-serif);
  font-weight: 700;
  line-height: 0.96;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 680px;
  font-size: 72px;
}

.hero-lede {
  max-width: 620px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 19px;
}

.hero-actions,
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 13px 20px;
  border: 1px solid transparent;
  border-radius: 4px;
  font-size: 15px;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
  outline: none;
}

.button-primary {
  color: var(--pine);
  background: var(--gold);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: #e2c372;
}

.button-secondary {
  color: var(--paper);
  border-color: rgba(255, 255, 255, 0.36);
  background: rgba(255, 255, 255, 0.09);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  background: rgba(255, 255, 255, 0.16);
}

.hero-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: min(920px, calc(100% - 40px));
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(13, 59, 62, 0.72);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}

.proof-item {
  padding: 18px 22px;
  border-right: 1px solid rgba(255, 255, 255, 0.14);
}

.proof-item:last-child {
  border-right: 0;
}

.proof-value {
  display: block;
  color: var(--gold);
  font-family: var(--font-serif);
  font-size: 30px;
  font-weight: 700;
  line-height: 1;
}

.proof-label {
  display: block;
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
  font-weight: 700;
}

.site-section {
  padding: 92px 0;
}

.section-soft {
  background: var(--mist);
}

.section-dark {
  color: var(--paper);
  background: var(--pine);
}

.section-inner {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 36px;
}

.section-heading h2,
.split-copy h2,
.planner-copy h2,
.cta-band h2,
.page-title {
  max-width: 760px;
  font-size: 48px;
}

.section-heading p,
.split-copy p,
.planner-copy p,
.cta-band p {
  max-width: 590px;
  margin: 0;
  color: var(--ink-soft);
}

.section-dark .section-heading p,
.section-dark .cta-band p {
  color: rgba(255, 255, 255, 0.74);
}

.destination-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.destination-card,
.testimonial-card,
.enquiry-panel,
.journey-card,
.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: 0 18px 44px rgba(23, 41, 44, 0.08);
}

.destination-card {
  overflow: hidden;
}

.destination-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.destination-card-content {
  padding: 22px;
}

.destination-meta {
  color: var(--coral);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.destination-card h3,
.journey-card h3,
.testimonial-card h3,
.faq-item h3 {
  margin: 8px 0 8px;
  font-size: 22px;
  line-height: 1.2;
}

.destination-card p,
.journey-card p,
.testimonial-card p,
.faq-item p {
  margin: 0;
  color: var(--ink-soft);
}

.split-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  align-items: center;
  gap: 54px;
}

.split-media {
  position: relative;
  min-height: 640px;
}

.split-media img {
  width: 86%;
  height: 560px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.split-stamp {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 260px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: var(--radius);
  color: var(--paper);
  background: var(--coral);
  box-shadow: 0 20px 46px rgba(201, 104, 74, 0.22);
}

.split-stamp strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 36px;
  line-height: 1;
}

.split-stamp span {
  display: block;
  margin-top: 8px;
  font-size: 14px;
  font-weight: 700;
}

.service-list {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}

.service-item {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 16px;
  align-items: start;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.service-number {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 50%;
  color: var(--paper);
  background: var(--pine);
  font-weight: 800;
}

.service-item h3 {
  margin: 0 0 4px;
  font-size: 20px;
}

.service-item p {
  margin: 0;
}

.journey-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.journey-card {
  display: grid;
  min-height: 278px;
  padding: 24px;
}

.journey-card .tag {
  align-self: start;
  width: fit-content;
  padding: 6px 10px;
  border-radius: 4px;
  color: var(--pine);
  background: var(--sky);
  font-size: 12px;
  font-weight: 800;
}

.journey-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 26px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 800;
}

.journey-card-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 14px;
  border-radius: 4px;
  color: var(--pine);
  background: var(--gold);
  font-size: 14px;
  font-weight: 800;
}

.journey-card-action:hover,
.journey-card-action:focus-visible {
  color: var(--pine);
  background: #e2c372;
  outline: none;
}

.planner-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(360px, 1fr);
  gap: 42px;
  align-items: start;
}

.planner-copy {
  position: sticky;
  top: 112px;
}

.planner-copy p {
  margin-top: 18px;
}

.section-dark .planner-copy .eyebrow {
  color: var(--gold);
}

.section-dark .planner-copy p {
  color: rgba(255, 255, 255, 0.82);
}

.planner-notes {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.planner-note {
  padding: 16px 18px;
  border-left: 4px solid var(--gold);
  color: rgba(255, 255, 255, 0.78);
  background: rgba(255, 255, 255, 0.08);
}

.enquiry-panel {
  padding: 26px;
}

.form-status {
  margin: 0 0 18px;
  padding: 12px 14px;
  border-radius: 4px;
  color: var(--pine);
  background: #e9f5ed;
  font-weight: 800;
}

.form-status-error {
  color: #743325;
  background: #f8e7e1;
}

.field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.form-field {
  display: grid;
  gap: 7px;
}

.form-field-full {
  grid-column: 1 / -1;
}

.form-field label {
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid rgba(23, 41, 44, 0.18);
  border-radius: 4px;
  color: var(--ink);
  background: #fbfaf7;
  padding: 11px 12px;
}

.form-field textarea {
  min-height: 116px;
  resize: vertical;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--coral);
  outline: 3px solid rgba(201, 104, 74, 0.15);
}

.estimate-box {
  display: grid;
  gap: 12px;
  margin: 20px 0;
  padding: 18px;
  border: 1px solid rgba(13, 59, 62, 0.16);
  border-radius: var(--radius);
  color: var(--ink);
  background: var(--ivory);
}

.estimate-box label,
.estimate-box span {
  color: var(--ink-soft);
  font-weight: 800;
}

.estimate-box strong {
  display: block;
  color: var(--pine);
  font-family: var(--font-serif);
  font-size: 28px;
  line-height: 1;
}

.range-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
}

.range-row input {
  width: 100%;
  accent-color: var(--coral);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.testimonial-card {
  padding: 24px;
}

.testimonial-card p {
  margin-top: 12px;
}

.testimonial-person {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 22px;
}

.testimonial-person img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}

.testimonial-person span {
  display: block;
  color: var(--ink-soft);
  font-size: 13px;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.faq-item {
  padding: 22px;
}

.cta-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 28px;
  padding: 46px;
  border-radius: var(--radius);
  color: var(--paper);
  background:
    linear-gradient(90deg, rgba(13, 59, 62, 0.98), rgba(13, 59, 62, 0.84)),
    url("https://images.unsplash.com/photo-1526772662000-3f88f10405ff?auto=format&fit=crop&w=1600&q=84") center/cover;
}

.cta-band p {
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.88);
}

.site-footer {
  color: var(--ink-soft);
  border-top: 1px solid rgba(23, 41, 44, 0.12);
  background: var(--paper);
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 40px 0;
  gap: 30px;
}

.footer-brand {
  max-width: 520px;
}

.footer-brand .brand {
  color: var(--ink);
}

.footer-brand p {
  margin: 16px 0 0;
}

.footer-meta {
  display: grid;
  gap: 8px;
  justify-items: end;
}

.footer-meta a {
  color: var(--pine);
  font-weight: 800;
}

.footer-bottom {
  border-top: 1px solid rgba(23, 41, 44, 0.12);
}

.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1180px, calc(100% - 40px));
  min-height: 60px;
  margin: 0 auto;
  gap: 18px;
  font-size: 13px;
}

.page-shell {
  width: min(920px, calc(100% - 40px));
  margin: 0 auto;
  padding: 86px 0;
}

.entry-content {
  padding: 32px;
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: 0 18px 44px rgba(23, 41, 44, 0.08);
}

@media (max-width: 980px) {
  .nav-shell {
    min-height: 84px;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .primary-nav {
    position: fixed;
    inset: 84px 0 auto 0;
    display: grid;
    grid-template-columns: 1fr;
    padding: 18px 20px 24px;
    border-top: 1px solid rgba(23, 41, 44, 0.12);
    background: rgba(255, 255, 255, 0.98);
    transform: translateY(-120%);
    transition: transform 180ms ease;
  }

  .menu-open .primary-nav {
    transform: translateY(0);
  }

  .primary-nav ul {
    display: grid;
    gap: 4px;
  }

  .primary-nav a,
  .nav-cta {
    width: 100%;
    justify-content: flex-start;
  }

  .nav-cta {
    margin: 8px 0 0;
  }

  .hero {
    min-height: 78vh;
  }

  .hero-inner {
    min-height: 66vh;
    padding-top: 70px;
  }

  .hero h1 {
    font-size: 52px;
  }

  .destination-grid,
  .journey-grid,
  .testimonials-grid {
    grid-template-columns: 1fr 1fr;
  }

  .split-layout,
  .planner-layout,
  .cta-band {
    grid-template-columns: 1fr;
  }

  .planner-copy {
    position: static;
  }

  .split-media {
    min-height: auto;
  }

  .split-media img {
    width: 100%;
    height: 460px;
  }

  .split-stamp {
    right: 22px;
    bottom: 22px;
  }
}

@media (max-width: 720px) {
  .admin-bar .site-header {
    top: 46px;
  }

  .nav-shell,
  .section-inner,
  .footer-inner,
  .footer-bottom-inner,
  .hero-inner,
  .hero-proof,
  .page-shell {
    width: min(100% - 28px, 1180px);
  }

  .brand {
    min-width: 0;
  }

  .brand-logo-image {
    width: 72px;
    max-width: 24vw;
  }

  .brand-kicker {
    display: none;
  }

  .hero {
    min-height: 76vh;
  }

  .hero-inner {
    min-height: 64vh;
    padding: 54px 0 28px;
  }

  .hero h1 {
    font-size: 39px;
    line-height: 1.02;
  }

  .hero-lede {
    font-size: 17px;
  }

  .hero-actions,
  .cta-actions {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .hero-proof,
  .destination-grid,
  .journey-grid,
  .testimonials-grid,
  .faq-grid,
  .field-grid,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .proof-item {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  }

  .proof-item:last-child {
    border-bottom: 0;
  }

  .site-section {
    padding: 64px 0;
  }

  .section-heading {
    display: grid;
  }

  .section-heading h2,
  .split-copy h2,
  .planner-copy h2,
  .cta-band h2,
  .page-title {
    font-size: 36px;
    line-height: 1.02;
  }

  .split-media img {
    height: 380px;
  }

  .split-stamp {
    position: static;
    width: auto;
    margin-top: 14px;
  }

  .planner-layout {
    gap: 26px;
  }

  .enquiry-panel,
  .entry-content,
  .cta-band {
    padding: 22px;
  }

  .range-row {
    grid-template-columns: 1fr;
  }

  .footer-meta,
  .footer-bottom-inner {
    justify-items: start;
    align-items: start;
  }

  .footer-bottom-inner {
    display: grid;
    padding: 18px 0;
  }
}
