/* =====================================================
   VENUES AT ALFAISAL UNIVERSITY
   STANDALONE CSS
   PREFIX: vau-
===================================================== */

/* 1. BASE */
.vau-page {
    width: 100%;
    color: #071a43;
    font-family: inherit;
    overflow: hidden;
}

.vau-page *,
.vau-page *::before,
.vau-page *::after {
    box-sizing: border-box;
}

.vau-container {
    width: 90%;
    max-width: 1240px;
    margin: 0 auto;
}

/* 2. TYPOGRAPHY */
.vau-eyebrow {
    display: inline-block;
    margin-bottom: 16px;
    color: #80e387 !important;
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 2px;
    line-height: 1.5;
    text-transform: uppercase;
}

.vau-page h1,
.vau-page h2,
.vau-page h3 {
    font-family: inherit;
}

.vau-page h2 {
    color: #071a43 !important;
    font-size: 56px;
    font-weight: 700;
    line-height: 1.2;
}

.vau-page h3 {
    color: #071a43 !important;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.4;
}

.vau-page p {
    color: #4c5a70 !important;
    font-size: 16px;
    line-height: 1.85;
}

/* 3. BUTTONS */
.vau-hero-actions,
.vau-cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 30px;
}

.vau-btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-height: 53px;
    padding: 15px 28px;
    border: 2px solid #80e387;
    border-radius: 50px;
    font-family: inherit;
    font-size: 17px;
    font-weight: 600;
    line-height: 1.4;
    text-align: center;
    text-decoration: none !important;
    transition: all .3s ease;
}

.vau-btn-primary {
    background: #80e387;
    color: #071a43 !important;
}

.vau-btn-primary:hover {
    background: transparent;
    border-color: #80e387;
    color: white !important;
}

.vau-btn-outline {
    background: transparent;
    border-color: rgba(255,255,255,.8);
    color: #ffffff !important;
}

.vau-btn-outline:hover {
    background: #80e387;
    border-color: #80e387;
    color: #071a43 !important;
}

/* 4. HERO */
.vau-hero {
    padding: 90px 0;
    background: linear-gradient(115deg, #071a43 0%, #123d60 58%, #1c6380 100%);
}

.vau-hero-grid {
    display: grid;
    grid-template-columns: .92fr 1.08fr;
    gap: 55px;
    align-items: center;
}

.vau-hero-content {
    max-width: 620px;
}

.vau-hero h1 {
    margin: 0 0 18px;
    color: #ffffff !important;
    font-size: 54px;
    font-weight: 700;
    line-height: 1.15;
}

.vau-hero h2 {
    margin: 0 0 18px;
    color: #ffffff !important;
    font-size: 25px;
    font-weight: 600;
    line-height: 1.4;
}

.vau-hero p {
    margin: 0;
    color: #ffffff !important;
    font-size: 17px;
    line-height: 1.85;
}

/* Hero image collage */
.vau-hero-gallery {
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    grid-template-rows: 175px 175px 125px;
    gap: 12px;
    min-width: 0;
}

.vau-gallery-main {
    grid-column: 1;
    grid-row: 1 / span 2;
}

.vau-gallery-side {
    grid-column: 2;
    grid-row: 1 / span 2;
    display: grid;
    grid-template-rows: 1fr 1fr;
    gap: 12px;
    min-height: 0;
}

.vau-gallery-wide {
    grid-column: 1 / -1;
    grid-row: 3;
}

.vau-gallery-main,
.vau-gallery-small,
.vau-gallery-wide {
    min-width: 0;
    min-height: 0;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 12px;
    background: rgba(255,255,255,.08);
}

.vau-hero-gallery img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 5. GENERAL SECTIONS */
.vau-section {
    padding: 90px 0;
    background: #f5faf4;
}

.vau-section-heading {
    max-width: 850px;
    margin: 0 auto 48px;
    text-align: center;
}

.vau-section-heading h2 {
    margin: 0 0 17px;
}

.vau-section-heading p {
    margin: 0;
}

/* 6. VENUE GRID */
.vau-venue-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    align-items: stretch;
}

