/* ============================================================
   TRIP FLY BD — CONTACT.CSS
   Premium glassmorphism contact page | Dark Gold
============================================================ */

/* ── PAGE HERO ── */
.contact-hero {
  position: relative;
  min-height: clamp(260px, 44vw, 420px);
  display: flex; align-items: center; justify-content: center;
  text-align: center; overflow: hidden;
  background: var(--bg-body);
  padding: calc(var(--nav-h) + 3rem) 1.5rem 3.5rem;
}
.contact-hero::before {
  content:''; position:absolute; inset:0; z-index:0;
  background:
    radial-gradient(ellipse 90% 65% at 50% 0%, rgba(212,175,55,.18) 0%, transparent 58%),
    radial-gradient(ellipse 55% 45% at 10% 90%, rgba(212,175,55,.07) 0%, transparent 55%);
}
.contact-hero::after {
  content:''; position:absolute; inset:0; z-index:0;
  background:
    repeating-linear-gradient(0deg, transparent, transparent 65px, rgba(212,175,55,.018) 65px, rgba(212,175,55,.018) 66px),
    repeating-linear-gradient(90deg, transparent, transparent 65px, rgba(212,175,55,.018) 65px, rgba(212,175,55,.018) 66px);
}
.contact-hero-orb {
  position:absolute; top:-80px; left:50%; transform:translateX(-50%);
  width:clamp(300px,60vw,600px); height:300px;
  background:radial-gradient(ellipse, rgba(212,175,55,.14) 0%, transparent 70%);
  filter:blur(40px); animation:chOrbPulse 5s ease-in-out infinite;
  pointer-events:none; z-index:0;
}
@keyframes chOrbPulse {
  0%,100%{opacity:.7;transform:translateX(-50%) scale(1);}
  50%{opacity:1;transform:translateX(-50%) scale(1.1);}
}
.contact-hero-content { position:relative; z-index:2; max-width:640px; width:100%; }
.contact-hero-content h1 {
  font-family:var(--font-serif); font-size:clamp(2rem,6.5vw,3.8rem);
  font-weight:900; color:var(--txt-white); margin:.9rem 0; letter-spacing:-1px;
}
.contact-hero-content p {
  color:var(--txt-mid); font-size:clamp(.88rem,2.2vw,1rem);
  max-width:480px; margin:0 auto 1.8rem; line-height:1.8;
}

/* ── MAIN CONTACT SECTION ── */
.contact-main {
  background: var(--bg-body);
  padding: clamp(3rem,7vw,5.5rem) 0;
  position: relative;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.45fr;
  gap: clamp(2rem,5vw,4rem);
  align-items: start;
}

/* ── LEFT: INFO PANEL ── */
.contact-info-panel {}
.contact-info-panel h2 {
  font-family:var(--font-serif);
  font-size:clamp(1.6rem,3.5vw,2.2rem); font-weight:900;
  color:var(--txt-white); margin-bottom:.8rem; line-height:1.15;
}
.contact-info-panel > p {
  color:var(--txt-mid); font-size:clamp(.84rem,2vw,.92rem);
  line-height:1.85; margin-bottom:2rem;
}

