/* ================================================
   Időpontfoglaló – idopont.css
   ================================================ */

/* ----- Layout ----- */
.booking-wrapper {
    display: flex;
    gap: 1.5rem;
    align-items: stretch;
    height: 860px;
}

/* ----- Sidebar ----- */
.booking-sidebar {
    background-color: #928B80;
    padding: 1rem;
    width: 354px;
    flex-shrink: 0;
    height: auto;
    overflow-y: auto;
}

.booking-step-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 18px 20px;
    color: #fff;
    border-radius: 5px;
    font-size: 18px;
    font-weight: 400;
    line-height: 1;
    cursor: default;
    user-select: none;
    transition: background 0.2s;
}

.booking-step-item.active {
    background-color: #49453E;
    color: #fff;
}

.booking-step-item .step-icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    opacity: 0.9;
}

/* ----- Content Panel ----- */
.booking-panel {
    padding: 1rem;
    flex: 1;
    min-width: 0;
    height: 100%;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

/* ----- Category Buttons ----- */
.booking-cat-btn {
    border: 1px solid #523F3A;
    color: #523F3A;
    background: #fff;
    border-radius: 5px;
    padding: 13px 40px;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.6;
    transition: background 0.2s, color 0.2s;
}

.booking-cat-btn.active,
.booking-cat-btn:hover {
    background: #523F3A;
    border: 1px solid #523F3A;
    color: #fff;
}

/* ----- Subtype Buttons ----- */
.booking-subtype-btn {
    border: 1px solid #523F3A;
    color: #523F3A;
    background: #fff;
    border-radius: 5px;
    padding: 13px 40px;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.6;
    transition: background 0.2s, color 0.2s;
}

.booking-subtype-btn.active,
.booking-subtype-btn:hover {
    background: #523F3A;
    border: 1px solid #523F3A;
    color: #fff;
}

/* ----- Calendar ----- */
.calendar-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 1rem;
}

.booking-select {
    padding: 8px 18px;
    border: 1px solid #EEECEC;
    border-radius: 5px;
    font-size: 16px;
    color: #2E1A00;
    background-color: #fff;
    cursor: pointer;
    appearance: none;
    background-image: url('../images/icons/arrow-down.svg');
    background-repeat: no-repeat;
    background-position: right 8px center;
    background-size: 14px 16px;
    padding-right: 28px;
    height: 55px;
}

.booking-select:focus {
    outline: none;
    border-color: #523F3A;
    box-shadow: 0 0 0 3px rgba(82, 63, 58, 0.12);
}

.cal-nav-btn {
    width: 64px;
    height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1.5px solid #EEECEC;
    border-radius: 8px;
    color: #666;
    padding: 0;
    background: #fff;
    cursor: pointer;
    flex-shrink: 0;
    transition: all 0.15s;
}

.cal-nav-btn svg {
    width: 11px;
    height: 6px;
}

#cal-prev svg {
    transform: rotate(90deg);
}

#cal-next svg {
    transform: rotate(-90deg);
}

.cal-nav-btn:hover {
    border-color: #523F3A;
    color: #523F3A;
    background: #faf0ee;
}

/* Calendar grid */

.weekday {
    text-align: center;
    font-size: 16px;
    font-weight: 500;
    color: #1E1E1E;
    padding: 6px 0;
}

.calendar-weekdays,
.calendar-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 6px;
}

.calendar-weekdays {
    margin-bottom: 4px;
}

.cal-day {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 48px;
    font-size: 16px;
    border: 1.5px solid transparent;
    transition: all 0.15s ease;
}

.cal-day.available {
    border-color: #49453E;
    color: #333;
    background: #fff;
    cursor: pointer;
}

.cal-day.available:hover {
    background: #f5eeec;
}

.cal-day.selected {
    background: #49453E;
    border-color: #49453E;
    color: #fff;
    cursor: pointer;
    font-weight: 400;
}

.cal-day.unavailable,
.cal-day.other-month {
    color: #00000059;
    background: #F9F9F9;
    cursor: default;
}

/* Date/time display */
.selected-datetime-display {
    font-size: 16px;
    color: #2E1A00;
    margin-top: 0.75rem;
    margin-bottom: 0.5rem;
}

/* Time slots */
.time-slots-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    margin-top: 4px;
}

.time-slot-btn {
    border: 1px solid #49453E;
    color: #49453E;
    background: #fff;
    padding: 10px 4px;
    font-size: 16px;
    text-align: center;
    cursor: pointer;
    transition: all 0.15s;
    width: 100%;
}

.time-slot-btn:hover:not(:disabled) {
    background: #523f3a80;
}

.time-slot-btn.selected {
    background: #49453E;
    color: #fff;
    border-color: #49453E;
}

.time-slot-btn:disabled,
.time-slot-btn.busy {
    border-color: #B1B1B1;
    color: #B1B1B1;
    background: #fff;
    cursor: not-allowed;
}

/* Next/submit buttons */
.booking-next-btn {
    padding: 12px 36px;
    font-size: 15px;
}

.booking-panel .d-flex.justify-content-end {
    margin-top: auto;
}

/* Validation message */
.booking-validation-msg {
    font-size: 13px;
    color: #dc3545;
    margin-top: 8px;
    display: none;
}

.booking-validation-msg.visible {
    display: block;
}

/* ----- Personal Data Form ----- */

