/* ─── T&T Travel Boutique — Contact Page ─── */
/* Loaded only on Template: Contact              */

/* ── CSS vars ── */
:root {
  --dark:         #0D1B2A;
  --light:        #F0ECE3;
  --heading-dark: #0D1B2A;
  --gold:         #B8843F;
  --gold-light:   #d4a96a;
  --transition:   0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ── Cursor fix ── */
body.tt-contact-page,
body.tt-contact-page * { cursor: auto !important; }
body.tt-contact-page a,
body.tt-contact-page button,
body.tt-contact-page select,
body.tt-contact-page [role="button"] { cursor: pointer !important; }
body.tt-contact-page input,
body.tt-contact-page textarea { cursor: text !important; }

/* ── Suppress Avada header/footer ── */
body.tt-contact-page .fusion-tb-header,
body.tt-contact-page .fusion-header-wrapper,
body.tt-contact-page #fusion-header,
body.tt-contact-page .fusion-footer,
body.tt-contact-page .fusion-footer-widget-area,
body.tt-contact-page .fusion-copyright-footer,
body.tt-contact-page .fusion-tb-footer { display: none !important; }

/* ── Base ── */
body.tt-contact-page {
  font-family: 'Jost', sans-serif;
  background: var(--dark);
  color: var(--light);
  overflow-x: hidden;
  margin: 0; padding: 0;
}
body.tt-contact-page *, body.tt-contact-page *::before, body.tt-contact-page *::after { box-sizing: border-box; }
body.tt-contact-page ::-webkit-scrollbar { width: 4px; }
body.tt-contact-page ::-webkit-scrollbar-track { background: var(--dark); }
body.tt-contact-page ::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 2px; }

/* ── Admin bar offset ── */
body.tt-contact-page.admin-bar nav.tt-nav { top: 32px; }
@media screen and (max-width: 782px) {
  body.tt-contact-page.admin-bar nav.tt-nav { top: 46px; }
}

/* ── Active nav link — Enquiry ── */
body.tt-contact-page .tt-nav .nav-links a.active { opacity: 1; color: var(--gold); }
body.tt-contact-page .tt-nav .nav-links a.active::after { transform: scaleX(1); transform-origin: left; }

/* ── Keyframes ── */
@keyframes fadeUp { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: translateY(0); } }

/* ════════════════════════════════════════════════════
   MAIN SPLIT — 50/50
   ════════════════════════════════════════════════════ */
.tt-contact-wrap {
  min-height: 100vh; display: grid; grid-template-columns: 1fr 1fr;
  padding-top: 80px; /* nav height offset */
}

/* ── Left panel ── */
.contact-left {
  background: var(--dark); display: flex; flex-direction: column;
  justify-content: center; padding: 80px 72px 80px 80px;
  position: relative; overflow: hidden;
}
.contact-left::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 60% at 0% 60%, rgba(184,132,63,.06) 0%, transparent 60%);
  pointer-events: none;
}
.contact-left::after {
  content: 'Contact'; font-family: 'Cormorant Garamond', serif;
  font-size: 200px; font-weight: 300; line-height: 1;
  color: rgba(184,132,63,.05); position: absolute;
  bottom: -20px; left: -10px; z-index: 0; user-select: none; white-space: nowrap;
}
.contact-left > * { position: relative; z-index: 1; }

.contact-eyebrow {
  font-size: 9px; letter-spacing: 4.5px; text-transform: uppercase; color: var(--gold);
  display: flex; align-items: center; gap: 12px; margin-bottom: 32px;
  opacity: 0; animation: fadeUp 1s .3s forwards;
}
.contact-eyebrow::before { content: ''; width: 28px; height: 1px; background: var(--gold); opacity: .6; }
.contact-title {
  font-family: 'Cormorant Garamond', serif; font-size: clamp(44px,5vw,72px);
  font-weight: 300; line-height: 1.1; color: var(--light); margin: 0;
  opacity: 0; animation: fadeUp 1s .5s forwards;
}
.contact-title em { font-style: italic; color: var(--gold-light); }
.contact-sub {
  margin-top: 24px; font-size: 14px; font-weight: 200; line-height: 1.82;
  color: rgba(240,236,227,.6); max-width: 420px;
  opacity: 0; animation: fadeUp 1s .7s forwards;
}

