
/* ========================================
   BOOKING PAGE STYLES - COMPLETE VERSION WITH PROMOTIONS
   ======================================== */

/* CSS Variables */
:root {
    --primary-color: #c1392b;
    --primary-hover: #a02f23;
    --secondary-color: #2c2c2c;
    --text-dark: #1a1a1a;
    --text-light: #666666;
    --text-muted: #999999;
    --bg-light: #f5f5f5;
    --bg-gray: #e8e8e8;
    --white: #ffffff;
    --border-color: #dddddd;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 4px 16px rgba(0, 0, 0, 0.15);
}

/* ========================================
   RESET & BASE STYLES
   ======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.booking-page {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background: var(--white);
}

/* ========================================
   CONTAINER & LAYOUT
   ======================================== */
.booking-container {
    padding: 60px 0 80px;
    background: var(--white);
    min-height: 100vh;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.booking-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

/* ========================================
   LEFT SIDE - BOOK A TABLE SECTION
   ======================================== */
.booking-left {
    padding-right: 20px;
}

/* ========================================
   PROMOTION BANNER STYLES
   ======================================== */
.promotion-banner {
    background: linear-gradient(135deg, var(--primary-color) 0%, #a02f23 100%);
    color: var(--white);
    padding: 25px 35px;
    border-radius: 16px;
    margin-bottom: 35px;
    box-shadow: 0 4px 20px rgba(193, 57, 43, 0.3);
    position: relative;
    overflow: hidden;
    animation: slideInDown 0.6s ease;
    transition: all 0.3s ease;
}

.promotion-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(255,255,255,0.15) 0%, transparent 70%);
    border-radius: 50%;
    animation: floatBubble 6s ease-in-out infinite;
}

.promotion-banner::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -30%;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: floatBubble 8s ease-in-out infinite reverse;
}

@keyframes floatBubble {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(20px, -20px) scale(1.1); }
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.promotion-banner:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(193, 57, 43, 0.4);
}

.promotion-banner-inner {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.promotion-icon {
    font-size: 48px;
    flex-shrink: 0;
    animation: bounceIcon 2s ease-in-out infinite;
}

@keyframes bounceIcon {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.promotion-content {
    flex: 1;
}

.promotion-title {
    margin: 0 0 10px 0;
    font-size: 1.5rem;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
    line-height: 1.3;
}

.promotion-text {
    margin: 0;
    font-size: 1.05rem;
    line-height: 1.6;
    opacity: 0.95;
}

.promotion-footer {
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid rgba(255,255,255,0.25);
    font-size: 0.95rem;
    opacity: 0.9;
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.promotion-deadline {
    display: flex;
    align-items: center;
    gap: 8px;
}

.promotion-urgency {
    background: rgba(255,255,255,0.25);
    padding: 4px 12px;
    border-radius: 16px;
    font-weight: 700;
    font-size: 0.85rem;
    animation: pulseUrgency 1.5s ease-in-out infinite;
}

@keyframes pulseUrgency {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.05); opacity: 0.9; }
}

/* Multiple promotions spacing */
.promotion-banner + .promotion-banner {
    margin-top: 20px;
}

/* ========================================
   BOOKING HEADER
   ======================================== */
.booking-header {
    margin-bottom: 40px;
}

.booking-title {
    font-size: 3rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 15px;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.booking-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    font-weight: 400;
    line-height: 1.5;
}

/* ========================================
   RESTAURANT IMAGES GRID
   ======================================== */
.restaurant-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 40px;
}

.image-wrapper {
    overflow: hidden;
    border-radius: 4px;
    background: var(--bg-gray);
    box-shadow: var(--shadow-sm);
    position: relative;
}

.image-wrapper::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 60%, rgba(0,0,0,0.1));
    pointer-events: none;
}

.image-wrapper img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.image-wrapper:hover img {
    transform: scale(1.08);
}

/* ========================================
   RESTAURANT INFO BOX
   ======================================== */
.restaurant-info-box {
    background: var(--white);
    padding: 0;
}

.info-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 25px;
    letter-spacing: -0.3px;
}

.info-details {
    margin-bottom: 30px;
}

.info-row {
    display: flex;
    margin-bottom: 15px;
    line-height: 1.8;
    align-items: flex-start;
}

.info-row:last-child {
    margin-bottom: 0;
}

.info-label {
    font-weight: 600;
    color: var(--text-dark);
    min-width: 130px;
    flex-shrink: 0;
    font-size: 0.95rem;
}

.info-value {
    color: var(--text-light);
    font-size: 0.95rem;
}

.info-value a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s ease;
}

.info-value a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

/* ========================================
   VIEW MENU BUTTON
   ======================================== */
