:root {
    --bg: #f4f6fb;
    --card: #ffffff;
    --text: #1f2937;
    --muted: #4b5563;
    --primary: #1d4ed8;
    --primary-dark: #1e3a8a;
    --border: #e5e7eb;
    --shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: "Heebo", Arial, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
}

body.hall-modal-open,
body.rooms-modal-open,
body.hall-lightbox-open,
body.rooms-lightbox-open {
    overflow: hidden;
}

.hero {
    background: linear-gradient(130deg, #0f172a 0%, #1e3a8a 55%, #1d4ed8 100%);
    color: #fff;
    padding: 20px 20px 20px;
    text-align: center;
}

.hero h1 {
    margin: 0 0 12px;
    font-size: clamp(1.9rem, 3.4vw, 2.8rem);
    font-weight: 800;
}

.hero p {
    margin: 0 auto;
    max-width: 840px;
    font-size: 1.08rem;
    color: #dbeafe;
}

.cta-row {
    margin-top: 28px;
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    text-decoration: none;
    border-radius: 999px;
    padding: 12px 24px;
    font-weight: 700;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
    border: none;
    cursor: pointer;
    font-family: inherit;
    font-size: 0.95rem;
}

button.btn,
button.btn-ghost,
button.hall-gallery-close,
button.hall-lightbox-nav,
button.hall-gallery-thumb {
    font: inherit;
}

button.btn-ghost:disabled,
button#hall-open-gallery:disabled {
    cursor: not-allowed;
    opacity: 0.6;
    transform: none;
    box-shadow: none;
}

.btn-primary {
    background: #ffffff;
    color: var(--primary-dark);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.35);
}

.btn-ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 14px;
    padding: 10px 20px;
    background: #eff6ff;
    color: var(--primary-dark);
    border: 1px solid #93c5fd;
    border-radius: 12px;
}

.btn-ghost:hover {
    background: #dbeafe;
    transform: translateY(-1px);
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.22);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 34px 20px 64px;
}

.section-title {
    text-align: center;
    margin: 0 0 8px;
    color: #0f172a;
    font-size: 1.7rem;
}

.section-subtitle {
    text-align: center;
    margin: 0 auto 28px;
    color: var(--muted);
    max-width: 760px;
}

.cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
    align-items: stretch;
}

.cards .card-contact {
    grid-column: 1 / -1;
}

@media (max-width: 768px) {
    .cards {
        grid-template-columns: 1fr;
    }

    .cards .card-contact {
        grid-column: auto;
    }
}

.card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 18px;
    box-shadow: var(--shadow);
    padding: 22px 20px;
}

.card h3 {
    margin: 0 0 10px;
    font-size: 1.4rem;
    color: #0f172a;
}

.card p {
    margin: 0 0 14px;
    color: var(--muted);
}

.card ul {
    margin: 0 0 8px;
    padding-right: 18px;
}

.card li {
    margin-bottom: 6px;
    color: #111827;
}

.badge {
    display: inline-block;
    margin-bottom: 12px;
    font-size: 0.85rem;
    padding: 5px 12px;
    border-radius: 999px;
    background: #dbeafe;
    color: #1e3a8a;
    font-weight: 700;
}

.card-contact {
    text-align: center;
}

.card-contact p:last-child {
    margin-bottom: 0;
}

.card-contact .contact-line {
    margin: 0 0 8px;
    font-size: 1.05rem;
    color: #111827;
}

.card-contact .contact-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 12px;
}

.card-contact .contact-tel {
    color: var(--primary);
    font-weight: 700;
    text-decoration: none;
    direction: ltr;
    display: inline-block;
    unicode-bidi: embed;
}

.card-contact .contact-tel:hover {
    text-decoration: underline;
}

.hall-gallery-modal[hidden] {
    display: none;
}

.hall-gallery-modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.hall-gallery-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.65);
    cursor: pointer;
}

.hall-gallery-panel {
    position: relative;
    z-index: 1;
    width: min(960px, 100%);
    max-height: min(88vh, 900px);
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.hall-gallery-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px 12px;
    border-bottom: 1px solid var(--border);
    flex-shrink: 0;
}

.hall-gallery-head h2 {
    margin: 0;
    font-size: 1.15rem;
    color: #0f172a;
}

.hall-gallery-close {
    width: 40px;
    height: 40px;
    border: none;
    background: #f1f5f9;
    border-radius: 10px;
    cursor: pointer;
    line-height: 1;
    font-size: 1.5rem;
    color: #334155;
}

.hall-gallery-close:hover {
    background: #e2e8f0;
}

.hall-gallery-body {
    padding: 16px 20px 20px;
    overflow: auto;
}

.hall-gallery-empty {
    text-align: center;
    color: var(--muted);
    padding: 32px 12px;
    margin: 0;
}

.hall-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 10px;
}

.hall-gallery-thumb {
    position: relative;
    padding: 0;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    background: #f8fafc;
    cursor: pointer;
    aspect-ratio: 1;
}

.hall-gallery-thumb:focus {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

.hall-gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hall-lightbox[hidden] {
    display: none;
}

.hall-lightbox {
    position: fixed;
    inset: 0;
    z-index: 1100;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    background: rgba(15, 23, 42, 0.92);
}

.hall-lightbox-inner {
    position: relative;
    max-width: min(96vw, 1200px);
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.hall-lightbox img {
    max-width: 100%;
    max-height: min(78vh, 800px);
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.hall-lightbox-tool {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding: 8px 16px 0;
    flex-wrap: wrap;
}

.hall-lightbox-nav {
    width: 48px;
    height: 48px;
    border: none;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    font-size: 1.4rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.hall-lightbox-nav:hover {
    background: rgba(255, 255, 255, 0.28);
}

.hall-lightbox-count {
    color: #cbd5e1;
    font-size: 0.9rem;
    min-width: 3.5em;
    text-align: center;
}

.hall-lightbox-close {
    position: absolute;
    top: 8px;
    left: 8px;
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 2;
}

.hall-lightbox-close:hover {
    background: rgba(255, 255, 255, 0.22);
}
