:root {
    --primary-color: #2C3E50;
    --secondary-color: #E74C3C;
    --accent-color: #3498DB;
    --text-color: #2C3E50;
    --light-gray: #ECF0F1;
    --white: #FFFFFF;
    --success-color: #27AE60;
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: #f5f7fa;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

/* Banner Styles */
.event-banner {
    width: 100%;
    height: 50vh; /* Altura inicial de 50% da viewport */
    background-size: cover; /* Garante que a imagem cubra toda a área */
    background-position: center; /* Centraliza a imagem */
    background-repeat: no-repeat; /* Impede repetição da imagem */
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    position: relative;
}

.banner-overlay {
    padding: 1rem;
    background-color: rgba(0, 0, 0, 0.5); /* Fundo semitransparente para contraste */
    border-radius: 10px;
}

@media (max-width: 768px) {
    .event-banner {
        height: 40vh; /* Reduz a altura em dispositivos menores */
        background-size: cover; /* Mantém a cobertura da imagem */
    }
}

@media (max-width: 480px) {
    .event-banner {
        height: 30vh; /* Altura ainda menor para telas pequenas */
    }
    .banner-overlay h1 {
        font-size: 1.5rem; /* Reduz tamanho do texto */
    }
    .banner-overlay p {
        font-size: 1rem;
    }
}



.event-banner h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.event-date {
    font-size: 1.5rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* Event Info Styles */
.event-info {
    background: var(--white);
    border-radius: 15px;
    padding: 2rem;
    margin-top: -5rem;
    position: relative;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.event-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.highlight {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.icon {
    width: 40px;
    height: 40px;
    background-color: var(--light-gray);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Tickets Section Styles */
.tickets-section {
    margin-top: 3rem;
}

.ticket-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.ticket-card {
    background: var(--white);
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.ticket-card:hover {
    transform: translateY(-5px);
}

.ticket-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--light-gray);
}

.price {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
}

.ticket-details {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.ticket-quantity {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

.qty-btn {
    width: 30px;
    height: 30px;
    border: none;
    background: var(--light-gray);
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
}

.qty-btn:hover {
    background: var(--accent-color);
    color: var(--white);
}

.qty-input {
    width: 50px;
    text-align: center;
    border: 1px solid var(--light-gray);
    border-radius: 5px;
    padding: 0.3rem;
}

/* Cart Summary Styles */
.cart-summary {
    background: var(--white);
    border-radius: 15px;
    padding: 2rem;
    margin-top: 2rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.summary-content {
    max-width: 600px;
    margin: 0 auto;
}

.summary-items {
    margin: 1rem 0;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--light-gray);
}

.total {
    display: flex;
    justify-content: space-between;
    font-size: 1.2rem;
    font-weight: bold;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 2px solid var(--light-gray);
}

.buy-button {
    width: 100%;
    padding: 1rem;
    margin-top: 1rem;
    background: var(--success-color);
    color: var(--white);
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.buy-button:hover:not(:disabled) {
    background: #219a52;
}

.buy-button:disabled {
    background: #ccc;
    cursor: not-allowed;
}

/* Responsive Design */
@media (max-width: 768px) {
    .event-banner h1 {
        font-size: 2.5rem;
    }
    
    .event-date {
        font-size: 1.2rem;
    }
    
    .container {
        padding: 1rem;
    }
    
    .ticket-options {
        grid-template-columns: 1fr;
    }
}