

/* ── Self-hosted fonts (removes Google Fonts third-party request) ──
   Latin subset only. Eliminates Safari Advanced Privacy warning. */
@font-face {
    font-family: 'Cormorant Garamond';
    font-style: italic;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/cormorant-garamond-400-italic.woff2') format('woff2');
}

@font-face {
    font-family: 'Cormorant Garamond';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/cormorant-garamond-400.woff2') format('woff2');
}

@font-face {
    font-family: 'Hanken Grotesk';
    font-style: normal;
    font-weight: 300;
    font-display: swap;
    src: url('../fonts/hanken-grotesk-300.woff2') format('woff2');
}

@font-face {
    font-family: 'Hanken Grotesk';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/hanken-grotesk-400.woff2') format('woff2');
}

/* =====================================================
   BLUE TURTLE ESCAPES — GLOBAL STYLES
   Edit this file to update styles across all pages.
   ===================================================== */

/* ===== STANDARD H3 ===== */
h3 {
    font-family: 'Hanken Grotesk', sans-serif;
    font-size: 18px;
    font-weight: 400;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #143F77;
    line-height: 1.5;
    margin: 0 0 16px;
}

/* ===== STICKY HEADER ===== */
.site-header,
#masthead {
    position: sticky;
    top: 0;
    z-index: 999;
}

