/* 
    Levante Group - Core Design System
    Theme: Signature Luxe (Premium, Elegant, Sophisticated)
*/

@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@200;300;400;500;600;700;800&display=swap');

/* Custom Heading Font */
@font-face {
    font-family: 'The Seasons';
    src: url('../fonts/The Seasons Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
}

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

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

:root {
    --primary: #c5a059;
    --primary-dark: #a68545;
    --secondary: #1a1a1a;
    --bg-light: #f9f9f9;
    --bg-dark: #0f0f0f;
    --text-main: #333333;
    --text-muted: #666666;
    --white: #ffffff;
    --transition-smooth: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.05);
    --header-height: 80px;
}

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

body {
    font-family: 'Manrope', sans-serif;
    line-height: 1.6;
    color: var(--text-main);
    background-color: var(--bg-light);
    overflow-x: hidden;
    margin-bottom: 100vh;
    /* Reveal Footer height */
}

#backpage {
    position: fixed;
    right: 30px;
    bottom: 30px;
    border: 1px solid white;
    width: 40px;
    height: 40px;
    display: none;
    align-items: center;
    justify-content: center;
    border-radius: 100%;
    z-index: 9999;
    background: #00000040;
    backdrop-filter: blur(10px);
}
#backpage.show {
    display: flex;
}

.h-font {
    font-family: 'The Seasons', serif;
}

h1,
h2,
h3,
h4,
h5,
h6,
.serif {
    font-family: 'The Seasons', serif;
    font-weight: normal;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-smooth);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* Header Styles */
.header {
    height: var(--header-height);
    display: flex;
    align-items: center;
    position: fixed;
    left: 0;
    top: 0;
    right: 0;
    width: 100%;
    z-index: 1000;
    inset: 0 0 auto;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    background-color: rgba(0, 0, 0, 0.2);
    /* Slightly darker for better contrast */
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.header-logo {
    height: 50px;
    width: auto;
    /* Removed white filter to show original logo color */
}

.nav-menu {
    display: flex;
    gap: 40px;
}

.nav-link {
    font-weight: 400;
    font-size: 14px;
    /* Matches editorial look */
    text-transform: capitalize;
    /* More like the image "About" not "ABOUT" */
    letter-spacing: 0.5px;
    color: #ffffff;
    position: relative;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: center;
}

.nav-link::after {
    display: none;
    /* Remove previous underline if it feels too heavy, or keep if user likes. Image doesn't have it. */
}

.nav-link:hover {
    color: #ffffff;
    opacity: 0.8;
}

.nav-dropdown {
    position: relative;
    display: flex;
    align-items: center;
}

.nav-dropdown-toggle {
    gap: 7px;
}

.nav-dropdown-caret {
    font-size: 11px;
    transition: transform 0.3s ease;
}

.nav-dropdown:hover .nav-dropdown-caret {
    transform: rotate(180deg);
}

.nav-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    min-width: 230px;
    padding: 10px 0;
    background: #0b1f2c;
    border: 1px solid rgba(197, 160, 89, 0.28);
    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.3);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
    z-index: 200;
}

.nav-dropdown:hover .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.nav-dropdown-menu::before {
    content: '';
    position: absolute;
    bottom: 100%;
    left: 0;
    width: 100%;
    height: 14px;
}

.nav-dropdown-link {
    display: block;
    padding: 11px 22px;
    font-size: 13px;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.85);
    white-space: nowrap;
    transition: background 0.25s ease, color 0.25s ease, padding-left 0.25s ease;
}

.nav-dropdown-link:hover {
    background: rgba(197, 160, 89, 0.14);
    color: var(--primary);
    padding-left: 28px;
}

/* Mobile Menu */
.mobile-nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    width: 42px;
    height: 42px;
    padding: 9px;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-nav-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: #ffffff;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.mobile-nav {
    position: fixed;
    top: 0;
    right: 0;
    width: min(86%, 350px);
    height: 100vh;
    padding: 22px 26px 40px;
    background: #07131b;
    border-left: 1px solid rgba(197, 160, 89, 0.2);
    box-shadow: -20px 0 60px rgba(0, 0, 0, 0.4);
    z-index: 1100;
    display: flex;
    flex-direction: column;
    transform: translateX(105%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
}

