* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: "Bree Serif", Sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial;
    background: #f5f2eb;
    color: #333;
}

main.container {
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    margin-top: 0;
    margin-bottom: 20px;
    background: transparent;
    padding: 0;
}

.main-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 2rem;
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 2rem;
}

.hero-section {
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.hero-image {
    width: 100%;
    height: auto;
    max-height: 450px;
    object-fit: contain;
    display: block;
}

.event-info-bottom {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.event-info-row {
    display: flex;
    gap: 1rem;
    align-items: center;
    margin-bottom: 0.8rem;
}

.event-tag {
    display: inline-block;
    background: #e8e8f8;
    color: #4a4a8a;
    padding: 0.4rem 0.8rem;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 600;
    width: fit-content;
}

.event-price {
    display: inline-block;
    background: #fff3cd;
    color: #856404;
    padding: 0.4rem 0.8rem;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 600;
    width: fit-content;
}

.event-price-free {
    display: inline-block;
    background: #d1ecf1;
    color: #0c5460;
    padding: 0.4rem 0.8rem;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 600;
    width: fit-content;
}

.event-title {
    font-size: 1.8rem;
    margin: 0 0 0.8rem 0;
    color: #1f1f1f;
}

.event-description {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #666;
    margin: 0;
}

.form-section {
    display: flex;
    flex-direction: column;
}

.form-card {
    background: #fff;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.form-title {
    font-size: 1.4rem;
    margin: 0 0 1.5rem 0;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.form-title::before {
    content: "🎫";
    font-size: 1.6rem;
}

.capacity-indicator {
    background: #f9f9f9;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    border-left: 4px solid #0d2bb0;
}

.capacity-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.capacity-label {
    font-weight: 600;
    color: #1f1f1f;
}

.capacity-numbers {
    font-weight: 600;
    color: #0d2bb0;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: #e0e0e0;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.progress-fill {
    height: 100%;
    background: #0d2bb0;
    transition: width 0.3s ease;
}

.seats-available {
    font-size: 0.85rem;
    color: #666;
    margin: 0;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-form.hidden {
    display: none;
}

.forms[data-active-form="employee"] #employee-form,
.forms[data-active-form="media"] #media-form {
    display: flex;
}

.forms[data-active-form="employee"] #media-form,
.forms[data-active-form="media"] #employee-form {
    display: none;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

label {
    display: flex;
    flex-direction: column;
    font-size: 0.9rem;
    gap: 0.4rem;
    color: #1f1f1f;
    font-weight: 500;
}

input {
    padding: 0.75rem;
    border-radius: 6px;
    border: 1px solid #d0d0d0;
    font-family: inherit;
    font-size: 0.95rem;
    transition: border-color 0.3s ease;
}

input:focus {
    outline: none;
    border-color: #0d2bb0;
}

input::placeholder {
    color: #aaa;
}

.captcha-wrapper {
    display: flex;
    justify-content: center;
    margin: 1rem 0;
}

.submit-button {
    padding: 0.9rem 2rem;
    font-family: inherit;
    background: #0d2bb0;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
}

.submit-button:hover {
    background: #0a2288;
}

.alert {
    margin: 1rem 0;
    padding: 1rem;
    border-radius: 8px;
    font-size: 0.9rem;
}

.alert.error {
    background: #ffecec;
    border: 1px solid #e43f3f;
    color: #c33;
}

.alert.error ul {
    margin: 0.5rem 0 0;
    padding-left: 1.25rem;
}

.alert.success {
    background: #ecfff1;
    border: 1px solid #0b5d1e;
    color: #0b5d1e;
}

.alert.success h3 {
    margin: 0 0 0.5rem 0;
}

.alert.success ul {
    margin: 0.5rem 0 0;
    padding-left: 1.25rem;
}

.alert.success li {
    margin: 0.3rem 0;
}

.event-details-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    max-width: 1200px;
    margin: 3rem auto;
    padding: 0 2rem;
}

.detail-card {
    background: #fff;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    text-align: center;
}

.detail-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.detail-card h3 {
    font-size: 1.2rem;
    margin: 0.5rem 0;
    color: #1f1f1f;
}

.detail-card p {
    margin: 0.3rem 0;
    color: #666;
    font-size: 0.95rem;
}

.detail-address {
    font-size: 0.85rem;
    color: #999;
}

/* Mobile Responsive */
@media (max-width: 900px) {
    .main-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 1rem;
        margin: 1rem auto;
    }

    .event-details-section {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 1rem;
        margin: 2rem auto;
    }

    .form-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .main-content {
        padding: 0 1rem;
    }

    .form-card {
        padding: 1.5rem;
    }

    .hero-image {
        height: auto;
        max-height: 250px;
    }

    .event-title {
        font-size: 1.4rem;
    }

    .form-title {
        font-size: 1.1rem;
    }

    input {
        font-size: 16px;
    }
}
