@font-face {
    font-family: 'Abuget';
    src: url(../fonts/Abuget.ttf) format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Trajan';
    src: url(../fonts/TrajanPro-Regular.ttf) format('truetype');
    font-weight: normal;
    font-style: normal;
}

:root {
    --primary-color:  #000000;
    --secondary-color:  #bd8c40;
    --beige: #fbf3e3;
    --green: #8b9482;
    --brown: #6f5e50;
    --orange: #ab5300;
    --font-size-title: clamp(1.5rem, 5vw, 3rem);
    --font-size-subtitle: clamp(1.5rem, 4vw, 2.5rem);
    --font-size-text: clamp(1rem, 2.5vw, 1.2rem);
    --font-size-small: clamp(0.875rem, 2vw, 1rem);
    --padding-container: clamp(1rem, 5vw, 3rem);
    --margin-container: clamp(2rem, 8vw, 1.2rem) auto;
    --max-header-height: calc(130px + 4rem);
    --header-height: 60px;
}

::selection {
    background-color: var(--secondary-color);
    color: white;
}

.flex {
    display: flex;
}

.row {
    flex-direction: row;
}

.column {
    flex-direction: column;
}

.space-between {
    justify-content: space-between;
}

.justify-center {
    justify-content: center;
}

.justify-between {
    justify-content: space-between;
}

.align-items-center {
    align-items: center;
}

.text-center {
    text-align: center;
}

.padding-0-1 {
    padding: 0 1rem;
}

section .container:not(:first-child), header .container {
    max-width: 100vw;
    margin: var(--margin-container);
    padding: 0 1rem;
}


/********************* Main Menu ********************/
html {
    scroll-behavior: smooth;
}

body {
    padding-top: var(--max-header-height);
}

body.home {
    padding-top: 0;
}

body.home .nav-main-menu a, .nav-main-menu .sub-menu a {
    color: var(--beige);
}

body.home nav.main-nav.scrolled .nav-main-menu > li > a {
    color: var(--primary-color);
}

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: transparent;
    transition: all 0.3s ease-in-out;
}


nav.main-nav {
    max-height: var(--max-header-height);
    transition: all 0.2s ease-in-out;
}

nav.main-nav.scrolled {
    max-height: var(--header-height);
}

header:has(nav.main-nav.scrolled) {
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.nav-main-menu > li {
    position: relative;
}

.nav-main-menu  li {
    height: 40px;
}

.nav-main-menu a {
    text-decoration: none;
    color: var(--primary-color);
    font-size: 1.2rem;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    width: fit-content;
    height: 100%;
    padding: 0 1rem;
    font-family: 'Lato', sans-serif;
    position: relative;
}

.nav-main-menu .lang-item img {
    width: 26px !important;
    height: 18px !important;
}

.nav-main-menu > li:not(:has(ul)) > a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--secondary-color);
    transform: scaleX(0);
    transition: transform 0.3s ease-in-out;
}

.nav-main-menu > li:not(:has(ul)) > a:hover::before {
    transform: scaleX(1);
}
 
.nav-main-menu, .sub-menu {
    list-style-type: none;
    gap: 1rem;
}

.nav-main-menu .sub-menu {
    position: absolute;
    top: 100%;
    right: 0;
    max-height: 300px;
    overflow: hidden;
    border-radius: 8px 0 8px 8px;
    width: max-content;
    pointer-events: none;
    padding: 0;
    opacity: 0;
    transform: translateY(50%);
    transition: transform 0.2s ease-in-out, opacity 0.2s ease-in-out;
}

.nav-main-menu > li:hover .sub-menu {
    transform: translateY(0);
    opacity: 1;
    pointer-events: initial;
}

.nav-main-menu .sub-menu li {
    background-color: var(--brown);
    transition: background-color 0.3s ease;
}

.nav-main-menu .sub-menu li:hover {
    background-color: var(--green);
}

.nav-main-menu .sub-menu li a {
    width: 100%;
}

/********************* Burger Menu *********************/

 .burger-menu-button {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 0.5rem;
    background: none;
    border: none;
    z-index: 1001;
}

.burger-line {
    width: 25px;
    height: 2px;
    background: var(--primary-color);
    margin: 3px 0;
    transition: all 0.3s ease;
    border-radius: 2px;
}

 .burger-menu-button.active .burger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.burger-menu-button.active .burger-line:nth-child(2) {
    opacity: 0;
}

