* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f4f7f6;
    color: #333;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 20px auto;
    padding: 0 20px;
}

.header {
    background-color: #000d97;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 40px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.header .logo {
    display: flex;
    align-items: center;
}

.header .logo img {
    height: 85px;
    margin-right: 15px;
}

.header h1 {
    font-size: 1.2em;
    font-weight: 600;
}

.nav-menu a {
    color: white;
    text-decoration: none;
    margin-left: 25px;
    font-size: 1.1em;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: #028ACD;
}

.tabs {
    text-align: center;
    margin-bottom: 30px;
    margin-top: 40px;
}

.tab-button {
    background-color: #4e48ff;
    color: white;
    border: none;
    padding: 12px 25px;
    margin: 0 8px;
    cursor: pointer;
    border-radius: 5px;
    font-size: 1em;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

.tab-button.active {
    background-color: #0800FF;
}

.tab-button:hover {
    background-color: #040083;
}

.cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    padding-bottom: 50px;
}

.card {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-top: 5px solid  #0800FF; 
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.card-header {
    background-color: #f0f0f0;
    padding: 15px 20px;
    border-bottom: 1px solid #eee;
}

.card-header h2 {
    font-size: 1.3em;
    text-align: center;
    font-weight: 600;
    color: #292929;
}

.card-content {
    padding: 25px 20px 15px 20px;
    text-align: center;
    flex-grow: 1;
}

.card-icon {
    width: 40px;
    height: 40px;
    margin-bottom: 15px;
    opacity: 0.8;
}

.card-content h3 {
    font-size: 1.1em;
    margin-bottom: 8px;
    color: #333;
}

.card-content p {
    font-size: 0.95em;
    color: #666;
}

.card-footer {
    padding: 15px 20px;
    background-color: #f9f9f9;
    border-top: 1px solid #eee;
    text-align: center;
}

.details-button {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 10px 25px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1em;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

.details-button:hover {
    background-color: #0056b3;
}

.footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 25px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.footer p {
    font-size: 0.9em;
}

.social-links {
    display: flex;
    align-items: center;
}

.social-links a {
    margin-left: 15px;
    text-decoration: none;
    color: white;
    font-size: 0.9em;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: #ccc;
}

.social-links img {
    width: 24px;
    height: 24px;
    vertical-align: middle;
}

@media (max-width: 768px) {
    .header {
        flex-direction: column;
        padding: 15px;
    }

    .header h1 {
        font-size: 1.5em;
        margin-top: 10px;
    }

    .nav-menu {
        margin-top: 15px;
    }

    .nav-menu a {
        margin: 0 10px;
    }

    .tab-button {
        margin: 5px;
        padding: 10px 15px;
    }

    .footer {
        flex-direction: column;
        padding: 20px;
    }

    .footer p {
        margin-bottom: 15px;
    }

    .social-links {
        flex-direction: column;
    }

    .social-links a {
        margin: 5px 0;
    }
}

@media (max-width: 480px) {
    .header h1 {
        font-size: 1.3em;
    }

    .tab-button {
        font-size: 0.9em;
    }
}

.primeira-cor {
    color: #ffffff;
}

.segunda-cor {
    color: #007bff;
}

.contato {
    background-color: #fff;
    margin: 2em auto;
    max-width: 900px;
    border-radius: 10px;
    padding: 2em;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

h1, h2 {
    color: #0800FF;
}

.eventos ul, .cardapio ul {
    list-style: none;
    padding: 0;
}

.eventos li, .cardapio li {
    background: #EED9C4;
    margin: 10px auto;
    padding: 10px;
    border-radius: 5px;
    font-weight: bold;
}

.localizacao iframe {
    margin-top: 1em;
    border-radius: 10px;
    width: 100%;
    height: 400px;
    border: none;
}

.contato p {
    margin: 10px 0;
    text-align: left;
}

.contato form {
    max-width: 600px;
    margin: auto;
    text-align: left;
}

.form-group {
    margin-bottom: 1em;
}

label {
    display: block;
    margin-bottom: 0.5em;
    font-weight: bold;
    color: #333;
}

input[type="text"],
input[type="email"],
select,
textarea {
    width: 100%;
    padding: 0.8em;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box;
    font-size: 1em;
    color: #040083;
}

textarea {
    resize: vertical;
}

button[type="submit"] {
    background-color: #040083;
    color: #fff;
    padding: 0.8em 1.5em;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1em;
    transition: background-color 0.3s;
}

button[type="submit"]:hover {
    background-color: #0800FF;
    color: #b6b4ff;
}