/* ===== TOP BAR (two-row header) ===== */
.bte-topbar {
    background: #0d2d52;
    width: 100%;
    display: flex;
    align-items: center;
    height: 48px;
}
.bte-topbar-inner {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 60px;
    display: flex;
    align-items: center;
    width: 100%;
    box-sizing: border-box;
    gap: 32px;
}
.bte-topbar-contact {
    display: flex;
    align-items: center;
    gap: 28px;
}
.bte-topbar-contact a {
    font-family: 'Hanken Grotesk', sans-serif;
    font-size: 14px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    font-weight: 400;
    color: #fff;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 7px;
    transition: color 0.2s;
    white-space: nowrap;
}
.bte-topbar-contact a:hover { color: #fff; }
.bte-topbar-contact svg {
    width: 15px;
    height: 15px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.5;
    flex-shrink: 0;
}

.bte-topbar-social {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-left: auto;
}
.bte-topbar-social a {
    color: #fff;
    text-decoration: none;
    display: flex;
    align-items: center;
    transition: color 0.2s;
}
.bte-topbar-social a:hover { color: #fff; }
.bte-topbar-social svg {
    width: 14px;
    height: 14px;
    fill: currentColor;
    flex-shrink: 0;
}

/* ===== POST COMMENT BUTTON ===== */
.pcf-submit:hover { background: #077FCB !important; border-color: #077FCB !important; color: #fff !important; }

/* ===== CENTRE-LOGO HEADER ===== */
/* Override Astra's hide of #ast-desktop-header below 922px — our custom header lives inside it */
#ast-desktop-header {
    background: #143F77;
    width: 100%;
    display: block !important;
}
.bte-header-inner {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 60px;
    min-height: 100px;
    box-sizing: border-box;
    width: 100%;
}
.bte-header-nav-left {
    display: flex;
    align-items: center;
    gap: 36px;
}
.bte-header-nav-left a {
    font-family: 'Hanken Grotesk', sans-serif;
    font-size: 16px;
    font-weight: 400;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #fff;
    text-decoration: none;
    transition: color 0.2s;
}
.bte-header-nav-left a:hover,
.bte-header-nav-left a.active { color: #fff; }
.bte-header-logo {
    display: flex;
    justify-content: center;
    padding: 0 28px;
}
.bte-header-logo img {
    width: 210px;
    height: auto;
    display: block;
    opacity: 0.95;
}
.bte-header-right {
    display: flex;
    justify-content: flex-end;
}
.bte-header-btn {
    font-family: 'Hanken Grotesk', sans-serif;
    font-size: 18px;
    font-weight: 400;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #fff !important;
    text-decoration: none !important;
    border: 1px solid rgba(255,255,255,0.7);
    border-radius: 50px;
    padding: 10px 32px;
    transition: background 0.3s, border-color 0.3s;
    white-space: nowrap;
}
.bte-header-btn:hover {
    background: #077FCB;
    border-color: #077FCB;
}


/* ===== FOOTER LAYOUT (aligned to header columns) ===== */
.bte-footer { padding-left: 0 !important; padding-right: 0 !important; padding-top: 90px !important; }
.bte-footer-photos {
    display: none !important;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 60px;
    box-sizing: border-box;
}
@media (min-width: 1200px) {
    .bte-footer-photos { display: flex !important; gap: 14px; margin-bottom: 70px; }
}
.bte-footer-copy { padding-left: 60px !important; padding-right: 60px !important; }
@media (max-width: 1024px) {
    .bte-footer { padding-top: 60px !important; }
    .bte-footer-photos { padding: 0 48px; }
    .bte-footer-copy { padding-left: 48px !important; padding-right: 48px !important; }
}
@media (max-width: 767px) {
    .bte-footer { padding-top: 40px !important; }
    .bte-footer-photos { padding: 0 24px; }
    .bte-footer-copy { padding-left: 24px !important; padding-right: 24px !important; }
}
@media (max-width: 1280px) {
    .bte-footer-copy p { white-space: normal; word-break: break-word; }
}

/* ===== FOOTER BODY (3-column redesign) ===== */
.bte-footer-body {
    display: grid;
    grid-template-columns: 1fr minmax(0, 700px) 1fr;
    align-items: start;
    max-width: 1440px;
    margin: 0 auto;
    padding: 60px 60px;
    box-sizing: border-box;
    gap: 40px;
}
@media (max-width: 1366px) and (min-width: 768px) {
    .bte-footer-body {
        grid-template-columns: 1fr minmax(0, 360px) 1fr !important;
        padding: 48px 48px !important;
        gap: 28px !important;
    }
}

/* Mobile: stack footer to a single column, centred */
@media (max-width: 767px) {
    .bte-footer-body {
        grid-template-columns: 1fr !important;
        padding: 40px 24px !important;
        gap: 32px !important;
        text-align: center !important;
    }
    .bte-footer { padding: 40px 0 0 !important; }
    .bte-footer-photos { display: none !important; }
    /* Centre each footer column on mobile */
    .bte-footer-nav-left,
    .bte-footer-social-col {
        align-items: center !important;
        justify-self: stretch !important;
    }
    .bte-footer-social-icons { justify-content: center !important; }
    .bte-footer-col-title { padding-left: 0 !important; border-left: none !important; }
    /* Hide the social link with text since icons cover it */
    .bte-footer-social-col > .bte-footer-social-link { display: none !important; }
}


.bte-footer-col-title {
    font-family: 'Hanken Grotesk', sans-serif;
    font-size: 16px;
    font-weight: 400;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #fff;
    margin: 0 0 24px;
    padding-left: 12px;
    border-left: 1px solid rgba(255,255,255,0.7);
    line-height: 1;
}
.bte-footer-nav-left {
    display: flex;
    flex-direction: column;
    gap: 18px;
    padding-top: 0;
}
.bte-footer-nav-left a {
    font-family: 'Hanken Grotesk', sans-serif;
    font-size: 16px;
    font-weight: 400;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #fff;
    text-decoration: none !important;
    transition: color 0.2s;
    line-height: 1;
    white-space: nowrap;
}
.bte-footer-nav-left a:hover { color: #fff; }
.bte-footer-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 28px;
}
.bte-footer-big-logo {
    width: 280px;
    height: auto;
    opacity: 0.95;
    display: block;
}
.bte-footer-accreditation {
    width: 100%;
    max-width: 700px;
    height: auto;
    opacity: 0.9;
    display: block;
}
.bte-footer-photo { height: 400px !important; background-position: center !important; }
.bte-footer-social-col {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 22px;
    padding-top: 0;
    justify-self: end;
}
.bte-footer-social-icons {
    display: flex;
    gap: 20px;
    align-items: center;
}
.bte-footer-social-link {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    text-decoration: none !important;
    transition: color 0.2s;
    font-family: 'Hanken Grotesk', sans-serif;
    font-size: 16px;
    font-weight: 400;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}
.bte-footer-social-link:hover { color: #fff; }
.bte-footer-social-link svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
    flex-shrink: 0;
}
.bte-footer-social-col > .bte-footer-social-link svg {
    width: 26px;
    height: 26px;
}
/* ===== RESPONSIVE — WIDE TABLET (1280px) — footer only ===== */
@media (max-width: 1280px) {
    html { overflow-x: hidden; }
    .bte-footer-photos { display: none !important; }
    .bte-footer-body { grid-template-columns: 1fr minmax(0, 380px) 1fr; padding: 48px 32px; gap: 32px; }
    .bte-footer-big-logo { width: 220px; }
    .bte-footer-accreditation { max-width: 380px; }
    .bte-footer-photo { height: 280px !important; }
}

/* ===== RESPONSIVE — TABLET (1024px) ===== */
@media (max-width: 1024px) {
    /* Topbar */
    .bte-topbar-inner { padding: 0 32px; gap: 16px; }
    .bte-topbar-contact { gap: 20px; }
    .bte-topbar-contact a { font-size: 12px; letter-spacing: 0.1em; }

    /* Main header */
    .bte-header-inner { padding: 0 32px; min-height: 80px; gap: 16px; }
    .bte-header-nav-left { gap: 24px; }
    .bte-header-nav-left a { font-size: 13px; letter-spacing: 0.1em; }
    .bte-header-logo img { width: 170px; }
    .bte-header-btn { font-size: 13px; padding: 10px 24px; }

    /* Footer */
    .bte-footer-body { grid-template-columns: 1fr minmax(0, 380px) 1fr; padding: 48px 32px; gap: 32px; }
    .bte-footer-big-logo { width: 220px; }
    .bte-footer-accreditation { max-width: 380px; }
    .bte-footer-photo { height: 280px !important; }
}

/* ===== HAMBURGER TOGGLE ===== */
.bte-nav-toggle {
    display: none !important;
    background: none !important;
    border: none !important;
    cursor: pointer;
    padding: 6px 4px;
    flex-direction: column;
    gap: 5px;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.bte-nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: transform 0.25s, opacity 0.2s, background 0.2s;
    transform-origin: center;
}
.bte-nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.bte-nav-toggle.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.bte-nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== MOBILE NAV DRAWER ===== */
.bte-mobile-nav {
    display: none !important;
    flex-direction: column;
    background: #143F77;
    padding: 4px 24px 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
}
.bte-mobile-nav.open { display: flex !important; }
.bte-mobile-nav a {
    font-family: 'Hanken Grotesk', sans-serif;
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #fff !important;
    text-decoration: none !important;
    padding: 14px 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    transition: opacity 0.2s;
}
.bte-mobile-nav a:last-child { border-bottom: none; }
.bte-mobile-nav a:hover { opacity: 0.75; }
.bte-mobile-nav-cta {
    display: block;
    margin-top: 10px;
    border: 1px solid rgba(255,255,255,0.45) !important;
    border-radius: 50px !important;
    padding: 12px 24px !important;
    text-align: center;
    border-bottom: 1px solid rgba(255,255,255,0.45) !important;
}

/* ===== RESPONSIVE — MOBILE (767px) ===== */
@media (max-width: 767px) {
    html { overflow-x: hidden; }

    /* Compact topbar on mobile: email + phone only, no social */
    .bte-topbar { height: 40px; }
    .bte-topbar-inner { padding: 0 16px; gap: 12px; justify-content: center; }
    .bte-topbar-contact { gap: 14px; flex-wrap: wrap; justify-content: center; }
    .bte-topbar-contact a { font-size: 10px; letter-spacing: 0.05em; gap: 5px; }
    .bte-topbar-contact svg { width: 12px; height: 12px; }
    .bte-topbar-social { display: none; }

    /* Main header: logo left | hamburger + CTA right, single row */
    .bte-header-inner {
        grid-template-columns: auto 1fr auto;
        grid-template-rows: auto;
        padding: 12px 20px;
        min-height: auto;
        gap: 0;
    }
    .bte-header-logo {
        grid-column: 1;
        grid-row: 1;
        justify-content: flex-start;
        padding: 0;
    }
    .bte-header-logo img { width: 120px; }
    .bte-header-right {
        grid-column: 3;
        grid-row: 1;
        display: flex;
        align-items: center;
        gap: 10px;
    }
    .bte-header-btn { font-size: 10px; padding: 8px 14px; letter-spacing: 0.1em; }
    .bte-header-nav-left { display: none; }
    .bte-nav-toggle { display: flex !important; }

    /* Footer body: single column, logo at top */
    .bte-footer { padding: 0 0 0 0 !important; }
    .bte-footer-body { grid-template-columns: 1fr; padding: 40px 24px !important; gap: 40px; }
    .bte-footer-center { order: -1; }
    .bte-footer-big-logo { width: 180px; }
    .bte-footer-accreditation { max-width: 100%; }
    .bte-footer-social-col { align-items: flex-start; justify-self: start; }
    .bte-footer-col-title { font-size: 14px; }
    .bte-footer-nav-left a { font-size: 14px; }

    /* Photos: 2×2 grid, hide 5th */
    .bte-footer-photo { height: 200px !important; }
    .bte-footer-photos .bte-footer-photo:nth-child(5) { display: none !important; }
}

/* ===== FOOTER LOCATION LINE ===== */
.bte-footer-location {
    font-family: 'Cormorant Garamond', serif !important;
    font-size: 16px !important;
    font-weight: 300 !important;
    letter-spacing: 0.14em !important;
    text-transform: none !important;
    color: #fff !important;
    margin-top: 16px !important;
    line-height: 1.9 !important;
    display: block !important;
}

/* Keep social media icons white even after the link has been visited.
   Without this, browsers default to a blue/purple visited-link colour
   and the SVG icons (which use fill: currentColor) inherit it. */
.bte-topbar-social a,
.bte-topbar-social a:visited,
.bte-topbar-social a:hover,
.bte-footer-social-link,
.bte-footer-social-link:visited,
.bte-footer-social-link:hover {
    color: #ffffff !important;
}



/* ── Normal-flow header (not sticky/fixed) ─────────────────────────
   Override each page's inline `#masthead { position: sticky !important }`
   so the header scrolls with the page like normal content. */
#masthead {
    position: static !important;
}

/* ── Mobile tap behaviour ─────────────────────────────────────────────
   Remove the default iOS/Android grey overlay that appears over links
   and buttons when tapped (was making buttons look transparent for a
   moment). Replace with subtle :active feedback. */
a, button {
    -webkit-tap-highlight-color: transparent;
}
a:active, button:active {
    opacity: 0.85;
}

/* Don't let :hover styles 'stick' on touch devices after a tap */
@media (hover: none) {
    .bte-banner-btn:hover,
    .bte-about-btn:hover,
    .bte-intro-btn:hover,
    .hero-cta-btn:hover,
    .abt-cta-btn:hover,
    .svc-hero-btn:hover,
    .enq-hero-btn:hover,
    .post-cta-bottom-btn:hover {
        background: transparent !important;
        color: inherit !important;
        border-color: inherit !important;
    }
}