.burger-menu-button.active .burger-line:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

.burger-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: var(--brown);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.burger-menu.active {
    opacity: 1;
    visibility: visible;
}

.burger-menu ul {
    list-style: none;
    text-align: center;
    padding: 0;
}

.burger-menu li {
    margin: 1.5rem 0;
}

.burger-menu a {
    text-decoration: none;
    color: var(--beige);
    font-size: 1.5rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.burger-menu a:hover {
    color: var(--secondary-color);
}

/* Responsive */
@media (max-width: 1024px) {
    .burger-menu-button {
        display: flex;
    }

    .menu {
        display: none;
    }
}

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

.footer-content {
    gap: 2rem;
}

.footer-menu ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
    columns: 2;
}

.footer-menu ul li {
    margin: 0.5rem 0;
}

.footer-menu ul li a {
    color: var(--primary-color);
    font-family: 'Lato', sans-serif;
    text-decoration: none;
    font-size: var(--font-size-text);
    transition: color 0.3s ease;
}

.footer-menu ul li a:hover {
    color: var(--secondary-color);
}

.footer-menu ul li a::before {
    content: '•';
    margin-right: 0.5rem;
    color: var(--secondary-color);
}

.footer-info {
    text-align: center;
    margin-top: 2rem;
}

.footer-info p {
    line-height: 15px;
}

/* Hover effects */ 
@media (hover: hover) and (pointer: fine) {
    
    .glassy-effect:hover {
        transform: translateY(-8px) scale(1.01);
        box-shadow: 
            5px 5px 10px 0px rgb(112, 98, 98);
    }

    .glassy-effect:hover::before {
        left: 100%;
    }

    .draw-border:hover::before,
    .draw-border:hover::after {
        width: 100%;
    }

    .draw-border:hover .draw-vertical::before,
    .draw-border:hover .draw-vertical::after {
        height: 100%;
    }

}

@media(max-width: 960px) {
    .footer-content {
        flex-direction: column;
        align-items: center;
    }

    .footer-menu ul {
        columns: 1;
    }

    .footer-menu ul li {
        text-align: center;
    }

    .moderate-alcohol-text {
        text-align: center;
        margin-top: 1rem;
    }
}

/********************* Primary *********************/

h1, h2, h3, h4 {
    font-family: 'Theano Didot', sans-serif;
    font-weight: 400;
}

h3, h2 {
    font-size: var(--font-size-title);
    color: var(--primary-color);
    margin: 0;
}

h4 {
    font-size: calc(var(--font-size-text) + 0.2rem);
    color: var(--primary-color);
}

p {
    font-size: var(--font-size-text);
    color: var(----primary-color);
    margin: 0.5rem 0;
    line-height: 25px;
    font-family: 'Lato', sans-serif;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

section {
    margin-bottom: 5rem;
}

/************************ Glassy Effect *****************/

.glassy-effect {
    transition: all cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.glassy-effect::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.1),
        transparent
    );
    transition: left 0.6s ease;
}

.glassy-effect::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.15) 0%,
        transparent 100%
    );
    border-radius: 15px 15px 0 0;
}

/********************* Draw Border Effect *****************/

.draw-border {
    position: relative;
}

.draw-border::before,
.draw-border::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: var(--orange);
}

.draw-border::before {
    top: 0;
    left: 0;

    transition: width 0.3s ease;
}

.draw-border::after {
    bottom: 0;
    right: 0;

    transition: width 0.3s ease 0.6s;
}

.draw-border .draw-vertical::before{
    content: '';
    position: absolute;
    width: 2px;
    height: 0;
    background: var(--orange);
    transition: height 0.3s ease 0.3s;
}

.draw-border .draw-vertical::before {
    top: 0;
    right: 0;
}

.draw-border .draw-vertical::after {
    bottom: 0;
    left: 0;
}

/********************* Wave Effect *****************/

.wave-text {
            color: #333;
        }

        .wave-text .letter {
            display: inline-block;
            opacity: 0;
            transform: translateY(-50px);
            animation: wave 0.6s ease-in-out forwards;
            animation-delay: 2.1s;
        }

        @keyframes wave {
            0% {
                opacity: 0;
                transform: translateY(-50px);
            }
            50% {
                opacity: 1;
                transform: translateY(-10px);
            }
            100% {
                opacity: 1;
                transform: translateY(0);
            }
        }