body {
    margin: 0;
    font-family: Arial, sans-serif;
}

.hero-section {
    position: relative;
    height: 600px;
    overflow: hidden;
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('../assets/image/il tod.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    padding: 0 80px;
    margin-top: 90px;
}

.hero-content {
    color: white;
    max-width: 600px;
}

.hero-content h1 {
    font-size: 2.5em;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.2em;
    line-height: 1.6;
    margin-bottom: 30px;
}

.cta-button {
    display: inline-block;
    padding: 12px 30px;
    background-color: #2980b9;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    text-transform: uppercase;
    font-weight: bold;
    transition: background-color 0.3s;
}

.cta-button:hover {
    background-color: #3498db;
}

.content-section {
    padding: 60px 80px;
}

.content-section h2 {
    font-size: 2em;
    margin-bottom: 30px;
    color: #2c3e50;
}

.content-section p {
    font-size: 1.1em;
    line-height: 1.6;
    color: #34495e;
    margin-bottom: 20px;
}

/* Admin Panel Styles */
.report-categories {
    display: grid;
    gap: 30px;
    margin-top: 30px;
}

.category-section {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
}

.category-section h3 {
    color: #2c3e50;
    margin-bottom: 15px;
    font-size: 1.3em;
}

.report-categories .category-section:nth-child(1) {
    border-left: 4px solid #29b947;
}

.report-categories .category-section:nth-child(2) {
    border-left: 4px solid #8029b9;
}

.report-categories .category-section:nth-child(3) {
    border-left: 4px solid #b92929;
}

.report-categories .category-section:nth-child(4) {
    border-left: 4px solid #2980b9;
}

.reports-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.report-item {
    background: white;
    padding: 15px;
    border-radius: 6px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.report-info h4 {
    color: #2c3e50;
    margin: 0 0 5px 0;
    font-size: 1.1em;
}

.report-info p {
    color: #7f8c8d;
    margin: 0 0 5px 0;
    font-size: 0.9em;
}

.report-date {
    color: #95a5a6;
    font-size: 0.8em;
}

.download-btn {
    background: #2980b9;
    color: white;
    padding: 8px 16px;
    text-decoration: none;
    border-radius: 4px;
    font-size: 0.9em;
    transition: background-color 0.3s;
}

.download-btn:hover {
    background: #3498db;
}

.admin-panel {
    display: grid;
    gap: 40px;
    margin-top: 30px;
}

.upload-section, .manage-section {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.upload-section h3, .manage-section h3 {
    color: #2c3e50;
    margin-bottom: 20px;
    font-size: 1.3em;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    color: #2c3e50;
    font-weight: bold;
}

.form-group select,
.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

.form-group select:focus,
.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #2980b9;
    box-shadow: 0 0 0 2px rgba(41, 128, 185, 0.2);
}

.btn-primary {
    background: #2980b9;
    color: white;
    padding: 12px 24px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s;
}

.btn-primary:hover {
    background: #3498db;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.admin-table th,
.admin-table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #e9ecef;
}

.admin-table th {
    background: #2c3e50;
    color: white;
    font-weight: bold;
}

.admin-table tr:hover {
    background: #f8f9fa;
}

.btn-edit,
.btn-delete {
    padding: 6px 12px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
    margin-right: 5px;
    transition: background-color 0.3s;
}

.btn-edit {
    background: #f39c12;
    color: white;
}

.btn-edit:hover {
    background: #e67e22;
}

.btn-delete {
    background: #e74c3c;
    color: white;
}

.btn-delete:hover {
    background: #c0392b;
}

.tab-content {
    display: block;
}

.admin-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    margin-top: 100px;
}

.admin-header {
    background: #2c3e50;
    color: white;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 30px;
}

.admin-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
}

.admin-tab {
    padding: 12px 24px;
    background: #ecf0f1;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
}

.admin-tab.active {
    background: #3498db;
    color: white;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.success-message, .error-message {
    padding: 10px;
    border-radius: 4px;
    margin-bottom: 20px;
}

.success-message {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.error-message {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.back-link {
    display: inline-block;
    margin-bottom: 20px;
    padding: 10px 20px;
    background: #95a5a6;
    color: white;
    text-decoration: none;
    border-radius: 4px;
}

.back-link:hover {
    background: #7f8c8d;
}

/* Responsive design */
@media (max-width: 768px) {
    .report-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .admin-table {
        font-size: 12px;
    }
    
    .admin-table th,
    .admin-table td {
        padding: 8px;
    }
}
