@font-face {
    font-family: bahnschrift;
    src: url(fonts/bahnschrift.ttf);
}

@font-face {
    font-family: calibri;
    src: url(fonts/calibri.ttf);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: calibri, sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: bahnschrift, sans-serif;
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}





/* -- NAVBAR -- */

header {
    background-color: #e3ccee;
}

.navbar {
    padding: 20px 40px;
}

.navdiv {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    width: 280px;
}

.logo img {
    width: 100%;
}

ul {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-inline-start: 20px;
}

.navUl {
    list-style: none;
    padding-inline-start: 0px;
}

.navLi a {
    display: inline-block;
    text-decoration: none;
    color: black;
    margin-right: 10px;
    font-weight: bold;
    transition: color 0.3s ease;
    position: relative;
}

.navLi a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 100%;
    height: 2px;
    background-color: #572171;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.navLi a:hover {
    color: #572171;
}

.navLi a:hover::after {
    opacity: 1;
}

.navLiButton {
    display: inline-block;
    border-radius: 20px;
}

.navLiButton a {
    display: inline-block;
    padding: 5px 12px;
    background-color: #572171;
    color: white;
    text-decoration: none;
    font-weight: bold;
    border-radius: 20px;
    text-align: center;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.navLiButton a:hover {
    background-color: white;
    color: #572171;
}





/* -- INDEX HERO -- */

.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 40px 120px 60px 120px;
    gap: 40px;
}

.heroText {
    font-size: 3rem;
    font-weight: 900;
    line-height: 1.1;
    color: #1a1a1a;
    flex: 1;
}

.heroImageWrapper {
    flex: 1;
    max-width: 360px;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border: 3px solid black;
    position: relative;
}

.heroSlideshow {
    position: relative;
    width: 100%;
    height: 100%;
}

.heroSlide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1s ease;
}

.heroSlide.active {
    opacity: 1;
}





/* -- BODY (INDEX-EXCLUSIVE) -- */

.introSection {
    background-color: #572171;
    padding: 60px 40px;
    display: flex;
    flex-direction: column;
    gap: 60px;
    flex: 1;
}

.introContent {
    display: flex;
    align-items: flex-start;
    gap: 40px;
}

.introImage {
    flex-shrink: 0;
    width: 220px;
    aspect-ratio: 3 / 4;
    border: 3px solid white;
    overflow: hidden;
}

