/* Reset básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: #444;
    background-color: #f9fafa;
    margin: 0;
    padding: 0;
}

header {
    background: linear-gradient(135deg, #e65c00, #ff7f32);
    color: white;
    padding: 3rem 1rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    clip-path: ellipse(150% 100% at 50% 0%);
}

header .header-container {
    max-width: 900px;
    margin: 0 auto;
    z-index: 1;
    position: relative;
}

header .header-container h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
    letter-spacing: 1px;
    line-height: 1.2;
}

header .header-container p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
    font-weight: 300;
    line-height: 1.6;
}

header::before {
    content: '';
    position: absolute;
    top: -50px;
    left: -50px;
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    z-index: 0;
    animation: bubble 10s infinite ease-in-out;
}

header::after {
    content: '';
    position: absolute;
    bottom: -50px;
    right: -50px;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    z-index: 0;
    animation: bubble 15s infinite ease-in-out;
}

@keyframes bubble {
    0% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-30px) scale(1.2);
    }
    100% {
        transform: translateY(0) scale(1);
    }
}

main {
    padding: 2rem 1rem;
    max-width: 900px;
    margin: 0 auto;
}

.disclaimer {
    background: #ffe5cc;
    color: #b34700;
    padding: 1rem;
    border-radius: 5px;
    margin-bottom: 2rem;
    font-size: 0.9rem;
    text-align: center;
}

.event-section {
    margin-bottom: 3rem;
}

.event-section h2 {
    font-size: 2rem;
    margin-bottom: 1.2rem;
    color: #e65c00;
    border-bottom: 2px solid #ff7f32;
    display: inline-block;
    padding-bottom: 0.3rem;
}

.event-info {
    background: #fff4e6;
    padding: 1rem;
    border-radius: 5px;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    color: #b34700;
    line-height: 1.5;
}

.event-card {
    background: white;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s, box-shadow 0.2s ease;
}

.event-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.event-card .card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.event-card .card-header h3 {
    font-size: 1.3rem;
    color: #333;
    font-weight: 600;
}

.event-card .card-header span {
    font-size: 0.9rem;
    color: #e65c00;
    display: flex;
    align-items: center;
}

.event-card .card-header i {
    margin-right: 0.5rem;
}

.event-card ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 1.5rem;
}

.event-card ul li {
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
    position: relative;
    padding-left: 1.5rem;
}

.event-card ul li::before {
    content: "\f001"; /* Ícone de música (Font Awesome) */
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    color: #e65c00;
    position: absolute;
    left: 0;
    top: 0;
}

.driver-btn {
    display: inline-block;
    font-size: 0.9rem;
    padding: 0.8rem 1.2rem;
    background: #e65c00;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.2s ease;
    text-decoration: none;
}

.driver-btn i {
    margin-right: 0.5rem;
}

.driver-btn:hover {
    background: #b34700;
}

footer {
    background: #e65c00;
    color: white;
    text-align: center;
    padding: 1.5rem 0;
    margin-top: 3rem;
}

footer .footer-container p {
    margin: 0.5rem 0;
    font-size: 0.9rem;
}

footer .footer-container strong {
    color: #ffe5cc;
}


/* Reset básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: #444;
    background-color: #f9fafa;
    margin: 0;
    padding: 0;
}

header {
    background: linear-gradient(135deg, #e65c00, #ff7f32);
    color: white;
    padding: 3rem 1rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    clip-path: ellipse(150% 100% at 50% 0%);
}

header .header-container {
    max-width: 900px;
    margin: 0 auto;
    z-index: 1;
    position: relative;
}

header .header-container h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
    letter-spacing: 1px;
}

header .header-container p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
    font-weight: 300;
    line-height: 1.6;
}

.disclaimer {
    background: #ffe5cc;
    color: #b34700;
    padding: 1rem;
    border-radius: 5px;
    margin-bottom: 2rem;
    font-size: 0.9rem;
    text-align: center;
}

.event-section {
    margin-bottom: 3rem;
}

.event-card {
    background: white;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.event-card .card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.event-card .card-header h3 {
    font-size: 1.3rem;
    color: #333;
}

.driver-btn {
    display: inline-block;
    padding: 0.8rem 1.2rem;
    background: #e65c00;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.2s ease;
}

.driver-btn:hover {
    background: #b34700;
}

/* Estilos do Popup */
.popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6); /* Fundo semitransparente */
    display: none; /* Esconder o popup inicialmente */
    justify-content: center; /* Centralizar horizontalmente */
    align-items: center; /* Centralizar verticalmente */
    z-index: 1000;
    display: flex; /* Garantir que o contêiner use flexbox */
}

.popup-content {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    max-width: 400px;
    width: 90%;
    animation: popup-appear 0.3s ease-out; /* Animação de entrada */
    position: relative;
}

.popup-content p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.5;
    color: #333;
}

.popup-content button {
    padding: 0.8rem 1.5rem;
    background: #e65c00;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    transition: background 0.3s ease;
}

.popup-content button:hover {
    background: #b34700;
}

/* Animação de entrada */
@keyframes popup-appear {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.search-bar-container {
    display: flex;
    justify-content: center;
    align-items: stretch; /* Garante alinhamento perfeito */
    margin: 24px auto 16px auto;
    max-width: 600px;
    padding: 0 16px;
    gap: 0;
}
.search-bar-container input[type="text"] {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #ccc;
    border-radius: 24px 0 0 24px;
    font-size: 1rem;
    border-right: none;
    box-sizing: border-box;
    height: 44px;
}
.search-bar-container button {
    padding: 0 20px;
    border: none;
    background: #f93;
    color: #fff;
    font-size: 1.3rem;
    border-radius: 0 24px 24px 0;
    cursor: pointer;
    transition: background 0.2s;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.search-bar-container button:hover {
    background: #e68a00;
}
.search-bar-container i.fas.fa-search {
    vertical-align: middle;
    font-size: 1.2em;
}
.no-results-message {
    text-align: center;
    color: #800;
    margin-top: 24px;
    font-weight: bold;
    display: none;
}