/*
=====================================================
            MJ EVENTS & DESIGNS
     Premium Booking System Styling (book.css)
=====================================================
*/

/* Layout Containers */
.booking-layout-wrapper {
    padding: 140px 0 100px 0;
    background-color: #fcfcfc;
    min-height: 100vh;
}

.booking-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Page Headers */
.booking-intro {
    margin-bottom: 50px;
    text-align: center;
}

.booking-eyebrow {
    font-family: 'Poppins', sans-serif;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: #2f5e44; /* Brand signature tone */
    font-weight: 600;
    display: block;
    margin-bottom: 12px;
}

.booking-intro h1 {
    font-family: 'Playfair Display', serif;
    font-size: 2.8rem;
    color: #121212;
    margin: 0 0 16px 0;
}

.booking-intro p {
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    color: #555555;
    line-height: 1.6;
    max-width: 620px;
    margin: 0 auto;
}

/* Premium Form Elements */
.booking-form-card {
    background: #ffffff;
    border: 1px solid #eaeaea;
    border-radius: 16px;
    padding: 50px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.02);
}

.form-section-group {
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 1px solid #f5f5f5;
}

.form-section-group:last-of-type {
    border-bottom: none;
    margin-bottom: 25px;
}

.form-section-heading {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    color: #121212;
    margin: 0 0 24px 0;
    font-weight: 600;
}

/* Structural Grids */
.form-grid-2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-grid-1col {
    margin-bottom: 20px;
}

/* Floating Label Engine */
.floating-input-group {
    position: relative;
    width: 100%;
}

.floating-input-group input,
.floating-input-group select,
.floating-input-group textarea {
    width: 100%;
    padding: 24px 16px 10px 16px;
    border: 1px solid #d9d9d9;
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    background: #ffffff;
    color: #121212;
    outline: none;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
    -webkit-appearance: none;
    appearance: none;
}

.floating-input-group textarea {
    resize: vertical;
    min-height: 140px;
    line-height: 1.5;
}

/* Input Focus States */
.floating-input-group input:focus,
.floating-input-group select:focus,
.floating-input-group textarea:focus {
    border-color: #2f5e44;
    box-shadow: 0 0 0 1px #2f5e44;
}

/* Floating Label Animation Engine */
.floating-input-group label {
    position: absolute;
    left: 16px;
    top: 18px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    color: #757575;
    pointer-events: none;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Trigger transformations based on field interactivity validation */
.floating-input-group input:focus ~ label,
.floating-input-group input:not(:placeholder-shown) ~ label,
.floating-input-group textarea:focus ~ label,
.floating-input-group textarea:not(:placeholder-shown) ~ label,
.floating-input-group select:focus ~ label,
.floating-input-group select:not(:placeholder-shown) ~ label {
    top: 8px;
    font-size: 0.75rem;
    font-weight: 500;
    color: #2f5e44;
}

/* Structural Exception Rules for Dropdowns & Native Calendars */
.select-group::after {
    content: "";
    position: absolute;
    right: 18px;
    top: 26px;
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 5px solid #757575;
    pointer-events: none;
}

.native-date-group input {
    padding-top: 24px;
}

/* Form Action Configurations */
.form-submit-container {
    text-align: center;
    margin-top: 10px;
}

.booking-submit-btn {
    width: 100%;
    background: #121212;
    color: #ffffff;
    border: none;
    padding: 18px;
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.1s ease;
}

.booking-submit-btn:hover {
    background: #2f5e44; /* Shifts cleanly to signature green on hover */
}

.booking-submit-btn:active {
    transform: scale(0.99);
}

.form-disclaimer {
    font-family: 'Poppins', sans-serif;
    font-size: 0.75rem;
    color: #888888;
    line-height: 1.5;
    margin: 20px 0 0 0;
}

/* Responsive Scaling Viewports */
@media (max-width: 768px) {
    .booking-layout-wrapper { padding: 100px 0 60px 0; }
    .booking-form-card { padding: 30px 20px; border-radius: 12px; }
    .form-grid-2col { grid-template-columns: 1fr; gap: 20px; }
    .booking-intro h1 { font-size: 2.2rem; }
}
