/* Voucher Booking Landing Page Styles */

:root {
    --primary-color: #a0d9d9;
    --primary-dark: #8cc3c3;
    --secondary-color: #2d586c;
    --secondary-light: #3d728a;
    --text-main: #2d586c;
    --text-body: #555555;
    --bg-light: #f4f9f9;
    --white: #ffffff;
    --shadow-soft: 0 10px 40px rgba(45, 88, 108, 0.08);
    --radius: 12px;
}

.vcv2-booking-container {
    font-family: 'Montserrat', sans-serif;
    color: var(--text-body);
    background-color: var(--bg-light);
    min-height: 100vh;
    padding-bottom: 80px;
    width: 100%;
    /* Full Width */
    max-width: 100%;
    margin: 0;
    box-sizing: border-box;
}

.vcv2-booking-container * {
    box-sizing: border-box;
}

.vcv2-booking-wrapper {
    width: 100%;
    max-width: 1400px;
    /* Increased max-width for better landing feel */
    margin: 0 auto;
    padding: 0 30px;
}

/* Typography */
h1,
h2,
h3,
h4,
h5 {
    font-weight: 700;
    color: var(--secondary-color);
    margin-top: 0;
}

/* Hero Section */
.vcv2-booking-header {
    text-align: center;
    padding: 60px 0 40px;
}

.vcv2-booking-title {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: var(--secondary-color);
}

.vcv2-booking-subtitle {
    font-size: 1.1rem;
    color: var(--text-main);
    opacity: 0.8;
}

/* Step Indicator */
.vcv2-booking-progress {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 50px;
    position: relative;
    z-index: 1;
}

.vcv2-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
    opacity: 0.6;
    transition: opacity 0.3s;
    margin: 0 30px;
}

.vcv2-step.active {
    opacity: 1;
}

.vcv2-step.clickable {
    cursor: pointer;
    /* Clickable Steps */
}

.vcv2-step.clickable:hover {
    opacity: 1;
}

.vcv2-step-num {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: var(--white);
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    margin-bottom: 8px;
    transition: all 0.3s;
}

.vcv2-step.active .vcv2-step-num {
    background-color: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

.vcv2-step-text {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--secondary-color);
}

.vcv2-step-line {
    width: 80px;
    height: 2px;
    background-color: #e0e0e0;
    margin: 0 10px 24px;
    display: none;
}

/* Buttons */
button {
    font-family: 'Montserrat', sans-serif;
    cursor: pointer;
}

.vcv2-back-btn-link {
    background: none;
    border: none;
    color: var(--text-body);
    font-size: 0.9rem;
    text-decoration: underline;
    padding: 10px;
}

.vcv2-back-btn-link:hover {
    color: var(--secondary-color);
}

/* Steps Container */
.vcv2-booking-step {
    display: none;
    animation: fadeIn 0.5s ease;
}

.vcv2-booking-step.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.vcv2-section-title {
    font-size: 1.8rem;
    text-align: center;
    margin-bottom: 1rem;
}

.vcv2-section-subtitle {
    text-align: center;
    margin-bottom: 30px;
    color: var(--text-body);
}

.vcv2-step-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.vcv2-step-header .vcv2-section-title {
    text-align: left;
    margin-bottom: 5px;
}

.vcv2-step-header .vcv2-section-subtitle {
    text-align: left;
    margin-bottom: 0;
}

/* Step 1: Night Grid */
.vcv2-night-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.vcv2-night-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    width: 220px;
    box-shadow: var(--shadow-soft);
    border: 2px solid transparent;
    transition: all 0.3s;
    cursor: pointer;
}

.vcv2-night-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(45, 88, 108, 0.15);
}

.vcv2-night-card.selected {
    border-color: var(--secondary-color);
}