.view-menu-wrapper {
    margin-top: 50px;
    margin-left: 200px;
}

.view-menu-btn {
    position: relative;
    display: inline-block;
    padding: 15px 50px;
    background: transparent;
    color: black;
    text-decoration: none;
    border: 3px solid #bfa45a;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 0.3px;
    overflow: hidden;
    z-index: 1;
    transition: color 0.3s ease;
}

.view-menu-btn::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: -100%;
    width: 100%;
    height: 100%;
    background: #bfa45a;
    border-radius: 50px;
    z-index: -1;
}

.view-menu-btn:hover::before {
    animation: bgBounceUp 0.7s cubic-bezier(0.25, 1.25, 0.5, 1);
    animation-fill-mode: forwards;
}

.view-menu-btn:hover {
    color: white;
}

@keyframes bgBounceUp {
    0% {
        bottom: -100%;
    }
    60% {
        bottom: 5%;
    }
    80% {
        bottom: -3%;
    }
    100% {
        bottom: 0;
    }
}

.view-menu-btn:active::before {
    bottom: -5%;
}

/* ========================================
   RIGHT SIDE - RESERVATION FORM
   ======================================== */
.booking-right {
    background: var(--bg-light);
    padding: 45px;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 80px;
}

.reservation-form-wrapper {
    width: 100%;
}

.form-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 30px;
    letter-spacing: -0.3px;
}

.form-content {
    margin-bottom: 25px;
}

/* ========================================
   CONTACT FORM 7 STYLING
   ======================================== */
.wpcf7 {
    width: 100%;
}

.wpcf7-form {
    display: grid;
    gap: 20px;
}

.wpcf7-form p {
    margin: 0;
    width: 100%;
}

.wpcf7-form br {
    display: none;
}

.wpcf7-form label {
    display: block;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.wpcf7-form label .wpcf7-form-control-wrap {
    display: block;
    margin-top: 8px;
}

.wpcf7-form label abbr {
    color: var(--primary-color);
    text-decoration: none;
    margin-left: 3px;
}

.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form input[type="date"],
.wpcf7-form input[type="time"],
.wpcf7-form input[type="number"],
.wpcf7-form input[type="url"],
.wpcf7-form select,
.wpcf7-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    font-size: 1rem;
    font-family: inherit;
    background: var(--white);
    color: var(--text-dark);
    transition: all 0.3s ease;
    appearance: none;
}

.wpcf7-form select {
    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 15px center;
    padding-right: 40px;
    cursor: pointer;
}

.wpcf7-form input::placeholder,
.wpcf7-form textarea::placeholder {
    color: var(--text-muted);
    font-size: 0.95rem;
    font-style: italic;
}

.wpcf7-form input:focus,
.wpcf7-form select:focus,
.wpcf7-form textarea:focus {
    outline: none;
    border-color: var(--text-dark);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(26, 26, 26, 0.05);
}

.wpcf7-form textarea {
    min-height: 100px;
    resize: vertical;
    line-height: 1.6;
}

.wpcf7-form input:disabled,
.wpcf7-form select:disabled,
.wpcf7-form textarea:disabled {
    background: var(--bg-gray);
    cursor: not-allowed;
    opacity: 0.6;
}

/* ========================================
   FORM LAYOUT - TWO COLUMNS
   ======================================== */
.form-row-2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.form-row-2col p {
    margin: 0;
}

/* ========================================
   FORM BUTTONS
   ======================================== */
.wpcf7-form .wpcf7-submit,
.wpcf7-form input[type="submit"],
.wpcf7-form button[type="submit"] {
    width: 100%;
    padding: 14px 35px;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 20px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: capitalize;
    margin-top: 10px;
}

.wpcf7-form .wpcf7-submit:hover,
.wpcf7-form input[type="submit"]:hover,
.wpcf7-form button[type="submit"]:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(193, 57, 43, 0.3);
}

.wpcf7-form .wpcf7-submit:active,
.wpcf7-form input[type="submit"]:active,
.wpcf7-form button[type="submit"]:active {
    transform: translateY(0);
}

.wpcf7-form input[type="reset"],
.wpcf7-form button[type="reset"] {
    padding: 14px 35px;
    background: var(--white);
    color: var(--text-dark);
    border: 2px solid var(--border-color);
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: capitalize;
}

.wpcf7-form input[type="reset"]:hover,
.wpcf7-form button[type="reset"]:hover {
    background: var(--bg-gray);
    border-color: var(--text-dark);
}

.form-buttons,
.wpcf7-form .button-group {
    display: flex;
    gap: 15px;
    margin-top: 10px;
}

