/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fafafa;
}

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

/* Navigation */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: bold;
    color: #8B4513;
}

.logo-icon {
    font-size: 2rem;
    margin-right: 10px;
}

.logo-text {
    background: linear-gradient(45deg, #8B4513, #D2691E);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #8B4513;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background: linear-gradient(45deg, #8B4513, #D2691E);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    padding: 100px 20px 50px;
    position: relative;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-text {
    animation: fadeInLeft 1s ease-out;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #333;
    line-height: 1.2;
}

.highlight {
    background: linear-gradient(45deg, #8B4513, #D2691E);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: #666;
    margin-bottom: 30px;
    line-height: 1.5;
}

.cta-button {
    background: linear-gradient(45deg, #8B4513, #D2691E);
    color: white;
    border: none;
    padding: 15px 30px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(139, 69, 19, 0.3);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(139, 69, 19, 0.4);
}

.hero-image {
    animation: fadeInRight 1s ease-out;
}

.hero-img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.hero-img:hover {
    transform: scale(1.02);
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.scroll-arrow {
    width: 20px;
    height: 20px;
    border: 2px solid #8B4513;
    border-top: none;
    border-right: none;
    transform: rotate(-45deg);
}

/* Section Styles */
section {
    padding: 100px 0;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 60px;
    color: #333;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 4px;
    background: linear-gradient(45deg, #8B4513, #D2691E);
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

/* About Section */
.about {
    background: white;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.intro-text {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 40px;
    line-height: 1.7;
}

.facts-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.fact-card {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 15px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 2px solid transparent;
}

.fact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-color: #8B4513;
}

.fact-icon {
    font-size: 2rem;
    margin-bottom: 15px;
}

.fact-card h3 {
    color: #8B4513;
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.fact-card p {
    color: #666;
    font-size: 0.95rem;
}

.feature-img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.feature-img:hover {
    transform: scale(1.02);
}

/* Habitat Section */
.habitat {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.habitat-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.habitat-text h3 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.habitat-text p {
    font-size: 1.1rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

.habitat-features {
    display: grid;
    gap: 25px;
}

.feature {
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 10px;
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease;
}

.feature:hover {
    transform: translateX(10px);
}

.feature h4 {
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.feature p {
    opacity: 0.8;
    font-size: 0.95rem;
}

/* Diet Section */
.diet {
    background: white;
}

.diet-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.diet-text h3 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #333;
}

.diet-text p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 40px;
}

.diet-categories {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

.diet-category {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 15px;
    transition: transform 0.3s ease;
}

.diet-category:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.diet-category h4 {
    color: #8B4513;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.diet-category ul {
    list-style: none;
}

.diet-category li {
    color: #666;
    margin-bottom: 8px;
    padding-left: 15px;
    position: relative;
}

.diet-category li::before {
    content: '•';
    color: #8B4513;
    position: absolute;
    left: 0;
}

/* Behavior Section */
.behavior {
    background: linear-gradient(135deg, #ffecd2 0%, #fcb69f 100%);
}

.behavior-text {
    text-align: center;
    margin-bottom: 60px;
}

.behavior-text h3 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #333;
}

.behavior-text p {
    font-size: 1.1rem;
    color: #666;
    max-width: 800px;
    margin: 0 auto;
}

.behavior-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.behavior-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.behavior-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.behavior-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.behavior-card h4 {
    color: #8B4513;
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.behavior-card p {
    color: #666;
    line-height: 1.6;
}

/* Species Section */
.species {
    background: white;
}

.species-intro {
    text-align: center;
    margin-bottom: 60px;
}

.species-intro p {
    font-size: 1.1rem;
    color: #666;
    max-width: 800px;
    margin: 0 auto;
}

.species-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.species-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 30px;
    border-radius: 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 2px solid transparent;
}

.species-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    border-color: #8B4513;
}

.species-card h3 {
    color: #8B4513;
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.species-card em {
    color: #666;
    font-size: 0.95rem;
    display: block;
    margin-bottom: 15px;
}

.species-card p {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
}

.species-facts {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.fact {
    background: #8B4513;
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

/* Conservation Section */
.conservation {
    background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
}

.conservation-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 80px;
}

.conservation-text h3 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #333;
}

.conservation-text p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 40px;
}

.conservation-actions {
    display: grid;
    gap: 20px;
}

.action-card {
    background: rgba(255, 255, 255, 0.7);
    padding: 20px;
    border-radius: 10px;
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease;
}

.action-card:hover {
    transform: translateX(10px);
}

.action-card h4 {
    color: #8B4513;
    margin-bottom: 10px;
}

.action-card p {
    color: #666;
    font-size: 0.95rem;
}

.help-section {
    text-align: center;
}

.help-section h3 {
    font-size: 2rem;
    margin-bottom: 40px;
    color: #333;
}

.help-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.help-item {
    background: white;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.help-item:hover {
    transform: translateY(-5px);
}

.help-icon {
    font-size: 3rem;
    display: block;
    margin-bottom: 20px;
}

.help-item p {
    color: #666;
    line-height: 1.6;
}

/* Footer */
.footer {
    background: #333;
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 20px;
    color: #D2691E;
}

.footer-section p {
    color: #ccc;
    line-height: 1.6;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 8px;
}

.footer-section ul li a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #D2691E;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #555;
    color: #999;
}

/* Animations */
@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0) translateX(-50%);
    }
    40% {
        transform: translateY(-10px) translateX(-50%);
    }
    60% {
        transform: translateY(-5px) translateX(-50%);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 20px 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .about-content,
    .habitat-content,
    .diet-content,
    .conservation-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .facts-grid,
    .diet-categories {
        grid-template-columns: 1fr;
    }
    
    .behavior-grid {
        grid-template-columns: 1fr;
    }
    
    .species-grid {
        grid-template-columns: 1fr;
    }
    
    .help-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .hero-img,
    .feature-img {
        height: 300px;
    }
    
    section {
        padding: 60px 0;
    }
    
    .container {
        padding: 0 15px;
    }
}