
/* ========================================
   GOOGLE FONTS
======================================== */

@import url("https://fonts.googleapis.com/css2?family=Cal+Sans&family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap");


/* ========================================
   CSS VARIABLES
======================================== */

:root {
    --primary-font: "Open Sans", sans-serif;
    --secondary-font: "Cal Sans", sans-serif;

    --primary-color: #000000;
    --secondary-color: #ffffff;
    --highlight-color: #777777;
}


/* ========================================
   GLOBAL STYLES
======================================== */

body {
    font-family: var(--primary-font);
}

body h1,
body h2,
body h3 {
    font-family: var(--secondary-font);
    color: var(--primary-color);
}

h1,
h2 {
    text-transform: uppercase;
}

.section {
    padding-top: 100px;
}

.sub-heading-color {
    color: var(--secondary-color);
}

.display-6 {
    margin-bottom: 5rem;
}


/* ========================================
   NAVBAR
======================================== */

#navbar {
    background-color: var(--primary-color);
    font-family: var(--secondary-font);
}

#navbar .logo {
    width: 100px;
}

.navbar-logo {
    width: 200px;
}

#navbar .custom-button-outline-navbar {
    border: 2px solid var(--secondary-color);
    padding: 7px 25px;
    color: var(--secondary-color);
}

#navbar .custom-button-outline-navbar:hover {
    background-color: var(--secondary-color);
    color: var(--primary-color);
}


/* ========================================
   HERO SECTION
======================================== */

.hero-container {
    width: 100%;
    max-width: none;
    margin: 0 0 1rem;
    padding: 0;
}

.hero-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.hero-image {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
    object-position: center;
    border-radius: 6px;
    margin: 0;
}

/* Logo and buttons overlay */

.hero-content {
    position: absolute;
    top: 30%;
    right: 5%;
    transform: translateY(-50%);

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    width: 42%;
    max-width: 480px;
    gap: clamp(4px, 1vw, 12px);
}

.hero-logo {
    display: block;
    width: clamp(100px, 18vw, 240px);
    max-width: 100%;
    height: auto;
    margin: 0;
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: clamp(125px, 18vw, 210px);
    gap: clamp(5px, 0.8vw, 10px);
}

.hero-buttons .custom-button-outline {
    width: 100%;
    white-space: nowrap;
    box-sizing: border-box;
    padding: 0.55em 0.5em;
    font-size: clamp(0.75rem, 1.1vw, 1rem);
    line-height: 1.3;
    box-sizing: border-box;
}

/* Tablet hero */

@media (min-width: 577px) and (max-width: 768px) {
    .hero-content {
        right: 4%;
        width: 43%;
        gap: 6px;
    }

    .hero-logo {
        width: clamp(100px, 17vw, 135px);
    }

    .hero-buttons {
        width: clamp(120px, 21vw, 160px);
        gap: 5px;
    }

    .hero-buttons .custom-button-outline {
        padding: 0.4em 0.6em;
        font-size: 0.8rem;
    }
}

/* Tablet */
@media (min-width: 577px) and (max-width: 768px) {
    .hero-buttons {
        width: clamp(125px, 19vw, 155px);
        gap: 5px;
    }

    .hero-buttons .custom-button-outline {
        padding: 0.4em 0.5em;
        font-size: 0.78rem;
    }
}


/* Mobile hero */

@media (max-width: 576px) {
    .hero-content {
        top: 60%;
        left: 55%;
        width: 48%;
        gap: 4px;
    }

    .hero-logo {
        width: clamp(70px, 20vw, 110px);
    }

    .hero-buttons {
        width: clamp(105px, 29vw, 145px);
        gap: 5px;
    }

    .hero-buttons .custom-button-outline {
        padding: 0.35em 0.5em;
        font-size: clamp(0.68rem, 2.5vw, 0.78rem);
    }

    .hero-image {
        border-radius: 4px;
        margin-top: 50px;
    }
}


/* Fix hero image positioning on tablets */
@media (min-width: 577px) and (max-width: 991.98px) {
    .hero-content {
        margin-top: 85px;
    }
}


/* Fix hero image positioning on small desktop screens */
@media (min-width: 992px) and (max-width: 1199.98px) {
    .hero-content {
        margin-top: 85px;
    }
}


/* Fix hero image positioning on larger desktop screens */
@media (min-width: 1200px) {
    .hero-content {
        margin-top: 85px;
    }
}


/* ========================================
   BOOKING AND CONTACT FORMS
======================================== */

.data-input-form {
    margin-bottom: 3rem;
}

.workshop-widget-container {
    width: auto;
    margin: 2rem;
    min-width: 0;
}