/* Info cards */
.info-cards { display:flex; flex-direction:column; gap:.85rem; margin-bottom:2rem; }
.info-card {
  display:flex; align-items:center; gap:1rem;
  background:linear-gradient(135deg, rgba(22,30,40,.95), rgba(17,24,32,.98));
  border:1px solid var(--bdr-gold); border-radius:var(--radius-lg);
  padding:clamp(1rem,2.5vw,1.3rem) clamp(1.1rem,3vw,1.5rem);
  transition:var(--tx); position:relative; overflow:hidden;
}
.info-card::before {
  content:''; position:absolute; top:0; left:0; width:3px; height:100%;
  background:linear-gradient(to bottom, transparent, var(--gold), transparent);
  transform:scaleY(0); transition:transform .4s ease;
}
.info-card:hover::before { transform:scaleY(1); }
.info-card:hover { border-color:var(--bdr-gold2); transform:translateX(5px); box-shadow:var(--glow-sm); }
.info-card.wa-card .info-icon { background:linear-gradient(135deg,rgba(37,211,102,.15),rgba(37,211,102,.05)); border-color:rgba(37,211,102,.3); color:#25D366; }
.info-icon {
  width:clamp(44px,7vw,52px); height:clamp(44px,7vw,52px);
  border-radius:50%; flex-shrink:0;
  background:linear-gradient(135deg,rgba(212,175,55,.15),rgba(212,175,55,.05));
  border:1px solid rgba(212,175,55,.25);
  display:flex; align-items:center; justify-content:center;
  font-size:clamp(1rem,2.5vw,1.2rem); color:var(--gold);
  transition:var(--tx);
}
.info-card:hover .info-icon { background:linear-gradient(135deg,var(--gold),var(--gold-dk)); color:#000; }
.info-card-text strong {
  display:block; color:var(--txt-white);
  font-size:clamp(.84rem,2vw,.9rem); font-weight:800; margin-bottom:.15rem;
}
.info-card-text span {
  color:var(--txt-mid); font-size:clamp(.78rem,1.8vw,.84rem); line-height:1.5;
}
.info-card-text a { color:var(--gold); text-decoration:none; transition:color .3s; }
.info-card-text a:hover { color:var(--gold-lt); }

/* Business hours */
.business-hours {
  background:linear-gradient(135deg,rgba(22,30,40,.95),rgba(17,24,32,.98));
  border:1px solid var(--bdr-gold); border-radius:var(--radius-lg);
  padding:1.4rem 1.5rem; margin-bottom:1.8rem;
}
.bh-title {
  display:flex; align-items:center; gap:.55rem;
  font-size:clamp(.78rem,1.8vw,.84rem); font-weight:800;
  color:var(--gold); text-transform:uppercase; letter-spacing:2px;
  margin-bottom:1rem;
}
.bh-row {
  display:flex; justify-content:space-between; align-items:center;
  padding:.45rem 0; border-bottom:1px solid rgba(255,255,255,.05);
  font-size:clamp(.76rem,1.7vw,.82rem);
}
.bh-row:last-child { border-bottom:none; }
.bh-row span:first-child { color:var(--txt-mid); }
.bh-row span:last-child { color:var(--txt-white); font-weight:700; }
.bh-row.open span:last-child { color:#25D366; }
.bh-row.closed span:last-child { color:rgba(255,255,255,.35); }

/* Social links */
.contact-socials-row {
  display:flex; gap:.65rem; flex-wrap:wrap;
}
.contact-social-btn {
  display:inline-flex; align-items:center; gap:.5rem;
  background:rgba(212,175,55,.07); border:1px solid rgba(212,175,55,.22);
  color:var(--txt-mid); border-radius:50px;
  padding:.45rem 1rem; font-size:clamp(.72rem,1.7vw,.78rem); font-weight:700;
  text-decoration:none; transition:var(--tx);
}
.contact-social-btn:hover { background:var(--gold); color:#000; border-color:var(--gold); }
.contact-social-btn i { font-size:.8rem; }

/* ── RIGHT: CONTACT FORM ── */
.contact-form-wrap {
  background:linear-gradient(145deg, rgba(15,21,32,.97), rgba(8,12,18,.97));
  border:1px solid rgba(212,175,55,.28);
  border-radius:var(--radius-xl);
  position:relative; overflow:hidden;
  box-shadow:0 30px 80px rgba(0,0,0,.6), inset 0 1px 0 rgba(212,175,55,.1);
}
.contact-form-wrap::before {
  content:''; position:absolute; top:0; left:0; right:0; height:2px;
  background:linear-gradient(90deg,transparent,var(--gold),var(--gold-lt),var(--gold),transparent);
  box-shadow:0 0 20px rgba(212,175,55,.4);
}
.cfb-top-glow {
  position:absolute; top:-60px; left:50%; transform:translateX(-50%);
  width:300px; height:180px;
  background:radial-gradient(ellipse,rgba(212,175,55,.12) 0%,transparent 70%);
  filter:blur(20px); pointer-events:none;
}
.form-header { padding:clamp(1.6rem,4vw,2.2rem) clamp(1.6rem,4vw,2.5rem) 0; }
.form-header h3 {
  font-family:var(--font-serif);
  font-size:clamp(1.3rem,3.5vw,1.9rem); font-weight:900;
  color:var(--txt-white); margin-bottom:.5rem;
}
.form-header p { font-size:clamp(.8rem,2vw,.88rem); color:var(--txt-mid); line-height:1.7; }

/* Form body */
.cf-form {
  padding:clamp(1.4rem,3.5vw,2rem) clamp(1.6rem,4vw,2.5rem) clamp(1.6rem,4vw,2.5rem);
  display:flex; flex-direction:column; gap:1rem;
}
.cf-row { display:grid; grid-template-columns:1fr 1fr; gap:1rem; }
.cf-group { display:flex; flex-direction:column; gap:.45rem; }
.cf-label {
  font-size:clamp(.74rem,1.7vw,.8rem); font-weight:700;
  color:var(--txt-light); letter-spacing:.5px;
}
.cf-req { color:var(--gold); margin-left:2px; }
.cf-input-wrap { position:relative; }
.cf-input-icon {
  position:absolute; left:1rem; top:50%; transform:translateY(-50%);
  color:var(--gold); font-size:.85rem; pointer-events:none; z-index:1;
  transition:color .3s;
}
.cf-textarea-wrap .cf-input-icon { top:1rem; transform:none; }
.cf-input, .cf-select, .cf-textarea {
  width:100%; padding:.88rem 1rem .88rem 2.7rem;
  background:rgba(255,255,255,.04);
  border:1px solid rgba(212,175,55,.2);
  border-radius:var(--radius); color:var(--txt-light);
  font-family:var(--font); font-size:clamp(.82rem,1.9vw,.88rem);
  transition:var(--tx); resize:none;
  -webkit-appearance:none; appearance:none;
}
.cf-input::placeholder, .cf-textarea::placeholder { color:var(--txt-dim); }
.cf-input:focus, .cf-select:focus, .cf-textarea:focus {
  outline:none;
  border-color:var(--gold);
  background:rgba(212,175,55,.05);
  box-shadow:0 0 0 3px rgba(212,175,55,.12);
}
.cf-select { cursor:pointer; }
.cf-select option { background:var(--bg-card); color:var(--txt-light); }
.cf-textarea { padding-top:1rem; min-height:110px; resize:vertical; }

/* Submit button */
.cf-submit {
  width:100%; padding:1rem 1.5rem;
  background:linear-gradient(135deg,var(--gold-lt),var(--gold),var(--gold-dk));
  color:#000; border:none; border-radius:50px;
  font-family:var(--font); font-size:clamp(.88rem,2vw,.96rem); font-weight:800;
  cursor:pointer; transition:var(--tx); position:relative; overflow:hidden;
  display:flex; align-items:center; justify-content:center; gap:.55rem;
  min-height:52px;
}
.cf-submit::after {
  content:''; position:absolute; inset:0;
  background:linear-gradient(90deg,transparent,rgba(255,255,255,.2),transparent);
  transform:translateX(-100%); transition:transform .5s ease;
}
.cf-submit:hover::after { transform:translateX(100%); }
.cf-submit:hover { transform:translateY(-2px); box-shadow:0 12px 35px rgba(212,175,55,.5); }
.cf-submit:disabled { opacity:.65; cursor:not-allowed; transform:none; }
.cf-submit .btn-spinner {
  display:none; width:18px; height:18px; border-radius:50%;
  border:2px solid rgba(0,0,0,.3); border-top-color:#000;
  animation:spin .7s linear infinite;
}
.cf-submit.loading .btn-spinner { display:block; }
.cf-submit.loading .btn-text-normal { display:none; }
@keyframes spin { to { transform:rotate(360deg); } }

/* Status messages */
.cf-status {
  display:none; padding:.95rem 1.2rem; border-radius:var(--radius);
  font-size:clamp(.8rem,1.9vw,.86rem); font-weight:600;
  align-items:center; gap:.6rem;
}
.cf-status.show { display:flex; }
.cf-status.success {
  background:rgba(37,211,102,.1); border:1px solid rgba(37,211,102,.35);
  color:#25D366;
}
.cf-status.error {
  background:rgba(220,53,69,.1); border:1px solid rgba(220,53,69,.35);
  color:#f87171;
}
.cf-privacy {
  text-align:center; font-size:clamp(.7rem,1.6vw,.74rem); color:var(--txt-dim);
  display:flex; align-items:center; justify-content:center; gap:.4rem;
  margin-top:.4rem;
}
.cf-privacy i { color:var(--gold); font-size:.72rem; }

/* ── MAP / LOCATION SECTION ── */
.location-section {
  background:var(--bg-section);
  padding:clamp(3rem,7vw,5rem) 0;
  position:relative; overflow:hidden;
}
.location-section::before {
  content:''; position:absolute; inset:0;
  background:
    radial-gradient(ellipse 70% 60% at 50% 50%, rgba(212,175,55,.06) 0%, transparent 65%),
    repeating-linear-gradient(0deg,transparent,transparent 65px,rgba(212,175,55,.015) 65px,rgba(212,175,55,.015) 66px),
    repeating-linear-gradient(90deg,transparent,transparent 65px,rgba(212,175,55,.015) 65px,rgba(212,175,55,.015) 66px);
  pointer-events:none;
}
.location-inner {
  background:linear-gradient(145deg,rgba(22,30,40,.97),rgba(17,24,32,.97));
  border:1px solid var(--bdr-gold); border-radius:var(--radius-xl);
  padding:clamp(2rem,5vw,3.5rem);
  text-align:center; position:relative; overflow:hidden;
  max-width:700px; margin:0 auto;
}
.location-inner::before {
  content:''; position:absolute; top:0; left:0; right:0; height:2px;
  background:linear-gradient(90deg,transparent,var(--gold),transparent);
}
.location-icon {
  font-size:clamp(2.5rem,6vw,3.8rem); color:var(--gold);
  margin-bottom:1.1rem; display:block;
  filter:drop-shadow(0 0 18px rgba(212,175,55,.55));
  animation:locFloat 3s ease-in-out infinite;
}
@keyframes locFloat { 0%,100%{transform:translateY(0);} 50%{transform:translateY(-8px);} }
.location-inner h3 {
  font-family:var(--font-serif);
  font-size:clamp(1.4rem,4vw,2rem); font-weight:900;
  color:var(--txt-white); margin-bottom:.7rem;
}
.location-inner p { color:var(--txt-mid); font-size:clamp(.84rem,2vw,.92rem); line-height:1.8; margin-bottom:1.8rem; }
.location-badges { display:flex; gap:.65rem; justify-content:center; flex-wrap:wrap; margin-bottom:2rem; }
.loc-badge {
  display:inline-flex; align-items:center; gap:.45rem;
  background:rgba(212,175,55,.08); border:1px solid rgba(212,175,55,.22);
  color:var(--txt-light); border-radius:50px;
  padding:.45rem 1rem; font-size:clamp(.73rem,1.7vw,.8rem); font-weight:600;
}
.loc-badge i { color:var(--gold); font-size:.78rem; }

/* ── RESPONSIVE ── */
@media(max-width:960px) {
  .contact-grid { grid-template-columns:1fr; }
}
@media(max-width:600px) {
  .cf-row { grid-template-columns:1fr; }
  .contact-socials-row { justify-content:center; }
  .location-badges { flex-direction:column; align-items:center; }
}

/* ============================================================
   LIGHT MODE REFINEMENT - CONTACT
============================================================ */
body[data-theme="light"] .contact-main,
body[data-theme="light"] .location-section {
  background: var(--bg-body);
}

body[data-theme="light"] .info-card,
body[data-theme="light"] .contact-socials-card,
body[data-theme="light"] .contact-form-wrap,
body[data-theme="light"] .location-inner {
  background: linear-gradient(145deg, var(--light-card-strong), var(--light-card-soft)) !important;
  border-color: var(--light-border) !important;
  box-shadow: var(--light-shadow) !important;
  color: var(--txt-light);
}

body[data-theme="light"] .info-card:hover,
body[data-theme="light"] .location-inner:hover {
  border-color: var(--light-border-strong) !important;
  box-shadow: var(--light-shadow-hover) !important;
}

body[data-theme="light"] .contact-info-panel h2,
body[data-theme="light"] .info-card-text strong,
body[data-theme="light"] .form-header h3,
body[data-theme="light"] .location-inner h3 {
  color: var(--txt-white);
}

body[data-theme="light"] .contact-info-panel > p,
body[data-theme="light"] .info-card-text span,
body[data-theme="light"] .form-header p,
body[data-theme="light"] .location-inner p,
body[data-theme="light"] .cf-privacy {
  color: var(--txt-mid);
}

body[data-theme="light"] .cf-input,
body[data-theme="light"] .cf-select,
body[data-theme="light"] .cf-textarea {
  background: rgba(255,255,255,.72);
  border-color: var(--light-border);
  color: #102033;
}

body[data-theme="light"] .cf-select option {
  background: #FFF8EA;
  color: #102033;
}

/* ============================================================
   LIGHT MODE FIX - CONTACT BUSINESS HOURS
============================================================ */
body[data-theme="light"] .business-hours,
html[data-theme="light"] .business-hours {
  background: linear-gradient(145deg, rgba(255,255,255,.84), rgba(255,248,235,.74)) !important;
  border-color: rgba(212,175,55,.24) !important;
  box-shadow: 0 18px 46px rgba(53,42,16,.13), inset 0 1px 0 rgba(255,255,255,.65) !important;
  color: #102033;
}

body[data-theme="light"] .business-hours .bh-title,
html[data-theme="light"] .business-hours .bh-title {
  color: var(--gold-dk);
}

body[data-theme="light"] .business-hours .bh-row,
html[data-theme="light"] .business-hours .bh-row {
  border-bottom-color: rgba(212,175,55,.15);
  color: #52657a;
}

body[data-theme="light"] .business-hours .bh-row span:first-child,
html[data-theme="light"] .business-hours .bh-row span:first-child {
  color: #52657a;
}

body[data-theme="light"] .business-hours .bh-row span:last-child,
html[data-theme="light"] .business-hours .bh-row span:last-child {
  color: #102033;
}

body[data-theme="light"] .business-hours .bh-row.open span:last-child,
html[data-theme="light"] .business-hours .bh-row.open span:last-child {
  color: #059669;
}

body[data-theme="light"] .business-hours .bh-row.closed span:last-child,
html[data-theme="light"] .business-hours .bh-row.closed span:last-child {
  color: #8a94a3;
}

body[data-theme="light"] .business-hours .bh-row[style],
html[data-theme="light"] .business-hours .bh-row[style] {
  background: rgba(37,211,102,.08) !important;
  border: 1px solid rgba(37,211,102,.16) !important;
}

body[data-theme="light"] .business-hours .bh-row[style] span:first-child,
html[data-theme="light"] .business-hours .bh-row[style] span:first-child {
  color: #102033 !important;
}

/* Travel imagery across the contact page */
body[data-theme="dark"] .contact-hero {
  background:
    linear-gradient(110deg, rgba(5,17,28,.9) 0%, rgba(7,25,37,.75) 52%, rgba(5,17,28,.88) 100%),
    url("https://images.unsplash.com/photo-1469474968028-56623f02e42e?w=2200&q=86&fit=crop") center/cover no-repeat;
}
body[data-theme="light"] .contact-hero {
  background:
    linear-gradient(110deg, rgba(243,247,244,.84) 0%, rgba(230,240,239,.65) 52%, rgba(244,247,244,.9) 100%),
    url("https://images.unsplash.com/photo-1469474968028-56623f02e42e?w=2200&q=86&fit=crop") center/cover no-repeat;
}
body[data-theme="light"] .contact-hero-content p { color: #4D6571; }
body[data-theme="dark"] .contact-main,
body[data-theme="dark"] .location-section {
  background-image:
    linear-gradient(135deg, rgba(6,18,28,.965), rgba(8,25,36,.93)),
    url("https://images.unsplash.com/photo-1500530855697-b586d89ba3ee?w=1800&q=78&fit=crop");
  background-size: cover;
  background-position: center;
}
body[data-theme="light"] .contact-main,
body[data-theme="light"] .location-section {
  background-image:
    linear-gradient(135deg, rgba(246,249,246,.94), rgba(235,242,239,.9)),
    url("https://images.unsplash.com/photo-1500530855697-b586d89ba3ee?w=1800&q=78&fit=crop");
  background-size: cover;
  background-position: center;
}
