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

:root {
    --primary-color: #2E7D9A;
    --secondary-color: #4DA8DA;
    --accent-color: #7BC8E8;
    --dark-color: #1A4D5C;
    --light-color: #E8F4F8;
    --text-dark: #333333;
    --text-light: #666666;
    --white: #FFFFFF;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.15);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* Navigation */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: var(--white);
    box-shadow: var(--shadow);
    z-index: 1000;
    transition: all 0.3s ease;
}

nav.scrolled {
    background: rgba(255, 255, 255, 0.98);
}

nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}

.nav-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: var(--primary-color);
}

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

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.45);
    z-index: 1;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
    animation: fadeInUp 1s ease;
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.btn-primary {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: var(--primary-color);
    color: var(--white);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
}

.btn-primary:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.divider {
    width: 80px;
    height: 4px;
    background: var(--accent-color);
    margin: 0 auto;
    border-radius: 2px;
}

/* About Section */
.about {
    padding: 5rem 0;
    background: var(--white);
}

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

.about-text h3 {
    font-size: 2rem;
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.about-text p {
    margin-bottom: 1.5rem;
    color: var(--text-light);
    font-size: 1.1rem;
}

.about-text em {
    color: var(--primary-color);
    font-style: italic;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.stat-card {
    background: var(--light-color);
    padding: 1.5rem;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-light);
    font-weight: 500;
}

.about-image img {
    width: 100%;
    border-radius: 15px;
    box-shadow: var(--shadow-lg);
}

/* Habitat Section */
.habitat {
    padding: 5rem 0;
    background: var(--light-color);
}

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

.habitat-image img {
    width: 100%;
    border-radius: 15px;
    box-shadow: var(--shadow-lg);
}

.habitat-text h3 {
    font-size: 2rem;
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.habitat-text p {
    margin-bottom: 1.5rem;
    color: var(--text-light);
    font-size: 1.1rem;
}

.habitat-list {
    list-style: none;
    margin: 1.5rem 0;
}

.habitat-list li {
    padding: 0.8rem 0;
    padding-left: 2rem;
    position: relative;
    color: var(--text-light);
}

.habitat-list li::before {
    content: "🌊";
    position: absolute;
    left: 0;
}

.habitat-list strong {
    color: var(--primary-color);
}

/* Behavior Section */
.behavior {
    padding: 5rem 0;
    background: var(--white);
}

.behavior-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.behavior-card {
    background: var(--light-color);
    padding: 0;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.behavior-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.behavior-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.behavior-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.behavior-card:hover .behavior-image img {
    transform: scale(1.05);
}

.behavior-icon {
    font-size: 3rem;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
}

.behavior-card h3 {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    padding: 0 1.5rem;
}

.behavior-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
    padding: 0 2rem 2rem 2rem;
}

/* Diet Section */
.diet {
    padding: 5rem 0;
    background: var(--light-color);
}

.diet-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 3rem;
    align-items: center;
}

.diet-text h3 {
    font-size: 2rem;
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.diet-text > p {
    margin-bottom: 2rem;
    color: var(--text-light);
    font-size: 1.1rem;
}

.diet-categories {
    display: grid;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.diet-category {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.diet-category h4 {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 0.8rem;
}

.diet-category ul {
    list-style: none;
    padding-left: 1rem;
}

.diet-category li {
    padding: 0.3rem 0;
    color: var(--text-light);
    position: relative;
}

.diet-category li::before {
    content: "•";
    color: var(--secondary-color);
    font-weight: bold;
    position: absolute;
    left: -1rem;
}

.diet-fact {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 10px;
    border-left: 4px solid var(--primary-color);
    box-shadow: var(--shadow);
}

.diet-fact strong {
    color: var(--primary-color);
}

.diet-image img {
    width: 100%;
    border-radius: 15px;
    box-shadow: var(--shadow-lg);
}

/* Conservation Section */
.conservation {
    padding: 5rem 0;
    background: var(--white);
}

.conservation-content {
    display: grid;
    gap: 2rem;
}

.conservation-status {
    text-align: center;
    margin-bottom: 2rem;
}

.status-badge {
    display: inline-block;
    background: linear-gradient(135deg, #52C234 0%, #61D345 100%);
    padding: 2rem 3rem;
    border-radius: 15px;
    color: var(--white);
    box-shadow: var(--shadow-lg);
}

.status-icon {
    font-size: 3rem;
    display: block;
    margin-bottom: 1rem;
}

.status-badge h3 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.status-subtitle {
    font-size: 1rem;
    opacity: 0.9;
}

.conservation-text {
    max-width: 900px;
    margin: 0 auto 2rem;
}

.conservation-text h3 {
    font-size: 2rem;
    color: var(--dark-color);
    margin-bottom: 1rem;
    text-align: center;
}

.conservation-text p {
    margin-bottom: 1.5rem;
    color: var(--text-light);
    font-size: 1.1rem;
}

.conservation-list {
    list-style: none;
    margin: 1.5rem 0;
    padding-left: 2rem;
}

.conservation-list li {
    padding: 0.5rem 0;
    color: var(--text-light);
    position: relative;
}

.conservation-list li::before {
    content: "✓";
    position: absolute;
    left: -1.5rem;
    color: #52C234;
    font-weight: bold;
}

.threats-box,
.help-box {
    background: var(--light-color);
    padding: 2rem;
    border-radius: 15px;
    margin-top: 2rem;
    box-shadow: var(--shadow);
}

.threats-box h3,
.help-box h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.threats-box p,
.help-box p {
    color: var(--text-light);
    margin-bottom: 1rem;
}

.threats-box ul,
.help-box ul {
    list-style: none;
    padding-left: 2rem;
}

.threats-box li {
    padding: 0.5rem 0;
    color: var(--text-light);
    position: relative;
}

.threats-box li::before {
    content: "⚠";
    position: absolute;
    left: -1.8rem;
    color: #E74C3C;
}

.help-box li {
    padding: 0.5rem 0;
    color: var(--text-light);
    position: relative;
}

.help-box li::before {
    content: "💙";
    position: absolute;
    left: -1.8rem;
}

/* Gallery Section */
.gallery {
    padding: 5rem 0;
    background: var(--light-color);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: var(--shadow);
    aspect-ratio: 1;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, transparent 100%);
    padding: 2rem 1.5rem 1.5rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-overlay p {
    color: var(--white);
    font-weight: 600;
    font-size: 1.1rem;
    text-align: center;
}

/* Footer */
footer {
    background: var(--dark-color);
    color: var(--white);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--accent-color);
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--accent-color);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
}

.footer-bottom p {
    margin: 0.5rem 0;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 968px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: var(--white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .hamburger {
        display: flex;
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .about-content,
    .habitat-content,
    .diet-content {
        grid-template-columns: 1fr;
    }

    .behavior-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .behavior-grid,
    .stats-grid,
    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .btn-primary {
        padding: 0.8rem 2rem;
        font-size: 0.95rem;
    }
}