/* MAIN LAYOUT */
.homepage-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    align-items: start;
}

/* LEFT PANEL — Marketing */
.left-panel {
    flex: 1;
    padding: var(--space-xxl);
    background: var(--background);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.headline {
    font-size: 2.4rem;
    font-weight: 700;
    margin-bottom: var(--space-sm);
}

.subheadline {
    font-size: 1.2rem;
    color: var(--text-normal);
    margin-bottom: var(--space-md);
}

.cta-buttons {
    margin-bottom: var(--space-lg);
}

.btn-primary,
.btn-secondary {
    display: inline-block;
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-md);
    text-decoration: none;
    margin-right: var(--space-sm);
    font-weight: 600;
}

/* Primary button */
.btn-primary {
    background: var(--charcoal);
    color: white;
}

.btn-primary:hover {
    background: var(--link-color);
    /* blue hover */
    color: white;
    transform: translateY(-2px);
}

/* Secondary button */
.btn-secondary {
    background: var(--offwhite);
    color: var(--text-dark);
}

.btn-secondary:hover {
    background: var(--link-color);
    /* optional */
    color: white;
    transform: translateY(-2px);
}

.features {
    list-style: none;
    padding: 0;
    margin-top: var(--space-md);
}

.features li {
    margin-bottom: var(--space-xs);
    color: var(--text-muted);
}

/* RIGHT PANEL — Reservation Widget */
.right-panel {
    flex: 1;
    padding: var(--space-xxl);
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.reservation-box {
    width: 100%;
    max-width: 380px;
}

.venue-preview {
    width: 100%;
    height: 180px;
    background: var(--offwhite);
    border-radius: var(--radius-lg);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.venue-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.4s ease-in-out;
}

/* RESPONSIVE */
@media (max-width: 900px) {
    .homepage-container {
        grid-template-columns: 1fr;
    }

    .left-panel,
    .right-panel {
        padding: var(--space-xl);
    }
}



/* Smooth fade-in for hero section */
.headline,
.subheadline,
.cta-buttons,
.features {
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(12px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* OTP INPUTS */
.otp-container {
    display: flex;
    gap: var(--space-sm);
    justify-content: center;
}

.otp-input {
    width: 36px;
    height: 44px;
    font-size: 20px;
    text-align: center;
    border: 2px solid var(--border-light);
    border-radius: var(--radius-md);
    outline: none;
    transition: border-color 0.2s;
    background: #fff;
}

.otp-input:focus {
    border-color: var(--charcoal);
}

.otp-input:hover {
    border-color: var(--charcoal);
}

.shake {
    animation: shake 0.3s;
}

@keyframes shake {
    0% {
        transform: translateX(0);
    }

    25% {
        transform: translateX(-4px);
    }

    50% {
        transform: translateX(4px);
    }

    75% {
        transform: translateX(-4px);
    }

    100% {
        transform: translateX(0);
    }
}

#resendLink.disabled {
    pointer-events: none;
    opacity: 0.5;
    color: var(--text-muted);
}

#resendLink.text-primary {
    pointer-events: auto;
    opacity: 1;
    color: var(--charcoal);
}

/* SELECT WRAPPER */
.select-wrapper {
    position: relative;
    width: 100%;
}

.select-wrapper select {
    width: 100%;
    padding-right: 40px;
    height: 44px;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    background-color: #fff;
    appearance: none;
}

.select-wrapper::after {
    content: "▼";
    font-size: 14px;
    color: var(--text-normal);
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
}

/* Explore Events Link */
.explore-events-link {
    display: inline-block;
    margin-top: var(--space-md);
    font-size: 1.2rem;
    color: var(--link-color);
    text-decoration: none;
    font-weight: 500;
}

.explore-events-link:hover {
    text-decoration: underline;
}

/* No Results Box */
.no-results-box {
    margin-top: var(--space-lg);
    padding: var(--space-md);
    background: var(--background);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    text-align: center;
}

.no-results-actions {
    margin-top: var(--space-md);
    display: flex;
    justify-content: center;
    gap: var(--space-md);
}

/* Shared card styling */
.card-like {
    background: #fff;
    padding: var(--space-md);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-medium);
    margin-bottom: var(--space-lg);
}

/* Search box fields */
.search-box .field-group {
    margin-bottom: var(--space-md);
}

.search-box label {
    font-weight: 600;
    display: block;
    margin-bottom: var(--space-xs);
}

.search-box input,
.search-box select {
    width: 100%;
    padding: var(--space-sm);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    font-size: var(--font-md);
    background: #fff;
}

.search-box input:focus,
.search-box select:focus {
    border-color: var(--charcoal);
    outline: none;
    box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.15);
}

.info-text {
    font-size: var(--font-sm);
    color: var(--text-muted);
    margin-top: var(--space-xs);
}

.faq-content img {
    width: 100%;
    max-height: 300px;
    object-fit: cover;
    border-radius: var(--radius-md);
    margin: var(--space-sm) 0;
}

.card-img-top {
    max-height: 200px;
    object-fit: cover;
    border-radius: var(--radius-md);
}

/* 3‑panel layout */
.homepage-container.three-panel-layout {
    display: grid !important;
    grid-template-columns: 1fr 1fr 1fr;
    gap: var(--space-lg);
    align-items: start;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
}

.homepage-container.three-panel-layout>* {
    min-width: 0;
}

.left-panel,
.middle-panel,
.right-panel {
    min-width: 0;
    width: auto;
}

@media (max-width: 992px) {
    .homepage-container.three-panel-layout {
        grid-template-columns: 1fr;
    }
}

.greyed {
    color: var(--text-muted);
    opacity: 0.6;
}