/* NACUAJO — Base */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: #13161A;
    color: #EFF0F0;
    font-family: 'Montserrat', sans-serif;
}

.logo {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 500;
    letter-spacing: 5px;
}
/* HEADER */

.site-header {
    width: 100%;
    height: 120px;
    padding: 0 4%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #13161A;
}

.logo {
    font-size: 25px;
    font-weight: 600;
    letter-spacing: 5px;
    color: #EFF0F0;
}

.site-header nav {
    display: flex;
    gap: 40px;
    margin-left: auto;
}

.site-header nav a {
    font-size: 15px;
    letter-spacing: 2px;
    color: #A6A8AA;
    transition: color 0.3s;
}

.site-header nav a:hover {
    color: #009B77;
}
.logo {
    text-decoration: none !important;
}
.site-header a {
    text-decoration: none !important;
}
.logo img {
    height: 200px;
    width: auto;
    display: block;
}
/* PORTADA */
.hero {
    position: relative;
    width: 100%;
    height: calc(100vh - 120px);
    overflow: hidden;
}

.hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.hero-text {
    position: relative;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
    padding-bottom: 25px;
    text-align: center;
    flex-direction: column;
}

.hero-text p {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(18px, 1.6vw, 22px);
    font-style: italic;
    font-weight: 400;
    max-width: 850px;
    line-height: 1.3;
    color: #EFF0F0;
}
.gallery-button {
    display: inline-block;
    margin-top: 25px;
    padding: 14px 32px;
    background: #009B77;
    color: #FFFFFF;
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    letter-spacing: 2px;
    text-decoration: none;
    transition: background 0.3s;
}

.gallery-button:hover {
    background: #007F62;
}
.social-links {
    display: flex;
    justify-content: center;
    gap: 35px;
    margin-top: 45px;
    margin-bottom: 40px;
}

.social-links a {
    color: #A6A8AA;
    font-size: 13px;
    letter-spacing: 2px;
    text-decoration: none;
    transition: color 0.3s;
}

.social-links a:hover {
    color: #009B77;
}
.social-links img {
    width: 30px;
    height: 30px;
    display: block;
    filter: invert(1);
    opacity: 0.9;
    transition: opacity 0.3s;
}

.social-links a:hover img {
    opacity: 0.6;
}
.footer-line {
    width: 70%;
    max-width: 900px;
    margin: 35px auto 20px;
    border: none;
    border-top: 1px solid #62686E;
}
.copyright {
    text-align: center;
    font-size: 10px;
    letter-spacing: 2px;
    color: #777D82;
    margin: 20px 0 30px;
}
.menu-toggle {
    display: none;
}

/* RESPONSIVE - TABLETS AND MOBILE */

@media (max-width: 900px) {

    .site-header {
        position: relative;
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        height: auto;
        min-height: 0;
        padding: 12px 4%;
        gap: 10px;
    }

    .logo img {
        width: 85vw;
        max-width: 350px;
        height: auto;
    }

    .menu-toggle {
    display: block !important;
    flex-shrink: 0;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    margin-right: 12px;
    transform: translateX(-15px);
}

    .menu-toggle span {
        display: block;
        width: 27px;
        height: 2px;
        background: #EFF0F0;
        margin: 6px 0;
    }

    .site-header nav {
    display: none;
    position: absolute;
    top: 100%;
    right: 4%;
    z-index: 1000;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    padding: 22px;
    background: #13161A;
    margin: 0;
}

    .site-header nav.active {
        display: flex;
    }

    .hero {
        height: 55vh;
        min-height: 250px;
        max-height: 550px;
    }

    .hero img {
        object-fit: cover;
        object-position: center;
    }
}

/* MOBILE LANDSCAPE */

@media (max-width: 900px) and (max-height: 500px) {

    .site-header {
        padding: 8px 4%;
    }

    .logo img {
        width: 55vw;
        max-width: 260px;
    }

    .hero {
        height: 65vh;
        min-height: 160px;
    }
}
/* BACK TO TOP */

#back-to-top {
    position: fixed;
    right: 30px;
    bottom: 30px;
    width: 30px;
    height: 30px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #009B77;
    border: none;
    color: #FFFFFF;
    font-size: 0;
    cursor: pointer;
    z-index: 9999;
    opacity: 0;
    pointer-events: none;
    transition: background 0.3s, opacity 0.3s;
}

#back-to-top::before {
    content: "";
    width: 10px;
    height: 10px;
    border-top: 2px solid white;
    border-right: 2px solid white;
    transform: rotate(-45deg) translate(-2px, 2px);
}

#back-to-top.visible {
    opacity: 1;
    pointer-events: auto;
}

#back-to-top:hover {
    background: #007F62;
}

@media (max-width: 900px) {
    #back-to-top {
        right: 12px;
        bottom: 33px;
    }
}