/* ===== Finch Society of San Diego - Enhanced Animated Stylesheet ===== */

/* ===== CSS Variables ===== */
:root {
    --primary-green: #7CB342;
    --primary-dark: #558B2F;
    --light-green: #AED581;
    --accent-orange: #FF8F00;
    --text-dark: #333;
    --text-light: #666;
    --bg-light: #f8f9fa;
    --bg-green: #f0f7e6;
    --bg-cream: #FFF8E1;
    --white: #ffffff;
    --shadow: 0 4px 15px rgba(0,0,0,0.1);
    --shadow-hover: 0 8px 25px rgba(0,0,0,0.15);
    --transition: all 0.3s ease;
}

/* ===== Reset & Base ===== */
* {
    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: var(--text-dark);
    overflow-x: hidden;
    background: var(--white);
}

/* ===== Page Loader ===== */
.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--white);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.page-loader.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loader-bird {
    font-size: 4rem;
    animation: loaderBounce 1s ease-in-out infinite;
}

.loader-text {
    margin-top: 20px;
    color: var(--primary-green);
    font-weight: 600;
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes loaderBounce {
    0%, 100% { transform: translateY(0) rotate(-5deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* ===== Scroll Animations ===== */
.fade-in {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-left {
    opacity: 0;
    transform: translateX(-60px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.fade-in-right {
    opacity: 0;
    transform: translateX(60px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

.scale-in {
    opacity: 0;
    transform: scale(0.85);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.scale-in.visible {
    opacity: 1;
    transform: scale(1);
}

/* Staggered animations */
.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }
.stagger-5 { transition-delay: 0.5s; }

/* ===== Header ===== */
header {
    background: rgba(255, 255, 255, 0.95);
    padding: 15px 30px;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

header.scrolled {
    padding: 10px 30px;
    background: rgba(255,255,255,0.98);
    box-shadow: 0 4px 30px rgba(0,0,0,0.15);
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 15px;
}

.logo h1 {
    font-size: 1.5rem;
    color: var(--primary-green);
    font-weight: 700;
    font-style: italic;
    transition: var(--transition);
    margin: 0;
}

.logo span {
    display: block;
    font-size: 0.8rem;
    color: var(--text-light);
    font-style: italic;
}

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

nav a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    padding: 8px 0;
    position: relative;
    transition: var(--transition);
}

nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-green), var(--accent-orange));
    transition: width 0.3s ease;
}

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

nav a:hover::after {
    width: 100%;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--primary-green);
}

/* ===== Hero Section with Flying Finches ===== */
.hero {
    position: relative;
    height: 100vh;
    min-height: 650px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(135deg, #1a472a 0%, #2d5a3d 50%, #1a472a 100%);
}

.hero-image {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.35;
    transform: scale(1.1);
    transition: transform 15s ease;
    animation: slowZoom 20s ease-in-out infinite alternate;
}

@keyframes slowZoom {
    0% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

/* Animated gradient overlay */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        45deg,
        rgba(26, 71, 42, 0.85) 0%,
        rgba(45, 90, 61, 0.7) 50%,
        rgba(26, 71, 42, 0.85) 100%
    );
    z-index: 1;
}

/* Flying finches container */
.flying-finches {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
    overflow: hidden;
}

.finch {
    position: absolute;
    filter: drop-shadow(2px 4px 8px rgba(0,0,0,0.4));
}

.finch svg {
    width: 60px;
    height: 40px;
}

/* Finch flying animations */
@keyframes flyAcross1 {
    0% {
        transform: translate(-100px, 0) rotate(5deg) scaleX(1);
        opacity: 0;
    }
    5% {
        opacity: 1;
    }
    48% {
        transform: translate(48vw, -40px) rotate(-3deg) scaleX(1);
    }
    52% {
        transform: translate(52vw, -35px) rotate(3deg) scaleX(1);
    }
    95% {
        opacity: 1;
    }
    100% {
        transform: translate(calc(100vw + 100px), 30px) rotate(5deg) scaleX(1);
        opacity: 0;
    }
}

@keyframes flyAcross2 {
    0% {
        transform: translate(-80px, 0) rotate(-3deg) scaleX(1);
        opacity: 0;
    }
    5% {
        opacity: 0.95;
    }
    50% {
        transform: translate(50vw, 50px) rotate(5deg) scaleX(1);
    }
    95% {
        opacity: 0.95;
    }
    100% {
        transform: translate(calc(100vw + 80px), -20px) rotate(-3deg) scaleX(1);
        opacity: 0;
    }
}

@keyframes flyAcross3 {
    0% {
        transform: translate(calc(100vw + 100px), 0) rotate(-5deg) scaleX(-1);
        opacity: 0;
    }
    5% {
        opacity: 0.9;
    }
    50% {
        transform: translate(50vw, 60px) rotate(5deg) scaleX(-1);
    }
    95% {
        opacity: 0.9;
    }
    100% {
        transform: translate(-100px, -40px) rotate(-5deg) scaleX(-1);
        opacity: 0;
    }
}

@keyframes flyAcross4 {
    0% {
        transform: translate(-120px, 0) rotate(8deg) scaleX(1);
        opacity: 0;
    }
    5% {
        opacity: 0.85;
    }
    50% {
        transform: translate(50vw, -60px) rotate(-5deg) scaleX(1);
    }
    95% {
        opacity: 0.85;
    }
    100% {
        transform: translate(calc(100vw + 120px), 40px) rotate(8deg) scaleX(1);
        opacity: 0;
    }
}

.finch-1 {
    top: 18%;
    animation: flyAcross1 14s ease-in-out infinite;
}

.finch-2 {
    top: 32%;
    animation: flyAcross2 18s ease-in-out infinite 4s;
}

.finch-3 {
    top: 48%;
    animation: flyAcross3 20s ease-in-out infinite 8s;
}

.finch-4 {
    top: 62%;
    animation: flyAcross4 16s ease-in-out infinite 2s;
}

.finch-5 {
    top: 22%;
    animation: flyAcross2 22s ease-in-out infinite 12s;
}

.finch-6 {
    top: 55%;
    animation: flyAcross1 19s ease-in-out infinite 6s;
}

/* Floating feathers */
.feathers-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
    overflow: hidden;
}

.feather {
    position: absolute;
    opacity: 0.7;
    pointer-events: none;
}

.feather svg {
    width: 25px;
    height: 50px;
}

@keyframes floatFeather {
    0% {
        transform: translate(0, -100px) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.7;
    }
    90% {
        opacity: 0.7;
    }
    100% {
        transform: translate(150px, 110vh) rotate(720deg);
        opacity: 0;
    }
}

.feather-1 { left: 8%; animation: floatFeather 18s linear infinite; }
.feather-2 { left: 25%; animation: floatFeather 22s linear infinite 4s; }
.feather-3 { left: 45%; animation: floatFeather 25s linear infinite 8s; }
.feather-4 { left: 65%; animation: floatFeather 20s linear infinite 12s; }
.feather-5 { left: 85%; animation: floatFeather 28s linear infinite 16s; }

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: var(--white);
    padding: 0 20px;
    max-width: 850px;
}

.hero-content h2 {
    font-size: 4rem;
    margin-bottom: 25px;
    text-shadow: 2px 4px 10px rgba(0,0,0,0.4);
    animation: heroFadeIn 1.2s ease forwards;
    opacity: 0;
}

@keyframes heroFadeIn {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content p {
    font-size: 1.4rem;
    margin-bottom: 35px;
    text-shadow: 1px 2px 6px rgba(0,0,0,0.4);
    animation: heroFadeIn 1.2s ease 0.3s forwards;
    opacity: 0;
}

.hero-content .btn {
    animation: heroFadeIn 1.2s ease 0.6s forwards;
    opacity: 0;
}

/* Scroll indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    animation: bounce 2s infinite;
    cursor: pointer;
}

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

.scroll-indicator svg {
    width: 35px;
    height: 35px;
    fill: var(--white);
    opacity: 0.85;
    transition: var(--transition);
}

.scroll-indicator:hover svg {
    opacity: 1;
    transform: scale(1.1);
}

/* ===== Buttons ===== */
.btn {
    display: inline-block;
    padding: 16px 36px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    border: none;
    cursor: pointer;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.6s ease;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-orange) 0%, #ff6f00 100%);
    color: var(--white);
    box-shadow: 0 6px 20px rgba(255, 143, 0, 0.4);
}

.btn-primary:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(255, 143, 0, 0.5);
    color: var(--white);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-green);
    border: 2px solid var(--primary-green);
}

.btn-secondary:hover {
    background: var(--primary-green);
    color: var(--white);
    transform: translateY(-4px);
}

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

/* ===== Section Headers ===== */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.8rem;
    color: var(--primary-green);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 70px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-green), var(--accent-orange));
    border-radius: 2px;
}

