/* Reservation page – table booking card (resources/views/web/reservation.blade.php) */

.rv-section {
    --rv-gold: #e5b94e;
    --rv-gold-hover: #d9a93a;
    --rv-gold-text: #f0b43c;
    --rv-gold-dark: #c9952c;
    --rv-ink: #141414;
    --rv-muted: #4a4a4a;
    --rv-placeholder: #7a7a7a;
    --rv-line: #d9d9d9;
    --rv-panel: #0d0d0d;
    position: relative;
    overflow: hidden;
    background: #000;
    padding: 3rem 0 4.5rem;
}

.rv-section .rv-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.rv-section .rv-shade {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
}

.rv-section .rv-inner {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1120px;
    margin-left: auto;
    margin-right: auto;
}

/* Breadcrumb */
.rv-breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 1.1rem;
    font-family: 'Lato', sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.rv-breadcrumb a {
    color: #fff;
    text-decoration: none;
}

.rv-breadcrumb a:hover,
.rv-breadcrumb .rv-dot,
.rv-breadcrumb .rv-current {
    color: var(--rv-gold-text);
}

/* Card */
.rv-card {
    display: grid;
    grid-template-columns: minmax(220px, 30%) 1fr;
    gap: 26px;
    background: #fff;
    border-radius: 6px;
    padding: 16px 26px 16px 16px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

/* Left: opening hours panel */
.rv-aside {
    display: flex;
    flex-direction: column;
    background: var(--rv-panel);
    color: #fff;
    border-radius: 6px;
    padding: 26px 20px 22px;
    text-align: center;
    font-family: 'Lato', sans-serif;
}

.rv-eyebrow {
    margin: 0 0 6px;
    color: var(--rv-gold-text);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.rv-aside-title {
    margin: 0 0 20px;
    font-family: 'Lora', serif;
    font-size: 22px;
    font-weight: 600;
    color: #fff;
    text-transform: none;
}

.rv-hours {
    list-style: none;
    margin: 0;
    padding: 0;
    text-align: left;
}

.rv-hours li {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 11px 0;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.35);
    font-size: 12px;
    color: #fff;
}

.rv-hours li span:first-child {
    font-weight: 700;
    white-space: nowrap;
}

.rv-hours li span:last-child {
    text-align: right;
}

/* Today's row */
.rv-hours li.rv-today span:first-child {
    color: var(--rv-gold-text);
}

.rv-hours li.rv-today span:last-child {
    font-weight: 700;
}

.rv-call {
    padding-top: 24px;
}

.rv-phone {
    display: inline-block;
    color: #fff;
    font-family: 'Lora', serif;
    font-size: 20px;
    font-weight: 600;
    text-decoration: none;
}

.rv-phone:hover {
    color: var(--rv-gold-text);
}

.rv-email {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 6px;
    color: #fff;
    font-size: 14px;
    text-decoration: none;
    word-break: break-all;
}

.rv-email i {
    color: var(--rv-gold-text);
    font-size: 11px;
}

.rv-email:hover {
    color: var(--rv-gold-text);
}

.rv-group {
    margin-top: auto;
    padding-top: 32px;
    font-size: 12px;
    line-height: 1.9;
}

.rv-group p {
    margin: 0 0 6px;
    color: #fff;
    font-size: 16px;
    line-height: 22px;
}

.rv-group a {
    color: var(--rv-gold-text);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    text-decoration: none;
}

.rv-group a:hover {
    text-decoration: underline;
}

/* Right: form */
.rv-form-wrap {
    padding: 12px 0 10px;
    font-family: 'Lato', sans-serif;
    color: var(--rv-ink);
}

.rv-title {
    margin: 0 0 8px;
    font-family: 'Lora', serif;
    font-size: 26px;
    font-weight: 700;
    color: var(--rv-ink);
    text-transform: none;
}

.rv-intro {
    margin: 0 0 18px;
    font-size: 13px;
    line-height: 1.6;
    color: var(--rv-muted);
}

.rv-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.rv-full {
    grid-column: 1 / -1;
}

.rv-field {
    position: relative;
}

.rv-field input,
.rv-field select,
.rv-field textarea {
    display: block;
    width: 100%;
    height: 44px;
    margin: 0;
    padding: 0 12px;
    border: 1px solid var(--rv-line);
    border-radius: 6px;
    background-color: #fff;
    color: var(--rv-ink);
    font-family: 'Lato', sans-serif;
    font-size: 13px;
    box-shadow: none;
    outline: none;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.rv-field textarea {
    height: 62px;
    padding: 10px 12px;
    resize: vertical;
}

.rv-field input::placeholder,
.rv-field textarea::placeholder {
    color: var(--rv-placeholder);
    opacity: 1;
}

.rv-field input:focus,
.rv-field select:focus,
.rv-field textarea:focus {
    border-color: var(--rv-gold);
    box-shadow: 0 0 0 3px rgba(229, 185, 78, 0.22);
}

.rv-field select {
    -webkit-appearance: none;
    appearance: none;
    padding-right: 34px;
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23141414' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
}

/* Grey "Gäste *" placeholder until a number is picked */
.rv-field select:invalid {
    color: var(--rv-placeholder);
}

.rv-field select option {
    color: var(--rv-ink);
}

.rv-field.rv-has-icon input {
    padding-left: 34px;
}

.rv-field .rv-icon {
    position: absolute;
    left: 12px;
    top: 22px;
    transform: translateY(-50%);
    color: var(--rv-gold-dark);
    font-size: 13px;
    pointer-events: none;
    z-index: 1;
}

/* Clicking anywhere in the date/time field opens the native picker;
   the browser's own picker icon is hidden in favour of the left icon. */
.rv-field input[type="date"],
.rv-field input[type="time"] {
    position: relative;
    cursor: pointer;
}

.rv-field input[type="date"]::-webkit-calendar-picker-indicator,
.rv-field input[type="time"]::-webkit-calendar-picker-indicator {
    position: absolute;
    inset: 0;
    width: auto;
    height: auto;
    opacity: 0;
    cursor: pointer;
}

.rv-section .invalid-feedback {
    margin-top: 4px;
    font-size: 12px;
}

/* Service type (only shown for groups above 15 guests) */
.rv-type {
    display: flex;
    gap: 22px;
    margin-top: 14px;
}

.rv-checks {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 16px;
}

.rv-check {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 0;
    font-size: 12px;
    line-height: 1.4;
    color: var(--rv-muted);
    cursor: pointer;
}

.rv-check input {
    flex: 0 0 auto;
    width: 14px;
    height: 14px;
    margin: 1px 0 0;
    accent-color: var(--rv-gold-dark);
    cursor: pointer;
}

.rv-check a {
    color: var(--rv-gold-dark);
    font-weight: 700;
    text-decoration: underline;
}

.rv-captcha {
    margin-top: 16px;
}

.rv-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    height: 46px;
    margin-top: 12px;
    border: 0;
    border-radius: 6px;
    background: var(--rv-gold);
    color: var(--rv-ink);
    font-family: 'Lato', sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background-color 0.15s ease;
}

.rv-submit:hover {
    background: var(--rv-gold-hover);
}

.rv-submit:disabled {
    opacity: 0.7;
    cursor: wait;
}

/* Page wrapper for booking pages that don't use .reservation-book-main (catering) */
.rv-page {
    background-color: #000;
}

/* Info section below the card (catering features) */
.rv-info {
    --rv-gold-text: #f0b43c;
    --rv-gold-line: rgba(229, 185, 78, 0.35);
    padding: 4.5rem 0 4rem;
    background: #000;
    color: #fff;
    font-family: 'Lato', sans-serif;
}

.rv-info .rv-inner {
    position: relative;
    width: 100%;
    max-width: 1120px;
    margin-left: auto;
    margin-right: auto;
}

.rv-info-title {
    max-width: 760px;
    margin: 0 auto 2.5rem;
    font-family: 'Lora', serif;
    font-size: 30px;
    font-weight: 600;
    line-height: 1.35;
    text-align: center;
    text-transform: none;
    color: #fff;
}

.rv-info-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 20px;
}