.vau-venue-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 28px;
    background: #ffffff;
    border: 1px solid #e3ebe6;
    border-radius: 13px;
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}

.vau-venue-card:hover {
    transform: translateY(-5px);
    border-color: #80e387;
    box-shadow: 0 14px 32px rgba(7,26,67,.08);
}

.vau-card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 22px;
}

.vau-card-number {
    color: #80e387;
    font-size: 26px;
    font-weight: 700;
    line-height: 1;
}

.vau-card-type {
    display: inline-block;
    padding: 7px 10px;
    border-radius: 4px;
    background: #eff8f0;
    color: #071a43;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
    line-height: 1.4;
    text-align: right;
}

.vau-venue-card h3 {
    margin: 0 0 13px;
    font-size: 21px;
}

.vau-card-description {
    margin: 0 0 24px;
    font-size: 15px !important;
    line-height: 1.75 !important;
}

.vau-venue-details {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin: auto 0 0;
    padding: 15px 0 0;
    border-top: 1px solid #e8eee9;
}

.vau-venue-details div {
    display: grid;
    grid-template-columns: minmax(105px, .8fr) 1.2fr;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid #f0f3f1;
}

.vau-venue-details div:last-child {
    border-bottom: 0;
}

.vau-venue-details dt {
    color: #667386;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.6;
}

.vau-venue-details dd {
    margin: 0;
    color: #071a43;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.6;
    overflow-wrap: anywhere;
}

/* 7. FINAL CTA */
.vau-cta {
    padding: 82px 0;
    background: #071a43;
}

.vau-cta-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

.vau-cta-content {
    max-width: 820px;
}

.vau-cta h2 {
    margin: 0 0 18px;
    color: #ffffff !important;
    font-size: 42px;
    line-height: 1.2;
}

.vau-cta p {
    margin: 0;
    color: #ffffff !important;
    font-size: 17px;
}

.vau-cta-actions {
    flex-shrink: 0;
    margin-top: 0;
}

/* 8. TABLET */
@media (max-width: 991px) {
    .vau-hero {
        padding: 70px 0;
    }

    .vau-hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .vau-hero-content {
        max-width: 760px;
    }

    .vau-hero h1 {
        font-size: 46px;
    }

    .vau-hero-gallery {
        grid-template-rows: 200px 200px 130px;
    }

    .vau-section {
        padding: 70px 0;
    }

    .vau-page h2 {
        font-size: 38px;
    }

    .vau-venue-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .vau-cta-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .vau-cta-actions {
        margin-top: 5px;
    }
}

/* 9. MOBILE */
@media (max-width: 600px) {
    .vau-container {
        width: 90%;
    }

    .vau-hero {
        padding: 58px 0;
    }

    .vau-hero h1 {
        font-size: 36px;
    }

    .vau-hero h2 {
        font-size: 21px;
    }

    .vau-hero p {
        font-size: 15px;
    }

    .vau-hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .vau-hero-actions .vau-btn {
        width: 100%;
    }

    .vau-hero-gallery {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 145px 145px 105px;
        gap: 8px;
    }

    .vau-gallery-side {
        gap: 8px;
    }

    .vau-section {
        padding: 55px 0;
    }

    .vau-section-heading {
        margin-bottom: 32px;
    }

    .vau-page h2 {
        font-size: 31px;
    }

    .vau-section-heading p {
        font-size: 15px;
    }

    .vau-venue-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .vau-venue-card {
        padding: 24px 21px;
    }

    .vau-venue-card h3 {
        font-size: 20px;
    }

    .vau-venue-details div {
        grid-template-columns: 112px minmax(0, 1fr);
        gap: 10px;
    }

    .vau-cta {
        padding: 60px 0;
    }

    .vau-cta h2 {
        font-size: 32px;
    }

    .vau-cta p {
        font-size: 15px;
    }

    .vau-cta-actions,
    .vau-cta-actions .vau-btn {
        width: 100%;
    }
}

/* 10. REDUCED MOTION */
@media (prefers-reduced-motion: reduce) {
    .vau-venue-card,
    .vau-btn {
        transition: none;
    }

    .vau-venue-card:hover {
        transform: none;
    }
}


/* =====================================================
   11. ESTIMATED CAPACITY COMPARISON TABLE
===================================================== */

.vau-capacity-section {
    background: #ffffff;
}

.vau-table-wrap {
    width: 100%;
    overflow-x: auto;
    background: #ffffff;
    border: 1px solid #e2eae4;
    border-radius: 13px;
    box-shadow: 0 10px 30px rgba(7,26,67,.045);
}

.vau-capacity-table {
    width: 100%;
    min-width: 650px;
    border-collapse: collapse;
    border-spacing: 0;
    color: #071a43;
}

.vau-capacity-table thead {
    background: #071a43;
}

.vau-capacity-table th {
    padding: 18px 22px;
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.5;
    text-align: left;
}

.vau-capacity-table td {
    padding: 15px 22px;
    border-bottom: 1px solid #e9efeb;
    color: #34445b;
    font-size: 14px;
    line-height: 1.6;
    vertical-align: middle;
}

.vau-capacity-table tbody tr:nth-child(even) {
    background: #f5faf4;
}

.vau-capacity-table tbody tr:hover {
    background: #edf8ef;
}

.vau-capacity-table tbody tr:last-child td {
    border-bottom: 0;
}

.vau-capacity-table td:first-child {
    color: #071a43;
    font-weight: 700;
}

.vau-capacity-table td:last-child {
    font-weight: 700;
    white-space: nowrap;
}

.vau-table-note {
    margin: 15px 2px 0;
    color: #6b7788 !important;
    font-size: 13px !important;
    line-height: 1.6 !important;
}


/* =====================================================
   12. VENUE BOOKING REQUEST FORM
===================================================== */

.vau-booking-section {
    background: #f5faf4;
}

.vau-form-wrap {
    max-width: 1000px;
    margin: 0 auto;
    padding: 42px;
    background: #ffffff;
    border: 1px solid #e3ebe6;
    border-top: 4px solid #80e387;
    border-radius: 14px;
    box-shadow: 0 12px 35px rgba(7,26,67,.045);
}

.vau-booking-form {
    width: 100%;
}

.vau-form-section-title {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 0 0 25px;
}

.vau-form-section-title > span {
    width: 38px;
    height: 38px;
    min-width: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #eaf9ec;
    border-radius: 50%;
    color: #071a43;
    font-size: 14px;
    font-weight: 700;
}

.vau-form-section-title h3 {
    margin: 0;
    color: #071a43 !important;
    font-size: 22px;
    font-weight: 700;
}

.vau-form-grid {
    display: grid;
    gap: 20px;
}