.introImage img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.introText {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.detail_h1R {
    font-size: 1.6rem;
    color: white;
    font-weight: bold;
}

.detailR {
    color: white;
    font-size: 1rem;
    line-height: 1.6;
}

.whyContent {
    display: flex;
    align-items: flex-start;
    gap: 40px;
}

.whyText {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 14px;
    text-align: right;
}

.detail_h1L {
    font-size: 1.6rem;
    color: white;
    font-weight: bold;
}

.detailL {
    color: white;
    font-size: 1rem;
    line-height: 1.6;
}

.whyImage {
    flex-shrink: 0;
    width: 220px;
    aspect-ratio: 3 / 4;
    border: 3px solid white;
    overflow: hidden;
}

.whyImage img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.disclaimerH1 {
    color: white;
    text-align: center;
}



/* -- BODY (ABOUT-EXCLUSIVE) -- */

.aboutHeroImage {
    width: 90%;
    height: 400px;
    overflow: hidden;
    border: 3px solid black;
    margin: 0px auto 0px auto;
}

.aboutHeroImage img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.aboutImage {
    display: flex;
    gap: 10px;
    margin: 30px 30px 20px 30px;
    justify-content: center;
}

.aboutImage img {
    max-height: 300px;
    width: auto;
    border-radius: 30px;
    max-width: 45vw;
}

.aboutImageItem {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: min-content;
}

.aboutImageCaption {
    margin-top: 6px;
    font-size: 0.85rem;
    text-align: center;
    color: #555;
    word-wrap: break-word;
}

.aboutImageItem a {
    display: contents;
}






/* -- BODY (CONTACT) -- */

.contactForm {
    display: flex;
    flex-direction: column;
    margin: 20px auto;
    gap: 6px;
    width: 800px;
    max-width: 90%;
}

.contactForm label {
    font-weight: bold;
}

.contactForm input,
.contactForm textarea {
    border: 2px solid black;
    border-radius: 10px;
    padding: 10px;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.3s ease;
}

.contactForm input:focus,
.contactForm textarea:focus {
    border-color: #572171;
}

.contactForm textarea {
    height: 200px;
    resize: vertical;
}

.contactForm button {
    margin-top: 10px;
    padding: 10px 30px;
    background-color: #572171;
    color: white;
    border: none;
    border-radius: 20px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    width: fit-content;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.contactForm button:hover {
    background-color: white;
    color: #572171;
    outline: 2px solid #572171;
}

.contactForm form {
    display: flex;
    flex-direction: column;
    gap: 6px;
}






/* -- BODY (ALL) -- */

.centerBlackH1 {
    text-align: center;
    margin: 30px 50px 30px 50px;
}

.leftBlackH2 {
    border-left: 4px solid #572171;
    padding-left: 10px;
    text-align: left;
    margin: 20px 50px 10px 50px;
}

.centerBlackH2 {
    text-align: center;
    margin: 20px 50px 10px 50px;
}

.leftBlackH3 {
    text-align: left;
    margin: 35px 50px 10px 50px;
}

.leftBlackP {
    text-align: left;
    margin: 0px 50px 0px 50px;
    font-size: 1.2em;
    display: block;
    text-decoration: none;
    transition: color 0.3s ease;
    position: relative;
}

.leftBlackP a {
    color: black;
    text-decoration: none;
    transition: color 0.3s ease;
    position: relative;
}

.leftBlackP a:hover {
    color: #572171;
}

.leftBlackP a:hover::after {
    opacity: 1;
}

.leftBlackP a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 100%;
    height: 2px;
    background-color: #572171;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.centerBlackP {
    text-align: center;
    margin: 0px 50px 0px 50px;
    font-size: 1.2em;
    display: block;
    text-decoration: none;
    transition: color 0.3s ease;
    position: relative;
}

.centerBlackP a {
    color: black;
    text-decoration: none;
    transition: color 0.3s ease;
    position: relative;
}

.centerBlackP a:hover {
    color: #572171;
}

.centerBlackP a:hover::after {
    opacity: 1;
}

.centerBlackP a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 100%;
    height: 2px;
    background-color: #572171;
    opacity: 0;
    transition: opacity 0.3s ease;
}

hr {
    color: black;
    margin: 30px 50px 10px 50px;
}

.infoBubble {
    background-color: #bca6d6;
    border-radius: 30px;
    margin: 30px 50px 30px 50px;
    padding-bottom: 40px;
}

.miniLink {
    display: inline-block;
    font-size: 0.8rem;
    color: white;
    text-decoration: none;
    width: fit-content;
    position: relative;
}

.miniLink::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 100%;
    height: 2px;
    background-color: white;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.miniLink:hover::after {
    opacity: 1;
}

.miniLinkL {
    text-align: right;
    margin-left: auto;
}

.altBgColor {
    background-color: #e3ccee;
}



/* -- SLIDE-IN TRANSITION -- */

.slideIn {
    opacity: 0;
    transform: translateX(-100px);
    transition: opacity 0.6s ease, transform 0.6s ease;
    will-change: transform, opacity;
}

.slideIn.visible {
    opacity: 1;
    transform: translateX(0);
}

.slideInRight {
    opacity: 0;
    transform: translateX(100px);
    transition: opacity 0.6s ease, transform 0.6s ease;
    will-change: transform, opacity;
}

.slideInRight.visible {
    opacity: 1;
    transform: translateX(0);
}





/* -- FOOTER -- */

footer {
    background-color: #e3ccee;
    padding: 50px 40px 20px 40px;
}

.footerTop {
    display: flex;
    align-items: flex-start;
    gap: 40px;
    padding-bottom: 30px;
    justify-content: space-between;
    padding-left: 5px;
    padding-right: 5px;
}