/* 3 cards on the first row, 2 centred on the second */
.rv-info-item {
    grid-column: span 2;
    padding: 26px 24px;
    background: #0d0d0d;
    border: 1px solid var(--rv-gold-line);
    border-radius: 8px;
}

.rv-info-item:nth-child(4) {
    grid-column: 2 / span 2;
}

/* Text-only variant (group booking) */
.rv-info--text {
    padding-bottom: 2.5rem;
}

.rv-info--text .rv-info-title {
    margin-bottom: 1.5rem;
}

.rv-info-copy {
    max-width: 820px;
    margin: 0 auto;
    text-align: center;
}

.rv-info-copy p {
    margin: 0 0 1rem;
    font-size: 15px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.82);
}

.rv-info-copy p:last-child {
    margin-bottom: 0;
}

.rv-info-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    margin-bottom: 14px;
    border-radius: 50%;
    background: rgba(229, 185, 78, 0.14);
    color: var(--rv-gold-text);
    font-size: 15px;
}

.rv-info-item h3 {
    margin: 0 0 10px;
    font-family: 'Lora', serif;
    font-size: 19px;
    font-weight: 600;
    color: var(--rv-gold-text);
    text-transform: none;
}

.rv-info-item p {
    margin: 0;
    font-size: 14px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.82);
}

@media (max-width: 991px) {
    .rv-info-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .rv-info-item,
    .rv-info-item:nth-child(4) {
        grid-column: auto;
    }

    .rv-info-item:last-child {
        grid-column: 1 / -1;
    }

    .rv-info-title {
        font-size: 25px;
    }
}

@media (max-width: 575px) {
    .rv-info {
        padding: 3rem 0;
    }

    .rv-info-grid {
        grid-template-columns: 1fr;
    }

    .rv-info-title {
        font-size: 22px;
    }
}

/* Below the 1120px card width: keep a gutter so the card doesn't touch the screen edges */
@media (max-width: 1151px) {
    .rv-section .rv-inner,
    .rv-info .rv-inner {
        padding-left: 16px;
        padding-right: 16px;
    }
}

/* Tablet: stack, form first */
@media (max-width: 991px) {
    .rv-card {
        grid-template-columns: 1fr;
        padding: 16px;
        gap: 20px;
    }

    .rv-form-wrap {
        order: -1;
        padding: 6px 4px 0;
    }

    .rv-call,
    .rv-group {
        padding-top: 28px;
    }
}

/* Phone: single column fields */
@media (max-width: 575px) {
    .rv-section {
        padding: 2rem 0 3rem;
    }

    .rv-section .custom-width-one,
    .rv-info .custom-width-one {
        width: auto;
        padding: 0 16px;
    }

    .rv-grid {
        grid-template-columns: 1fr;
    }

    .rv-title {
        font-size: 23px;
    }

    .rv-captcha .g-recaptcha {
        transform: scale(0.92);
        transform-origin: 0 0;
    }
}