/* ===== Mission Section with Parallax ===== */
.mission {
    padding: 120px 0;
    background: var(--bg-light);
    position: relative;
    overflow: hidden;
}

.mission::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(124, 179, 66, 0.12) 0%, transparent 70%);
    border-radius: 50%;
    animation: floatBubble 8s ease-in-out infinite;
}

.mission::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(255, 143, 0, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    animation: floatBubble 10s ease-in-out infinite 2s;
}

@keyframes floatBubble {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-30px) rotate(5deg); }
}

.mission-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.mission-text h2 {
    font-size: 2.8rem;
    color: var(--primary-green);
    margin-bottom: 30px;
    position: relative;
}

.mission-text h2::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 0;
    width: 70px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-green), var(--accent-orange));
    border-radius: 2px;
}

.mission-text p {
    color: var(--text-light);
    margin-bottom: 22px;
    font-size: 1.15rem;
    line-height: 1.8;
}

.mission-image {
    position: relative;
}

.mission-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
    transition: var(--transition);
}

.mission-image::before {
    content: '';
    position: absolute;
    top: -25px;
    right: -25px;
    width: 100%;
    height: 100%;
    border: 4px solid var(--primary-green);
    border-radius: 20px;
    z-index: -1;
    transition: var(--transition);
}

.mission-image:hover img {
    transform: scale(1.03);
}