.vcv2-night-content {
    padding: 40px 20px;
    text-align: center;
    background: linear-gradient(135deg, var(--white) 0%, #fefefe 100%);
}

.vcv2-night-value {
    display: block;
    font-size: 4rem;
    line-height: 1;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.vcv2-night-label {
    font-size: 1.2rem;
    color: var(--secondary-color);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.vcv2-night-footer {
    background-color: var(--secondary-color);
    color: var(--white);
    text-align: center;
    padding: 15px;
    font-weight: 600;
    transition: background 0.3s;
}

.vcv2-night-card:hover .vcv2-night-footer {
    background-color: var(--secondary-light);
}

/* Step 2: Room Grid - Landing Style (Desktop 2 Columns) */
.vcv2-room-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    /* 2 Columns on Desktop */
    gap: 30px;
}

.vcv2-room-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    display: flex;
    flex-direction: column;
    /* Stack vertically inside grid item */
    height: 100%;
}

.vcv2-room-image {
    width: 100%;
    height: 250px;
    position: relative;
    overflow: hidden;
}

.vcv2-room-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s;
}

.vcv2-room-card:hover .vcv2-room-image img {
    transform: scale(1.05);
    /* Subtle zoom */
}

.vcv2-room-details {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.vcv2-room-header-row {
    margin-bottom: 5px;
}

.vcv2-room-name {
    font-size: 1.4rem;
    color: var(--secondary-color);
    margin-bottom: 5px;
    line-height: 1.3;
}

.vcv2-room-price-tag {
    margin: 10px 0 15px;
}

.vcv2-price-value {
    display: block;
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--primary-color);
}

.vcv2-price-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    color: var(--text-body);
}

.vcv2-room-desc {
    color: var(--text-body);
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.vcv2-room-inclusions {
    background-color: #f0f7f7;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    flex-grow: 1;
    /* Pushes button down */
}

.vcv2-inclusions-title {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
    color: var(--secondary-color);
}

/* Inclusions List */
.vcv2-inclusions-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr;
    /* Single column in card usually looks better */
    gap: 6px;
}

.vcv2-inclusions-list li {
    font-size: 0.9rem;
    color: var(--text-main);
    display: flex;
    align-items: flex-start;
}

/* Mobile Toggle for Inclusions */
.vcv2-show-inclusions-btn {
    display: none;
    /* Hidden on Desktop */
    background: none;
    border: none;
    color: var(--primary-color);
    font-size: 0.85rem;
    margin-top: 10px;
    text-decoration: underline;
    padding: 0;
    cursor: pointer;
}

.vcv2-select-btn {
    background-color: var(--secondary-color);
    color: var(--white);
    border: none;
    padding: 15px;
    width: 100%;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1rem;
    transition: background 0.3s;
    margin-top: auto;
}

.vcv2-select-btn:hover {
    background-color: var(--secondary-light);
}

/* Step 3: Form & Summary */
.vcv2-summary-card {
    background: var(--secondary-color);
    color: var(--white);
    padding: 30px;
    border-radius: var(--radius);
    margin-bottom: 40px;
    box-shadow: var(--shadow-soft);
}

.vcv2-summary-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    margin-bottom: 20px;
    padding-bottom: 10px;
    flex-wrap: wrap;
    gap: 10px;
}

.vcv2-summary-card h3 {
    color: var(--white);
    margin: 0;
    border: none;
    padding: 0;
}

.vcv2-toggle-details-btn {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: var(--white);
    font-size: 0.85rem;
    padding: 5px 12px;
    border-radius: 15px;
    cursor: pointer;
    transition: background 0.2s;
}

.vcv2-toggle-details-btn:hover {
    background: rgba(255, 255, 255, 0.3);
}

.vcv2-summary-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.vcv2-summary-item {
    display: flex;
    flex-direction: column;
}

.vcv2-summary-item .label {
    font-size: 0.8rem;
    opacity: 0.8;
    margin-bottom: 4px;
    text-transform: uppercase;
}

.vcv2-summary-item .value {
    font-size: 1.1rem;
    font-weight: 700;
}

.vcv2-summary-details {
    color: var(--white);
    font-size: 0.9rem;
    margin-top: 20px;
    animation: fadeIn 0.3s;
}

