/* Configuracion Base: Minimalismo Natural */
:root {
    --p-bg: #f3f4f6;
    --p-card-bg: #ffffff;
    --p-text: #2f3640;
    --p-accent: #274439;
    /* Deep Green */
    --p-gold: #c5a365;
    --p-font-display: 'Cinzel', serif;
    --p-font-body: 'Lato', sans-serif;
}

body {
    margin: 0;
    padding: 0;
    font-family: var(--p-font-body);
    background-color: var(--p-bg);
    color: var(--p-text);
}

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

/* Navbar Transparent/Solid transition usually, but we stick to solid for simplicity in this new page */
.navbar {
    background: #fff;
    padding: 20px 0;
    position: relative;
    z-index: 100;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--p-font-display);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--p-accent);
    letter-spacing: 1px;
}

.logo-accent {
    color: var(--p-gold);
}

.nav-links {
    display: flex;
    gap: 30px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links a.active {
    border-bottom: 2px solid var(--p-accent);
}

/* Header Video/Cinematic */
.header-paquetes {
    height: 70vh;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
}

.header-video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 100%;
    min-height: 100%;
    z-index: 0;
    object-fit: cover;
}

.header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(20, 40, 30, 0.4);
    /* Dark Green Tint */
    z-index: 1;
}

.header-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 20px;
}

.subtitle-hero {
    display: block;
    font-family: var(--p-font-body);
    text-transform: uppercase;
    letter-spacing: 4px;
    font-size: 0.9rem;
    margin-bottom: 20px;
    color: #e0e0e0;
}

.title-hero {
    font-family: var(--p-font-display);
    font-size: 4rem;
    margin: 0 0 20px 0;
    line-height: 1.2;
}

/* Animations */
.fade-in {
    animation: fadeIn 1.5s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Main Content Grid */
.main-content {
    padding: 80px 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.packages-layout {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 60px;
}

@media(max-width: 768px) {
    .packages-layout {
        grid-template-columns: 1fr;
    }

    .title-hero {
        font-size: 2.5rem;
    }
}

.package-card {
    background: var(--p-card-bg);
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.4s ease;
    opacity: 0;
    /* for scroll reveal */
    transform: translateY(40px);
}

.package-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.package-card:hover {
    transform: translateY(-10px);
}

.card-visual {
    height: 350px;
    position: relative;
    overflow: hidden;
}

.card-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.package-card:hover .card-visual img {
    transform: scale(1.1);
}

.card-price {
    position: absolute;
    bottom: 0;
    right: 0;
    background: var(--p-accent);
    color: #fff;
    padding: 15px 30px;
    text-align: right;
}

.card-price span {
    font-size: 0.8rem;
    display: block;
    opacity: 0.8;
}

.card-price h3 {
    margin: 0;
    font-family: var(--p-font-display);
    font-size: 1.5rem;
}

.card-info {
    padding: 40px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.card-info h2 {
    font-family: var(--p-font-display);
    color: var(--p-accent);
    margin: 0 0 20px 0;
    font-size: 2rem;
}

.features {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.features span {
    font-size: 0.85rem;
    color: #7f8c8d;
    border: 1px solid #dcdde1;
    padding: 5px 10px;
    border-radius: 4px;
}

.description {
    line-height: 1.8;
    color: #636e72;
    margin-bottom: 30px;
    flex: 1;
}

.btn-details {
    background: transparent;
    border: 2px solid var(--p-accent);
    color: var(--p-accent);
    padding: 15px;
    text-align: center;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    transition: 0.3s;
    display: block;
    width: 100%;
}

.btn-details:hover {
    background: var(--p-accent);
    color: #fff;
}

/* Footer Minimal */
.footer-p {
    background: #1e1e1e;
    color: #7f8c8d;
    text-align: center;
    padding: 60px 0;
    font-size: 0.9rem;
}

.footer-links {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    gap: 30px;
}

.footer-links a:hover {
    color: #fff;
}

/* Modal Styling - Premium Layout */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(30, 40, 35, 0.9);
    z-index: 2000;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: 0.4s ease;
}

.modal.active {
    display: flex;
    opacity: 1;
}

.modal-content-p {
    background: #fff;
    max-width: 900px;
    width: 95%;
    display: flex;
    position: relative;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
}

.close-btn-p {
    position: absolute;
    top: 15px;
    right: 20px;
    background: transparent;
    border: none;
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
    z-index: 10;
    color: var(--p-accent);
}

.modal-grid {
    display: flex;
    width: 100%;
}

.modal-img-p {
    width: 50%;
    max-height: 500px;
}

.modal-img-p img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.modal-info-p {
    width: 50%;
    padding: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.modal-subtitle {
    text-transform: uppercase;
    color: #999;
    font-size: 0.8rem;
    letter-spacing: 2px;
    margin-bottom: 5px;
}

.modal-info-p h2 {
    font-family: var(--p-font-display);
    color: var(--p-accent);
    font-size: 2.5rem;
    margin: 0;
}

.modal-divider {
    width: 50px;
    height: 3px;
    background: var(--p-gold);
    margin: 20px 0;
}

.modal-price-p {
    font-size: 2rem;
    color: #2f3640;
    margin-bottom: 20px;
    font-weight: 300;
}

.modal-desc {
    color: #636e72;
    margin-bottom: 30px;
    line-height: 1.6;
}

.btn-book-p {
    background: var(--p-accent);
    color: #fff;
    padding: 18px;
    text-align: center;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
    transition: 0.3s;
}

.btn-book-p:hover {
    background: #1a2e26;
}

@media(max-width: 768px) {
    .modal-content-p {
        flex-direction: column;
        max-height: 90vh;
        overflow-y: auto;
    }

    .modal-grid {
        flex-direction: column;
    }

    .modal-img-p,
    .modal-info-p {
        width: 100%;
    }

    .modal-img-p {
        height: 200px;
    }

    .modal-info-p {
        padding: 30px;
    }
}