/* ==========================================================================
   LANDING NUEVA - INVICTUS HOTELS
   ========================================================================== */

/* --- CSS Variables --- */
:root {
    /* Colors */
    --clr-primary-dark: #2C3525;     /* Olive green */
    --clr-primary-darker: #1A2114;   /* Darker olive */
    --clr-accent-gold: #B69E66;      /* Muted Gold accent */
    --clr-accent-gold-hover: #C5B07C;
    --clr-bg-light: #F7F6F2;         /* Cream/light gray */
    --clr-white: #FFFFFF;
    --clr-text-main: #333333;
    --clr-text-muted: #666666;
    
    /* Typography */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
    
    /* Layout */
    --max-width: 1200px;
    --container-px: 2rem;
    --section-py: 5rem;
}

/* --- Resets & Base --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    color: var(--clr-text-main);
    background-color: var(--clr-white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 500;
    line-height: 1.2;
    color: var(--clr-primary-dark);
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

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

/* --- Layout Utilities --- */
.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--container-px);
}

.section {
    padding: var(--section-py) 0;
}

.bg-light { background-color: var(--clr-bg-light); }
.bg-dark { background-color: var(--clr-primary-darker); color: var(--clr-white); }
.bg-dark h2, .bg-dark h3 { color: var(--clr-white); }

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

/* --- Components --- */

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 2rem;
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-gold {
    background-color: var(--clr-accent-gold);
    color: var(--clr-white);
}

.btn-gold:hover {
    background-color: var(--clr-accent-gold-hover);
}

.btn-outline-gold {
    background-color: transparent;
    border: 1px solid var(--clr-accent-gold);
    color: var(--clr-accent-gold);
}

.btn-outline-gold:hover {
    background-color: var(--clr-accent-gold);
    color: var(--clr-white);
}

.btn-dark {
    background-color: var(--clr-primary-dark);
    color: var(--clr-white);
}

.btn-dark:hover {
    background-color: #2a3e2f;
}

/* Section Titles */
.sec-title-wrapper {
    margin-bottom: 3rem;
}

.sec-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.sec-subtitle {
    font-size: 1.1rem;
    color: var(--clr-text-muted);
}

/* --- Navbar --- */
.site-header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 1.5rem 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0) 100%);
    color: var(--clr-white);
}

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

.site-logo img {
    height: 40px;
}

.main-nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
}

.main-nav a {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.main-nav a:hover {
    color: var(--clr-accent-gold);
}

/* --- Hero Section --- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: var(--clr-white);
    padding-top: 100px; /* Space for navbar */
}

/* Overlay gradient */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.3) 100%);
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.hero-content {
    max-width: 600px;
    margin-top: auto;
    margin-bottom: 4rem;
}

.hero-pretitle {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
    display: block;
}

.hero-title {
    font-size: 3.5rem;
    color: var(--clr-white);
    margin-bottom: 1.5rem;
    font-weight: 400;
}

.hero-title .text-gold {
    color: var(--clr-accent-gold);
}

.hero-desc {
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
}

/* Hero Bottom Bar */
.hero-bottom-bar {
    margin-top: auto;
    border-top: 1px solid rgba(255,255,255,0.2);
    padding: 2rem 0;
}

.hero-features {
    display: flex;
    flex-wrap: wrap;
    gap: 4rem; /* Espaciado fijo para que estén más juntitos en vez de esparcidos */
}

.hero-feature-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.hero-feature-icon svg {
    width: 24px;
    height: 24px;
    stroke: var(--clr-accent-gold);
}

.hero-feature-text {
    font-size: 0.9rem;
    font-weight: 500;
}

/* --- Secciones --- */
/* (To be implemented dynamically or next step) */

/* --- Countdown y Lanzamiento --- */
.countdown-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: nowrap;
}
.cd-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #fff;
    border: 1px solid rgba(201,168,76,0.3);
    border-radius: 8px;
    width: 70px;
    height: 70px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.02);
}
.cd-box span {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 800;
    color: #111;
    line-height: 1;
}
.cd-box small {
    font-size: 0.7rem;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 0.2rem;
}
.cd-sep {
    font-size: 2rem;
    font-weight: 700;
    color: var(--clr-accent-gold);
    margin: 0 0.2rem;
    line-height: 1;
}
@media (max-width: 400px) {
    .countdown-wrapper { gap: 0.2rem; }
    .cd-box { width: 55px; height: 55px; }
    .cd-box span { font-size: 1.3rem; }
    .cd-box small { font-size: 0.55rem; }
    .cd-sep { font-size: 1.5rem; }
}

/* Mobile Navigation Toggle */
.mobile-nav-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    line-height: 1;
    padding: 0.5rem;
}

/* --- Media Queries --- */
@media (max-width: 992px) {
    .main-nav {
        display: block;
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 350px;
        height: 100vh;
        background-color: var(--clr-primary-darker);
        padding: 5rem 2rem 2rem;
        z-index: 1000;
        transition: right 0.4s ease;
        box-shadow: -5px 0 20px rgba(0,0,0,0.5);
    }
    
    .main-nav.is-open {
        right: 0;
    }

    .main-nav ul {
        flex-direction: column;
        align-items: flex-start;
        gap: 2.5rem;
    }

    .main-nav a {
        font-size: 1.2rem;
    }

    .menu-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0,0,0,0.6);
        z-index: 999;
        display: block;
        opacity: 0;
        visibility: hidden;
        transition: all 0.4s ease;
    }

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

    .site-header .btn { display: none; }
    .mobile-nav-toggle { display: block; z-index: 1001; position: relative; }
    
    .hero-title { font-size: 2.8rem; }
    .hero-features { gap: 2rem; }
}

@media (max-width: 768px) {
    .hero-title { font-size: 2.2rem; }
    .hero-features { flex-direction: row; flex-wrap: nowrap; justify-content: space-between; gap: 0.5rem; align-items: flex-start; }
    .hero-feature-item { flex-direction: column; align-items: center; text-align: center; gap: 0.5rem; flex: 1; }
    .hero-feature-text { font-size: 0.75rem; line-height: 1.2; }
    .hide-mobile { display: none; }
}
