/* Page defaults */
:root {
    --black:            #171321;
    --white:            #F2F2F2;

    --black-bean:       rgba(85, 43, 45);
    --tigers-eye:       #b5681f;
    --eggshell:         #f4f0e0;
    --tan:              rgb(228, 191, 128);
    --brown:            #4C342A;

    --dark-purple:      rgb(21 16 40);
    --purple:           rgb(45, 9, 90);
    --light-purple:     rgb(70, 4, 140);

    --gold:             #bc7c14;
    --light-gold:       #dcab37;

    --txt-light:            var(--eggshell);
    --txt-light-highlight:  var(--light-gold);
    --txt-dark:             var(--dark-purple);
    --txt-highlight-dark:   var(--);


    --font-size: 1.3rem;
}

/* Small devices (portrait tablets and large phones, 600px and up) */
@font-face {
    font-family: "zenith";
    src: url("/fonts/Zenith.otf") format("opentype");
}

@font-face {
    font-family: "AlexBrush";
    src: url("/fonts/AlexBrush.ttf");
}

html {
    box-sizing: border-box;
    scrollbar-gutter: stable;
}

*, *::before, *::after {
    box-sizing: inherit;
}

body {
    margin: 0;
    padding: 0;
    background-color: var(--tan);
    color: var(--txt-dark);
    font-size: var(--font-size);
}

h1, h2, h3 {
    margin: 0;
}

h2 {
    padding: 0;
}

img {
    width: 100%;
}

header {
    background-color: var(--purple);
}



/* Navigation */
nav {
    font-family: var(--mono);
    font-size: 80%;
    padding: 1rem;
}

nav ul {
    margin: 0;
    padding: 0;
    list-style-type: none;
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
    align-items: center;
    gap: 2rem;
}

nav li:first-child {
    flex-basis: 100%;
    text-align: center;
    font-family: "zenith";
    font-size: 3rem;
}

nav a {
    color: var(--eggshell);
    text-decoration: none;
}

nav a:hover {
    color: var(--light-gold);
}



/* Hero */
.hero {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 400px;
    justify-content: center;
    align-content: center;
}

.hero-img {
    grid-row: 1/2;
    grid-column: 1/2;
    object-fit: cover;
    height: 100%;
}

.hero-overlay {
    grid-row: 1/2;
    grid-column: 1/2;
    background: linear-gradient(30deg, rgba(0, 0, 0, 0.8) 10%, rgba(255, 255, 255, 0) 100%);
}

.hero-text {
    grid-row: 1/2;
    grid-column: 1/2;
    align-self: flex-end;
    margin: 1rem;
    color: var(--txt-light);
}



/* Intro */
#intro {
    margin: 2rem 1rem 8rem 1rem;
    padding: 4rem 0;
    text-align: center;
}

#intro h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

#intro p {
    max-width: min(400px, 100%);
    margin: 0 auto;
    font-size: 1.5rem;
    line-height: 1.5;
}

#intro ul {
    margin-top: 3rem;
    padding: 0;
    list-style-type: disc;
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
    gap: 2rem;
    font-family: var(--mono);
}

#intro li:first-child {
    list-style-type: none;
}


.mosaic {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(4, 1fr);
    max-width: 900px;
    margin: 3rem auto;
    box-shadow: 0px 0px 35px var(--dark-purple);
    border-radius: 1vw;
}

.mosaic img {
    height: 100%;
    border: 3px solid var(--purple);
}

.mosaic img:first-child {
    grid-column: 1/3;
    grid-row: 1/3;
}

.mosaic img:first-child {
    border-top-left-radius: 1vw;
}

.mosaic img:nth-child(2) {
    grid-column: 3/5;
    grid-row: 1/3;
}

.mosaic img:nth-child(2) {
    border-top-right-radius: 1vw;
    border-left: 6px solid var(--purple);
    border-bottom: 6px solid var(--purple);
}

.mosaic img:nth-child(3) {
    grid-column: 1/3;
    grid-row: 3/5;
}

.mosaic img:nth-child(3) {
    border-bottom-left-radius: 1vw;
    border-right: 6px solid var(--purple);
    border-top: 6px solid var(--purple);
}

.mosaic img:nth-child(4) {
    grid-column: 3/5;
    grid-row: 3/5;
}

.mosaic img:nth-child(4) {
    border-bottom-right-radius: 1vw;
}

.mosaic div:last-child {
    grid-column: 2/4;
    grid-row: 2/4;
    border: 8px solid var(--purple);
    transform: rotate(45deg);
    overflow: hidden;
}

.mosaic div:last-child img {
    transform: rotate(-45deg) scale(1.42);
}



/* Rentals */
#rentals article {
    margin: 10rem 0;
}

#rentals h2 {
    font-family: "zenith";
    font-size: 8rem;
    font-weight: normal;
    text-align: center;
    background: linear-gradient(90deg, var(--purple), var(--dark-purple));
    color: var(--light-gold)
}

#rentals .reverse h2 {
    background: linear-gradient(90deg, var(--dark-purple), var(--purple));
}

.rental-description {
    margin: 2rem 1rem;
    padding: 0 1rem;
    font-size: 2.5rem;
    font-family: "AlexBrush";
    color: var(--txt-dark);
}