/* Contact info list */
.contact-info-list {
  margin-top: 48px; display: flex; flex-direction: column; gap: 0;
  opacity: 0; animation: fadeUp 1s .9s forwards;
}
.hc {
  display: flex; align-items: center; gap: 20px;
  padding: 18px 0; border-bottom: 1px solid rgba(184,132,63,.1);
  transition: border-color .3s ease;
}
.hc:first-child { border-top: 1px solid rgba(184,132,63,.1); }
.hc:hover { border-color: rgba(184,132,63,.3); }
.hc-icon {
  width: 36px; height: 36px; border: 1px solid rgba(184,132,63,.25);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  transition: all .3s ease;
}
.hc:hover .hc-icon { border-color: var(--gold); background: rgba(184,132,63,.08); }
.hc-icon svg {
  width: 16px; height: 16px; stroke: var(--gold); fill: none;
  stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round;
}
.hc-label {
  font-size: 11px; letter-spacing: 2.5px; text-transform: uppercase;
  color: rgba(184,132,63,.6); font-weight: 500; display: block; margin-bottom: 4px;
}
.hc-value { font-size: 16px; font-weight: 300; color: rgba(240,236,227,.8); }
.hc-value a { color: inherit; text-decoration: none; transition: color .3s ease; }
.hc-value a:hover { color: var(--gold); }
.hc-sub { font-size: 13px; color: rgba(240,236,227,.32); margin-top: 2px; font-weight: 300; }

.contact-hero-img {
  margin-top: 40px; border-radius: 6px; overflow: hidden;
  opacity: 0; animation: fadeUp 1s 1.1s forwards;
}
.contact-hero-img img {
  width: 100%; height: auto; display: block;
  border-radius: 6px; aspect-ratio: 16/9; object-fit: cover;
}

/* ── Right panel — form ── */
.contact-right {
  background: var(--heading-dark); display: flex; flex-direction: column;
  justify-content: center; padding: 80px 72px 80px;
  position: relative; overflow: hidden;
  border-left: 1px solid rgba(184,132,63,.1);
}
.contact-right::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 60% at 100% 30%, rgba(184,132,63,.05) 0%, transparent 60%);
  pointer-events: none;
}
.contact-right > * { position: relative; z-index: 1; }

.form-ey {
  font-size: 11px; letter-spacing: 4px; text-transform: uppercase; color: var(--gold);
  font-weight: 500; margin-bottom: 12px; display: flex; align-items: center; gap: 12px;
}
.form-ey::after { content: ''; flex: 1; height: 1px; background: rgba(184,132,63,.25); max-width: 48px; }
.form-title {
  font-family: 'Cormorant Garamond', serif; font-size: clamp(24px,2.5vw,34px);
  font-weight: 300; line-height: 1.2; color: var(--light); margin-bottom: 32px; margin-top: 0;
}
.form-title em { font-style: italic; color: var(--gold-light); }

/* Form grid */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-full { grid-column: 1 / -1; }

/* Fields */
.field { display: flex; flex-direction: column; gap: 6px; }
.field label {
  font-size: 11px; letter-spacing: 2.5px; text-transform: uppercase;
  color: rgba(240,236,227,.45); font-weight: 500;
}
.field input,
.field select,
.field textarea {
  background: rgba(13,27,42,.55);
  border: 1px solid rgba(184,132,63,.18);
  color: var(--light);
  font-family: 'Jost', sans-serif; font-size: 15px; font-weight: 300;
  padding: 12px 16px; outline: none;
  transition: border-color .3s ease, background .3s ease;
  -webkit-appearance: none; border-radius: 0;
}
.field input::placeholder,
.field textarea::placeholder { color: rgba(240,236,227,.2); }
.field input:focus,
.field select:focus,
.field textarea:focus { border-color: var(--gold); background: rgba(13,27,42,.75); }
.field select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6' fill='none' stroke='%23B8843F' stroke-width='1.2'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center;
  padding-right: 40px; background-color: rgba(13,27,42,.55);
}
.field select option { background: var(--heading-dark); color: var(--light); }
.field textarea { resize: vertical; min-height: 90px; line-height: 1.65; }