.footerL {
    flex-shrink: 0;
}

.footerL img {
    width: 140px;
}

.footerColumns {
    display: flex;
    gap: 60px;
}

.footerM,
.footerR {
    text-align: left;
}

.footerM p,
.footerR p {
    font-family: bahnschrift, sans-serif;
    font-weight: bold;
    margin-bottom: 10px;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    text-align: center;
}

.footerM ul,
.footerR ul {
    gap: 6px;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 6px;
    align-items: center;
    list-style: none;
    padding-inline-start: 0px;
}

.foot_navLi a {
    text-decoration: none;
    color: #1a1a1a;
    font-size: 0.95rem;
    transition: color 0.3s ease;
    position: relative;
}

.foot_navLi a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 100%;
    height: 2px;
    background-color: #572171;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.foot_navLi a:hover {
    color: #572171;
}

.foot_navLi a:hover::after {
    opacity: 1;
}

.footerBottom {
    border-top: 1px solid #c0a0d0;
    padding-top: 16px;
    text-align: center;
    font-size: 0.9rem;
    color: #1a1a1a;
}





/* --CREATIVE COMMONS LINK-- */
.cc0 a {
    color: black;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
    position: relative;
}

.cc0 a:hover {
    color: #572171;
}

.cc0 a:hover::after {
    opacity: 1;
}

.cc0 a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 100%;
    height: 2px;
    background-color: #572171;
    opacity: 0;
    transition: opacity 0.3s ease;
}





/* -- LIGHTBOX -- */

.lightboxTrigger {
    cursor: zoom-in;
}

.lightbox {
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.85);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.lightbox.active {
    display: flex;
    opacity: 1;
    pointer-events: all;
}

.lightbox img {
    max-width: 90vw;
    max-height: 90vh;
    object-fit: contain;
}

.lightboxClose {
    position: fixed;
    top: 20px;
    right: 28px;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    line-height: 1;
}

.lightboxContent {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

#lightboxCaption {
    color: white;
    font-size: 0.95rem;
    text-align: center;
    max-width: 90vw;
    white-space: pre-line;
}


/* -- MOBILE COMPATIBILITY -- */

@media (max-width: 700px) {

    /* -- NAVBAR -- */
    .navbar {
        padding: 15px 20px;
    }

    .navdiv {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .logo {
        width: 160px;
    }

    .navLi a {
        font-size: 0.9rem;
        margin-right: 4px;
    }

    .navLiButton a {
        padding: 4px 8px;
        font-size: 0.9rem;
    }

    /* -- INDEX HERO -- */
    .hero {
        flex-direction: column;
        padding: 20px;
        gap: 20px;
    }

    .heroText {
        font-size: 2rem;
    }


    .aboutHeroImage {
        height: 200px;
    }

    .aboutImage img {
        height: auto;
        max-width: 45vw;
    }

    .heroImageWrapper {
        max-width: 100%;
        width: 100%;
    }

    /* -- INDEX BODY -- */
    .introContent,
    .whyContent {
        flex-direction: column;
        align-items: center;
    }

    .whyText {
        text-align: left;
    }

    .miniLinkL {
        margin-left: 0;
        text-align: left;
    }

    .introImage,
    .whyImage {
        width: 160px;
    }

    /* -- FOOTER -- */
    .footerTop {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .footerColumns {
        gap: 30px;
    }

    /* -- BODY (ALL) -- */
    .leftBlackH2,
    .centerBlackH2,
    .leftBlackH3,
    .centerBlackH1 {
        margin: 20px 20px 10px 20px;
    }

    .leftBlackP,
    .centerBlackP {
        margin: 0 20px;
        font-size: 1rem;
    }

    hr {
        margin: 20px 20px 10px 20px;
    }

    .infoBubble {
        margin: 20px;
    }

    /* -- INLINE LINKS PURPLE ON MOBILE -- */
    .leftBlackP a,
    .centerBlackP a {
        color: #572171;
    }
}