/* CSS específico para a página Contacto - header styles using global.css */

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f5f5f5;
    color: #333;
    overflow-x: hidden;
    width: 100%;
    height: 100%;
}

html {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    overflow-x: hidden;
}

body.menu-open {
    overflow: hidden;
}

/* Header styles removed - using global.css for consistency */

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

.page-title {
    color: var(--primary);
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2.5rem;
}

/* Estilos da página de contacto */
.contact-container {
    display: flex;
    gap: 30px;
    margin-bottom: 3rem;
}

.contact-info {
    flex: 1;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    padding: 2rem;
}

.contact-form {
    flex: 2;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    padding: 2rem;
}

.contact-form h2 {
    color: var(--primary);
    margin-top: 0;
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #333;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--primary);
    outline: none;
    box-shadow: 0 0 0 2px rgba(0, 55, 135, 0.2);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.submit-btn {
    background-color: var(--accent);
    color: white;
    border: none;
    padding: 12px 24px;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition);
}

.submit-btn:hover {
    background-color: #3cb370;
    transform: translateY(-2px);
}

.info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.info-item i {
    font-size: 1.5rem;
    color: var(--primary);
    margin-right: 15px;
    margin-top: 5px;
}

.info-item .content h3 {
    margin: 0 0 5px 0;
    font-size: 1.1rem;
    color: var(--primary);
}

.info-item .content p {
    margin: 0;
    line-height: 1.5;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 2rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background-color: #003787;
    color: white;
    border-radius: 50%;
    font-size: 1.5rem;
    transition: var(--transition);
    text-decoration: none;
}

.social-links a:hover {
    background-color: var(--accent);
    transform: translateY(-5px);
}

.map-container {
    width: 100%;
    height: 400px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 3rem;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* Alerta para mensagens de feedback */
.alert {
    padding: 1rem;
    border-radius: 4px;
    margin-bottom: 1.5rem;
    font-weight: 500;
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    animation: slideInFromTop 0.3s ease-out;
}

.alert-success {
    background-color: #d4edda;
    border-left: 4px solid #28a745;
    color: #155724;
}

.alert-error {
    background-color: #f8d7da;
    border-left: 4px solid #dc3545;
    color: #721c24;
}

.alert i {
    font-size: 1.2rem;
    flex-shrink: 0;
}

.alert span {
    flex: 1;
    white-space: pre-line;
}

.close-alert {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: inherit;
    opacity: 0.7;
    transition: opacity 0.3s ease;
    padding: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.close-alert:hover {
    opacity: 1;
    background-color: rgba(0, 0, 0, 0.1);
}

@keyframes slideInFromTop {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Media queries para responsividade */
@media (max-width: 900px) {
    .contact-container {
        flex-direction: column;
    }
}

@media (max-width: 600px) {
    .nav-container {
        padding: 0 15px;
    }

    .logo h1 {
        font-size: 1.6rem;
    }

    .container {
        padding: 1rem;
        padding-top: 100px;
    }

    .page-title {
        font-size: 2rem;
    }
}

/* Estilo para quando o menu está aberto */
body.menu-open {
    overflow: hidden;
}
