/* ===== Reset & Base ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --orange: #e87a1e;
    --orange-dark: #c96510;
    --orange-light: #fdf0e4;
    --brown: #5c3d18;
    --text: #333;
    --text-light: #666;
    --bg: #ffffff;
    --bg-alt: #faf8f6;
    --border: #e8e4e0;
    --shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.12);
    --radius: 12px;
    --transition: 0.3s ease;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--orange);
    text-decoration: none;
    transition: color var(--transition);
}

a:hover {
    color: var(--orange-dark);
}

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

/* ===== Navigation ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: all var(--transition);
    background: transparent;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 8px rgba(0, 0, 0, 0.08);
    padding: 10px 0;
}

.nav-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo img {
    height: 48px;
    width: 48px;
    border-radius: 50%;
    transition: transform var(--transition);
}

.nav-logo img:hover {
    transform: scale(1.05);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 32px;
}

.nav-links a {
    color: var(--text);
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    position: relative;
}

.navbar:not(.scrolled) .nav-links a {
    color: #fff;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--orange);
    transition: width var(--transition);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text);
    transition: all var(--transition);
}

.navbar:not(.scrolled) .nav-toggle span {
    background: #fff;
}

/* ===== Hero ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(135deg, #d4772a 0%, #b85e16 40%, #8b4513 100%);
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 80%, rgba(232, 122, 30, 0.3) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 20%, rgba(201, 101, 16, 0.2) 0%, transparent 60%);
}

.hero-content {
    position: relative;
    z-index: 1;
    padding: 40px 24px;
}

.hero-logo {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    margin: 0 auto 32px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    border: 4px solid rgba(255, 255, 255, 0.3);
}

.hero h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    color: #fff;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.hero-tagline {
    font-size: clamp(1rem, 2.5vw, 1.3rem);
    color: rgba(255, 255, 255, 0.9);
    font-weight: 300;
    margin-bottom: 40px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===== Buttons ===== */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    transition: all var(--transition);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--orange);
    color: #fff;
}

.btn-primary:hover {
    background: var(--orange-dark);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(232, 122, 30, 0.4);
}

.btn-outline {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.6);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: #fff;
    color: #fff;
}

.btn-sm {
    padding: 10px 24px;
    font-size: 0.85rem;
}

/* ===== Sections ===== */
.section {
    padding: 96px 0;
}

.section-alt {
    background: var(--bg-alt);
}

.section-title {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: 16px;
    color: var(--brown);
    letter-spacing: -0.02em;
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    max-width: 680px;
    margin: 0 auto 56px;
    font-size: 1.05rem;
    line-height: 1.8;
}

/* ===== About ===== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 48px;
    align-items: start;
    margin-top: 40px;
}

.about-text .lead {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--brown);
    margin-bottom: 20px;
    line-height: 1.8;
}

.about-text p {
    margin-bottom: 16px;
    color: var(--text-light);
}

.about-stats {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.stat-card {
    background: var(--orange-light);
    padding: 24px;
    border-radius: var(--radius);
    text-align: center;
    border: 1px solid rgba(232, 122, 30, 0.15);
}

.stat-number {
    display: block;
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--orange);
}

.stat-label {
    display: block;
    font-size: 0.85rem;
    color: var(--text-light);
    margin-top: 4px;
    font-weight: 500;
}

/* ===== Steps ===== */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.step-card {
    background: var(--bg);
    padding: 32px 24px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    text-align: center;
    transition: transform var(--transition), box-shadow var(--transition);
}

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

.step-number {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--orange);
    color: #fff;
    font-size: 1.2rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.step-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--brown);
    margin-bottom: 12px;
}

.step-card p {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.7;
}

/* ===== Team ===== */
.team-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    max-width: 900px;
    margin: 48px auto 0;
}

.team-card {
    background: var(--bg);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform var(--transition), box-shadow var(--transition);
}

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

.team-photo {
    width: 100%;
    aspect-ratio: 1;
    overflow: hidden;
}

.team-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition);
}

.team-card:hover .team-photo img {
    transform: scale(1.03);
}

.team-card h3 {
    padding: 24px 24px 4px;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--brown);
}

.team-role {
    padding: 0 24px;
    color: var(--orange);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 12px;
}

.team-bio {
    padding: 0 24px 28px;
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.7;
}

/* ===== Adopting ===== */
.adopting-content {
    max-width: 720px;
    margin: 40px auto 0;
}

.adopting-text .lead {
    font-size: 1.15rem;
    font-weight: 500;
    color: var(--brown);
    margin-bottom: 16px;
}

.adopting-text p {
    color: var(--text-light);
    margin-bottom: 16px;
}

.adopting-text h3 {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--brown);
    margin: 32px 0 16px;
}

.adopting-list {
    list-style: none;
    margin-bottom: 24px;
}

.adopting-list li {
    padding: 10px 0 10px 32px;
    position: relative;
    color: var(--text-light);
    border-bottom: 1px solid var(--border);
}

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

.adopting-list li::before {
    content: '\2713';
    position: absolute;
    left: 0;
    color: var(--orange);
    font-weight: 700;
    font-size: 1.1rem;
}

.adopting-text .btn {
    margin-top: 16px;
}

/* ===== Contact ===== */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 48px;
}

.contact-card {
    text-align: center;
    padding: 32px 20px;
    background: var(--bg-alt);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    transition: transform var(--transition);
}

.contact-card:hover {
    transform: translateY(-2px);
}

.contact-icon {
    font-size: 2rem;
    margin-bottom: 16px;
}

.contact-card h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--brown);
    margin-bottom: 8px;
}

.contact-card a,
.contact-card p {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.6;
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.social-links a {
    color: var(--orange);
    font-weight: 500;
}

/* ===== Footer ===== */
.footer {
    background: var(--brown);
    color: rgba(255, 255, 255, 0.8);
    padding: 56px 0 0;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    margin-bottom: 12px;
}

.footer-info p {
    font-size: 0.85rem;
    line-height: 1.6;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    transition: color var(--transition);
}

.footer-links a:hover {
    color: #fff;
}

.footer-donate p {
    font-size: 0.95rem;
    margin-bottom: 12px;
}

.footer-bottom {
    padding: 20px 0;
    text-align: center;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
}

/* ===== Responsive ===== */
@media (max-width: 900px) {
    .about-grid {
        grid-template-columns: 1fr;
    }

    .about-stats {
        flex-direction: row;
    }

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

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

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-logo {
        margin: 0 auto 12px;
    }
}

@media (max-width: 640px) {
    .nav-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: #fff;
        flex-direction: column;
        padding: 80px 32px 32px;
        gap: 24px;
        box-shadow: var(--shadow-lg);
        transition: right var(--transition);
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links a {
        color: var(--text) !important;
        text-shadow: none !important;
        font-size: 1rem;
    }

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

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

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

    .hero-logo {
        width: 120px;
        height: 120px;
    }

    .section {
        padding: 64px 0;
    }

    .steps-grid {
        grid-template-columns: 1fr;
    }

    .team-grid {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .about-stats {
        flex-direction: column;
    }

    .stat-card {
        flex-direction: row;
        display: flex;
        align-items: center;
        gap: 12px;
        text-align: left;
    }
}
