@charset "UTF-8";

/* ==========================================================================
   1. GLOBAL VARIABLES & STYLES (With Feather Backdrop Texture)
   ========================================================================== */
:root {
    --bg-cream: #fefae0;
    --dark-amber: #4a3b00;
    --gold-header: #785200;
    --amakihi-yellow: #f1c40f;
    --border-yellow: #f9e79f;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--dark-amber);
    margin: 0;
    padding: 0;
    line-height: 1.6;
    
    /* Soft procedural feather pattern */
    background-color: var(--bg-cream);
    background-image: 
        linear-gradient(30deg, #fbf7d5 12%, transparent 12.5%, transparent 87%, #fbf7d5 87.5%, #fbf7d5),
        linear-gradient(150deg, #fbf7d5 12%, transparent 12.5%, transparent 87%, #fbf7d5 87.5%, #fbf7d5),
        linear-gradient(30deg, #fbf7d5 12%, transparent 12.5%, transparent 87%, #fbf7d5 87.5%, #fbf7d5),
        linear-gradient(150deg, #fbf7d5 12%, transparent 12.5%, transparent 87%, #fbf7d5 87.5%, #fbf7d5),
        linear-gradient(60deg, #f6f1c9 25%, transparent 25.5%, transparent 75%, #f6f1c9 75.5%, #f6f1c9),
        linear-gradient(60deg, #f6f1c9 25%, transparent 25.5%, transparent 75%, #f6f1c9 75.5%, #f6f1c9);
    background-size: 40px 70px;
    background-position: 0 0, 0 0, 20px 35px, 20px 35px, 0 0, 20px 35px;
}

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

/* ==========================================================================
   2. HERO HEADER (Custom Single-Bird Banner Layout)
   ========================================================================== */
.hero {
    /* Uses relative pathing to step out of 'css/' and find your header background */
    background: linear-gradient(rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0.35)), 
                url('../assets/photos/header-bg.jpg') center/cover no-repeat;
    height: 500px; 
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 50px;
    box-sizing: border-box;
}

.hero-branding h1 {
    font-size: 3.8rem;
    color: #ffffff;
    margin: 0;
    font-weight: 600;
    letter-spacing: -1px;
    text-shadow: 0 4px 12px rgba(0,0,0,0.5);
}

.hero-branding .tagline {
    font-size: 1.4rem;
    color: #ffffff;
    margin: 5px 0 0 0;
    font-weight: 300;
    text-shadow: 0 2px 6px rgba(0,0,0,0.5);
}

/* Glassmorphism Navigation Menu */
.hero-nav {
    align-self: flex-end;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 14px 28px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    gap: 24px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.hero-nav a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 1px;
    transition: opacity 0.2s ease;
}

.hero-nav a:hover {
    opacity: 0.7;
}

/* ==========================================================================
   3. CONTENT PANELS & CARDS
   ========================================================================== */
section {
    background: white;
    padding: 40px;
    border-radius: 16px;
    margin-bottom: 40px;
    box-shadow: 0 10px 25px rgba(221, 180, 34, 0.1);
    border: 1px solid var(--border-yellow);
}

h2 { 
    color: var(--gold-header); 
    border-bottom: 3px solid var(--amakihi-yellow); 
    padding-bottom: 10px; 
    margin-top: 0; 
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.info-card {
    background: #fffdf0;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid var(--border-yellow);
}

.info-card h3 { 
    margin-top: 0; 
    color: var(--gold-header); 
}

/* ==========================================================================
   4. PHOTO GALLERY GRID
   ========================================================================== */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 15px;
}

/* Fits newly placed <img> elements uniformly without cropping distortion */
.gallery-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid var(--border-yellow);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.gallery-img:hover {
    transform: scale(1.03);
    box-shadow: 0 5px 15px rgba(74, 59, 0, 0.15);
}

/* ==========================================================================
   5. BIOACOUSTICS INTERACTIVE INTERFACE
   ========================================================================== */
#map { 
    height: 400px; 
    width: 100%; 
    border-radius: 12px; 
    margin-bottom: 20px; 
    border: 2px solid var(--amakihi-yellow); 
    z-index: