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

body {
    font-family: 'Open Sans', sans-serif;
    background-color: #ffffff;
    color: #333;
    line-height: 1.6;
}

.reservation-container {
    max-width: 1189px;
    margin: 0 auto;
    padding: 88px 20px;
}

.page-title {
    text-align: center;
    font-size: 36px;
    font-weight: 400;
    margin-bottom: 40px;
}

/* Tabs */
.tabs {
    display: flex;
    margin-bottom: 40px;
}

.tab-btn {
    flex: 1;
    padding: 16px 20px;
    background: none;
    border: none;
    font-size: 16px;
    font-weight: 400;
    cursor: pointer;
    color: #B1B1B1;
    border-bottom: 1px solid #B1B1B1;
    transition: all 0.3s ease;
}

.tab-btn.active {
    color: #997514;
    border-bottom: 1px solid #997514;
}

.tab-btn:hover {
    color: #997514;
}

/* Property Name */
.property-name {
    font-size: 24px;
    font-weight: 400;
    margin-bottom: 24px;
}

/* Form Styles */
.reservation-form {
    width: 100%;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 24px;
}

.form-row.guest-row {
    margin-bottom: 36px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-size: 16px;
    font-weight: 400;
    margin-bottom: 8px;
    color: #5E6366;
}

.guest-label {
    font-size: 16px;
    font-weight: 400;
    color: #514A4B;
    margin-bottom: 8px;
}

.required {
    color: #E80000;
}

.form-group input,
.form-group select {
    height: 52px;
}

.form-group input,
.form-group select {
    padding: 8px 16px;
    border: 1px solid #5E6366;
    border-radius: 8px;
    font-size: 16px;
    font-family: inherit;
    color: #5E6366;
    background-color: #fff;
    transition: border-color 0.3s ease;
}

.form-group textarea {
    padding: 8px 16px;
    border: 1px solid #CFD3D4;
    border-radius: 8px;
    font-size: 16px;
    font-family: inherit;
    color: #5E6366;
    background-color: #fff;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #997514;
}

.form-group input::placeholder {
    color: #5E6366;
}

/* Error Message */
.error-message {
    color: #E80000;
    font-size: 12px;
    margin-top: 4px;
    font-weight: 400;
    line-height: 1.4;
}

.form-group {
    position: relative;
}

/* Hide default browser validation messages */
input:invalid,
select:invalid,
textarea:invalid {
    box-shadow: none;
}

input:focus:invalid,
select:focus:invalid,
textarea:focus:invalid {
    box-shadow: none;
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23333' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 35px;
}

/* Two column layout for name fields */
.form-row:nth-child(2) {
    grid-template-columns: 1fr 1fr;
}

/* Two column layout for phone/email and country/passport */
.form-row:nth-child(3),
.form-row:nth-child(4) {
    grid-template-columns: 1fr 1fr;
}

/* Curated Section */
/* .curated-section {
    margin-top: 36px;
} */

.curated-section .section-title {
    margin-top: 36px;
}

.section-title {
    font-size: 24px;
    font-weight: 400;
    margin-bottom: 8px;
}

.section-description {
    font-size: 16px;
    font-weight: 400;
    color: #514A4B;
    margin-bottom: 24px;
}

.service-block {
    display: flex;
    flex-direction: column;
    gap: 16px;
    /* margin-bottom: 16px; */
    /* padding-bottom: 30px; */
    /* border-bottom: 1px solid #eee; */
}

.service-block.section-description {
    margin-bottom: 0px;
}

/* .service-block:last-child {
    border-bottom: none;
} */

.service-header {
    font-size: 16px;
    font-weight: 400;
    margin-bottom: 4px;
    color: #514A4B;
}

.service-description {
    font-size: 14px;
    font-weight: 400;
    color: #514A4B;
}

/* Price Display */
.form-group {
    position: relative;
}

.price-display {
    position: absolute;
    right: 45px;
    top: 48px;
    font-size: 16px;
    font-weight: 600;
    color: #514A4B;
    pointer-events: none;
}

/* Textarea */
textarea {
    resize: vertical;
    min-height: 100px;
}

/* Service Cards Grid */
.service-cards-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
}

.service-card {
    position: relative;
}

.service-checkbox {
    display: none;
}

.service-card-label {
    display: block;
    border: 1px solid #CFD3D4;
    border-radius: 4px;
    padding: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    height: 100%;
    background-color: #fff;
    position: relative;
}

.service-card-label:hover {
    border-color: #997514;
    box-shadow: 0 2px 8px rgba(153, 117, 20, 0.1);
}

.service-checkbox:checked+.service-card-label {
    border-color: #997514;
    border-width: 1px;
    background-color: #fff;
}

