/* ============================================
   Travel Minds — Brand System
   ============================================ */
:root {
    --tm-navy: #082754;        /* deep brand navy */
    --tm-blue: #00438a;        /* primary brand blue */
    --tm-blue-mid: #1e587a;    /* mid blue */
    --tm-teal: #2bb3a2;        /* logo bulb gradient end */
    --tm-dark: #1A1A1A;
    --tm-text: #333333;
    --tm-text-muted: #5c5c5c;
    --tm-gray-bg: #f4f6f9;
    --tm-font-display: 'Raleway', sans-serif;
    --tm-font-body: 'Lato', sans-serif;
}

/* Sitewide typography */
body {
    font-family: var(--tm-font-body) !important;
    background: #FFFFFF;
    color: var(--tm-text);
}
.et_pb_section h1, .et_pb_section h2, .et_pb_section h3,
.et_pb_text h1, .et_pb_text h2, .et_pb_text h3, .et_pb_text h4 {
    font-family: var(--tm-font-display) !important;
    font-weight: 700 !important;
    color: var(--tm-navy);
}
.et_pb_text p, .et_pb_text li, body p, body li {
    font-family: var(--tm-font-body) !important;
    font-size: 16px !important;
    line-height: 1.65;
    color: var(--tm-text);
}

/* Sidebar off */
#sidebar { display: none !important; }
#left-area { width: 100% !important; padding-right: 0 !important; float: none !important; }

/* ============================================
   Header — transparent on home, white elsewhere
   ============================================ */
#page-container { padding-top: 0 !important; }
#main-header {
    background: transparent !important;
    box-shadow: none !important;
    padding: 0 !important;
    position: absolute !important;
    top: 0; left: 0; right: 0;
    z-index: 99 !important;
}
body:not(.home) #main-header {
    background: #FFFFFF !important;
    box-shadow: 0 1px 0 rgba(0,0,0,0.08) !important;
    position: relative !important;
}

#main-header .container.et_menu_container {
    max-width: 1320px !important;
    width: 96% !important;
    display: flex !important;
    align-items: center !important;
    flex-wrap: nowrap !important;
    padding: 14px 0 !important;
}
.logo_container {
    position: relative !important;
    width: auto !important; height: auto !important;
    display: flex !important;
    align-items: center;
    float: none !important;
    margin: 0 !important;
    padding: 6px 0 !important;
    flex: 0 0 auto;
}
.tm-logo-img { max-height: 60px; width: auto; height: auto; }
body.home .tm-logo-img {
    max-height: 76px;
    filter: drop-shadow(0 2px 8px rgba(0,0,0,0.35));
}

#main-header .container.et_menu_container > ul.nav,
#main-header #top-menu {
    margin-left: auto !important;
    float: none !important;
    display: flex !important;
    align-items: center;
    gap: 2rem;
    list-style: none;
    padding: 0;
    justify-content: flex-end;
}
body:not(.home) #main-header #top-menu { margin-left: 4rem !important; }
#main-header #top-menu > li { padding: 0 !important; margin: 0 !important; }
#main-header #top-menu > li > a {
    color: var(--tm-navy) !important;
    font-family: var(--tm-font-display) !important;
    font-size: 0.95rem !important;
    font-weight: 600 !important;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 18px 0 !important;
    opacity: 1 !important;
    text-decoration: none !important;
}
body.home #main-header #top-menu > li > a {
    color: #FFFFFF !important;
    text-shadow: 0 1px 6px rgba(0,0,0,0.55);
}
body.home #main-header #top-menu li.current-menu-item > a,
body.home #main-header #top-menu li > a:hover { color: var(--tm-teal) !important; }
#main-header #top-menu li.current-menu-item > a,
#main-header #top-menu li > a:hover { color: var(--tm-blue) !important; }

/* Hide Divi search icon */
#et_search_icon, #et_top_search, .et_search_form_container, .et_search_outer,
li.et_pb_menu__search, .et_pb_menu__search-button { display: none !important; }

/* ============================================
   Hero — full-bleed photo
   ============================================ */