.workshop-inline-widget {
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

@media (max-width: 375px) {
    .workshop-widget-container {
        margin: 1rem;
    }
}


/* ========================================
   CUSTOM BUTTON STYLES
======================================== */

.btn.custom-button-outline {
    border: 2px solid var(--secondary-color);
    padding: 7px 25px;
    color: var(--secondary-color);
    font-weight: bold;
}

.btn.custom-button-outline:hover {
    background-color: var(--secondary-color);
    color: var(--primary-color);
}

.btn.custom-button-filled {
    border: 1px solid var(--secondary-color);
    background-color: var(--secondary-color);
    color: var(--primary-color);
}

.btn.custom-button-filled:hover {
    border: 1px solid var(--secondary-color);
    background-color: transparent;
    color: var(--secondary-color);
}

/* Footer buttons */

.btn.custom-button-outline-footer {
    display: inline-block;
    border: 2px solid var(--primary-color);
    padding: 7px 25px;
    color: var(--primary-color);
    font-weight: bold;
}

.btn.custom-button-outline-footer:hover {
    background-color: var(--primary-color);
    color: var(--secondary-color);
}


/* ========================================
   PAGE HEADERS
======================================== */

#page-header > .display-3 {
    font-size: 3.5rem;
    padding-top: 1rem;
}

#header .lead {
    font-family: var(--secondary-font);
    font-size: 2rem;
}


/* ========================================
   ABOUT PAGE
======================================== */

.about-text {
    max-width: 850px;
    margin: 0 auto;
    color: var(--primary-color);
    font-size: 1.05rem;
    line-height: 1.8;
}

.about-text p {
    margin-bottom: 1.5rem;
}

.about-text p:last-child {
    margin-bottom: 0;
    font-weight: bold;
}

/* About page mobile styling */

@media (max-width: 767.98px) {
    .about-text {
        font-size: 1rem;
        line-height: 1.7;
    }

    .about-text p {
        margin-bottom: 1.25rem;
    }
}


/* ========================================
   CARDS AND EVENTS
======================================== */

.card-body > .card-title {
    font-family: var(--secondary-font);
    color: var(--primary-color);
}

#our-events .card {
    margin-bottom: 1.5rem;
}

.card-body > .card-subtitle {
    margin-top: 1rem;
}

.card-body > .event-text {
    margin-top: 1rem;
}

.card-title {
    font-size: 1.2rem;
}

.star {
    color: var(--primary-color);
}

/* Consistent event card heights */

@media screen and (min-width: 768px) {
    #our-events .event-text {
        min-height: 72px;
    }
}

@media screen and (min-width: 992px) {
    #our-events .event-text {
        min-height: 47px;
    }
}

@media screen and (min-width: 1200px) {
    #our-events .event-text {
        min-height: 96px;
    }
}

@media screen and (min-width: 1400px) {
    #our-events .event-text {
        min-height: 96px;
    }
}


/* ========================================
   SUCCESS PAGE
======================================== */

#success .btn.custom-button-outline {
    margin-top: 2rem;
}


/* ========================================
   NEWSLETTER
======================================== */

#newsletter {
    background-color: var(--primary-color);
}

#newsletter h2 {
    color: var(--secondary-color);
}


/* ========================================
   FIND US SECTION
======================================== */

#find-us {
    background-color: var(--secondary-color);
    color: var(--primary-color);
}

#find-us h2,
#find-us h5 {
    color: var(--primary-color);
    font-weight: bold;
}

#find-us address {
    line-height: 1.8;
    margin-bottom: 1.5rem;
}


/* ========================================
   GOOGLE MAP
======================================== */

.find-us-map {
    width: 100%;
    height: 400px;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.find-us-map iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}


/* ========================================
   POLICY LINKS
======================================== */

.find-us-links {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
}


/* ========================================
   SOCIAL LINKS
======================================== */

.social-links a {
    color: var(--primary-color);
    font-size: 2rem;
    padding: 30px;
}

.social-links a:hover {
    color: var(--highlight-color);
}


/* Find Us mobile layout */

@media (max-width: 767.98px) {
    .find-us-map {
        height: 300px;
    }

    .find-us-links {
        gap: 0.5rem;
    }
}


/* ========================================
   GALLERY PAGE
======================================== */

#photos img {
    width: 100%;
    height: auto;
}


/* ========================================
   FOOTER
======================================== */

#footer {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    padding: 2rem 0;
}

.footer-policy-links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
}


/* ========================================
   CAROUSEL
======================================== */

@media (max-width: 768px) {
    #carouselExampleFade {
        aspect-ratio: 4 / 3;
    }
}
