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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #ffffff;
    min-height: 100vh;
    padding: 20px;
}

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

/* Header */
header {
    text-align: center;
    color: #333333;
    margin-bottom: 40px;
}

header img {
    max-width: 400px;
    height: auto;
    margin-bottom: 20px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

header h1 {
    font-size: 2.5em;
    margin-bottom: 10px;
    color: #2c2c2c;
}

header p {
    font-size: 1.2em;
    color: #666666;
}

/* Cards de Acampamentos */
.cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    border: 1px solid #e0e0e0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    border-color: #b0b0b0;
}

.card h2 {
    color: #4a4a4a;
    font-size: 1.8em;
    margin-bottom: 15px;
}

.card .data {
    color: #666;
    font-size: 1em;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.card .data::before {
    content: "📅";
    margin-right: 8px;
}

.card .descricao {
    color: #444;
    line-height: 1.6;
    margin-bottom: 20px;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background: #6c757d;
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: bold;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1em;
}

.btn:hover {
    transform: scale(1.05);
    background: #5a6268;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.btn-admin {
    position: fixed;
    top: 20px;
    right: 20px;
    background: #6c757d;
    padding: 10px 20px;
    border-radius: 20px;
    color: white;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.btn-admin:hover {
    background: #5a6268;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

/* Login Page */
.login-container {
    max-width: 400px;
    margin: 100px auto;
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
}

.login-container h2 {
    color: #4a4a4a;
    text-align: center;
    margin-bottom: 30px;
    font-size: 2em;
}

.form-group {
    margin-bottom: 20px;
}

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1em;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #6c757d;
}

.alert {
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.alert-error {
    background: #fee;
    color: #c33;
    border: 1px solid #fcc;
}

.alert-success {
    background: #efe;
    color: #3c3;
    border: 1px solid #cfc;
}

/* Admin Dashboard */
.admin-container {
    background: white;
    border-radius: 15px;
    padding: 30px;
    margin-top: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #e0e0e0;
}

.admin-header h2 {
    color: #4a4a4a;
    font-size: 2em;
}

.btn-logout {
    background: #e74c3c;
    padding: 10px 20px;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
}

.btn-logout:hover {
    background: #c0392b;
}

.admin-nav {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.admin-nav a {
    padding: 12px 25px;
    background: #6c757d;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    transition: all 0.3s ease;
}

.admin-nav a:hover,
.admin-nav a.active {
    background: #5a6268;
}

/* Tabelas */
.table-container {
    overflow-x: auto;
    margin-top: 20px;
}

table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 8px;
    overflow: hidden;
}

table thead {
    background: #6c757d;
    color: white;
}

table th,
table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #e0e0e0;
}

table tbody tr:hover {
    background: #f5f5f5;
}

.btn-small {
    padding: 6px 12px;
    font-size: 0.9em;
    margin: 2px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    color: white;
    text-decoration: none;
    display: inline-block;
}

.btn-success {
    background: #27ae60;
}

.btn-success:hover {
    background: #229954;
}

.btn-danger {
    background: #e74c3c;
}

.btn-danger:hover {
    background: #c0392b;
}

.btn-warning {
    background: #f39c12;
}

.btn-warning:hover {
    background: #e67e22;
}

.btn-info {
    background: #3498db;
}

.btn-info:hover {
    background: #2980b9;
}

.status-badge {
    padding: 5px 15px;
    border-radius: 15px;
    font-size: 0.85em;
    font-weight: bold;
}

.status-ativo {
    background: #d4edda;
    color: #155724;
}

.status-inativo {
    background: #f8d7da;
    color: #721c24;
}

/* Formulário */
.form-container {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.form-container h2 {
    color: #4a4a4a;
    margin-bottom: 30px;
    text-align: center;
    font-size: 2em;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

/* Impressão */
@media print {
    body {
        background: white;
        padding: 0;
    }
    
    .no-print {
        display: none !important;
    }
    
    .print-container {
        max-width: 100%;
        padding: 20px;
    }
}

.print-container {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 40px;
}

.print-header {
    text-align: center;
    margin-bottom: 30px;
    border-bottom: 3px solid #6c757d;
    padding-bottom: 20px;
}

.print-header h1 {
    color: #4a4a4a;
    margin-bottom: 10px;
}

.print-info {
    margin-bottom: 15px;
}

.print-info strong {
    display: inline-block;
    width: 200px;
    color: #4a4a4a;
}

.btn-print {
    margin: 20px 0;
}

/* Mensagem vazia */
.empty-message {
    text-align: center;
    padding: 60px 20px;
    color: #666;
}

.empty-message h3 {
    font-size: 1.5em;
    margin-bottom: 10px;
}

/* Responsivo */
@media (max-width: 768px) {
    header img {
        max-width: 150px;
    }
    
    header h1 {
        font-size: 1.8em;
    }
    
    .cards-container {
        grid-template-columns: 1fr;
    }
    
    .admin-header {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
}



.site-footer {
    background: #1f2933;
    color: #e5e7eb;
    margin-top: 60px;
    font-size: 0.95rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
}

.footer-col h4 {
    color: #facc15;
    margin-bottom: 10px;
    font-size: 1.05rem;
}

.footer-col p {
    line-height: 1.6;
    color: #d1d5db;
}

.footer-quote {
    font-style: italic;
}

.footer-quote span {
    display: block;
    margin-top: 5px;
    font-size: 0.85rem;
    color: #9ca3af;
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding: 20px;
    text-align: center;
    background: #111827;
}

.footer-bottom p {
    margin: 5px 0;
    color: #d1d5db;
}

.footer-blessing {
    font-weight: bold;
    color: #facc15;
}
