:root {
    --bg-white: #ffffff;
    --bg-page: #f5ead8;
    --bg-ultralight: #dff5f7;
    --bg-verylight: #9ddce3;
    --bg-light: #1ba7b6;
    --bg-dark: #07577a;
    --bg-highlight: #f2c078;

    --text-light: #ffffff;
    --text-medium: #0d7f95;
    --text-dark: #06445f;
    --text-highlight: #f2c078;

    --sand-light: #f5ead8;
    --sand: #e7d0ad;

    --sea-light: #37c6d3;
    --sea: #0d91aa;
    --ocean: #07577a;
    --sky: #1679c5;

    --gradient-lightdark:
        linear-gradient(0deg, var(--ocean) 0%, var(--sea) 100%);

    --gradient-darklight:
        linear-gradient(180deg, var(--ocean) 0%, var(--sea) 100%);

    --gradient-darklight-slant:
        linear-gradient(135deg, var(--ocean) 0%, var(--sea) 100%);
}


/* ---------------------------------------------------------
   Base
   --------------------------------------------------------- */

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--text-dark);
    background: var(--bg-page);
    font-family: 'Roboto', sans-serif;
}

h1 {
    color: var(--text-dark);
    font-weight: 700;
}

h2 {
    color: var(--text-medium);
    font-weight: 400;
}

a {
    color: var(--text-medium);
}


/* ---------------------------------------------------------
   Navbar
   --------------------------------------------------------- */

nav,
.navbar {
    background: var(--gradient-lightdark);
}

.navbar {
    border-bottom: 1px solid rgba(255, 255, 255, 0.25);
}

.navbar-brand {
    color: var(--text-light);
}

.navbar-toggler {
    border-color: rgba(255, 255, 255, 0.75);
}

