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

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #e6f0ff 0%, #c9e0ff 100%);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

header {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: white;
    padding: 1rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.logo {
    font-size: 2.5rem;
    margin-right: 1rem;
}

header h1 {
    font-size: 1.8rem;
    margin-right: auto;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 1.5rem;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    transition: all 0.3s ease;
}

nav ul li a:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

main {
    flex: 1;
    padding: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

/* Espaçamento uniforme entre seções */
.section-spacing {
    margin-bottom: 4rem;
}

/* Layout de duas colunas */
.container-colunas {
    display: flex; /* Transforma os filhos em flex items */
	margin: 0 auto;    
	flex-direction: row; /* Define a direção das colunas para a direita */
    gap: 50px; /* Espaço entre as colunas, opcional */
}

.coluna-1, .coluna-2 {
    flex: 1; /* Faz cada coluna ocupar a mesma largura */
    padding: 15px; /* Espaçamento interno, opcional */
}

.featured-image {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

/* Estatísticas */
.stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.stat-box {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.stat-box:hover {
    transform: translateY(-5px);
}

.stat-box h3 {
    font-size: 2.8rem;
    color: #2a5298;
    margin-bottom: 0.8rem;
}

/* Formulários */
.search, .contact {
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.search h2, .contact h2 {
    color: #2a5298;
    margin-bottom: 2rem;
    text-align: center;
    font-size: 1.8rem;
}

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

label {
    display: block;
    margin-bottom: 0.8rem;
    font-weight: bold;
    color: #2a5298;
}

input, select, textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

input:focus, select:focus, textarea:focus {
    border-color: #2a5298;
    outline: none;
}

/* Botões */
.btn-3d {
    background: linear-gradient(135deg, #2a5298 0%, #1e3c72 100%);
    color: white;
    border: none;
    padding: 1.2rem 2.5rem;
    font-size: 1.1rem;
    font-weight: bold;
    border-radius: 8px;
    cursor: pointer;
    box-shadow: 0 5px 0 #1e3c72;
    transition: all 0.3s ease;
    display: block;
    margin: 0 auto;
}

.btn-3d:hover {
    transform: translateY(3px);
    box-shadow: 0 2px 0 #1e3c72;
}

.btn-3d-small {
    background: linear-gradient(135deg, #2a5298 0%, #1e3c72 100%);
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
    font-weight: bold;
    border-radius: 6px;
    cursor: pointer;
    box-shadow: 0 4px 0 #1e3c72;
    transition: all 0.3s ease;
    width: 100%;
}

.btn-3d-small:hover {
    transform: translateY(2px);
    box-shadow: 0 2px 0 #1e3c72;
}

/* Objetos recentes */
.recent-objects h2, .results h2 {
    color: #2a5298;
    margin-bottom: 2rem;
    text-align: center;
    font-size: 1.8rem;
}

.objects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.object-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
}

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

.object-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.no-image {
    width: 100%;
    height: 200px;
    background: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #777;
    font-style: italic;
}

.object-card h3 {
    padding: 1.2rem 1.2rem 0.5rem;
    color: #2a5298;
    font-size: 1.2rem;
}

.object-card p {
    padding: 0 1.2rem;
    margin-bottom: 0.8rem;
    flex-grow: 1;
}

.object-card button {
    margin: 1.2rem;
}

.status-perdido {
    color: #e74c3c;
	background-color: #FEEFE3;
    font-weight: bold;
}

.status-achado {
    color: #2ecc71;
	background-color: #FEEFE3;
    font-weight: bold;
}

.status-entregue {
    color: #3498db;
	background-color: #FEEFE3;
    font-weight: bold;
}

footer {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: white;
    text-align: center;
    padding: 2rem;
    margin-top: auto;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
    background-color: white;
    margin: 10% auto;
    padding: 2.5rem;
    border-radius: 12px;
    width: 80%;
    max-width: 600px;
    position: relative;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    position: absolute;
    top: 1rem;
    right: 1.5rem;
}

.close:hover {
    color: black;
}

/* Responsividade */
@media (max-width: 1024px) {
    .two-columns {
        gap: 2rem;
    }
    
    .objects-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    header {
        flex-direction: column;
        text-align: center;
    }
    
    header h1 {
        margin: 1rem 0;
    }
    
    nav ul {
        flex-direction: column;
        width: 100%;
    }
    
    nav ul li {
        margin: 0.5rem 0;
    }
    
    .two-columns {
        grid-template-columns: 1fr;
    }
    
    .stats {
        grid-template-columns: 1fr 1fr;
    }
    
    .objects-grid {
        grid-template-columns: 1fr;
    }
    
}

@media (max-width: 480px) {
    .stats {
        grid-template-columns: 1fr;
    }
    
    .section-spacing {
        margin-bottom: 2.5rem;
    }
    
    .column, .search, .contact {
        padding: 1.8rem;
    }
}
/* Detalhes do objeto */
.object-details {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.object-image img {
    width: 100%;
    max-width: 300px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.object-info p {
    margin-bottom: 1rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid #eee;
}

/* Secção de edição */
.edit-section {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 2px solid #2a5298;
}

.edit-section h3 {
    color: #2a5298;
    margin-bottom: 1.5rem;
}

.button-group {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.btn-danger {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%) !important;
    box-shadow: 0 4px 0 #c0392b !important;
}

.btn-danger:hover {
    box-shadow: 0 2px 0 #c0392b !important;
}

/* Ações nos cartões */
.card-actions {
    display: flex;
    gap: 0.5rem;
    margin: 1rem;
}

.card-actions a {
    flex: 1;
    text-align: center;
    text-decoration: none;
}

/* Responsividade para detalhes */
@media (max-width: 768px) {
    .object-details {
        grid-template-columns: 1fr;
    }
    
    .object-image {
        text-align: center;
    }
    
    .button-group {
        flex-direction: column;
    }
}

/* Cookie Disclaimer */
.cookie-disclaimer {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: white;
    padding: 1.5rem;
    box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.cookie-disclaimer.show {
    transform: translateY(0);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.cookie-content p {
    margin: 0;
    flex: 1;
}

.cookie-content a {
    color: #87CEEB;
    text-decoration: underline;
}

.cookie-content a:hover {
    color: #B0E0E6;
}

/* Botão Aceitar com tamanho ajustado */
.cookie-accept-btn {
    background: linear-gradient(135deg, #2ecc71 0%, #27ae60 100%);
    color: white;
    border: none;
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
    font-weight: bold;
    border-radius: 6px;
    cursor: pointer;
    box-shadow: 0 3px 0 #27ae60;
    transition: all 0.3s ease;
    white-space: nowrap;
    min-width: auto;
    width: auto;
}

.cookie-accept-btn:hover {
    transform: translateY(2px);
    box-shadow: 0 1px 0 #27ae60;
}

/* Política de Privacidade */
.privacy-policy {
    background: white;
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    max-width: 900px;
    margin: 0 auto;
}

.privacy-policy h1 {
    color: #2a5298;
    text-align: center;
    margin-bottom: 1rem;
    font-size: 2.2rem;
}

.last-updated {
    text-align: center;
    color: #666;
    margin-bottom: 3rem;
    font-style: italic;
}

.policy-section {
    margin-bottom: 2.5rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #eee;
}

.policy-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.policy-section h2 {
    color: #2a5298;
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.policy-section p {
    margin-bottom: 1rem;
    line-height: 1.6;
}

.policy-section ul {
    margin: 1rem 0;
    padding-left: 2rem;
}

.policy-section li {
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

/* Responsividade para Cookie Disclaimer */
@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .cookie-content p {
        margin-bottom: 1rem;
    }
    
    .cookie-accept-btn {
        align-self: center;
    }
    
    .privacy-policy {
        padding: 2rem 1.5rem;
    }
    
    .privacy-policy h1 {
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    .cookie-disclaimer {
        padding: 1rem;
    }
    
    .cookie-content {
        gap: 0.8rem;
    }
    
    .cookie-accept-btn {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }
    
    .privacy-policy {
        padding: 1.5rem 1rem;
    }
}