/* ===================== */
/* RESET BASE */
/* ===================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    background: #050505;
    min-height: 100vh;
    color: #fff;
    overflow-x: hidden;
}

/* ===================== */
/* NAVBAR - LUXURY MINIMAL */
/* ===================== */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 130px;
    /*background: rgba(5, 5, 5, 0.85);*/
    backdrop-filter: blur(20px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 60px;
    z-index: 10000;
    /*border-bottom: 1px solid rgba(207, 192, 159, 0.08);*/
}

/* Hide menu and lang-switch initially until user clicks "entra" on DESKTOP only */
@media (min-width: 1201px) {
    nav ul,
    .lang-switch {
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.6s ease, visibility 0.6s ease;
    }

    /* Show menu and lang-switch after intro is complete */
    body.intro-complete nav ul,
    body.intro-complete .lang-switch {
        opacity: 1;
        visibility: visible;
    }
}

/* LOGO */
.logo {
    width: 80px;
    filter: drop-shadow(0 0 8px rgba(207, 192, 159, 0.2));
    transition: all 0.4s ease;
}

.logo:hover {
    filter: drop-shadow(0 0 25px rgba(207, 192, 159, 0.5));
    transform: scale(1.02);
}

/* NAVIGATION */
nav ul {
    list-style: none;
    display: flex;
    gap: 40px;
    align-items: center;
    background-color: none;
}

nav li {
    position: relative;
    padding: 10px 0;
    cursor: pointer;
    font-weight: 500;
    font-size: 13px;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.75);
    transition: all 0.4s ease;
}

/* Light bar effect */
nav li::before {
    content: '';
    position: absolute;
    bottom: 8px;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, #cfc09f, transparent);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

nav li::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 4px;
    height: 4px;
    background: #cfc09f;
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(0);
    box-shadow: 0 0 15px rgba(207, 192, 159, 0.8);
    transition: all 0.3s ease;
}

nav li:hover {
    color: #cfc09f;
    text-shadow: 0 0 20px rgba(207, 192, 159, 0.4);
}

nav li:hover::before {
    transform: scaleX(1);
}

nav li:hover::after {
    transform: translate(-50%, calc(-50% + 25px)) scale(1);
}

nav li.active {
    color: #cfc09f;
    text-shadow: 0 0 25px rgba(207, 192, 159, 0.5);
}

nav li.active::before {
    transform: scaleX(1);
}

nav li.active::after {
    transform: translate(-50%, calc(-50% + 25px)) scale(1);
}

