/* Styles specifically for the WordPress version of the site */

/* Contact Form 7 styling to resemble Bootstrap layout */
.wpcf7-form {
    max-width: 900px;
    margin: 0 auto;
}

.wpcf7-form p {
    margin-bottom: 1.5rem;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.wpcf7-form label {
    width: 100%;
    font-weight: 500;
    font-size: 1rem;
    color: #333;
}

.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form input[type="number"],
.wpcf7-form input[type="date"],
.wpcf7-form select,
.wpcf7-form textarea {
    width: 100%;
    padding: 0.5rem 0.75rem;
    font-size: 1rem;
    border: 1px solid #ced4da;
    border-radius: 0.375rem;
    background-color: #fff;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.wpcf7-form input:focus,
.wpcf7-form select:focus,
.wpcf7-form textarea:focus {
    border-color: #86b7fe;
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25);
}

/* Layout: simulate Bootstrap's row/column behavior */
.wpcf7-form label {
    flex: 1 1 48%;
}

/* Force textarea and its label to span full width */
.wpcf7-form textarea,
.wpcf7-form label textarea,
.wpcf7-form label:has(textarea) {
    flex: 1 1 100% !important;
    width: 100% !important;
}

/* Submit button styling */
.wpcf7-form input[type="submit"] {
    margin-top: 8px;
    padding: 10px 20px;
    font-size: 1.125rem;
    background-color: #2c3e50;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    display: block;
    margin-left: auto;
    margin-right: auto;
}


/* Responsive fix */
@media (max-width: 768px) {
    .wpcf7-form label {
        flex: 1 1 100%;
    }
}


/* Format h styles so don't skip h hierarchy */

.attractions-page {
    
    h3.card-title {
        font-size: 1.25rem;
    }

}

.spa-page {

    h3.card-title {
        font-size: 1.5rem;
    }

    .amenity-item h3 {
        font-size: 1.5rem;
    }

}

.facilities-page {

    .facility-feature h3 {
        font-size: 1.5rem;
    }

    h3.facility-q {
        font-size: 1.25rem;
    }

}

.dining-page {

    .facility-feature h3 {
        font-size: 1.5rem;
    }

    h3.facility-q {
        font-size: 1.25rem;
    }

}

/* Home page fixes */

figure.home-dining-card img {
    height: 100% !important;
}

.image-fluid {
  max-width: 100%;
  height: auto;
}


