/* =====================
   Password Gate
   ===================== */
.password-gate {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
}

.password-container {
    text-align: center;
    padding: 3rem 2rem;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    max-width: 400px;
    width: 90%;
}

.password-container h1 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: #333;
}

.password-container p {
    color: #666;
    margin-bottom: 2rem;
    font-size: 1rem;
}

#password-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

#password-input {
    width: 100%;
    padding: 1rem;
    font-size: 2rem;
    text-align: center;
    letter-spacing: 0.5rem;
    border: 2px solid #ddd;
    border-radius: 4px;
    font-family: 'Lato', sans-serif;
    transition: border-color 0.3s ease;
}

#password-input:focus {
    outline: none;
    border-color: #333;
}

#password-form button {
    background-color: #000;
    color: #fff;
    border: none;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-family: 'Lato', sans-serif;
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

#password-form button:hover {
    background-color: #222;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

#password-form button:disabled {
    background-color: #ccc;
    cursor: not-allowed;
    transform: none;
}

.password-error {
    color: #d32f2f;
    font-size: 0.9rem;
    margin: 0;
    min-height: 1.2rem;
}

/* Honeypot field (hidden from humans) */
.honeypot {
    position: absolute !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

/* =====================
   Reset & Base Styles
   ===================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Lato', sans-serif;
    font-weight: 300;
    line-height: 1.7;
    color: #333;
    background-color: #fff;
    margin: 0;
    padding: 0;
}

h1, h2, h3 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    line-height: 1.3;
}

h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    text-align: center;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

p {
    margin-bottom: 1rem;
}

section {
    padding: 5rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* =====================
   Hero Section
   ===================== */
.hero {
    position: relative;
    width: 100%;
    min-height: 95vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin: 0 auto;
    max-width: none;
}

.hero-image-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

.hero-image {
    width: 100%;
    height: 120%;
    min-width: 100%;
    object-fit: cover;
    display: block;
    position: absolute;
    top: -10%;
    left: 0;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.3) 0%,
        rgba(0, 0, 0, 0.4) 50%,
        rgba(0, 0, 0, 0.5) 100%
    );
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    padding: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.hero-content h1 {
    color: #fff;
    font-size: 4rem;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
}

.hero-content .subtitle {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #fff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    font-weight: 300;
}

.hero-content .description {
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.cta-button {
    background-color: #fff;
    color: #000;
    border: none;
    padding: 1.1rem 3rem;
    font-size: 1rem;
    font-family: 'Lato', sans-serif;
    font-weight: 400;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    border-radius: 2px;
}

.cta-button:hover {
    background-color: #f5f5f5;
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(0, 0, 0, 0.4);
}

/* =====================
   The Plan Section
   ===================== */
.plan-section {
    background-color: #fafafa;
}

.plan-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    margin-top: 2rem;
}

.plan-card {
    background-color: #fff;
    overflow: hidden;
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.plan-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.plan-image-container {
    width: 100%;
    height: 250px;
    overflow: hidden;
    border-radius: 8px 8px 0 0;
    position: relative;
}

.plan-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px 8px 0 0;
    transition: transform 0.4s ease;
}

.plan-card:hover .plan-image {
    transform: scale(1.08);
}

.plan-card h3 {
    margin: 1.5rem 1.5rem 0.5rem;
}

.plan-card .date {
    font-size: 0.9rem;
    color: #888;
    margin: 0 1.5rem 1rem;
    font-weight: 400;
}

.plan-card .description {
    margin: 0 1.5rem 1.5rem;
    font-size: 0.95rem;
    color: #555;
    line-height: 1.6;
}

/* =====================
   Flights & Accommodation Section
   ===================== */
.info-section {
    padding: 5rem 2rem;
}

.info-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.info-text h2 {
    text-align: left;
    margin-bottom: 2rem;
}

.info-text h3 {
    margin-top: 1.5rem;
    margin-bottom: 0.8rem;
    font-size: 1.2rem;
}

.info-text h3:first-of-type {
    margin-top: 0;
}

.info-text p {
    color: #555;
    line-height: 1.8;
}

.info-image-container {
    width: 100%;
    height: 500px;
    overflow: hidden;
    border-radius: 8px;
}

.info-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* =====================
   Pre-Form & Form Section
   ===================== */
.pre-form-section {
    padding: 4rem 2rem 2rem;
}

.pre-form-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.pre-form-content h2 {
    margin-bottom: 1.5rem;
}

.pre-form-content p {
    font-size: 1rem;
    color: #555;
    line-height: 1.8;
}

.form-section {
    padding: 2rem 2rem 4rem;
}

form {
    max-width: 500px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
    color: #333;
    font-weight: 400;
}