/* ===================== */
/* LANGUAGE SWITCH */
/* ===================== */
.lang-switch {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 8px 12px;
    background: rgba(207, 192, 159, 0.08);
    border: 1px solid rgba(207, 192, 159, 0.15);
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.lang-switch:hover {
    background: rgba(207, 192, 159, 0.12);
    border-color: rgba(207, 192, 159, 0.25);
}

.lang-option {
    padding: 5px 10px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
    border-radius: 20px;
    transition: all 0.3s ease;
}

.lang-option.active {
    color: #1a1a1a;
    background: linear-gradient(135deg, #cfc09f, #f5e6c8);
}

.lang-option:hover:not(.active) {
    color: rgba(207, 192, 159, 0.8);
}

/* ===================== */
/* HAMBURGER MENU - FIXED */
/* ===================== */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    cursor: pointer;
    padding: 15px;
    z-index: 10001;
    background: none;
    border: none;
}

.hamburger span {
    width: 28px;
    height: 2px;
    background: linear-gradient(90deg, #cfc09f, #f5e6c8);
    border-radius: 2px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 0 10px rgba(207, 192, 159, 0.3);
}

.hamburger:hover span {
    box-shadow: 0 0 25px rgba(207, 192, 159, 0.6);
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
    width: 30px;
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
    width: 30px;
}

/* ===================== */
/* MOBILE MENU - FIXED */
/* ===================== */
@media (max-width: 1200px) {
    /* Mobile nav menu - initially hidden until intro-complete */
    nav ul {
        position: fixed;
        top: 0;
        right: 0;
        width: 100%;
        height: 100vh;
        background: rgba(5, 5, 5, 0.98);
        backdrop-filter: blur(30px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 0;
        transform: translateX(100%);
        -webkit-transform: translateX(100%);
        transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 10000;
        padding: 0;
        display: none;
    }

    /* Show nav ul after intro-complete */
    body.intro-complete nav ul {
        display: flex;
    }

    nav ul.active {
        transform: translateX(0) !important;
        -webkit-transform: translateX(0) !important;
    }

    /* Mobile menu item styling */
    nav li {
        font-size: 1.4rem;
        padding: 25px 40px;
        margin: 5px 0;
        opacity: 0;
        transform: translateY(30px);
        border-radius: 10px;
        transition: all 0.3s ease;
    }

    nav li:hover {
        background: rgba(207, 192, 159, 0.15);
        color: #cfc09f;
    }

    nav ul.active li {
        opacity: 1;
        transform: translateY(0);
    }

    nav ul.active li:nth-child(1) { transition-delay: 0.1s; }
    nav ul.active li:nth-child(2) { transition-delay: 0.15s; }
    nav ul.active li:nth-child(3) { transition-delay: 0.2s; }
    nav ul.active li:nth-child(4) { transition-delay: 0.25s; }
    nav ul.active li:nth-child(5) { transition-delay: 0.3s; }
    nav ul.active li:nth-child(6) { transition-delay: 0.35s; }

    /* Hide lang-switch on mobile */
    .lang-switch {
        display: none;
    }

    /* Hamburger hidden until intro-complete */
    .hamburger {
        display: flex;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease, visibility 0.3s ease;
        background: rgba(207, 192, 159, 0.1);
        border: 1px solid rgba(207, 192, 159, 0.3);
        border-radius: 8px;
        padding: 12px;
    }

    /* Show hamburger after intro-complete */
    body.intro-complete .hamburger {
        opacity: 1;
        visibility: visible;
    }

    .logo {
        width: 80px;
    }

    header {
        padding: 0 30px;
    }
}

/* ===================== */
/* FOOTER */
/* ===================== */
footer {
    position: relative;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(5, 5, 5, 0.98);
    backdrop-filter: blur(20px);
    border-top: 1px solid rgba(207, 192, 159, 0.1);
    z-index: 1000;
    padding: 25px 40px 15px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    max-width: 1400px;
    margin: 0 auto;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-logo img {
    width: 80px;
    filter: drop-shadow(0 0 8px rgba(207, 192, 159, 0.3));
}

.footer-logo span {
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 2px;
    color: #cfc09f;
    text-transform: uppercase;
}

.footer-links {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 12px;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: #cfc09f;
    text-shadow: 0 0 15px rgba(207, 192, 159, 0.5);
}

.footer-contact {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.footer-email,
.footer-whatsapp {
    display: flex;
    align-items: center;
    gap: 6px;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 12px;
    transition: all 0.3s ease;
}

.footer-email svg,
.footer-whatsapp svg,
.footer-social a svg {
    width: 16px;
    height: 16px;
}

.footer-email:hover {
    color: #cfc09f;
}

.footer-whatsapp:hover {
    color: #25D366;
}

.footer-social {
    display: flex;
    gap: 10px;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 1px solid rgba(207, 192, 159, 0.3);
    border-radius: 50%;
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
}

.footer-social a:hover {
    border-color: #cfc09f;
    color: #cfc09f;
    background: rgba(207, 192, 159, 0.1);
}

.footer-location {
    display: flex;
    align-items: center;
    gap: 6px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 12px;
}

.footer-location svg {
    width: 18px;
    height: 18px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid rgba(207, 192, 159, 0.05);
    color: rgba(207, 192, 159, 0.4);
    font-size: 10px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

footer a {
    color: rgba(207, 192, 159, 0.6);
    text-decoration: none;
    transition: all 0.3s ease;
}

footer a:hover {
    color: #cfc09f;
    text-shadow: 0 0 15px rgba(207, 192, 159, 0.8);
}

/* Mobile Footer */
@media (max-width: 900px) {
    footer {
        padding: 30px 20px 20px;
    }
    
    .footer-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 25px;
    }
    
    .footer-links {
        justify-content: center;
        gap: 15px;
    }
    
    .footer-contact {
        justify-content: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    
    main {
        padding-bottom: 280px;
    }
}

/* ===================== */
/* ANIMATIONS */
/* ===================== */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

@keyframes fadeInPage {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Page content */
main {
    padding-top: 90px;
    padding-bottom: 120px;
    min-height: calc(100vh - 210px);
    animation: fadeInPage 0.8s ease forwards;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: #0a0a0a;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #cfc09f, #3a2c0f);
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #f5e6c8, #cfc09f);
}

/* ===================== */
/* FEATURE MODAL */
/* ===================== */
.feature-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 20000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.feature-modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    cursor: pointer;
}

.modal-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 900px;
    max-height: 90vh;
    background: #0a0a0a;
    border: 1px solid rgba(207, 192, 159, 0.2);
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(207, 192, 159, 0.3);
    border-radius: 50%;
    color: #cfc09f;
    font-size: 24px;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    background: rgba(207, 192, 159, 0.2);
    transform: rotate(90deg);
}

.modal-image {
    width: 100%;
    height: 300px;
    overflow: hidden;
}

.modal-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.modal-content {
    padding: 40px;
    overflow-y: auto;
}

.modal-label {
    display: inline-block;
    font-size: 12px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #cfc09f;
    margin-bottom: 10px;
}

.modal-title {
    font-size: 2rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 20px;
    line-height: 1.3;
}

.modal-description {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
}

@media (max-width: 768px) {
    .modal-container {
        width: 95%;
        max-height: 85vh;
    }
    
    .modal-image {
        height: 200px;
    }
    
    .modal-content {
        padding: 25px;
    }
    
    .modal-title {
        font-size: 1.5rem;
    }
}