.navbar-toggler-icon {
    background-image:
        url("data:image/svg+xml,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(255,255,255,1)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

.nav-link {
    color: var(--text-light) !important;
    border-radius: 8px;
}

.navbar-brand:hover,
.nav-link:hover {
    color: var(--text-highlight) !important;
}

.nav-link.active {
    color: var(--text-dark) !important;
    background: var(--bg-highlight) !important;
}


/* ---------------------------------------------------------
   Main page layout

   Sky is simply painted at the top of the area immediately
   following the navbar. Everything else remains normal flow.
   --------------------------------------------------------- */

.page-shell {
    background-color: var(--bg-page);
    background-image: url('/media/sky.png');
    background-repeat: no-repeat;
    background-position: top center;
    background-size: 100% auto;
}

.page-content {
    padding-top: 2rem;
    padding-bottom: 3rem;
}

.content-wide {
    max-width: 1100px;
}

.content-standard {
    max-width: 900px;
}

.content-narrow {
    max-width: 760px;
}


/* ---------------------------------------------------------
   Page/header imagery
   --------------------------------------------------------- */

.home-logo {
    display: block;
    width: min(95%, 950px);
    height: auto;
    margin-inline: auto;
}

.page-header-image {
    display: block;
    width: min(100%, 850px);
    height: auto;
    margin-inline: auto;
}

.about-image {
    display: block;
    max-width: 100%;
    max-height: 380px;
    width: auto;
    height: auto;
    margin-inline: auto;
}

.brand-feature-image {
    display: block;
    max-width: 100%;
    max-height: 160px;
    width: auto;
    height: auto;
    margin-inline: auto;
}

.section-divider {
    display: block;
    width: min(100%, 700px);
    height: auto;
    margin-inline: auto;
}


/* ---------------------------------------------------------
   Cards
   --------------------------------------------------------- */

.card {
    color: var(--text-light);
    background: var(--gradient-darklight);
    border: 2px solid var(--bg-dark);
}

.card-white {
    color: var(--text-dark);
    background: var(--bg-white);
    border: 2px solid var(--sand);
}

.feature-icon {
    flex: 0 0 auto;
    font-size: 2rem;
    line-height: 1;
}


/* ---------------------------------------------------------
   Buttons
   --------------------------------------------------------- */

.btn {
    border-radius: 9px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    font-weight: 600;
    padding-left: 1rem;
    padding-right: 1rem;
    box-shadow:
        0 3px 8px rgba(0, 0, 0, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.28);

    transition:
        transform 0.18s ease,
        box-shadow 0.18s ease,
        filter 0.18s ease;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow:

        0 6px 14px rgba(0, 0, 0, 0.22),

        inset 0 1px 0 rgba(255, 255, 255, 0.32);

    filter: brightness(1.05);
}

.btn-primary {
    color: var(--text-dark);
    background: var(--bg-highlight);
    border-color: var(--bg-highlight);
    border-radius: 6px;
    font-weight: 600;
}

.btn-primary:hover {
    color: var(--text-dark);
    background: var(--sand-light);
    border-color: var(--sand-light);
    transition: ;
}

.btn-contact {
    color: var(--text-light);
    background: var(--sea);
    border-color: var(--sea);
    border-radius: 6px;
    font-weight: 400;
}

.btn-contact:hover {
    color: var(--sea);
    background: var(--bg-white);
    border-color: var(--sea);
}


/* ---------------------------------------------------------
   Home
   --------------------------------------------------------- */

.home-intro {
    padding-top: 1rem;
    text-align: center;
}

.home-intro h1 {
    color: var(--text-dark);
}

.home-zoe {
    text-align: center;
}


/* ---------------------------------------------------------
   Enquiry sections/forms
   --------------------------------------------------------- */

.section-cta-form {
    color: var(--text-light);
    background: var(--bg-dark);
    border-top: 2px solid var(--sand);
    border-bottom: 2px solid var(--sand);
}

.contact-form {
    padding: 2rem;
    color: var(--text-light);
    background: var(--bg-light);
    border: 3px solid var(--sea);
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.22);
}

.contact-form .form-label {
    color: var(--text-light);
    font-weight: 500;
}

.contact-form .form-control {
    padding: 10px;
    color: var(--text-dark) !important;
    background: var(--bg-white);
    border: 1px solid var(--sand);
    border-radius: 5px;
}

.contact-form .form-control:focus {
    border-color: var(--bg-highlight);
    box-shadow: 0 0 5px rgba(242, 192, 120, 0.65);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: var(--text-dark);
    opacity: 0.5;
}

.honeypot {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}


/* ---------------------------------------------------------
   ABTA / ATOL
   --------------------------------------------------------- */

.compliance-section {
    background:
        linear-gradient(
            180deg,
            var(--sand-light) 0%,
            var(--bg-white) 100%
        );
}

.compliance-logo-card {
    width: 100%;
    margin: 0;
    padding: 1rem;
    border-radius: 12px;
}

.award-logo {
    display: block;
    max-height: 100px;
    width: auto;
    height: auto;
    margin-inline: auto;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* ---------------------------------------------------------
   Reviews
   --------------------------------------------------------- */

.review-card {
    position: relative;
    overflow: hidden;
    border-color: var(--sand);
    box-shadow: 0 4px 14px rgba(6, 68, 95, 0.12);
}

.review-card::before {
    content: "";
    display: block;
    height: 6px;
    background: linear-gradient(
        90deg,
        var(--sea) 0%,
        var(--sky) 55%,
        var(--bg-highlight) 100%
    );
}

.review-stars {
    color: var(--bg-highlight);
    font-size: 1.4rem;
    letter-spacing: 0.1rem;
}

.review-title {
    color: var(--text-dark);
}

.review-copy {
    position: relative;
}

.review-quote {
    float: left;
    margin: -0.35rem 0.5rem 0 0;
    color: var(--bg-highlight);
    font-size: 3rem;
    line-height: 1;
}

.review-copy p {
    line-height: 1.7;
}

.review-name {
    color: var(--text-medium);
    font-size: 1.1rem;
    font-weight: 700;
}



/* ---------------------------------------------------------
   Footer

   WAVE TREATMENT:
   deliberately kept as the special overlap treatment.
   --------------------------------------------------------- */

.section-footer {
    color: #eaf9fb;

    background-color: #013f65;
    background-image: url('/media/waves.png');
    background-repeat: no-repeat;
    background-position: top center;
    background-size: 100% auto;
    padding-top: 145px;
}

.footer-art {
    line-height: 0;
}

.footer-art img {
    display: block;
    width: 100%;
    height: auto;
}

.footer-content {
    position: relative;

    color: #eaf9fb;
}

.footer-content > .container {
    position: relative;
    z-index: 3;
}

.footer-heading {
    min-height: 32px;
    font-weight: 700;
}

.social-link {
    display: inline-block;
    margin-right: 15px;
    color: var(--text-light);
    font-size: 2rem;
    text-decoration: none;
    transition:
        color 0.3s ease,
        transform 0.3s ease;
}

.social-link:hover {
    color: var(--text-highlight);
    transform: scale(1.12);
}


/* ---------------------------------------------------------
   Tables / carousel
   --------------------------------------------------------- */

.table {
    --bs-table-bg: var(--sea);
    --bs-table-striped-bg: var(--sea-light);
    --bs-table-color: #fff;
    --bs-table-striped-color: #fff;
}

.table-container {
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.carousel-caption p,
.carousel-caption h1,
.carousel-caption h2,
.carousel-caption h3 {
    color: #fff;
    text-shadow:
        -2px -2px 0 #000,
         2px -2px 0 #000,
        -2px  2px 0 #000,
         2px  2px 0 #000;
}


/* ---------------------------------------------------------
   Mobile
   --------------------------------------------------------- */

@media (max-width: 767.98px) {

    .page-shell {
        /*
         * Maintain the same idea on mobile, but allow the
         * landscape sky artwork to cover enough vertical space.
         */
        background-size: auto 300px;
    }

    .page-content {
        padding-top: 1.5rem;
        padding-bottom: 2rem;
    }

    .contact-form {
        padding: 1.25rem;
        border-left: 0;
        border-right: 0;
        border-radius: 0;
    }

    .card-mobile-full {
        border-left: 0;
        border-right: 0;
        border-radius: 0;
    }

    .footer-content {
        /*
         * The PNG itself scales differently relative to the
         * amount of visible footer on narrow screens.
         * Keep this as the one responsive wave adjustment.
         */
        margin-top: -18.5vw;
    }
}