.mission-image:hover::before {
    top: -15px;
    right: -15px;
}

/* ===== Membership CTA ===== */
.membership-cta {
    padding: 120px 0;
    background: linear-gradient(135deg, var(--bg-green) 0%, #e8f5e9 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Decorative birds */
.membership-cta::before {
    content: '🐦';
    position: absolute;
    font-size: 120px;
    opacity: 0.06;
    top: 30px;
    left: 5%;
    animation: floatBubble 10s ease-in-out infinite;
}

.membership-cta::after {
    content: '🐦';
    position: absolute;
    font-size: 100px;
    opacity: 0.06;
    bottom: 30px;
    right: 5%;
    transform: scaleX(-1);
    animation: floatBubble 12s ease-in-out infinite 3s;
}

.membership-cta h2 {
    font-size: 2.8rem;
    color: var(--primary-green);
    margin-bottom: 18px;
}

.membership-cta > .container > p {
    color: var(--text-light);
    font-size: 1.25rem;
    margin-bottom: 50px;
}

.price-box {
    background: var(--white);
    padding: 50px 45px;
    border-radius: 25px;
    max-width: 420px;
    margin: 0 auto;
    box-shadow: 0 15px 50px rgba(0,0,0,0.12);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.price-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, var(--primary-green), var(--accent-orange), var(--primary-green));
}

.price-box:hover {
    transform: translateY(-12px);
    box-shadow: 0 25px 60px rgba(0,0,0,0.18);
}

.price {
    font-size: 4.5rem;
    font-weight: 700;
    color: var(--primary-green);
    line-height: 1;
}

.price span {
    font-size: 2rem;
    vertical-align: top;
}

.price-period {
    color: var(--text-light);
    margin-bottom: 30px;
    font-size: 1.1rem;
}

.benefits-list {
    list-style: none;
    text-align: left;
    margin-bottom: 35px;
}

.benefits-list li {
    padding: 14px 0;
    padding-left: 35px;
    position: relative;
    color: var(--text-dark);
    border-bottom: 1px solid #eee;
    font-size: 1.05rem;
}

.benefits-list li:last-child {
    border-bottom: none;
}

.benefits-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-green);
    font-weight: bold;
    font-size: 1.2rem;
}

