:root {
    --marianum-red: #993333;
    --marianum-red-hover: #7a2929;
    --primary-dark: #7a2929; 
    --max-width-desktop: 1200px; 
    --font-main: 'Open Sans', sans-serif;
    --text-main: #333; 
    --text-support: #888; 
}

* { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
}

body { 
    background: #f9f9f9; 
    font-family: var(--font-main); 
    color: var(--text-main);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.container {
    width: 100%;
    max-width: var(--max-width-desktop);
    padding: 0 15px;
    margin: 0 auto;
}

.ticket-section {
    padding: 20px 0;
    flex-grow: 1; 
}

.ticket-wrapper {
    background: #fff;
    padding: 40px;
    border-radius: 6px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.08);
    margin-top: 20px;
    margin-bottom: 20px;
}

.main-title {
    text-align: center;
    color: var(--marianum-red);
    margin-bottom: 40px;
    font-size: 2.2rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 2px solid #eee;
    padding-bottom: 15px;
}

.split-content {
    display: flex;
    gap: 50px;
    align-items: center;
}

.flyer-box { 
    flex: 1; 
    text-align: center; 
}

.flyer {
    width: 100%;
    max-width: 450px;
    border-radius: 4px;
}

.info-box {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.info-box p {
    margin-bottom: 20px;
    line-height: 1.6;
    font-size: 1.1rem;
    color: #444;
}

.ticket-button {
    background: var(--marianum-red);
    padding: 15px 30px;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-size: 18px;
    font-weight: 600;
    display: inline-block;
    transition: 0.3s;
    text-align: center;
    width: fit-content;
}

.ticket-button:hover {
    background: var(--marianum-red-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(153, 51, 51, 0.3);
}

.support-info {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
    font-size: 0.85em;
    color: var(--text-support);
}

.support-info a {
    color: var(--marianum-red); 
    text-decoration: none;
    font-weight: bold;
}

.site-footer {
    width: 100%;
    background-color: var(--primary-dark); 
    color: white;
    padding: 15px 0;
    margin-top: auto; 
}

.footer-content {
    max-width: var(--max-width-desktop);
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
    font-size: 0.9em;
}

.footer-links a {
    color: white;
    text-decoration: underline;
    margin: 0 5px;
}

.footer-links a:hover {
    text-decoration: none;
}


@media (max-width: 1024px) {
    .ticket-wrapper {
        padding: 40px 50px;
        margin: 40px 30px; 
    }
    
    .split-content {
        gap: 30px;
    }
}

@media (max-width: 768px) {

    .container {
        width: 90%;
    }
    
    .split-content {
        flex-direction: column; 
    }

    .ticket-wrapper {
        padding: 20px 20px;
        margin: 20px 20px; 
    }

    .main-title {
        font-size: 1.8rem;
        margin-bottom: 25px;
    }

    .info-box {
        text-align: center;
        align-items: center;
    }

    .ticket-button { 
        width: 100%; 
        max-width: 300px; 
    }
    
    .footer-content p {
        margin-bottom: 10px;
    }

    .footer-links a { 
        margin: 0 10px;
    }
    
    .support-info {
        text-align: center; 
    }
}