/* Additional styles for frog species pages */

/* Species sections styling */
.frog-species {
    margin: 3rem 0;
}

.species-info {
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 10px;
    padding: 1.5rem;
    margin: 1.5rem 0;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

@media (min-width: 768px) {
    .species-info {
        flex-direction: row;
        align-items: flex-start;
    }
    
    .species-info img {
        max-width: 40%;
    }
}

.species-info img {
    border-radius: 8px;
    max-width: 100%;
    height: auto;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    cursor: pointer;
}

.species-content {
    flex: 1;
}

.species-content h3 {
    color: var(--dark-green);
    margin-top: 0;
}

.species-content h4 {
    margin-top: 1.5rem;
    color: var(--primary-green);
}

.species-content ul {
    margin-bottom: 1.5rem;
}

.species-content li {
    margin-bottom: 0.5rem;
}

.fun-fact {
    background-color: var(--light-green);
    padding: 1rem;
    border-radius: 8px;
    margin-top: 1.5rem;
}

.fun-fact p {
    margin-bottom: 0;
}

.gallery {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
    margin: 1.5rem 0;
}

.gallery img {
    border-radius: 8px;
    max-width: 100%;
    height: auto;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: transform 0.3s ease;
}

.gallery img:hover {
    transform: scale(1.03);
}

@media (min-width: 576px) {
    .gallery img {
        max-width: 45%;
    }
}

@media (min-width: 992px) {
    .gallery img {
        max-width: 30%;
    }
}

/* Disclaimer box for GM frogs page */
.disclaimer {
    background-color: rgba(255, 250, 205, 0.8);
    border-left: 4px solid var(--primary-green);
    padding: 1rem;
    margin: 2rem 0;
    font-style: italic;
}

/* Habitat and anatomy sections */
.habitat-info, .anatomy-info, .research-info {
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 10px;
    padding: 1.5rem;
    margin: 2rem 0;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

@media (min-width: 768px) {
    .habitat-info, .anatomy-info, .research-info {
        flex-direction: row;
        align-items: flex-start;
    }
    
    .habitat-info img, .anatomy-info img, .research-info img {
        max-width: 40%;
    }
}

.habitat-content, .anatomy-content, .research-content {
    flex: 1;
}

/* Accessibility improvements */
.modal-trigger {
    cursor: pointer;
}

.modal-trigger:focus {
    outline: 3px solid var(--accent-green);
}