.form-group input {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    background-color: #f5f5f5;
    font-size: 1rem;
    font-family: 'Lato', sans-serif;
    transition: all 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: #999;
    background-color: #fff;
}

.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    background-color: #f5f5f5;
    font-size: 1rem;
    font-family: 'Lato', sans-serif;
    transition: all 0.3s ease;
    resize: vertical;
    min-height: 80px;
}

.form-group textarea:focus {
    outline: none;
    border-color: #999;
    background-color: #fff;
}

.submit-button {
    background-color: #000;
    color: #fff;
    border: none;
    padding: 0.9rem 2.5rem;
    font-size: 1rem;
    font-family: 'Lato', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.submit-button:hover {
    background-color: #222;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

/* =====================
   Modal Styles
   ===================== */
.modal {
    display: none;
}

.modal.is-open {
    display: block;
}

.modal__overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    backdrop-filter: blur(5px);
}

.modal__container {
    background-color: #fff;
    padding: 0;
    max-width: 550px;
    max-height: 90vh;
    width: 90%;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    position: relative;
    display: flex;
    flex-direction: column;
}

.modal__header {
    padding: 2rem 2rem 1rem;
    position: relative;
    flex-shrink: 0;
}

.modal__title {
    margin: 0;
    font-size: 2rem;
    font-family: 'Playfair Display', serif;
}

.modal__close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    transition: opacity 0.3s ease;
    opacity: 0.6;
}

.modal__close:hover {
    opacity: 1;
}

.modal__close::before,
.modal__close::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 2px;
    background-color: #333;
    transition: background-color 0.3s ease;
}

.modal__close::before {
    transform: translate(-50%, -50%) rotate(45deg);
}

.modal__close::after {
    transform: translate(-50%, -50%) rotate(-45deg);
}

.modal__content {
    padding: 0 2rem 2rem;
    overflow-y: auto;
    flex: 1;
}

.modal__content p {
    color: #555;
    margin-bottom: 2rem;
}

.modal__content form {
    max-width: 100%;
}

/* Modal Animations */
@keyframes mmfadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes mmfadeOut {
    from { opacity: 1; }
    to { opacity: 0; }
}

@keyframes mmslideIn {
    from { transform: translateY(20%); }
    to { transform: translateY(0); }
}

@keyframes mmslideOut {
    from { transform: translateY(0); }
    to { transform: translateY(-20%); }
}

.micromodal-slide {
    display: none;
}

.micromodal-slide.is-open {
    display: block;
}

.micromodal-slide[aria-hidden="false"] .modal__overlay {
    animation: mmfadeIn 0.3s cubic-bezier(0.0, 0.0, 0.2, 1);
}

.micromodal-slide[aria-hidden="false"] .modal__container {
    animation: mmslideIn 0.3s cubic-bezier(0, 0, 0.2, 1);
}

.micromodal-slide[aria-hidden="true"] .modal__overlay {
    animation: mmfadeOut 0.3s cubic-bezier(0.0, 0.0, 0.2, 1);
}

.micromodal-slide[aria-hidden="true"] .modal__container {
    animation: mmslideOut 0.3s cubic-bezier(0, 0, 0.2, 1);
}

.parallax-image {
    will-change: transform;
}

/* =====================
   Responsive Design
   ===================== */
@media (max-width: 768px) {
    h1 {
        font-size: 2.2rem;
    }

    h2 {
        font-size: 2rem;
    }

    .hero {
        min-height: 70vh;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content .subtitle {
        font-size: 1.1rem;
    }

    .hero-content .description {
        font-size: 1rem;
    }

    section {
        padding: 3rem 1.5rem;
    }

    .plan-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .info-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

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

    .info-image-container {
        height: 350px;
    }

    .modal__container {
        width: 95%;
        max-height: 85vh;
    }

    .modal__header {
        padding: 1.5rem 1.5rem 1rem;
    }

    .modal__content {
        padding: 0 1.5rem 1.5rem;
    }

    .modal__title {
        font-size: 1.6rem;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 1.8rem;
    }

    h2 {
        font-size: 1.6rem;
    }

    .hero {
        min-height: 60vh;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content .subtitle {
        font-size: 1rem;
    }

    .hero-content .description {
        font-size: 0.95rem;
    }

    .cta-button,
    .submit-button {
        padding: 0.9rem 2rem;
        font-size: 0.95rem;
    }
}

/* =====================
   Success Message
   ===================== */
.success-message {
    background-color: #d4edda;
    color: #155724;
    padding: 1rem;
    border-radius: 4px;
    margin-bottom: 1rem;
    text-align: center;
    display: none;
}

.success-message.show {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
