/* Tiger Conservation Page Styles */

:root {
    --tiger-orange: #ff6b35;
    --tiger-dark: #2d3142;
    --tiger-light: #fff8f0;
    --tiger-accent: #f7931e;
    --danger-red: #dc2626;
}

/* Breadcrumb */
.breadcrumb {
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    padding: 80px 24px 40px;
    margin-top: 64px;
}

.breadcrumb-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.breadcrumb-nav {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 16px;
}

.breadcrumb-nav a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: color 0.2s ease;
}

.breadcrumb-nav a:hover {
    color: #ffffff;
}

.page-title {
    font-family: 'Poppins', sans-serif;
    font-size: 48px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
    display: flex;
    align-items: center;
    gap: 16px;
}

.page-title-icon {
    width: 56px;
    height: 56px;
    fill: white;
    color: white;
    vertical-align: middle;
    margin-left: 8px;
}

.page-subtitle {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.95);
    max-width: 800px;
    line-height: 1.6;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, #fff8f0 0%, #ffffff 100%);
    overflow: hidden;
    padding: 40px 20px;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.1;
    background-image: 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='%23ff6b35' fill-opacity='0.4'%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");
}

.tiger-image-container {
    position: relative;
    z-index: 1;
    max-width: 900px;
    width: 100%;
    animation: fadeInScale 1s ease-out;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(255, 107, 53, 0.3);
}

.tiger-hero-image {
    width: 100%;
    height: auto;
    display: block;
}

.hero-content {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
}

.hero-headline {
    font-family: 'Poppins', sans-serif;
    font-size: 42px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 16px;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
    letter-spacing: -0.02em;
}

.hero-description {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.6;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Main Content */
.main-content {
    background: #ffffff;
}

.section {
    padding: 80px 24px;
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
}

.section-title {
    font-family: 'Poppins', sans-serif;
    font-size: 42px;
    font-weight: 700;
    color: var(--tiger-dark);
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.section-description {
    font-size: 18px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Mission Section */
.mission-section {
    background: var(--tiger-light);
}

.mission-content {
    max-width: 900px;
    margin: 0 auto;
}

.mission-text {
    background: #ffffff;
    padding: 48px;
    border-radius: 16px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.mission-lead {
    font-size: 22px;
    font-weight: 500;
    color: var(--tiger-dark);
    line-height: 1.7;
    margin-bottom: 24px;
}

.mission-text p {
    font-size: 18px;
    line-height: 1.8;
    color: var(--text-primary);
    margin-bottom: 24px;
}

.facebook-cta {
    margin-top: 40px;
    text-align: center;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 16px 32px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: #1877f2;
    color: #ffffff;
}

.btn-primary:hover {
    background: #0c63d4;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(24, 119, 242, 0.3);
}

.btn-large {
    padding: 18px 36px;
    font-size: 18px;
}

.btn-icon {
    width: 24px;
    height: 24px;
}

/* Crisis Section */
.crisis-section {
    background: #f8f9fa;
}

.crisis-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    max-width: 1400px;
    margin: 0 auto 60px;
}

.crisis-card {
    background: #ffffff;
    border: 2px solid var(--subtle-border);
    border-radius: 16px;
    padding: 48px 40px;
    text-align: center;
    transition: all 0.3s ease;
}

.crisis-card:hover {
    border-color: var(--tiger-orange);
    box-shadow: 0 10px 30px rgba(255, 107, 53, 0.15);
    transform: translateY(-4px);
}

.crisis-icon {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.crisis-icon-svg {
    width: 64px;
    height: 64px;
    stroke: var(--tiger-orange);
    fill: none;
}

.crisis-icon-img {
    width: 140px;
    height: 140px;
    margin: 0 auto 24px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.crisis-icon-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background-color: #fffaf5;
    display: block;
    border-radius: 20px;
}

.crisis-card h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 26px;
    font-weight: 600;
    color: var(--tiger-dark);
    margin-bottom: 16px;
}

.crisis-card p {
    font-size: 17px;
    line-height: 1.7;
    color: var(--text-secondary);
}

/* Stat Highlight */
.stat-highlight {
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    border-radius: 20px;
    padding: 60px 40px;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    box-shadow: 0 20px 40px rgba(255, 107, 53, 0.2);
}

.stat-big {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.stat-number-large {
    font-family: 'Poppins', sans-serif;
    font-size: 72px;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.02em;
}

.stat-number-large.danger {
    color: #fef2f2;
    text-shadow: 0 0 20px rgba(220, 38, 38, 0.5);
}

.stat-arrow {
    font-size: 48px;
    color: rgba(255, 255, 255, 0.7);
}

.stat-caption {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 500;
}

/* Population Section */
.population-section {
    background: var(--tiger-light);
}

.population-content {
    max-width: 1200px;
    margin: 0 auto;
}

.population-visual {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    align-items: center;
}

.tiger-chart-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.tiger-icon-wrapper {
    position: relative;
    text-align: center;
}

.total-count-badge {
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    padding: 16px 32px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
}

.count-number {
    font-family: 'Poppins', sans-serif;
    font-size: 36px;
    font-weight: 700;
    color: white;
    line-height: 1;
    margin-bottom: 4px;
}

.count-label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.95);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.tiger-pie-svg {
    max-width: 500px;
    height: auto;
    filter: drop-shadow(0 10px 30px rgba(255, 107, 53, 0.2));
}

.pie-segment {
    transition: all 0.3s ease;
    transform-origin: 366px 300px;
    filter: drop-shadow(0 0 0 rgba(0, 0, 0, 0));
}

.pie-segment:hover {
    transform: scale(1.08) translateZ(20px);
    filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.4)) brightness(1.1);
    z-index: 10;
}

.pie-tooltip {
    position: fixed;
    background: rgba(45, 49, 66, 0.95);
    color: white;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 14px;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    line-height: 1.6;
}

.pie-tooltip strong {
    color: var(--tiger-orange);
    font-size: 16px;
}

.pie-tooltip small {
    color: rgba(255, 255, 255, 0.8);
}

.total-population {
    margin-top: 30px;
    background: linear-gradient(135deg, var(--tiger-orange) 0%, var(--tiger-accent) 100%);
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(255, 107, 53, 0.2);
}

.total-number {
    font-family: 'Poppins', sans-serif;
    font-size: 56px;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.02em;
}

.total-label {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    margin-top: 8px;
}

.population-breakdown {
    background: #ffffff;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.population-breakdown h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 28px;
    font-weight: 600;
    color: var(--tiger-dark);
    margin-bottom: 30px;
}

.subspecies-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.subspecies-item {
    position: relative;
    transition: all 0.3s ease;
    padding: 12px;
    border-radius: 8px;
    cursor: pointer;
}

.subspecies-bar {
    height: 8px;
    border-radius: 4px;
    margin-bottom: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(255, 107, 53, 0.2);
}

.subspecies-item:hover .subspecies-bar {
    height: 12px;
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.4);
}

