/*
* Prefixed by https://autoprefixer.github.io
* PostCSS: v8.4.14,
* Autoprefixer: v10.4.7
* Browsers: last 4 version
*/

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Bagel+Fat+One&family=Zain:ital,wght@0,200;0,300;0,400;0,700;0,800;0,900;1,300;1,400&display=swap');

/* CSS Variables */
:root {
    --primary-font: "Zain", sans-serif;
    --secondary-font: "Bagel Fat One", sans-serif;
    --primary-color: #a7c4bc; /* pale green */
    --secondary-color: #cfe2ff; /* sky blue */
    --accent-color: #551e11; /* dark terracotta */
    --background-color: #e7e7e7; /* off white */
}

/* Global Styles */
body {
    background-color: var(--background-color);
}
body,
h3,
h4 {
    font-family: var(--primary-font);
}
h1,
h2 {
    font-family: var(--secondary-font);
}
h1 {
    font-size: 5rem;
}
h3 {
    font-weight: 600;
}
p {
    font-size: 1.3rem;
    line-height: 1.2;
}
footer {
    background-color: var(--primary-color);
}
.section {
    padding-top: 56px;
}
.section-np {
    padding-top: 0;
}
.cta {
    min-height: 3rem;
    background-color: #fff;
    border-top: 3px solid var(--primary-color);
    border-bottom: 3px solid var(--primary-color);
}
.card {
    border: 1px solid var(--accent-color);
}
.card-title {
    font-size: 2rem;
    font-weight: 800;
}
.card-body {
    background-color: var(--primary-color);
}
.btn-primary {
    background-color: var(--secondary-color);
    color: #000;
    border: 1px solid var(--accent-color);
}
.btn-primary:hover {
    background-color: #e7e7e7;
    border: 1px solid var(--accent-color);
    color: #000;
}
a {
    color: var(--accent-color);
}
i,
.cta-text {
    margin-right: 1rem;
}
.hidden {
    display: none;
}

/* Navbar */
#navbar {
    background-color: var(--primary-color);
    -webkit-box-shadow: 0 3px 10px #00000043;
    box-shadow: 0 3px 10px #00000043;
}
.navbar-brand {
    font-weight: 700;
}
#navbarNav .nav-link,
#navbarNav .btn {
    font-size: 1.15rem;
}

/* Hero Section */
#hero {
    min-height: 85vh;
    width: 100%;
    background: url("../images/hero-background.webp") no-repeat center center/cover;  /* ensures image does not repeat, is centralised and spans full width */
    color: #fff;
}
#hero-row {
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px); /* blurs image behind container to add to contrast of text and image */
    padding: 0.5rem;
    border: 5px solid var(--primary-color);
    border-radius: 20px;
    -webkit-box-shadow: 10px 10px 20px #000000a5;
    box-shadow: 10px 10px 20px #000000a5;
    width: 40vw;
    background-color: rgba(0, 0, 0, 0.5);
}
#hero-text-intro {
    font-style: italic;
    font-size: 1.25rem;
    text-shadow: 2px 2px #00000094;
}
#hero-text-title {
    text-shadow: 2px 2px #00000094;
    line-height: 1;
}
#hero-text-details {
    font-weight: 600;
    font-size: 1.25rem;
}

/* CTAs */
.cta-text,
.icon {
    font-size: 1.5rem;
}

/* Entertainment */
#entertainment {
    min-height: 82vh;
    background: url("../images/ent-background.webp") no-repeat center center/cover; 
}
#ent-row {
    background-color: var(--background-color);
    border-radius: 7px;
    border: 5px solid var(--primary-color);
}

/* Food & Drink */
.img-band img {
    width: 100%;
    height: auto;
}
/* Tabbed elements */
.nav-tabs .nav-link.active {
    background-color: var(--primary-color) !important; /* ensures css takes priority */
}
.nav-tabs .nav-link {
    border: 1px solid var(--primary-color);
    background-color: #fff;
    color: var(--accent-color);
}

/* Registration */
#register {
    min-height: 100vh;
    width: 100%;
    background: url("../images/reg-background.webp") no-repeat center center/cover; 
    color: #fff;
}
#reg-row {
    -webkit-box-shadow: 10px 10px 20px #000000a5;
    box-shadow: 10px 10px 20px #000000a5;
    padding: 0.5rem;
    width: 60vw;
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border: 5px solid var(--primary-color);
    border-radius: 50px;
    background-color: rgba(0, 0, 0, 0.5);
}

/* Travel */
/* iframe attributes added to css to mitigate html validation errors when using inline widht/height styles */
iframe {
    height: 100%;
    width: 100%;
}
#map {
    min-height: 30vh;
    padding: 0;
    border: 5px solid var(--primary-color);
    border-radius: 10px;
}

/* Contact / Social Media */
#faq,
#contact {
    padding-top: 56px;
}
.icon-lrg {
    font-size: 3rem;
}

/* Footer Logos */
.logo {
    width: 150px;
    height: auto;
}

/* Media Queries */

/* XL devices (desktops, above 1201px) */
@media screen and (min-width: 1201px) {
    #hero {
        background: url("../images/hero-background.webp") no-repeat center center/cover; /* alternative hero image for larger devices */
    }
}
/* Large devices (laptops, up to 1200px) */
@media screen and (max-width: 1200px) {
    #hero {
        background: url("../images/hero-background-t.webp") no-repeat center center/cover; /* alternative hero image for larger devices */
    }
    #hero-row,
    #reg-row {
        width: 80vw;
    }
    .card-p {
        margin-bottom: 3rem;
    }
}
/* Medium devices (tablets, up to 768px) */
@media screen and (max-width: 768px) {
    #hero-text-title {
        font-size: 4rem;
    }
    /* CTA - Socials */
    #cta-social-text {
        font-size: 1.25rem;;
    }
    /* Travel */
    #map {
        min-height: 33vh;
        margin-bottom: 3rem;
    }
}
/* Small devices (mobiles, up to 576px) */
@media screen and (max-width: 576px) {
    #hero {
        background: url("../images/hero-background-m.webp") no-repeat center center/cover; /* alternative hero image for larger devices */
    }
    #hero-text-title {
        font-size: 3rem;
    }
}
/* V. Small devices (mobiles, up to 360px) */
@media screen and (max-width: 360px) {
    #hero-text-title {
        font-size: 2.6rem;
    }
}