/* ===== ROOT VARIABLES ===== */
:root {
    --primary-color: #E67E22;
    --primary-dark: #D35400;
    --primary-light: #F39C12;
    --secondary-color: #F1C40F;
    --secondary-dark: #F39C12;
    --secondary-light: #F9E79F;
    --text-color: #2C3E50;
    --text-light: #7F8C8D;
    --bg-color: #FFFFFF;
    --card-bg: rgba(249, 249, 249, 0.9);
    --border-color: rgba(236, 240, 241, 0.7);
    --success-color: #27AE60;
    --error-color: #E74C3C;
    --gold-primary: #FFD700;
    --spice-secondary: #FF7F50;
    --button-bg: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    --shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    --transition-timing: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --glass-bg: rgba(255, 255, 255, 0.25);
    --glass-border: rgba(255, 255, 255, 0.18);
}

.dark-theme {
    --text-color: #ECF0F1;
    --text-light: #BDC3C7;
    --bg-color: #2C3E50;
    --card-bg: rgba(52, 73, 94, 0.9);
    --border-color: rgba(61, 86, 110, 0.7);
    --glass-bg: rgba(26, 26, 26, 0.25);
    --glass-border: rgba(255, 255, 255, 0.1);
}

/* ===== BOOKING SECTION ===== */
.booking-section {
    padding: 6rem 2rem;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: var(--bg-color);
    position: relative;
    z-index: 1;
    margin: 20px;
}

.booking-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    display: flex;
    flex-direction: row-reverse;
    gap: 4rem;
    width: 100%;
    margin-bottom: 0;
}

.booking-image {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    align-self: center;
    border: 1px solid var(--border-color);
    transition: all var(--transition-timing);
}

.booking-image:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

.booking-image img {
    width: 100%;
    height: 100vh;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.booking-image:hover img {
    transform: scale(1.003);
}

.booking-form {
    padding: 3rem;
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: 15px;
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow);
    align-self: center;
    width: 100%;
    transition: all var(--transition-timing);
}

.booking-form:hover {
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    transform: translateY(-2px);
}

.booking-form h2 {
    text-align: center;
    margin-bottom: 2.5rem;
    color: var(--primary-dark);
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

/* Form Styles */
.form-row {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-row .input-group {
    flex: 1;
}

.input-group {
    position: relative;
    margin-bottom: 2rem;
}

.input-group input,
.input-group select,
.input-group textarea {
    width: 100%;
    padding: 1.2rem 1.5rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    color: var(--text-color);
    font-size: 1rem;
    transition: all var(--transition-timing);
    backdrop-filter: blur(5px);
}

.input-group select {
    appearance: none;
    padding-right: 3rem;
    cursor: pointer;
    background: var(--glass-bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23E67E22' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E") no-repeat;
    background-position: right 1.5rem center;
    background-size: 12px;
}

.input-group textarea {
    min-height: 120px;
    resize: vertical;
}

.input-group label {
    position: absolute;
    top: 1.2rem;
    left: 1.5rem;
    color: var(--text-light);
    transition: all var(--transition-timing);
    pointer-events: none;
    font-size: 1rem;
    background: var(--glass-bg);
    padding: 0 0.5rem;
    border-radius: 4px;
}

.input-group input:focus,
.input-group select:focus,
.input-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(230, 126, 34, 0.2);
}

.input-group input:focus + label,
.input-group input:not(:placeholder-shown) + label,
.input-group select:valid + label,
.input-group textarea:focus + label,
.input-group textarea:not(:placeholder-shown) + label {
    top: -0.8rem;
    left: 0.8rem;
    font-size: 0.8rem;
    /* background: var(--primary-color); */
    color:var(--text-color);
    font-weight: 600;
}

.submit-btn {
    width: 100%;
    padding: 1.3rem;
    background: var(--button-bg);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-timing);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
    backdrop-filter: blur(5px);
    position: relative;
    overflow: hidden;
}

.submit-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: 0.5s;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(230, 126, 34, 0.3);
}

.submit-btn:hover::before {
    left: 100%;
}

/* Confirmation Popup */
.confirmation-popup {
    position: fixed;
    top: 20px;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    backdrop-filter: blur(5px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

.confirmation-popup.active {
    opacity: 1;
    visibility: visible;
}

.popup-content {
    background: var(--card-bg);
    border-radius: 15px;
    width: 90%;
    max-width: 500px;
    overflow: hidden;
    transform: translateY(20px);
    transition: transform 0.4s ease;
    border: 1px solid var(--border-color);
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
    backdrop-filter: blur(16px);
}

.confirmation-popup.active .popup-content {
    transform: translateY(0);
}

.popup-header {
    background: var(--button-bg);
    color: white;
    padding: 2.5rem;
    text-align: center;
    position: relative;
}

.popup-header i {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.popup-header h3 {
    font-size: 2rem;
    font-family: 'Playfair Display', serif;
}

.popup-body {
    padding: 2.5rem;
    text-align: center;
    position: relative;
}

.reservation-details {
    background: var(--glass-bg);
    border-radius: 10px;
    padding: 2rem;
    margin: 2rem 0;
    text-align: left;
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(5px);
}

.reservation-details p {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.2rem;
    font-size: 1.1rem;
}

.reservation-details i {
    color: var(--primary-color);
    width: 24px;
    text-align: center;
    font-size: 1.2rem;
}

.popup-close-btn {
    width: 100%;
    padding: 1.2rem;
    background: var(--button-bg);
    color: var(--text-color);
    border: none;
    border-top: 1px solid var(--glass-border);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    font-size: 1rem;
    font-weight: 500;
    backdrop-filter: blur(5px);
}

.popup-close-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Confetti Effect */
.confetti {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.confetti-particle {
    position: absolute;
    width: 10px;
    height: 10px;
    background: var(--primary-color);
    opacity: 0;
    animation: confetti-fall 5s linear forwards;
}

@keyframes confetti-fall {
    0% {
        transform: translateY(-100px) rotate(0deg);
        opacity: 1;
    }
    100% {
        transform: translateY(100vh) rotate(360deg);
        opacity: 0;
    }
}

/* Responsive Design */
@media (max-width: 1200px) {
    .booking-container {
        max-width: 1000px;
        flex-direction: column-reverse;
    }
}

@media (max-width: 992px) {
    .booking-container {
        grid-template-columns: 1fr;
        max-width: 700px;
    }
    
    .booking-image {
        height: 400px;
    }
}

@media (max-width: 768px) {
    .booking-section {
        padding: 4rem 1.5rem;
    }
    
    .form-row {
        flex-direction: column;
        gap: 0;
    }
    
    .booking-form {
        padding: 2rem;
    }
    
    .popup-header {
        padding: 2rem;
    }
    
    .popup-body {
        padding: 2rem;
    }
}
