/*Start fonts*/
@font-face {
    font-family: 'Bodoni';  /* name you will use in CSS */
    src: url('../fonts/BodoniModa_72pt-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Inter';  /* name you will use in CSS */
    src: url('../fonts/Inter_28pt-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Inter';  /* name you will use in CSS */
    src: url('../fonts/Inter_28pt-SemiBold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'ShoppingScriptDemo';  /* name you will use in CSS */
    src: url('../fonts/ShoppingScriptDemo.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/*End fonts*/
/*Start variables*/
:root {
    --color-primary: #DBCAAC;
    --color-secondary: #050403;
    --color-tertiary: blue;

    --button-primary-padding: 0.35rem 1.25rem;
    --button-primary-color: var(--color-primary);
    --button-primary-border: 1px solid var(--color-primary);
    --button-primary-border-radius: 3px;
}
/*End variables*/

/*Start General*/
body {
    background: #000;
    font-family: 'Inter', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-weight: 400;
}

main {
    display: flex;
    flex-direction: column;
}
/*End General*/

h1, .h1 {
    font-family: 'Bodoni', 'Times New Roman', Georgia, serif;
    font-weight: 400;
}

:focus,
:focus-within,
:focus-visible {
    outline: none;
    border: none;
    box-shadow: none;
}

/*Start age verification modal*/
#age-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: transparent;
    color: white;
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    z-index: 9999;
    backdrop-filter: blur(8px);
}

#age-box {
    text-align: center;
    /*background-image: url("../img/gallery/4.webp");*/
    /*background-position: center;*/
    /*background-repeat: no-repeat;*/
    /*background-size: contain;*/

    aspect-ratio: 2334 / 3455;

    padding: 2rem;
    max-height: 80vh;
    height: 80vh;
    max-width: 100%;

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

    border: 1px solid var(--color-primary);
    position: relative;
    margin: 0 auto;
    gap: 60px;
}

#age-box img.background {
    width: 100%;
    height: 100%;
    object-fit: contain;
    position: absolute; /* behind overlay */
    top: 0;
    left: 0;
    z-index: -1;
}

#age-box .logo {
    width: 40%;
    height: auto;
    /*position: absolute;*/
    /*top: 5rem;*/
    /*left: 50%;*/
    /*transform: translateX(-50%);*/
}

#age-box .button-wrapper {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    width: 100%;
    gap: 10px;
    margin-top: 35px;
    margin-bottom: 1rem;
}

#age-box .button-wrapper .global-button {
    width: 150px;
    font-size: 1rem;
}

#age-box .age-verification-title {
    color: var(--color-primary);
    font-size: 2rem;
}

.global-button {
    padding: var(--button-primary-padding);
    cursor: pointer;
    font-size: 1rem;
    text-decoration: none;

    backdrop-filter: blur(2px);
    color: var(--button-primary-color);
    border: var(--button-primary-border);
    border-radius: var(--button-primary-border-radius);
    white-space: nowrap;
}

.global-button.secondary {
    filter: brightness(0.5);
}

#age-box .warning-message {
    display: inline-block;
    color: #FFF;
    padding: .75rem;
    font-size: .75rem;
    text-align: center;
    background: #ff5252;
    margin-top: 1rem;
    opacity: 0;
    transition: opacity 0.3s ease;
    width: 100%;
}

#age-box .warning-message.visible {
    opacity: 1;
}
/*End age verification modal*/

/*Start pre order modal*/
#orderNowModal .modal-content {
    max-width: 100%;
    width: 650px;
    background: #000;
    border: 1px solid var(--color-primary);
    color: var(--color-primary);
    border-radius: 0;
}

.modal-backdrop.show {
    opacity: .75;
}

#orderNowModal .modal-header h2 {
    font-size: 3rem;
    font-family: 'Bodoni', 'Times New Roman', Georgia, serif;
    font-weight: 400;
}

#orderNowModal .modal-header {
    justify-content: center;
}

#orderNowModal .modal-body {
    padding-bottom: 2rem;
    font-size: 1.2rem;
    font-family: 'Inter', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

#orderNowModal .close-icon {
    position: absolute;
    top: 5px;
    right: 5px;
    color: var(--color-primary);
    filter: none;
    font-size: 1.25rem;
    cursor: pointer;
}