/* ===== Events Section ===== */
.events {
    padding: 120px 0;
    background: var(--white);
}

.event-card {
    background: var(--bg-light);
    padding: 35px;
    border-radius: 18px;
    margin-bottom: 25px;
    border-left: 5px solid var(--primary-green);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.event-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: linear-gradient(90deg, rgba(124, 179, 66, 0.1), transparent);
    transition: width 0.5s ease;
}

.event-card:hover::before {
    width: 100%;
}

.event-card:hover {
    transform: translateX(12px);
    box-shadow: var(--shadow-hover);
}

.event-date {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-green), var(--primary-dark));
    color: var(--white);
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 0.95rem;
    font-weight: 500;
    margin-bottom: 18px;
}

.event-card h3 {
    color: var(--text-dark);
    margin-bottom: 12px;
    font-size: 1.4rem;
}

.event-card p {
    color: var(--text-light);
    margin-bottom: 18px;
    line-height: 1.7;
}

.event-location {
    color: var(--text-light);
    font-size: 0.98rem;
    padding: 18px;
    background: var(--white);
    border-radius: 12px;
    margin-top: 15px;
}

.event-location strong {
    color: var(--primary-green);
}

/* ===== Gallery ===== */
.gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.gallery img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    border-radius: 18px;
    transition: var(--transition);
    cursor: pointer;
    box-shadow: var(--shadow);
}

.gallery img:hover {
    transform: scale(1.05) rotate(1deg);
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

/* ===== About Section ===== */
.about {
    padding: 120px 0;
    background: var(--bg-cream);
}

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

.about-text h2 {
    font-size: 2.8rem;
    color: var(--primary-green);
    margin-bottom: 30px;
}

.about-text p {
    color: var(--text-light);
    margin-bottom: 22px;
    font-size: 1.15rem;
    line-height: 1.8;
}

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

/* Board Members */
.board-section {
    padding: 100px 0;
    background: var(--white);
}

.board-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 35px;
}

.board-member {
    text-align: center;
    padding: 40px 30px;
    background: var(--bg-light);
    border-radius: 18px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.board-member::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-green), var(--accent-orange));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.board-member:hover::before {
    transform: scaleX(1);
}

.board-member:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-hover);
    background: var(--white);
}

.board-member h3, .board-member h4 {
    color: var(--text-dark);
    margin-bottom: 8px;
}

.board-member .position, .board-member p {
    color: var(--primary-green);
    font-weight: 600;
}

/* ===== Contact Section ===== */
.contact-section, .contact {
    padding: 120px 0;
    background: var(--bg-light);
}

.contact-grid, .contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
}

.contact-form {
    background: var(--white);
    padding: 50px;
    border-radius: 25px;
    box-shadow: var(--shadow);
}

.form-group {
    margin-bottom: 28px;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    color: var(--text-dark);
    font-weight: 600;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    font-size: 1rem;
    transition: var(--transition);
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-green);
    box-shadow: 0 0 0 4px rgba(124, 179, 66, 0.15);
}

.form-group textarea {
    min-height: 160px;
    resize: vertical;
}

.contact-info h3 {
    color: var(--primary-green);
    margin-bottom: 25px;
    font-size: 1.6rem;
}