.booking-panel .form-control.is-invalid {
    border-color: #dc3545;
    box-shadow: none;
}

.booking-panel .form-control.is-invalid~.invalid-feedback {
    display: block;
    font-size: 13px;
    margin-top: 4px;
    color: #dc3545;
}

/* ----- Success Panel ----- */
.booking-success {
    text-align: center;
    padding: 3rem 2rem;
}

.booking-success-icon {
    width: 64px;
    height: 64px;
    background: #523F3A;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: #fff;
}

.booking-success-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #161616;
    margin-bottom: 0.75rem;
}

.booking-success-text {
    font-size: 15px;
    color: #666;
    line-height: 1.6;
}

/* ----- Responsive ----- */
@media (max-width: 991px) {
    .time-slots-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 991.98px) {
    .booking-wrapper {
        height: auto;
    }

    .booking-wrapper {
        flex-direction: column;
    }

    .booking-sidebar {
        width: 100%;
        min-width: unset;
        display: flex;
        flex-wrap: wrap;
        padding: 8px;
        gap: 4px;
    }

    #sidebar-selected-datetime {
        flex-basis: 100%;
        text-align: center;
        margin-top: 10px !important;
        padding: 4px;
    }

    .booking-step-item {
        flex: 1;
        flex-direction: column;
        text-align: center;
        padding: 12px 6px;
        font-size: 11px;
        border-radius: 8px;
        gap: 6px;
        justify-content: center;
    }

    .booking-panel {
        padding: 1.5rem;
    }

    .time-slots-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .weekday {
        font-size: 11px;
    }

    .cal-day {
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .calendar-header {
        flex-wrap: wrap;
    }

    .calendar-header .booking-select {
        flex: 1 1 calc(50% - 4px);
        font-size: 13px;
        padding: 6px 8px;
    }

    .calendar-header .cal-nav-btn {
        flex: 1 1 calc(50% - 4px);
        width: auto;
    }

    .booking-cat-btn {
        padding: 10px 16px;
        font-size: 14px;
    }
}


.btn.btn-filled-brown {
    border: 1.5px solid #49453E;
    background: #49453E;
    padding-top: 20px;
    padding-right: 57px;
    padding-bottom: 20px;
    padding-left: 57px;
    gap: 10px;
    border-width: 1.5px;
    color:white;
    font-size: 18px;
    font-weight: 700;
    border-radius: 0px;
}

.btn.btn-filled-brown:hover {
    background: rgba(82, 63, 58, 0.808);
    border-color: rgba(82, 63, 58, 0.808);
    color: white;
}










/***************************
 // Contact Section
***************************/
.kapcsolat {
    padding-top: 3rem;
    padding-bottom: 6rem;
}

.contact-banner-container {
    margin: 0 auto;
    position: relative;
    z-index: 2;
    padding-bottom: 0;
}

.contact-banner-image {
    height: auto;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.contact-banner-image img {
    object-fit: cover;
    width: 100%;
    display: block;
    height: 100%;
    border-radius: 10px;
}

.contact-banner-form-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-banner-form-inner {
    background: #6A554F;
    border-radius: 10px;
    width: 100%;
    margin: 0 auto;
}

.contact-banner-desc p {
    margin-bottom: 0;
}

.form-control {
    padding-right: 20px;
    padding-left: 1rem;
    background: #FFFFFF;
    border: 1px solid #EEECEC;
    height: 62px;
    border-radius: 0px;
}

.form-control:focus {
    border: 1px solid #8D8D8D;
    outline: none;
    box-shadow: none;
}

.form-control::placeholder {
    letter-spacing: 0.15px;
    color: #545454;
    font-weight: 400;
    line-height: 140%;
}

.kapcsolat-container .form-check {
    display: flex;
    align-items: center;
}

textarea.form-control {
    min-height: 181px;
    padding-top: 1rem;
    resize: vertical;
}

.contact-banner-form .form-check-input {
    -webkit-appearance: none;
    appearance: none;
    margin-top: 0rem;
    background: #FAFAFA;
    border: 1px solid #E5E5E5;
    width: 20px;
    height: 20px;
    border-radius: 2px;
    position: relative;
    cursor: pointer;
    display: inline-block;
    vertical-align: middle;
}

.contact-banner-form .form-check-input:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(195, 164, 89, 0.15);
}

/* Checked state: filled background + white checkmark */
.contact-banner-form .form-check-input:checked {
    background: #C46E70;
    border-color: #C46E70;
}

/* Draw the checkmark */
.contact-banner-form .form-check-input:checked::after {
    content: "";
    position: absolute;
    left: 6px;
    top: 2px;
    width: 6px;
    height: 12px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    box-shadow: none;
}

.kapcsolat .overlay {
    background: transparent;
    display: flex;
    flex-direction: column;
    justify-content: start;
    padding: 3rem;
    color: white;
    border-radius: 10px;
}

.contact-icon-wrapper {
    background-color: #6E5E5A;
    width: 89px;
    height: 89px;
    border-radius: 50%;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.kapcsolat .overlay img.contact-icon {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.contact-bg-wrapper {
    box-shadow: 1px 1px 4px 0px #6E5E5A4D;
    background: #FFFFFF;
    border-radius: 20px;
    padding: 2rem;
    color: #161616;
}

/***************************
 // End Contact Section
***************************/