#orderNowModal .modal-body .global-button {
    font-size: 1.2rem;
    padding: .6rem 1.75rem;
}
/*End pre order modal*/

/*Start Header*/
#header {
    position: fixed;
    width: 100%;
    transition: background-color 0.3s ease; /* smooth transition */
    z-index: 50;

    font-family: 'Bodoni', 'Times New Roman', Georgia, serif;
    font-weight: 400;
}

#header.scrolled {
    background-color: black;
}

#header .logo {
    display: inline-block;
    height: 90px;
    aspect-ratio: 1 / 1;
    background-image: url("../img/logo.webp");
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
}

#header .menu-desktop {
    margin: 0;
    padding: 0;
    height: 100%;
    width: 100%;
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    gap: 20px;
    list-style: none;
}

#header .menu-desktop .menu-desktop-item {
    color: var(--color-primary);
    text-decoration: none;
    font-size: 1.2rem;
    position: relative;
    width: 100px;
    height: 100%;
    display: grid;
    place-items: center;
}

#header .menu-desktop .menu-desktop-item::after {
    position: absolute;
    left: 50%;
    bottom: 2rem;
    transform: translateX(-50%);
    visibility: hidden;
    content: '';
    width: .65rem;
    aspect-ratio: 1 / 1;
    background-color: var(--color-primary);
    border-radius: 100%;
    transition: all .15s ease-in;
}

#header .menu-desktop .menu-desktop-item.active::after,
#header .menu-desktop .menu-desktop-item:hover::after {
    visibility: visible;
    bottom: 0.5rem;
}

#header .header-mobile-wrapper .header-mobile-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, .9);
    backdrop-filter: blur(10px);
    display: grid;
    place-items: center;
    text-align: center;
}

#header .header-mobile-wrapper .menu-mobile {
    display: flex;
    flex-direction: column;
    gap: 10px;
    list-style: none;
}

#header .header-mobile-wrapper .menu-mobile .menu-mobile-item{
   color: var(--color-primary);
    font-size: 2rem;
    text-decoration: none;
    position: relative;
    padding-right: 1.5rem;
}

#header .menu-mobile .menu-mobile-item::after {
    content: '';
    position: absolute;
    right: 0.5rem;
    top: 50%;
    transform: translateY(-50%);
    width: 0.65rem;
    aspect-ratio: 1 / 1;
    background-color: var(--color-primary);
    border-radius: 50%;
    opacity: 0;
    transition: all 0.15s ease-in;
}

#header .menu-mobile .menu-mobile-item.active::after {
    opacity: 1;
}

#header .header-mobile-wrapper .menu-open,
#header .header-mobile-wrapper .menu-close {
    color: var(--color-primary);
    position: absolute;
    top: 3rem;
    right: 2rem;
    cursor: pointer;
    z-index: 10;
    font-size: 1.5rem;
}

#header .header-mobile-wrapper .menu-close {
    display: none;
}
/*End Header*/

/*Start Section General*/
.content-section {
    width: 100vw;
    height: 100vh;
    margin: 0;
    padding: 0;
}
/*End Section General*/

/*Start Home Section*/