.mobile-nav.active {
    transform: translateX(0);
}

.mobile-nav-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 28px;
    padding-bottom: 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-nav-header .header-logo {
    height: 42px;
}

.mobile-nav-close {
    background: none;
    border: none;
    color: #ffffff;
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
    transition: color 0.3s ease, transform 0.3s ease;
}

.mobile-nav-close:hover {
    color: var(--primary);
    transform: rotate(90deg);
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
}

.mobile-nav-link {
    padding: 15px 0;
    font-size: 16px;
    letter-spacing: 0.5px;
    color: rgba(255, 255, 255, 0.9);
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    transition: color 0.25s ease, padding-left 0.25s ease;
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
    color: var(--primary);
    padding-left: 8px;
}

.mobile-nav-sub {
    display: flex;
    flex-direction: column;
    margin: 4px 0 4px 6px;
    padding: 4px 0 4px 16px;
    border-left: 2px solid rgba(197, 160, 89, 0.4);
}

.mobile-nav-sub a {
    padding: 11px 0;
    font-size: 12px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.65);
    transition: color 0.25s ease, padding-left 0.25s ease;
}

.mobile-nav-sub a:hover {
    color: var(--primary);
    padding-left: 6px;
}

.mobile-nav-cta {
    margin-top: 30px;
    padding: 14px;
    text-align: center;
    font-family: 'The Seasons', serif;
    font-size: 16px;
    color: #ffffff;
    border: 1px solid rgba(197, 160, 89, 0.6);
    transition: background 0.3s ease, color 0.3s ease;
}

.mobile-nav-cta:hover {
    background: var(--primary);
    color: #07131b;
}

.mobile-nav-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
    z-index: 1050;
}

.mobile-nav-backdrop.active {
    opacity: 1;
    visibility: visible;
}

body.mobile-nav-open {
    overflow: hidden;
}

@media (max-width: 991px) {
    .mobile-nav-toggle {
        display: flex;
    }
}

@media (min-width: 992px) {
    .mobile-nav,
    .mobile-nav-backdrop,
    .mobile-nav-toggle {
        display: none !important;
    }
}

.btn-get-in-touch {
    font-family: 'The Seasons', serif;
    font-size: 16px;
    color: #ffffff;
    padding: 8px 27px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 50px;
    /* Pill shape */
    text-decoration: none;
    transition: all 0.3s ease;
    background: transparent;
    display: inline-block;
}

.btn-get-in-touch:hover {
    background: #ffffff;
    color: #000000;
    border-color: #ffffff;
}

.btn-cta {
    background: var(--secondary);
    color: var(--white);
    padding: 12px 25px;
    border-radius: 0;
    font-weight: 500;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
    border: 1px solid var(--secondary);
    cursor: pointer;
}

.btn-cta:hover {
    background: transparent;
    color: var(--secondary);
}

section {
    position: relative;
    background: var(--white);
    z-index: 2;
}

/* Shared Join Us Section */
.joinus {
    --joinus-card-width: min(540px, calc(100% - 40px));
    min-height: 100vh;
    padding: 80px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: linear-gradient(rgba(0, 18, 27, 0.28), rgba(0, 18, 27, 0.5)),
        url('../assets/tropical-resort.webp');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    overflow: hidden;
    isolation: isolate;
}

.joinus::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.15), transparent 18%, transparent 82%, rgba(255, 255, 255, 0.12)),
        linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(0, 0, 0, 0));
    z-index: -1;
}

.joinus-card-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    width: var(--joinus-card-width);
    height: 390px;
    transform: translate(-50%, -50%);
    background: rgba(0, 31, 46, 0.88);
    border: 1px solid rgba(197, 160, 89, 0.35);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.28);
    backdrop-filter: blur(8px);
    z-index: 1;
    pointer-events: none;
}