.form-buttons input,
.form-buttons button {
    flex: 1;
}

/* ========================================
   FORM VALIDATION & MESSAGES
   ======================================== */
.wpcf7-form .wpcf7-not-valid-tip {
    color: var(--primary-color);
    font-size: 0.85rem;
    margin-top: 5px;
    display: block;
    font-weight: 500;
}

.wpcf7-form .wpcf7-not-valid {
    border-color: var(--primary-color);
    background: #fff5f5;
}

.wpcf7-form .wpcf7-response-output {
    border-radius: 4px;
    padding: 12px 15px;
    margin: 15px 0 0;
    font-size: 0.95rem;
    font-weight: 500;
    border: 2px solid;
}

.wpcf7-form .wpcf7-validation-errors {
    border-color: #e74c3c;
    background: #fadbd8;
    color: #c0392b;
}

.wpcf7-form .wpcf7-mail-sent-ok {
    border-color: #27ae60;
    background: #d4edda;
    color: #155724;
}

.wpcf7-form .wpcf7-mail-sent-ng {
    border-color: #e74c3c;
    background: #fadbd8;
    color: #c0392b;
}

.wpcf7-form .wpcf7-spam-blocked {
    border-color: #f39c12;
    background: #fff3cd;
    color: #856404;
}

.wpcf7-form .wpcf7-acceptance-missing {
    border-color: #f39c12;
    background: #fff3cd;
    color: #856404;
}

.wpcf7-form input[type="time"].time-input {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath fill='%23333' d='M8 0a8 8 0 1 1 0 16A8 8 0 0 1 8 0zm1 4.5v3.793l2.146 2.147a.5.5 0 0 1-.707.707l-2.5-2.5A.5.5 0 0 1 7.5 8V4.5a.5.5 0 0 1 1 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    padding-right: 45px;
}

.wpcf7-form input[type="reset"] {
    width: auto;
    min-width: 120px;
}

.form-buttons {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 15px;
}

.form-buttons .wpcf7-submit {
    width: 100%;
}

/* ========================================
   FORM FOOTER NOTES
   ======================================== */
.form-footer-note {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.privacy-text {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 12px;
    line-height: 1.6;
}

.privacy-text a {
    color: var(--text-muted);
    text-decoration: underline;
    transition: color 0.3s ease;
}

.privacy-text a:hover {
    color: var(--text-dark);
}

.large-group-note {
    font-size: 0.9rem;
    color: var(--text-light);
    margin: 0;
    line-height: 1.6;
}

.large-group-note strong {
    color: var(--text-dark);
    font-weight: 600;
}

.large-group-note a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.large-group-note a:hover {
    color: var(--primary-hover);
    text-decoration: underline;
}

/* ========================================
   LOADING STATE
   ======================================== */
.wpcf7-form.submitting .wpcf7-submit {
    opacity: 0.7;
    cursor: not-allowed;
    position: relative;
    pointer-events: none;
}

.wpcf7-form.submitting .wpcf7-submit::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    top: 50%;
    right: 20px;
    margin-top: -8px;
    border: 2px solid var(--white);
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* ========================================
   ANIMATIONS
   ======================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-5px); }
    20%, 40%, 60%, 80% { transform: translateX(5px); }
}

.fade-in {
    animation: fadeInUp 0.6s ease;
}

.booking-left,
.booking-right {
    animation: fadeInUp 0.8s ease;
}

