/* ============================================
   Genel Stiller
   ============================================ */

:root {
    --color-earth-brown: #8B6F47;
    --color-dark-green: #2D5016;
    --color-gray: #4A4A4A;
    --color-light-beige: #F5F1E8;
    --color-dark-gray: #2C2C2C;
    --color-text: #333333;
    --color-text-light: #666666;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--color-text);
    line-height: 1.7;
    font-size: 16px;
    background-color: #ffffff;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Crimson Text', serif;
    font-weight: 600;
    color: var(--color-dark-gray);
    line-height: 1.3;
}

p {
    margin-bottom: 1.2rem;
    color: var(--color-text);
}

a {
    text-decoration: none;
    color: var(--color-earth-brown);
    transition: color 0.3s ease;
}

a:hover {
    color: var(--color-dark-green);
}

/* ============================================
   Navigation
   ============================================ */

.navbar {
    background-color: rgba(44, 44, 44, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.navbar-brand {
    font-family: 'Crimson Text', serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-light-beige) !important;
}

.navbar-nav .nav-link {
    color: rgba(245, 241, 232, 0.9) !important;
    font-weight: 400;
    margin: 0 0.5rem;
    padding: 0.5rem 1rem !important;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: var(--color-light-beige) !important;
}

.navbar-toggler {
    border-color: rgba(245, 241, 232, 0.5);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(245, 241, 232, 0.9)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ============================================
   Hero Section
   ============================================ */

.hero-section {
    position: relative;
    height: 100vh;
    min-height: 600px;
    background-image: url('https://images.unsplash.com/photo-1598300042247-d088f8ab3a91?w=1920&h=1080&fit=crop');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(44, 44, 44, 0.4) 0%,
        rgba(44, 44, 44, 0.6) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--color-light-beige);
    padding: 2rem;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--color-light-beige);
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
    opacity: 0;
    animation: fadeInUp 1s ease 0.3s forwards;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    font-weight: 300;
    max-width: 800px;
    margin: 0 auto;
    color: rgba(245, 241, 232, 0.95);
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
    opacity: 0;
    animation: fadeInUp 1s ease 0.6s forwards;
}

/* ============================================
   Content Sections
   ============================================ */

.content-section {
    padding: 5rem 0;
    position: relative;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 3rem;
    color: var(--color-dark-gray);
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: var(--color-earth-brown);
}

.text-center .section-title::after {
    left: 50%;
    transform: translateX(-50%);
}

.subsection-title {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--color-dark-green);
}

.bg-light {
    background-color: var(--color-light-beige) !important;
}

/* ============================================
   Species Cards
   ============================================ */

.species-card {
    background: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
}

.species-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.species-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.species-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

.species-content {
    padding: 1.5rem;
}

.species-name {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--color-dark-green);
}

.species-description {
    color: var(--color-text-light);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

/* ============================================
   Gallery
   ============================================ */

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 4px;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
    opacity: 0;
    transform: scale(1.05);
}

.gallery-item.visible img {
    opacity: 1;
    transform: scale(1);
}

.gallery-item:hover img {
    transform: scale(1.03);
}

/* ============================================
   Images
   ============================================ */

img {
    max-width: 100%;
    height: auto;
}

.rounded {
    border-radius: 8px;
}

.shadow-sm {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* ============================================
   Footer
   ============================================ */

.footer-section {
    background-color: var(--color-dark-gray);
    color: rgba(245, 241, 232, 0.8);
}

.footer-link {
    color: rgba(245, 241, 232, 0.8);
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: var(--color-light-beige);
}

/* ============================================
   Animations
   ============================================ */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   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: 2rem;
    }
    
    .species-image {
        height: 200px;
    }
    
    .gallery-item img {
        height: 250px;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .content-section {
        padding: 2.5rem 0;
    }
}

/* ============================================
   Smooth Scroll
   ============================================ */

html {
    scroll-behavior: smooth;
}

/* ============================================
   Utility Classes
   ============================================ */

.lead {
    font-size: 1.15rem;
    font-weight: 400;
    color: var(--color-text);
    line-height: 1.7;
}