.subspecies-info {
    padding-left: 8px;
}

.subspecies-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.subspecies-name {
    font-family: 'Poppins', sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: var(--tiger-dark);
}

.subspecies-count {
    font-size: 16px;
    font-weight: 700;
    color: var(--tiger-orange);
}

.subspecies-location {
    font-size: 14px;
    color: var(--text-secondary);
    font-style: italic;
}

.data-note {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid var(--subtle-border);
    text-align: center;
}

.data-note small {
    color: var(--text-secondary);
    font-size: 13px;
}

/* Action Section */
.action-section {
    background: #ffffff;
}

.action-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
    max-width: 1200px;
    margin: 0 auto 60px;
}

.action-card {
    background: var(--tiger-light);
    border-radius: 16px;
    padding: 40px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.action-card:hover {
    border-color: var(--tiger-orange);
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(255, 107, 53, 0.15);
}

.action-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.action-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.action-card h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 22px;
    font-weight: 600;
    color: var(--tiger-dark);
    margin-bottom: 16px;
}

.action-card p {
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-secondary);
}

/* Vision Box */
.vision-box {
    background: linear-gradient(135deg, #2d3142 0%, #1a1d2e 100%);
    border-radius: 20px;
    padding: 60px 40px;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    box-shadow: 0 20px 40px rgba(45, 49, 66, 0.2);
}

.vision-icon {
    width: 96px;
    height: 96px;
    margin: 0 auto 24px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.vision-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.vision-box h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 32px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 24px;
}

.vision-box p {
    font-size: 20px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
}

/* Organizations Section */
.organizations-section {
    background: var(--tiger-light);
}

.organizations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.organization-card {
    background: #ffffff;
    border: 2px solid var(--subtle-border);
    border-radius: 16px;
    padding: 40px;
    text-align: center;
    transition: all 0.3s ease;
}

.organization-card:hover {
    border-color: var(--tiger-orange);
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(255, 107, 53, 0.15);
}

.organization-card h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 24px;
    font-weight: 600;
    color: var(--tiger-dark);
    margin-bottom: 16px;
}

.organization-card p {
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.organization-card .btn {
    display: inline-block;
    margin-top: 8px;
}

/* Footer */
.footer {
    background: var(--tiger-dark);
    padding: 48px 24px;
    color: rgba(255, 255, 255, 0.8);
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 32px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 15px;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: var(--tiger-orange);
}

.footer-copyright {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
}

/* Animations */
.fade-in {
    opacity: 0;
    animation: fadeIn 0.8s ease-out forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

.fade-in:nth-child(1) { animation-delay: 0.1s; }
.fade-in:nth-child(2) { animation-delay: 0.2s; }
.fade-in:nth-child(3) { animation-delay: 0.3s; }
.fade-in:nth-child(4) { animation-delay: 0.4s; }

/* Responsive */
@media (max-width: 768px) {
    .page-title {
        font-size: 36px;
    }

    .section-title {
        font-size: 32px;
    }

    .mission-text {
        padding: 32px 24px;
    }

    .stat-number-large {
        font-size: 48px;
    }

    .stat-arrow {
        font-size: 32px;
    }

    .population-visual {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .tiger-pie-svg {
        max-width: 100%;
    }

    .total-number {
        font-size: 42px;
    }

    .population-breakdown {
        padding: 24px;
    }

    .population-breakdown h3 {
        font-size: 22px;
    }

    .subspecies-name {
        font-size: 16px;
    }

    .subspecies-count {
        font-size: 14px;
    }

    .subspecies-location {
        font-size: 12px;
    }

    .vision-box {
        padding: 40px 24px;
    }

    .vision-box h3 {
        font-size: 24px;
    }

    .vision-box p {
        font-size: 16px;
    }
}