#rentals img {
    max-width: 500px;
    margin: 0 auto;
    border-radius: 25px;
    border: 4px solid var(--gold);
    box-shadow: 10px 10px 35px var(--dark-purple);
    display: flex;
}

#rentals h3 {
    margin: 2rem 0 1rem 0;
    padding: 0 1rem;
    font-family: var(--mono);
    font-size: 2rem;
    font-weight: normal;
    text-decoration: underline;
}

#rentals ul {
    columns: 4 200px;
    gap: 1rem;
    list-style-type: none;
    padding: 0 2rem;
    font-size: 1.25rem;
}

.annotation {
    font-size: 1rem;
    padding: 0 1rem;
}

.rental-buttons {
    margin: 4rem 2rem;
    display: flex;
    flex-flow: row wrap;
    justify-content: space-around;
}

.button {
    width: 150px;
    height: 50px;
    padding: 0.5rem;
    background-color: var(--tan);
    color: var(--txt-dark);
    border: 1px solid var(--dark-purple);
    border-radius: 5px;
    text-decoration: none;
    text-align: center;
    align-content: center;
    font-family: var(--mono);
    box-shadow: 2px 2px 2px var(--dark-purple);
}

.button:hover {
    background-color: var(--purple);
    color: var(--tan);
}



/* Directions */
#directions {
    background-color: var(--dark-purple);
}

#directions h2 {
    font-size: 4rem;
    font-weight: normal;
    text-align: Left;
    color: var(--light-gold);
    background-color: var(--dark-purple);
}

#directions p {
    color: var(--light-gold);
}



/* Contact */
#contact h2 {
    font-size: 4rem;
    font-weight: normal;
    text-align: Left;
    color: var(--dark-purple);
    background-color: var(--tan);
}

#directions {
    padding: 3rem 0 5rem 0;
}

.center {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0 auto;
    padding: 0 2rem;
}

.center header {
    width: 100%;
}

.center p {
    width: 100%;
}

.map-responsive {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
}

.map-responsive iframe {
    position: absolute;
    inset: 0;
    height: 100%;
    width: 100%;
    border: 0;
}

#contact {
    padding: 3rem 0;
}

.contact-number {
    display: grid;
    grid-template-columns: 1fr 2fr;
    column-gap: 0.75rem;
    align-items: baseline;
    width: 100%;
}

.contact-number p {
    margin: 0;
}




/* Medium devices (landscape tablets, 768px and up) */
@media only screen and (min-width: 768px) {
    nav {
        max-width: 1200px;
        margin: 0 auto;
    }

    nav li:first-child {
        flex-basis: auto;
        text-align: left;
        margin-right: auto;
    }
}



/* Large devices (laptops/desktops, 992px and up) */
@media only screen and (min-width: 992px) {
    #rentals article {
        display: grid;
        grid-template-columns: repeat(12, 1fr);
        grid-template-rows: auto 1fr;
    }

    #rentals .border {
        grid-column: 2/13;
        grid-row: 1/5;
        margin: -1rem;
        border-radius: 35px;
        border-left: 1px solid var(--dark-purple);
        border-top: 1px solid var(--dark-purple);
    }

    #rentals h2 {
        grid-column: 1/13;
        grid-row: 1/2;
        margin: 3rem 0 2rem 0;
        padding: 0rem calc(100%/12 + 1rem);
        padding-top: 1rem;
        text-align: right;
    }

    .rental-description {
        grid-column: 7/12;
        grid-row: 2/3;
        order: 1;
        text-align: right;
    }

    #rentals img {
        margin: 0;
        grid-column: 2/7;
        grid-row: 1/3;
    }

    #rentals h3 {
        grid-column: 2/12;
        grid-row: 3/4;
    }

    #rentals ul {
        margin: 0;
        padding: 0 1rem;
        grid-column: 2/12;
        grid-row: 4/5;
        gap: 0.5rem;
    }

    #rentals ul li {
        list-style-type: disc;
        margin-bottom: 0.5rem;
    }

    .rental-buttons {
        grid-column: 1/13;
        grid-row: 5/6;
        justify-self: center;
        gap: 6rem;
    }


    #rentals .reverse .border {
        grid-column: 1/12;
        grid-row: 1/6;
        border-top-right-radius: 35px;
        border-bottom-right-radius: 35px;
        border-top-left-radius: 0;
        border-bottom-left-radius: 0;
        border-left: none;
        border-right: 1px solid var(--dark-purple);
        border-top: 1px solid var(--dark-purple);
    }

    #rentals .reverse h2 {
        text-align: left;
    }

    #rentals .reverse img {
        grid-column: 7/12;
        grid-row: 1/3;
    }

    .reverse .rental-description {
        grid-column: 2/7;
        text-align: left;
    }

    #rentals .reverse h3 {
        text-align: right;
        grid-column: 2/11;
    }

    #rentals .reverse ul {
        grid-column: 2/11;
        justify-items: end;
    }

    .reverse .annotation {
        grid-column: 2/11;
        grid-row: 5/6;
        margin: 0;
        text-align: right;
    }

    .center {
        width: 66vw;
    }
}