/* Submit row */
.form-submit { margin-top: 8px; display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.btn-submit {
  display: inline-flex; align-items: center; gap: 12px;
  background: var(--gold); color: var(--dark);
  padding: 14px 40px; font-size: 10px; letter-spacing: 2.5px; text-transform: uppercase;
  font-weight: 600; border: none; font-family: 'Jost', sans-serif;
  position: relative; overflow: hidden; transition: all .3s ease;
}
.btn-submit::before {
  content: ''; position: absolute; inset: 0;
  background: rgba(255,255,255,.15); transform: translateX(-100%); transition: transform .4s ease;
}
.btn-submit:hover::before { transform: translateX(0); }
.btn-submit:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(184,132,63,.35); }
.btn-submit svg {
  width: 14px; height: 14px; stroke: var(--dark); fill: none;
  stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0;
}
.form-privacy {
  font-size: 11px; font-weight: 300; color: rgba(240,236,227,.28);
  line-height: 1.55; max-width: 240px;
}

/* Form notice (success / error) */
.form-notice {
  padding: 14px 18px; margin-bottom: 24px;
  font-size: 13px; font-weight: 300; line-height: 1.6;
  border-left: 2px solid var(--gold);
}
.form-notice.success { background: rgba(184,132,63,.08); color: rgba(240,236,227,.8); }
.form-notice.error   { background: rgba(200,60,60,.08); color: rgba(240,180,180,.85); border-color: rgba(200,60,60,.5); }

/* ════════════════════════════════════════════════════
   INFO STRIP — dark, 4 col
   ════════════════════════════════════════════════════ */
.contact-info-strip {
  background: var(--dark);
  border-top: 1px solid rgba(184,132,63,.1);
  display: grid; grid-template-columns: repeat(4,1fr);
  position: relative;
}
.contact-info-strip::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(to right, transparent, rgba(184,132,63,.35) 30%, var(--gold) 50%, rgba(184,132,63,.35) 70%, transparent);
}
.cis-item {
  padding: 56px 48px; border-right: 1px solid rgba(184,132,63,.08);
  transition: background .4s ease;
}
.cis-item:last-child { border-right: none; }
.cis-item:hover { background: rgba(184,132,63,.04); }
.cis-label {
  font-size: 8px; letter-spacing: 3px; text-transform: uppercase;
  color: var(--gold); font-weight: 500; margin-bottom: 16px;
  display: flex; align-items: center; gap: 10px;
}
.cis-label::after { content: ''; flex: 1; height: 1px; background: rgba(184,132,63,.2); max-width: 28px; }
.cis-value { font-size: 13px; font-weight: 300; color: rgba(240,236,227,.55); line-height: 1.75; }
.cis-value a { color: rgba(240,236,227,.55); text-decoration: none; transition: color .3s; }
.cis-value a:hover { color: var(--gold); }
.cis-value strong { color: rgba(240,236,227,.8); font-weight: 400; display: block; margin-bottom: 4px; }

/* ════════════════════════════════════════════════════
   RESPONSIVE
   ════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .tt-contact-wrap { grid-template-columns: 1fr; padding-top: 80px; }
  .contact-left { padding: 72px 56px 56px; }
  .contact-right { padding: 64px 56px 72px; border-left: none; border-top: 1px solid rgba(184,132,63,.1); }
  .contact-info-strip { grid-template-columns: 1fr 1fr; }
  .cis-item:nth-child(2) { border-right: none; }
  .cis-item:nth-child(3) { border-top: 1px solid rgba(184,132,63,.08); }
  .cis-item:nth-child(4) { border-top: 1px solid rgba(184,132,63,.08); border-right: none; }
}

@media (max-width: 640px) {
  .contact-left { padding: 56px 24px 48px; }
  .contact-left::after { font-size: 100px; }
  .contact-right { padding: 48px 24px 56px; }
  .form-grid { grid-template-columns: 1fr; }
  .form-full { grid-column: 1; }
  .contact-info-strip { grid-template-columns: 1fr; }
  .cis-item { border-right: none !important; border-top: 1px solid rgba(184,132,63,.08); }
  .cis-item:first-child { border-top: none; }
  .cis-item { padding: 36px 24px; }
  .form-submit { flex-direction: column; align-items: flex-start; }
}
