/*
 Theme Name:   Tropic Trip (Divi child)
 Theme URI:    https://tropictripmaldives.com
 Description:  Tropic Trip Maldives brand layer for Divi – logo colours, Barlow Condensed + Inter type, wave motif, buttons and header styling. Keeps Divi updatable.
 Author:       Tropic Trip Maldives
 Template:     Divi
 Version:      1.1.0
 Text Domain:  tropictrip
*/

/* ---------- Brand tokens (from the Tropic Trip logo) ---------- */
:root{
  --tt-navy:#184F79;   /* whale tail – primary */
  --tt-lagoon:#008797; /* top wave – secondary */
  --tt-aqua:#00B6BD;   /* middle wave – accent */
  --tt-sky:#1ABFDF;    /* lower block – highlight */
  --tt-mist:#AEDFE5;   /* upper block – soft backgrounds */
  --tt-foam:#EEF8F9;   /* lightest tint */
  --tt-sand:#F7F2E8;   /* sandbank neutral */
  --tt-ink:#0E2233;    /* wordmark / text */
  --tt-coral:#CC3F1C;  /* Book buttons only (white text passes AA) */
  --tt-lagoon-text:#007584; /* lagoon for small text on white */
  --tt-wa:#168A45;     /* WhatsApp */
  --tt-radius:18px;
  --tt-display:"Barlow Condensed","Arial Narrow",sans-serif;
  --tt-body:"Inter",system-ui,-apple-system,"Segoe UI",sans-serif;
}

/* ---------- Type ---------- */
body,#main-content,.et_pb_text,input,textarea,select{font-family:var(--tt-body);color:#3a4b59}
h1,h2,h3,h4,h5,h6,.et_pb_module_header,.et_pb_slide_title{
  font-family:var(--tt-display);font-weight:700;text-transform:uppercase;letter-spacing:.01em;color:var(--tt-ink);line-height:1.02}
h1{font-size:clamp(44px,6.5vw,88px)} h2{font-size:clamp(34px,4.5vw,56px)} h3{font-size:28px}
a{color:var(--tt-lagoon-text)}
::selection{background:var(--tt-aqua);color:#fff}

/* ---------- Header ---------- */
#main-header{box-shadow:0 1px 0 rgba(14,34,51,.06)!important}
#top-menu li a,.et_mobile_menu li a{font-family:var(--tt-body);font-weight:600;font-size:15px;color:var(--tt-ink)!important}
#top-menu li.current-menu-item>a,#top-menu li a:hover{color:var(--tt-lagoon)!important;opacity:1!important}
#top-menu li.tt-menu-book>a{background:var(--tt-coral);color:#fff!important;padding:12px 20px!important;border-radius:999px}
#et-secondary-nav,#top-header{background:var(--tt-navy)!important}

/* ---------- Divi buttons ---------- */
.et_pb_button,.et_pb_promo_button,.et_pb_more_button,.et_pb_contact_submit{
  font-family:var(--tt-body)!important;font-weight:700!important;border-radius:999px!important;border:0!important;
  background:var(--tt-navy)!important;color:#fff!important;padding:.75em 1.6em!important;font-size:16px!important}
.et_pb_button:after{display:none!important}
.et_pb_button:hover{background:var(--tt-lagoon)!important;padding:.75em 1.6em!important}
.tt-btn-book .et_pb_button,.et_pb_button.tt-btn-book{background:var(--tt-coral)!important}
.tt-btn-ghost .et_pb_button,.et_pb_button.tt-btn-ghost{background:transparent!important;box-shadow:inset 0 0 0 2px #fff;color:#fff!important}

/* ---------- Section helpers (add as CSS Class in Divi > Advanced) ---------- */
.tt-bg-navy{background:var(--tt-navy)!important}.tt-bg-navy h1,.tt-bg-navy h2,.tt-bg-navy h3,.tt-bg-navy p{color:#fff}
.tt-bg-mist{background:var(--tt-mist)!important}
.tt-bg-foam{background:var(--tt-foam)!important}
.tt-bg-sand{background:var(--tt-sand)!important}
.tt-bg-ocean{background:linear-gradient(180deg,var(--tt-mist) 0%,var(--tt-sky) 100%)!important}
.tt-kicker{font:600 13px/1 var(--tt-body)!important;letter-spacing:.14em;text-transform:uppercase;color:var(--tt-lagoon-text)!important}
.tt-hero h1{color:#fff;text-shadow:0 2px 30px rgba(14,34,51,.35)}
.tt-hero p{color:#fff;font-size:20px}
.tt-hero{position:relative}
.tt-wave-bottom{position:relative}
.tt-wave-bottom:after{content:"";position:absolute;left:0;right:0;bottom:-1px;height:90px;pointer-events:none;
  background:url("assets/wave.svg") bottom/100% 100% no-repeat}

/* ---------- Footer ---------- */
#main-footer{background:var(--tt-ink)!important}
#main-footer .footer-widget h4{color:#fff;font-family:var(--tt-display);text-transform:uppercase}
#footer-bottom{background:#081621!important}

/* ---------- Floating WhatsApp button ---------- */
.tt-float-wa{position:fixed;right:18px;bottom:18px;z-index:9999;width:58px;height:58px;border-radius:50%;background:var(--tt-wa);
  box-shadow:0 10px 24px rgba(0,0,0,.25);display:flex;align-items:center;justify-content:center}
.tt-float-wa svg{width:30px;height:30px;fill:#fff}