.tm-hero {
    position: relative !important;
    isolation: isolate;
    width: 100% !important;
    background-size: cover !important;
    background-position: center !important;
}
.tm-hero > .et_pb_row {
    position: relative;
    z-index: 2;
    width: 90% !important;
    max-width: 1320px !important;
}
.tm-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(8,39,84,0.55) 0%, rgba(8,39,84,0.70) 100%);
    z-index: 1;
    pointer-events: none;
}
.tm-hero h1, .tm-hero h2 { color: #FFFFFF !important; }
.tm-hero p, .tm-hero h3 { color: rgba(255, 255, 255, 0.97) !important; }

body.home .tm-hero {
    min-height: 92vh !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
}
body.home .tm-hero > .et_pb_row {
    margin: 0 auto !important;
    width: 100% !important;
    padding: 0 6% !important;
    max-width: 1320px !important;
}
body.home .tm-hero .et_pb_text { text-align: left; max-width: 820px; }
body.home .tm-hero h1 {
    font-family: 'Raleway', sans-serif !important;
    font-weight: 800 !important;
    font-size: 4.5rem !important;
    line-height: 1.05 !important;
    letter-spacing: 0.01em;
    text-transform: none;
    margin: 0 0 1.25rem 0 !important;
    text-shadow: 0 4px 20px rgba(0,0,0,0.5);
}
body.home .tm-hero h3 {
    font-family: 'Lato', sans-serif !important;
    font-weight: 300 !important;
    font-size: 1.4rem !important;
    line-height: 1.5;
    max-width: 720px;
    margin: 0 0 2rem 0 !important;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

body:not(.home) .tm-hero {
    min-height: 320px;
    display: flex !important;
    align-items: center !important;
}
body:not(.home) .tm-hero > .et_pb_row { margin: 0 auto !important; width: 90% !important; text-align: center; }
body:not(.home) .tm-hero .et_pb_text { text-align: center; }
body:not(.home) .tm-hero h1 {
    font-family: 'Raleway', sans-serif !important;
    font-weight: 800 !important;
    font-size: 3.5rem !important;
    line-height: 1.1 !important;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    margin: 0 !important;
    text-shadow: 0 3px 14px rgba(0,0,0,0.55);
}

@media (max-width: 720px) {
    body.home .tm-hero h1 { font-size: 2.6rem !important; }
    body:not(.home) .tm-hero h1 { font-size: 2.2rem !important; }
}

/* ============================================
   Buttons
   ============================================ */
.et_pb_button,
a.et_pb_button {
    background: var(--tm-blue) !important;
    color: #FFFFFF !important;
    border: 0 !important;
    border-radius: 4px !important;
    padding: 13px 32px !important;
    font-family: var(--tm-font-display) !important;
    font-weight: 700 !important;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}
.et_pb_button:after,
.et_pb_button:before { display: none !important; }
.et_pb_button:hover { background: var(--tm-navy) !important; color: #FFFFFF !important; }

.tm-btn-outline {
    display: inline-flex; align-items: center; gap: 0.5rem;
    background: transparent;
    color: var(--tm-blue) !important;
    border: 2px solid var(--tm-blue);
    padding: 10px 24px;
    border-radius: 4px;
    font-family: var(--tm-font-display);
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none !important;
    font-size: 0.9rem;
}
.tm-btn-outline:hover { background: var(--tm-blue); color: #fff !important; }

/* ============================================
   Section accent line
   ============================================ */
.tm-accent-line {
    display: block;
    width: 60px; height: 3px;
    background: var(--tm-teal);
    margin: 0.85rem auto 1.5rem;
    border: 0;
}

/* ============================================
   Feature cards with circular icon
   ============================================ */
.tm-feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1180px;
    margin: 0 auto;
    padding: 1rem;
}
.tm-feature {
    text-align: center;
    padding: 1.5rem 1rem;
    background: #FFFFFF;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(8,39,84,0.06);
}
.tm-feature__icon {
    width: 84px !important; height: 84px !important;
    border: 2px solid var(--tm-blue) !important;
    border-radius: 50%;
    display: flex !important;
    align-items: center; justify-content: center;
    color: var(--tm-blue) !important;
    margin: 0 auto 1rem !important;
}
.tm-feature__icon svg { width: 38px; height: 38px; }
.tm-feature__title {
    color: var(--tm-navy) !important;
    font-size: 1.15rem !important;
    font-family: var(--tm-font-display) !important;
    font-weight: 700 !important;
    margin: 0 0 0.6rem !important;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}
.tm-feature__desc { font-size: 0.95rem; color: var(--tm-text-muted); margin: 0; line-height: 1.6; }

/* Supplier / DMO logo grid */
.tm-logo-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    max-width: 1180px;
    margin: 0 auto;
    align-items: center;
    padding: 1rem;
}
.tm-logo-grid img {
    max-width: 160px; max-height: 80px;
    margin: 0 auto;
    display: block;
    filter: grayscale(0.4);
    transition: filter 0.2s;
}
.tm-logo-grid img:hover { filter: none; }

/* Custom bullet lists */
.et_pb_text ul.tm-bullet-list {
    list-style: none !important;
    padding-left: 0 !important;
    margin-left: 0 !important;
}
.et_pb_text ul.tm-bullet-list li {
    padding-left: 1.6rem;
    position: relative;
    line-height: 1.85;
    margin-bottom: 0.4rem;
}
.et_pb_text ul.tm-bullet-list li:before {
    content: "";
    position: absolute;
    left: 0; top: 0.7em;
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--tm-teal);
}

/* ============================================
   Floating CTA button
   ============================================ */
.tm-floating-cta {
    position: fixed;
    right: 24px; bottom: 24px;
    z-index: 999;
    background: var(--tm-blue);
    color: #FFFFFF !important;
    padding: 0.9rem 1.5rem;
    border-radius: 4px;
    font-family: var(--tm-font-display);
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none !important;
    box-shadow: 0 4px 18px rgba(0, 67, 138, 0.45);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.tm-floating-cta:hover { background: var(--tm-navy); color: #FFFFFF !important; }

/* ============================================
   Footer
   ============================================ */
.tm-footer {
    background: var(--tm-navy);
    color: #b8c3d3;
    padding: 3rem 0 0;
    font-family: var(--tm-font-body);
}
.tm-footer__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem 2rem;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 3rem;
}
.tm-footer-logo {
    max-height: 56px; width: auto;
    filter: brightness(0) invert(1);
}
.tm-footer__brand p { color: #b8c3d3; margin: 1rem 0 0; font-size: 0.95rem; max-width: 320px; }
.tm-footer__nav h4, .tm-footer__contact h4 {
    color: #FFFFFF !important;
    font-family: var(--tm-font-display) !important;
    font-weight: 700 !important;
    font-size: 0.9rem !important;
    margin: 0 0 1rem !important;
    letter-spacing: 0.1em;
}
.tm-footer__nav ul { list-style: none; padding: 0; margin: 0; }
.tm-footer__nav li { padding: 0.3rem 0; }
.tm-footer__nav a, .tm-footer__contact a {
    color: #b8c3d3 !important;
    text-decoration: none;
    font-size: 0.95rem;
}
.tm-footer__nav a:hover, .tm-footer__contact a:hover { color: #FFFFFF !important; }
.tm-footer__contact p { margin: 0.4rem 0; font-size: 0.95rem; }
.tm-footer__bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 1rem 2rem;
    text-align: center;
    font-size: 0.85rem;
    color: #7f8b9c;
}
.tm-footer__bottom p { margin: 0; color: inherit; }

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 980px) {
    .tm-feature-grid { grid-template-columns: 1fr 1fr; }
    .tm-logo-grid { grid-template-columns: 1fr 1fr; }
    .tm-footer__inner { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
    .tm-feature-grid, .tm-logo-grid { grid-template-columns: 1fr; }
    body.home .tm-hero { min-height: 80vh !important; }
}
