/* Custom Variables */
:root {
    --color-primary: #2d5016;
    --color-secondary: #5a7c3a;
    --color-accent: #8b6f47;
    --color-text: #2c2c2c;
    --color-text-light: #5a5a5a;
    --color-bg-light: #f8f6f2;
    --color-bg-cream: #faf8f4;
    --font-serif: 'Playfair Display', serif;
    --font-sans: 'Inter', sans-serif;
}

/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-sans);
    color: var(--color-text);
    line-height: 1.7;
    background-color: #ffffff;
    font-size: 16px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-serif);
    color: var(--color-primary);
    font-weight: 600;
    line-height: 1.3;
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 100vh;
    min-height: 600px;
    background-image: url('https://images.unsplash.com/photo-1540573133985-87b6da6d54a9?w=1920&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.5) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #ffffff;
    padding: 2rem;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.5);
    letter-spacing: -0.5px;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.5rem);
    font-weight: 300;
    color: #f0f0f0;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.5);
    max-width: 700px;
    margin: 0 auto;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.scroll-indicator span {
    display: block;
    width: 30px;
    height: 50px;
    border: 2px solid rgba(255,255,255,0.7);
    border-radius: 25px;
    position: relative;
}

.scroll-indicator span::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 10px;
    background: rgba(255,255,255,0.7);
    border-radius: 2px;
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
    100% {
        opacity: 0;
        transform: translateX(-50%) translateY(20px);
    }
}

/* Content Sections */
.content-section {
    padding: 5rem 0;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 2.5rem;
    color: var(--color-primary);
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--color-accent);
}

.text-center .section-title::after {
    left: 50%;
    transform: translateX(-50%);
}

.content-text {
    font-size: 1.1rem;
    line-height: 1.9;
    color: var(--color-text);
}

.content-text p {
    margin-bottom: 1.5rem;
}

.bg-light {
    background-color: var(--color-bg-light) !important;
}

/* Species Cards */
.species-card {
    background: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.species-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.12);
}

.species-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
    background: var(--color-bg-light);
}

.species-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.species-card:hover .species-image img {
    transform: scale(1.05);
}

.species-content {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.species-name {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--color-primary);
}

.species-description {
    color: var(--color-text-light);
    font-size: 0.95rem;
    line-height: 1.7;
    flex-grow: 1;
}

/* Behavior Items */
.behavior-item {
    background: #ffffff;
    padding: 2rem;
    border-radius: 8px;
    height: 100%;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    transition: box-shadow 0.3s ease;
}

.behavior-item:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}

.behavior-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: inline-block;
}

.behavior-title {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--color-primary);
}

.behavior-item p {
    color: var(--color-text-light);
    line-height: 1.8;
    margin: 0;
}

/* Gallery */
.gallery {
    margin-top: 2rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    aspect-ratio: 4/3;
    background: var(--color-bg-light);
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.08);
}

/* Footer */
.footer {
    background: var(--color-primary);
    color: #ffffff;
}

.footer-title {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #ffffff;
    font-family: var(--font-serif);
}

.footer-text {
    color: rgba(255,255,255,0.85);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 0.5rem;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: rgba(255,255,255,0.85);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #ffffff;
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section {
        background-attachment: scroll;
        min-height: 500px;
    }
    
    .content-section {
        padding: 3rem 0;
    }
    
    .section-title {
        font-size: 2rem;
        margin-bottom: 1.5rem;
    }
    
    .content-text {
        font-size: 1rem;
    }
    
    .species-image {
        height: 200px;
    }
    
    .behavior-item {
        padding: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .gallery-item {
        margin-bottom: 1rem;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .content-section {
        padding: 2.5rem 0;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Image Loading */
img {
    max-width: 100%;
    height: auto;
}

/* Navbar */
.navbar {
    background-color: #ffffff !important;
    padding: 1rem 0;
}

.navbar-brand {
    font-family: var(--font-serif);
    color: var(--color-primary) !important;
    font-weight: 600;
    font-size: 1.3rem;
}

.nav-link {
    color: var(--color-text) !important;
    font-weight: 400;
    transition: color 0.3s ease;
    margin: 0 0.5rem;
}

.nav-link:hover {
    color: var(--color-primary) !important;
}

.nav-link.active {
    color: var(--color-primary) !important;
    font-weight: 500;
}

/* Utility Classes */
.shadow-sm {
    box-shadow: 0 2px 8px rgba(0,0,0,0.1) !important;
}

.rounded {
    border-radius: 8px !important;
}