.vcv2-summary-divider {
    border: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    margin: 15px 0;
}

.vcv2-summary-details h5 {
    color: var(--white);
    margin-bottom: 10px;
    font-size: 1rem;
}

.vcv2-summary-details ul {
    padding-left: 20px;
    margin: 0;
}

.vcv2-summary-details li {
    margin-bottom: 5px;
}

/* FORM STYLES - NEWLY ADDED */
.vcv2-form-card {
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
}

.vcv2-form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    /* 2 Columns */
    gap: 20px;
    margin-bottom: 30px;
}

.vcv2-form-group {
    display: flex;
    flex-direction: column;
}

.vcv2-form-group.full-width {
    grid-column: 1 / -1;
}

.vcv2-form-group label {
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.vcv2-form-group input[type="text"],
.vcv2-form-group input[type="email"],
.vcv2-form-group input[type="date"],
.vcv2-form-group input[type="tel"],
.vcv2-form-group select,
.vcv2-form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    color: #333;
    transition: border-color 0.3s;
    background: #fff;
    box-sizing: border-box;
    /* Critical for grid */
}

.vcv2-form-group input:focus,
.vcv2-form-group select:focus,
.vcv2-form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(160, 217, 217, 0.2);
}

.vcv2-phone-group {
    display: flex;
    gap: 10px;
    align-items: center;
}

/* Increase specificity to override .form-group select/input width: 100% */
.vcv2-phone-group select {
    width: 130px !important;
    /* Fixed width for country code, override generic 100% */
    flex: 0 0 auto;
    /* Don't grow or shrink */
}

.vcv2-phone-group input {
    width: auto !important;
    /* Override generic 100% */
    flex: 1 1 auto;
    /* Fill remaining space */
    min-width: 0;
    /* Allow shrinking in flex container */
}

.vcv2-form-actions {
    text-align: center;
    margin-top: 20px;
}

.vcv2-submit-btn {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    font-weight: 800;
    font-size: 1.1rem;
    padding: 16px 40px;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(160, 217, 217, 0.4);
    min-width: 250px;
}

.vcv2-submit-btn:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(160, 217, 217, 0.5);
}

.vcv2-submit-btn:disabled {
    background-color: #ccc;
    color: #888;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Checkout Disclaimer */
.vcv2-checkout-disclaimer {
    font-size: 0.75rem;
    color: #888;
    background: #fdfdfd;
    border: 1px solid #eee;
    padding: 10px;
    border-radius: 6px;
    margin-top: 15px;
    font-style: italic;
    line-height: 1.4;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Confirmation Modal */
.vcv2-confirmation-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(45, 88, 108, 0.9);
    z-index: 1000;
    display: none;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.vcv2-confirmation-overlay.active {
    display: flex;
    animation: fadeIn 0.3s;
}

.vcv2-confirmation-content {
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    max-width: 500px;
    width: 100%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.vcv2-confirmation-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.vcv2-confirmation-content h3 {
    margin-bottom: 15px;
    font-size: 1.5rem;
}

/* Responsive Logic */
@media (max-width: 900px) {
    .vcv2-room-grid {
        grid-template-columns: 1fr;
        /* 1 Column on Mobile/Tablet */
    }

    .vcv2-room-card {
        flex-direction: column;
        /* Ensure vertical stack */
    }

    .vcv2-room-image {
        height: 220px;
    }

    .vcv2-form-grid {
        grid-template-columns: 1fr;
        /* Stack form fields on mobile */
    }

    .vcv2-summary-card .vcv2-summary-grid {
        grid-template-columns: 1fr;
        /* Stack summary items */
    }

    .vcv2-booking-wrapper {
        padding: 0 15px;
    }

    /* Mobile Inclusions Toggle Logic */
    .mobile-only {
        display: inline-block;
    }

    /* Initially hide items after the 3rd one on mobile if we want strict collapsing */
    .vcv2-inclusions-list.collapsed li:nth-child(n+5) {
        display: none;
    }
}