.joinus-card {
    position: relative;
    z-index: 2;
    width: var(--joinus-card-width);
    padding: 56px 42px;
    text-align: center;
}

.joinus-card h2 {
    margin-bottom: 18px;
    font-size: clamp(1.5rem, 1.2rem + 1vw, 2.1rem);
    line-height: 1.15;
    color: var(--white);
    font-weight: 300;
}

.joinus-card h2::after {
    content: '';
    display: block;
    width: 58px;
    height: 1px;
    margin: 20px auto 0;
    background: var(--primary);
}

.joinus-card h1 {
    margin-bottom: 22px;
    font-size: 44px;
    line-height: 1.08;
    color: var(--white);
    font-weight: 300;
}

.joinus-card p {
    max-width: 410px;
    margin: 0 auto 28px;
    font-size: 1rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.85);
}

.joinus-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 34px;
    border: 1px solid var(--primary);
    background: var(--primary);
    color: var(--white);
    font-family: 'Manrope', sans-serif;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: var(--transition-smooth);
    cursor: pointer;
}

.joinus-btn:hover {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
    transform: translateY(-2px);
}

.joinus-btn i {
    font-size: 1.2rem;
    margin-right: 10px;
}

@media (max-width: 767px) {
    .joinus {
        --joinus-card-width: calc(100% - 24px);
        min-height: 80vh;
        padding: 80px 16px;
        background-position: center;
    }

    .joinus-card-bg {
        height: 330px;
    }

    .joinus-card {
        padding: 40px 24px;
    }

    .joinus-card p {
        font-size: 0.95rem;
        line-height: 1.7;
    }

    .joinus-btn {
        width: 100%;
    }
}

/* Footer Styles - Range Style */
.footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-image: url('../assets/footerbg.webp');
    background-size: cover;
    background-position: center;
    color: var(--white);
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    overflow: hidden;
    background-color: #001f2e;
    z-index: -1;
}

.footer::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60%;
    background: linear-gradient(to top, #0c182d 0%, #0c182d 30%, #0c182d 40%, transparent 100%);
    z-index: 1;
}

.footer-container {
    position: relative;
    z-index: 2;
    padding: 0 5vw 20px 5vw;
    /* 5vw horizontal padding as requested */
    width: 100%;
}

.footer-logo-img {
    max-width: 280px;
}

.brand-item {
    font-size: 0.85rem;
    color: #ffffff;
    font-weight: 400;
}

.footer-socials {
    display: flex;
    gap: 6px;
}

.footer-socials a {
    width: 22px;
    height: 22px;
    border: 0.5px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.6rem;
    color: #ffffff;
    transition: var(--transition-smooth);
}

.footer-socials a svg {
    width: 0.6rem;
    height: 0.6rem;
    fill: currentColor;
}

.footer-socials a:hover {
    background: #ffffff;
    color: #001f2e;
}

.footer-col-title {
    font-family: 'Manrope', sans-serif;
    font-size: 1rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 30px;
    color: #ffffff;
}

.footer-link-list li {
    margin-bottom: 10px;
}

ul.footer-link-list {
    margin-bottom: 0;
}

.footer-link-list a {
    font-size: 0.9rem;
    color: #ffffff;
    transition: var(--transition-smooth);
    font-weight: 400;
    opacity: 0.9;

}

.footer-link-list a:hover {
    opacity: 1;
    padding-left: 5px;
}

.footer-contact-info {
    font-size: 0.9rem;
    color: #ffffff;
    line-height: 1.8;
    font-weight: 400;
    opacity: 0.8;
}

.footer-contact-info a {
    color: #ffffff;
    text-decoration: none;
}

.footer-contact-info a:hover {
    text-decoration: underline;
}

.footer-bottom {
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
}

/* Floating Actions */
.footer-actions {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 100;
}

.action-btn {
    width: 55px;
    height: 55px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.3rem;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.action-btn:hover {
    background: var(--primary);
    border-color: var(--primary);
}

.chat-btn {
    background: #0ea5e9;
    border-color: #0ea5e9;
}