.contact-info p {
    color: var(--text-light);
    margin-bottom: 35px;
    line-height: 1.8;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 28px;
    padding: 25px;
    background: var(--white);
    border-radius: 18px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.info-item:hover {
    transform: translateX(12px);
    box-shadow: var(--shadow-hover);
}

.info-item .icon {
    font-size: 1.8rem;
}

.info-item h4 {
    color: var(--text-dark);
    margin-bottom: 6px;
}

.info-item p {
    color: var(--text-light);
    margin: 0;
}

/* ===== Page Hero ===== */
.page-hero {
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--primary-dark) 100%);
    padding: 180px 0 100px;
    text-align: center;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.06'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.page-hero h1 {
    font-size: 3.5rem;
    margin-bottom: 18px;
    position: relative;
    animation: heroFadeIn 1s ease forwards;
}

.page-hero p {
    font-size: 1.3rem;
    opacity: 0.92;
    position: relative;
    animation: heroFadeIn 1s ease 0.2s forwards;
    opacity: 0;
}

/* ===== Footer ===== */
footer {
    background: linear-gradient(135deg, #1a472a 0%, #2d5a3d 100%);
    color: var(--white);
    padding: 80px 0 35px;
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-green), var(--accent-orange), var(--primary-green));
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 50px;
}

.footer-section h4 {
    font-size: 1.3rem;
    margin-bottom: 25px;
    color: var(--white);
}

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

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

.footer-links li {
    margin-bottom: 14px;
}

.footer-links a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: var(--transition);
    position: relative;
    padding-left: 0;
}

.footer-links a::before {
    content: '→ ';
    opacity: 0;
    transition: var(--transition);
    position: absolute;
    left: -20px;
}

.footer-links a:hover {
    color: var(--white);
    padding-left: 25px;
}

.footer-links a:hover::before {
    opacity: 1;
    left: 0;
}

.social-links {
    display: flex;
    gap: 18px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    text-decoration: none;
    font-size: 1.4rem;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--accent-orange);
    transform: translateY(-6px) rotate(5deg);
}

.footer-bottom {
    text-align: center;
    padding-top: 35px;
    border-top: 1px solid rgba(255,255,255,0.12);
}

.footer-bottom p {
    color: rgba(255,255,255,0.6);
    font-size: 0.95rem;
}

/* ===== Utility Classes ===== */
.text-center { text-align: center; }
.mt-2 { margin-top: 35px; }

/* ===== Responsive ===== */
@media (max-width: 992px) {
    .mission-content,
    .about-content,
    .contact-grid,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
    
    .gallery {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .hero-content h2 {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }
    
    nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        padding: 25px;
        box-shadow: var(--shadow-hover);
        display: none;
        border-top: 3px solid var(--primary-green);
    }
    
    nav.active {
        display: block;
    }
    
    nav ul {
        flex-direction: column;
        gap: 18px;
    }
    
    .hero {
        min-height: 550px;
    }
    
    .hero-content h2 {
        font-size: 2.4rem;
    }
    
    .hero-content p {
        font-size: 1.1rem;
    }
    
    .section-header h2,
    .mission-text h2,
    .membership-cta h2 {
        font-size: 2.2rem;
    }
    
    .price {
        font-size: 3.5rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .gallery {
        grid-template-columns: 1fr;
    }
    
    .page-hero {
        padding: 140px 0 70px;
    }
    
    .page-hero h1 {
        font-size: 2.4rem;
    }
    
    /* Hide some flying finches on mobile */
    .finch-3, .finch-4, .finch-5, .finch-6 {
        display: none;
    }
    
    .feather-3, .feather-4, .feather-5 {
        display: none;
    }
}

/* ===== Image Loading ===== */
img {
    max-width: 100%;
    height: auto;
}

img.lazy {
    opacity: 0;
    transition: opacity 0.5s ease;
}

img.lazy.loaded {
    opacity: 1;
}