.content-section.home {
    height: 100vh;
    background-image: url("../img/madera_background.webp");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.content-section.home video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.content-section.home .mute-toggle {
    position: absolute;
    width: 40px;
    height: 40px;
    bottom: 30px;
    right: 30px;
    background: rgba(0,0,0,0.5);
    border: none;
    border-radius: 50%;
    color: white;
    padding: 10px;
    cursor: pointer;
    z-index: 10;
    font-size: 1.25rem;
    display: grid;
    place-items: center;
    line-height: 1;
}

/*End Home Section*/

/*Start About Section*/
.content-section.about {
    height: auto;
}
.content-section.about .about-section-1 {
    padding: 10rem 15rem 10rem 10rem !important;
    text-align: left;
    color: var(--color-primary);
}

.content-section.about .about-section-1 h1 {
    font-size: 5rem;
}

.content-section.about .about-section-2 {
    padding: 3rem;
    text-align: left;
    color: var(--color-primary);
}

.content-section.about .about-section-2 h1 {
    text-align: center;
    font-size: 4rem;
    margin-bottom: 6rem;
}

.content-section.about .about-section-2 p,
.content-section.about .about-section-1 p {
    font-size: 1.5rem;
    line-height: 1.4;
    margin-bottom: 2rem;
}

.content-section.about .about-section-1 a {
    font-size: 1.25rem;
    padding: .75rem 2rem;
}

.content-section.about .about-section-2 .signature {
    font-family: "ShoppingScriptDemo", serif;
    font-size: 5rem;
}
    /*End About Section*/

/*Start Banner Section*/
.content-section.banner {
    height: auto;
    color: var(--color-secondary);
    background-image: url("../img/banner-background.webp");
    background-position: center left;
    background-size: cover;
    background-repeat: no-repeat;
}

.content-section.banner h1 {
    font-size: 6rem;
    margin-bottom: 1rem;
}

.content-section.banner p {
    font-size: 1.75rem;
}
/*End Banner Section*/

/*Start Gallery Section*/
.content-section.gallery {
    height: auto;
}

.content-section.gallery .gallery-img {
    height: 100%;
    object-fit: cover;
}

.content-section.gallery a img{
    transition: all .15s ease-in;
    cursor: zoom-in;
}

.content-section.gallery a:hover img{
    transform: scale(1.015);
}

/*End Gallery Section*/

/*Start Contact Section*/
.contact-page {
    height: 100%;
    margin-top: 144px;
}
.contact-page .content-section.contact {
    padding-bottom: 140px !important;
}
.content-section.contact .contact a {
    color: var(--color-primary);
    text-decoration: none;
}

.content-section.contact {
    height: auto;
    color: var(--color-primary);
    background-image: url("../img/contact-background.webp");
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}
.content-section.contact h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.content-section.contact p {
    font-size: 1.2rem;
}
/*End Contact Section*/


/*Start Footer Section*/
#footer {
    position: absolute;
    bottom: 0;
    color: var(--color-primary);
    width: 100%;
}
/*End Footer Section*/

/*Start Responsive*/
@media (max-width: 1400px) {
    .content-section.about .about-section-1 h1 {
        font-size: 4rem;
        margin-bottom: 3.5rem;
    }

    .content-section.about .about-section-1 {
        padding: 8rem 10rem 8rem 8rem !important;
    }
}

@media (max-width: 1200px) {
    .content-section.about .about-section-1 h1 {
        font-size: 4.5rem;
        margin-bottom: 3.5rem;
    }

    .content-section.about .about-section-2 h1 {
        font-size: 3.5rem;
        margin-bottom: 3.5rem;
    }

    .content-section.about .about-section-1,
    .content-section.about .about-section-2 {
        padding: 0 !important;
    }

    .content-section.about .about-section-2 .signature {
        font-size: 4rem;
    }
}

@media (max-width: 992px) {

    #age-box {
        gap: 20px;
    }

    #age-box .button-wrapper{
        margin-top: 5px;
    }

    #age-box .button-wrapper .global-button {
        font-size: .8rem;
    }

    #age-box .button-wrapper{
        margin-top: 5px;
    }

    .content-section.about .about-section-1 {
        padding-top: 70px !important;
    }

    .content-section.about .about-section-2 {
        padding: 70px 0 !important;
    }

    .content-section.about .about-section-2 .signature {
        font-size: 5rem;
    }
}

@media (max-width: 768px) {

    .content-section.gallery .gallery-img {
        object-fit: contain;
        width: 100%;
        height: auto;
    }

    .content-section.gallery .row .col-12:first-of-type {
       padding-top: .8rem !important;
    }

    .content-section.gallery .row .col-6 {
        padding-top: .3rem !important;
    }

    .content-section.home .mute-toggle {
        width: 40px;
        height: 40px;
        font-size: 1rem;
        bottom: 20px;
        right: 20px;
    }
}

@media (max-width: 576px) {

    #age-box {
        height: 60vh;
    }

    #age-box .age-verification-title {
        font-size: 1rem;
    }

    #orderNowModal .modal-header h2 {
        font-size: 2rem;
    }

    .content-section.about .about-section-1 h1 {
        font-size: 3.5rem;
    }

    .content-section.about .about-section-2 h1 {
        font-size: 3rem;
    }

    .content-section.banner h1 {
        font-size: 3rem;
    }

    .content-section.banner p {
        font-size: 1.25rem;
    }

    .content-section.about .about-section-2 .signature {
        font-size: 4rem;
    }
}

/*End Responsive*/