.vau-form-grid-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.vau-form-group {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.vau-form-full {
    grid-column: 1 / -1;
}

.vau-form-group label {
    color: #071a43;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.5;
}

.vau-form-group label span,
.vau-booking-consent strong {
    color: #c13c3c;
}

.vau-form-group input,
.vau-form-group select,
.vau-form-group textarea {
    width: 100%;
    min-height: 50px;
    padding: 13px 16px;
    background: #ffffff;
    border: 1px solid #dce5df;
    border-radius: 8px;
    color: #071a43;
    font-family: inherit;
    font-size: 15px;
    line-height: 1.5;
    outline: none;
    transition: border-color .25s ease, box-shadow .25s ease;
}

.vau-form-group textarea {
    min-height: 130px;
    resize: vertical;
}

.vau-form-group input:focus,
.vau-form-group select:focus,
.vau-form-group textarea:focus {
    border-color: #80e387;
    box-shadow: 0 0 0 3px rgba(128,227,135,.22);
}

.vau-form-group input::placeholder,
.vau-form-group textarea::placeholder {
    color: #8994a3;
}

.vau-time-fields {
    display: grid;
    grid-template-columns: minmax(0,1fr) auto minmax(0,1fr);
    align-items: center;
    gap: 10px;
}

.vau-time-fields span {
    color: #68778a;
    font-size: 14px;
}

.vau-form-divider {
    height: 1px;
    margin: 32px 0;
    background: #e8eee9;
}

.vau-contact-options {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 0 0 25px;
}

.vau-contact-options label {
    min-width: 115px;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 12px 17px;
    background: #f5faf4;
    border: 1px solid #e3ebe6;
    border-radius: 8px;
    color: #071a43;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}

.vau-contact-options input,
.vau-booking-consent input {
    width: 17px;
    height: 17px;
    accent-color: #80e387;
    flex-shrink: 0;
}

.vau-booking-consent {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    margin: 8px 0 25px;
    color: #34445b;
    font-size: 14px;
    line-height: 1.7;
    cursor: pointer;
}

.vau-booking-consent input {
    margin-top: 3px;
}

.vau-form-actions {
    display: flex;
    justify-content: flex-start;
}

.vau-form-actions .vau-btn {
    cursor: pointer;
    font-family: inherit;
}

.vau-form-note {
    margin: 18px 0 0;
    color: #6b7788 !important;
    font-size: 13px !important;
    line-height: 1.7 !important;
}


/* =====================================================
   13. RESPONSIVE ADDITIONS
===================================================== */

@media (max-width: 991px) {
    .vau-form-wrap {
        padding: 32px;
    }
}

@media (max-width: 600px) {
    .vau-form-wrap {
        padding: 25px 20px;
        border-radius: 11px;
    }

    .vau-form-grid-2 {
        grid-template-columns: 1fr;
        gap: 17px;
    }

    .vau-form-section-title h3 {
        font-size: 19px;
    }

    .vau-form-divider {
        margin: 25px 0;
    }

    .vau-contact-options {
        flex-direction: column;
    }

    .vau-contact-options label {
        width: 100%;
    }

    .vau-form-actions,
    .vau-form-actions .vau-btn {
        width: 100%;
    }

    .vau-capacity-table th,
    .vau-capacity-table td {
        padding: 13px 15px;
    }
}

/* =========================================
   VENUE REQUEST POPUP
========================================= */

.vau-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 999999;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.vau-modal.active {
    display: flex;
}

/* Overlay */

.vau-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(5, 20, 51, .80);
    backdrop-filter: blur(4px);
}

/* Popup container */

.vau-modal-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 950px;
    height: 90vh;
    max-height: 950px;
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 20px 70px rgba(0, 0, 0, .25);
    animation: vau-modal-show .3s ease;
}

/* Header */

.vau-modal-header {
    min-height: 65px;
    padding: 15px 25px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    background: #071a43;
    flex-shrink: 0;
}

.vau-modal-header h3 {
    margin: 0;
    color: #ffffff !important;
    font-size: 21px;
    font-weight: 700;
}

/* Close button */

.vau-modal-close {
    width: 38px;
    height: 38px;
    min-width: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #80e387;
    border: none;
    border-radius: 50%;
    color: #071a43;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    transition: none;
}

.vau-modal-close:hover {
    background: #80e387;
    color: #071a43;
}

/* Iframe container */

.vau-modal-body {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    overflow-x: hidden;
    background: #ffffff;
}

.vau-modal-body iframe {
    display: block;
    width: 100%;
    height: 2145px;
    border: none;
}

/* Animation */

@keyframes vau-modal-show {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile */

@media (max-width: 600px) {

    .vau-modal {
        padding: 8px;
    }

    .vau-modal-content {
        height: 95vh;
        border-radius: 10px;
    }

    .vau-modal-header {
        min-height: 58px;
        padding: 12px 16px;
    }

    .vau-modal-header h3 {
        font-size: 17px;
    }

    .vau-modal-body iframe {
        height: 2145px;
    }

}