.booking-right {
    animation-delay: 0.2s;
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

/* Large Desktop (max-width: 1400px) */
@media (max-width: 1400px) {
    .container {
        max-width: 1200px;
    }
}

/* Desktop (max-width: 1200px) */
@media (max-width: 1200px) {
    .container {
        padding: 0 30px;
    }

    .booking-grid {
        gap: 40px;
    }

    .booking-title {
        font-size: 2.5rem;
    }

    .booking-right {
        padding: 40px;
    }
}

/* Large Tablet (max-width: 992px) */
@media (max-width: 992px) {
    .booking-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .booking-left {
        padding-right: 0;
        max-width: 100%;
    }

    .booking-right {
        position: relative;
        top: 0;
        max-width: 700px;
        margin: 0 auto;
    }

    .booking-title {
        font-size: 2.25rem;
    }

    .info-title {
        font-size: 1.6rem;
    }
    
    .view-menu-wrapper {
        margin-left: 0;
        text-align: center;
    }
}

/* Tablet (max-width: 768px) */
@media (max-width: 768px) {
    .booking-container {
        padding: 40px 0;
    }

    .container {
        padding: 0 20px;
    }

    .booking-title {
        font-size: 2rem;
    }

    .booking-subtitle {
        font-size: 1rem;
    }

    .booking-header {
        margin-bottom: 30px;
    }
    
    /* Promotion banner mobile */
    .promotion-banner {
        padding: 20px 25px;
        margin-bottom: 25px;
    }
    
    .promotion-banner-inner {
        flex-direction: column;
        gap: 15px;
    }
    
    .promotion-icon {
        font-size: 36px;
        align-self: center;
    }
    
    .promotion-title {
        font-size: 1.3rem;
    }
    
    .promotion-text {
        font-size: 0.95rem;
    }
    
    .promotion-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .restaurant-images {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .image-wrapper img {
        height: 220px;
    }

    .info-title {
        font-size: 1.5rem;
    }

    .info-row {
        flex-direction: column;
        margin-bottom: 12px;
    }

    .info-label {
        min-width: auto;
        margin-bottom: 3px;
    }

    .view-menu-btn {
        width: 100%;
        text-align: center;
    }

    .booking-right {
        padding: 35px 25px;
    }

    .form-title {
        font-size: 1.75rem;
    }

    .form-row-2col {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* Mobile (max-width: 576px) */
@media (max-width: 576px) {
    .booking-container {
        padding: 30px 0;
    }

    .container {
        padding: 0 15px;
    }

    .booking-title {
        font-size: 1.75rem;
    }

    .booking-subtitle {
        font-size: 0.95rem;
    }
    
    /* Promotion banner mobile small */
    .promotion-banner {
        padding: 18px 20px;
        border-radius: 12px;
    }
    
    .promotion-icon {
        font-size: 32px;
    }
    
    .promotion-title {
        font-size: 1.2rem;
    }
    
    .promotion-text {
        font-size: 0.9rem;
    }

    .image-wrapper img {
        height: 200px;
    }

    .view-menu-btn {
        padding: 12px 35px;
        font-size: 1rem;
    }

    .booking-right {
        padding: 25px 20px;
    }

    .form-title {
        font-size: 1.5rem;
        margin-bottom: 25px;
    }

    .wpcf7-form {
        gap: 18px;
    }

    .wpcf7-form input[type="text"],
    .wpcf7-form input[type="email"],
    .wpcf7-form input[type="tel"],
    .wpcf7-form input[type="date"],
    .wpcf7-form input[type="time"],
    .wpcf7-form input[type="number"],
    .wpcf7-form select,
    .wpcf7-form textarea {
        padding: 10px 12px;
        font-size: 0.95rem;
    }

    .wpcf7-form .wpcf7-submit,
    .wpcf7-form input[type="submit"],
    .wpcf7-form input[type="reset"] {
        padding: 12px 25px;
        font-size: 0.95rem;
    }

    .form-buttons {
        flex-direction: column;
        gap: 10px;
    }

    .form-buttons input,
    .form-buttons button {
        width: 100%;
    }
}

/* Small Mobile (max-width: 360px) */
@media (max-width: 360px) {
    .booking-title {
        font-size: 1.5rem;
    }

    .info-title {
        font-size: 1.3rem;
    }

    .form-title {
        font-size: 1.3rem;
    }

    .view-menu-btn {
        padding: 10px 25px;
        font-size: 0.95rem;
    }
    
    .promotion-banner {
        padding: 15px 18px;
    }
    
    .promotion-title {
        font-size: 1.1rem;
    }
}

/* ========================================
   PRINT STYLES
   ======================================== */
@media print {
    .booking-right {
        display: none;
    }

    .view-menu-btn {
        display: none;
    }

    .image-wrapper {
        break-inside: avoid;
    }

    .info-row {
        break-inside: avoid;
    }
    
    .promotion-banner {
        break-inside: avoid;
        box-shadow: none;
        border: 2px solid var(--primary-color);
    }
}

/* ========================================
   ACCESSIBILITY
   ======================================== */
.wpcf7-form input:focus-visible,
.wpcf7-form select:focus-visible,
.wpcf7-form textarea:focus-visible,
.wpcf7-form button:focus-visible,
.view-menu-btn:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Screen reader only */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* ========================================
   UTILITY CLASSES
   ======================================== */
.text-center {
    text-align: center;
}

.mt-10 { margin-top: 10px; }
.mt-20 { margin-top: 20px; }
.mt-30 { margin-top: 30px; }
.mb-10 { margin-bottom: 10px; }
.mb-20 { margin-bottom: 20px; }
.mb-30 { margin-bottom: 30px; }

/* ========================================
   DARK MODE SUPPORT (Optional)
   ======================================== */
@media (prefers-color-scheme: dark) {
    .booking-page {
        /* Uncomment to enable dark mode */
        /* background: #1a1a1a;
        color: #e0e0e0; */
    }
}