.service-checkbox+.service-card-label::before {
    content: '';
    position: absolute;
    top: 12px;
    left: 12px;
    width: 24px;
    height: 24px;
    background-color: #fff;
    border: 1px solid #CFD3D4;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}


.service-checkbox:checked+.service-card-label::before {
    content: '';
    position: absolute;
    top: 12px;
    left: 12px;
    width: 24px;
    height: 24px;
    background-color: #997514;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-checkbox:checked+.service-card-label::after {
    content: '';
    position: absolute;
    top: 16px;
    left: 21px;
    width: 5px;
    height: 11px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    z-index: 1;
}

.service-card-content {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.service-detail {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    padding-left: 32px;
}

.service-card-title {
    font-size: 16px;
    font-weight: 600;
    color: #514A4B;
    margin-bottom: 4px;
    line-height: 1.4;
}

.service-card-description {
    font-size: 12px;
    font-weight: 400;
    color: #514A4B;
    flex-grow: 1;
}

.service-card-price {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    margin-top: 16px;
}

.service-card-price .price-amount {
    font-size: 14px;
    font-weight: 600;
    color: #514A4B;
}

.service-card-price .price-unit {
    font-size: 12px;
    font-weight: 400;
    color: #666;
}

/* Exclusive Cards Grid */
.exclusive-cards-grid {
    grid-template-columns: repeat(4, 1fr);
}

.questions-block .section-title {
    margin-bottom: 0px;
}

.service-block.questions-block .form-group {
    margin-bottom: 20px;
}

/* Checkbox Group */
.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.checkbox-group input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 24px;
    height: 24px;
    border: 1px solid #CFD3D4;
    border-radius: 8px;
    cursor: pointer;
    flex-shrink: 0;
    position: relative;
    background-color: #fff;
    transition: all 0.3s ease;
}

.checkbox-group input[type="checkbox"]:checked {
    background-color: #997514;
    border-color: #997514;
}

.checkbox-group input[type="checkbox"]:checked::after {
    content: '';
    position: absolute;
    top: 3px;
    left: 8px;
    width: 5px;
    height: 10px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.checkbox-label {
    font-size: 14px;
    font-weight: 400;
    color: #514A4B;
    line-height: 1.6;
    cursor: pointer;
    margin: 0;
    padding-top: 2px;
}

.checkbox-label a {
    color: #514A4B;
    text-decoration: underline;
    transition: all 0.3s ease;
}

.checkbox-label a:hover {
    color: #997514;
}

.extra-charges {
    color: #666;
    font-style: italic;
}

.special-requests-textarea {
    min-height: 220px;
}

/* Form Actions */
.form-actions {
    margin-top: 40px;
    text-align: center;
}

.btn-enquire {
    padding: 24px 80px;
    background-color: #FFF;
    border: 1px solid #5E6366;
    color: #5E6366;
    font-size: 14px;
    font-weight: 400;
    cursor: pointer;
    border-radius: 40px;
    transition: all 0.3s ease;
}

.btn-enquire:hover {
    background-color: #997514;
    border-color: #997514;
    color: #fff;
}

.btn-enquire:active {
    transform: scale(0.98);
}

.btn-enquire:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    background-color: #f5f5f5;
    border-color: #ccc;
    color: #999;
}

.btn-enquire:disabled:hover {
    background-color: #f5f5f5;
    border-color: #ccc;
    color: #999;
    transform: none;
}

/* Loading Spinner */
.btn-enquire .spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid #999;
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin-right: 8px;
    vertical-align: middle;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.btn-enquire .button-text {
    vertical-align: middle;
}

/* Tab Content */
.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

/* Exclusive Offers */
.exclusive-offers {
    /* padding: 20px 0; */
}

.offer-card {
    /* background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 4px; */
    margin-bottom: 36px;
    overflow: hidden;
}

.offer-title {
    font-size: 24px;
    font-weight: 400;
    /* padding: 20px 25px; */
    /* margin: 0; */
    /* background-color: #fafafa; */
    /* border-bottom: 1px solid #e5e5e5; */
    color: #333333;
}

.offer-terms {
    /* padding: 25px; */
}

.terms-title {
    font-size: 16px;
    font-weight: 400;
    color: #514A4B;
    margin-top: 16px;
}

.terms-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.terms-list li {
    font-size: 14px;
    font-weight: 400;
    color: #514A4B;
    line-height: 24px;
    padding-left: 20px;
    position: relative;
}

.terms-list li:before {
    content: '•';
    position: absolute;
    left: 5px;
    color: #514A4B;
    font-weight: bold;
}

/* Responsive Design */
@media all and (max-width: 1200px) {
    .service-cards-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .reservation-container {
        padding: 20px 15px;
    }

    .page-title {
        font-size: 24px;
        margin-bottom: 30px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .form-row:nth-child(2),
    .form-row:nth-child(3),
    .form-row:nth-child(4) {
        grid-template-columns: 1fr;
    }

    .tabs {
        flex-direction: column;
    }

    .tab-btn {
        border-bottom: 1px solid #eee;
    }

    .tab-btn.active {
        border-left: 3px solid #997514;
        border-bottom: 1px solid #eee;
    }

    .price-display {
        position: static;
        margin-top: 5px;
        text-align: right;
    }

    .service-cards-grid {
        grid-template-columns: 1fr;
    }

    .exclusive-cards-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .page-title {
        font-size: 20px;
        letter-spacing: 2px;
    }

    .tab-btn {
        font-size: 12px;
        padding: 12px 15px;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        font-size: 13px;
        padding: 10px 12px;
    }
}