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

body {
    font-family: 'Comic Sans MS', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
    background-image: url('bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
}

header {
    background: #2c3e50;
    color: white;
    padding: 1rem 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    padding: 0 1rem;
}

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

nav ul li a:hover {
    color: #1abc9c;
    background: rgba(255,255,255,0.1);
}

main {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.623);
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    backdrop-filter: blur(8px);
}

h1, h2 {
    color: #2c3e50;
    margin-bottom: 1.5rem;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
    margin-top: 2rem;
}

/* Search Page Styles */
.search-form {
    margin-bottom: 2rem;
    display: flex;
    gap: 1rem;
}

.search-form input {
    flex: 1;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.search-form button {
    padding: 0.8rem 1.5rem;
    background: #1abc9c;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.search-form button:hover {
    background: #16a085;
}

.bird-result {
    background: #f8f9fa;
    padding: 2rem;
    margin-bottom: 1.5rem;
    border-radius: 6px;
    border-left: 4px solid #1abc9c;
    transition: transform 0.2s ease;
    max-height: 80vh;
    overflow-y: auto;
}

.bird-image {
    max-width: 100%;
    height: auto;
    margin-bottom: 1.5rem;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.bird-result:hover {
    transform: translateY(-2px);
}

/* Conservation Page Styles */
.status-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.status-list li {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 6px;
    border-left: 4px solid #2c3e50;
}

.organization-list {
    margin: 2rem 0;
}

.organization-list li {
    margin: 1rem 0;
}

.organization-list a {
    color: #1abc9c;
    text-decoration: none;
    transition: color 0.3s ease;
}

.organization-list a:hover {
    color: #16a085;
}

/* About Page Styles */
section {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #eee;
}

section:last-child {
    border-bottom: none;
}

/* Responsive Design */
@media (max-width: 768px) {
    main {
        margin: 1rem;
        padding: 1rem;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    .search-form {
        flex-direction: column;
    }
}
