/* ===== Crocodile Conflict Page Styles ===== */

/* Wider container for this page */
.croc-section .container {
    max-width: 1320px;
}

/* Hero Section */
.croc-hero {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: #000;
}

.croc-hero-image {
    position: relative;
    width: 100%;
    height: 85vh;
    min-height: 400px;
    overflow: hidden;
}

.croc-hero-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
}

.croc-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.05) 40%, rgba(0,0,0,0.7) 100%);
    pointer-events: none;
}

.croc-hero-content {
    position: absolute;
    bottom: 12%;
    left: 0;
    width: 100%;
    text-align: center;
    color: #fff;
    padding: 0 20px;
    z-index: 2;
}

.croc-hero-title {
    font-family: 'Oswald', sans-serif;
    font-size: 4rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 14px;
    text-shadow: 2px 3px 12px rgba(0,0,0,0.7);
}

.croc-hero-subtitle {
    font-family: 'Poppins', sans-serif;
    font-size: 1.2rem;
    font-weight: 300;
    max-width: 750px;
    margin: 0 auto;
    text-shadow: 1px 1px 8px rgba(0,0,0,0.6);
    letter-spacing: 0.5px;
}

/* Common Section Styles */
.croc-section {
    padding: 5rem 0;
}

.croc-section-header {
    text-align: center;
    margin-bottom: 3rem;
}

/* Introduction Section */
.croc-intro-section {
    background: #fff;
}

.croc-intro-content {
    max-width: 1100px;
    margin: 0 auto;
}

.croc-intro-content p {
    font-size: 1.08rem;
    line-height: 1.9;
    color: #444;
    text-align: justify;
}

.croc-intro-content em {
    font-style: italic;
    color: #2d6a4f;
}

/* Inline images/videos inside content sections */
.croc-inline-image,
.croc-inline-media {
    margin: 2.5rem auto;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

/* Smaller images inside rescue story content */
.croc-rescue-content .croc-inline-media,
.croc-rescue-content .croc-inline-image,
.croc-rescue-content .croc-featured-image {
    max-width: 750px;
    margin: 2rem auto;
}

.croc-rescue-content .croc-inline-media img,
.croc-rescue-content .croc-featured-image img {
    max-height: 450px;
    object-fit: cover;
}

/* Smaller images inside victim analysis content */
.croc-victim-analysis .croc-inline-media,
.croc-victim-analysis .croc-featured-image {
    max-width: 750px;
    margin: 2rem auto;
}

.croc-victim-analysis .croc-inline-media img,
.croc-victim-analysis .croc-featured-image img {
    max-height: 450px;
    object-fit: cover;
}

.croc-inline-media video {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
    background: #000;
}

/* Videos inside rescue stories */
.croc-rescue-content .croc-inline-media video,
.croc-rescue-content .croc-featured-image video {
    max-height: 450px;
    object-fit: contain;
}

.section-title-coc {
    font-size: 3rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1rem;
    font-family: 'Oswald', sans-serif;
}

/* Image Section */
.croc-image-section {
    padding: 3rem 0;
    background: #f4faf6;
}

.croc-featured-image {
    max-width: 1100px;
    margin: 0 auto;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
}

.croc-featured-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.croc-featured-image video {
    width: 100%;
    height: auto;
    display: block;
    background: #000;
}

/* Statistics Section */
.croc-stats-section {
    background: #f4faf6;
}

.croc-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-bottom: 3.5rem;
}

.croc-stat-card {
    background: linear-gradient(135deg, #1b4332, #2d6a4f);
    border-radius: 12px;
    padding: 2.5rem 1.5rem;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.croc-stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(27, 67, 50, 0.25);
}

.croc-stat-number {
    font-family: 'Oswald', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.5rem;
}

.croc-stat-label {
    font-size: 0.95rem;
    color: rgba(255,255,255,0.85);
    font-weight: 400;
}

.croc-research-content {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
}

.croc-research-block {
    background: #fff;
    border-left: 4px solid #2d6a4f;
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.croc-research-block h3 {
    font-family: 'Oswald', sans-serif;
    font-size: 1.4rem;
    color: #1b4332;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.croc-research-block h3 i {
    color: #2d6a4f;
}

.croc-research-block p {
    font-size: 1rem;
    line-height: 1.8;
    color: #555;
    text-align: justify;
}

/* Hotspots Section */
.croc-hotspots-section {
    background: #f8f8f8;
}

.croc-hotspot-card {
    background: linear-gradient(135deg, #8b133a, #a61c4a);
    border-radius: 12px;
    padding: 2.5rem;
    display: flex;
    align-items: flex-start;
    gap: 2rem;
    margin-bottom: 2.5rem;
}

.croc-hotspot-icon {
    flex-shrink: 0;
    width: 70px;
    height: 70px;
    background: rgba(255,255,255,0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: #fff;
}

.croc-hotspot-content h3 {
    font-family: 'Oswald', sans-serif;
    font-size: 1.6rem;
    color: #fff;
    margin-bottom: 1rem;
}

.croc-hotspot-content p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: rgba(255,255,255,0.9);
}

/* Victim Analysis / Man-Eater Story */
.croc-victim-analysis {
    background: #fff;
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    border-top: 4px solid #8b133a;
}

.croc-victim-analysis h3 {
    font-family: 'Oswald', sans-serif;
    font-size: 1.6rem;
    color: #1b4332;
    margin-bottom: 1.5rem;
}

.croc-victim-analysis h3 i {
    color: #9e6767;
}

.croc-victim-analysis p {
    font-size: 1.05rem;
    line-height: 1.85;
    color: #555;
    text-align: justify;
    margin-bottom: 1.25rem;
}

.croc-victim-analysis h4 {
    font-family: 'Oswald', sans-serif;
    font-size: 1.25rem;
    color: #1b4332;
    margin: 2rem 0 1rem;
}

/* Conservation Paradox / Expertise Background Section */
.croc-paradox-section {
    background: linear-gradient(135deg, rgba(30, 40, 35, 0.85), rgba(45, 60, 50, 0.8)),
                url('../assets/images/20140209_134244.jpg.jpeg') center/cover fixed;
    color: #fff;
}

.croc-paradox-content {
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
}

.croc-paradox-text h2 {
    font-family: 'Oswald', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.croc-paradox-text p {
    font-size: 1.15rem;
    line-height: 1.9;
    color: rgba(255,255,255,0.95);
    text-align: justify;
}

/* Expertise Section */
.croc-expertise-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.croc-expertise-card {
    background: rgba(255,255,255,0.92);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    backdrop-filter: blur(4px);
}

.croc-expertise-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.15);
}

.croc-expertise-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: linear-gradient(135deg, #2d6a4f, #40916c);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin: 0 auto 1.2rem;
}

.croc-expertise-card h3 {
    font-family: 'Oswald', sans-serif;
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
    color: #1b4332;
}

.croc-expertise-card p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #555;
}

.croc-expertise-summary {
    background: rgba(255,255,255,0.9);
    border-left: 4px solid #40916c;
    border-radius: 8px;
    padding: 2rem;
    backdrop-filter: blur(4px);
}

.croc-expertise-summary p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: rgba(255,255,255,0.95);
    text-align: justify;
}

.croc-paradox-section .croc-expertise-summary p {
    color: #444;
}

/* Rescue Stories Section */
.croc-rescue-section {
    background: #fff;
}

.croc-rescue-story {
    background: #f9f9f9;
    border-radius: 16px;
    margin-bottom: 2.5rem;
    overflow: hidden;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.croc-rescue-story:hover {
    box-shadow: 0 12px 40px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}

.croc-rescue-header {
    background: linear-gradient(135deg, #1b4332, #2d6a4f);
    padding: 1.5rem 2rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.croc-rescue-year {
    background: rgba(255,255,255,0.2);
    color: #fff;
    font-family: 'Oswald', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    flex-shrink: 0;
}

.croc-rescue-header h3 {
    font-family: 'Oswald', sans-serif;
    font-size: 1.5rem;
    color: #fff;
    margin: 0;
}

.croc-rescue-content {
    padding: 2rem 2.5rem;
}

.croc-rescue-content p {
    font-size: 1rem;
    line-height: 1.85;
    color: #555;
    margin-bottom: 1.25rem;
    text-align: justify;
}

.croc-rescue-content p:last-of-type {
    margin-bottom: 0;
}

.croc-rescue-content em {
    font-style: italic;
    color: #2d6a4f;
}

.croc-rescue-content h4 {
    font-family: 'Oswald', sans-serif;
    font-size: 1.25rem;
    color: #1b4332;
    margin: 2rem 0 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #e0e0e0;
}

.croc-rescue-outcome {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    background: #e8f5e9;
    padding: 1.25rem 1.5rem;
    border-radius: 8px;
    margin-top: 1.5rem;
}

.croc-rescue-outcome i {
    color: #2e7d32;
    font-size: 1.3rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.croc-rescue-outcome span {
    font-size: 1rem;
    color: #2e7d32;
    font-weight: 500;
}

/* Tragic Story Styles */
.croc-rescue-tragic .croc-rescue-header {
    background: linear-gradient(135deg, #4a332a, #6d4c41);
}

.croc-rescue-tragic-outcome {
    background: #fce4ec;
}

.croc-rescue-tragic-outcome i {
    color: #c62828;
}

.croc-rescue-tragic-outcome span {
    color: #c62828;
}

/* Highlight Story (Man-Eater) */
.croc-rescue-highlight .croc-rescue-header {
    background: linear-gradient(135deg, #8b133a, #a61c4a);
}

/* Call to Action Section */
.croc-cta-section {
    background: linear-gradient(135deg, #f4a261, #e76f51);
    text-align: center;
}

.croc-cta-content h2 {
    font-family: 'Oswald', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.croc-cta-content p {
    font-size: 1.15rem;
    color: rgba(255,255,255,0.95);
    max-width: 900px;
    margin: 0 auto 2rem;
}

.croc-cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.croc-cta-buttons .btn-primary {
    background: #1b4332;
    color: #fff;
}

.croc-cta-buttons .btn-primary:hover {
    background: #2d6a4f;
}

.croc-cta-buttons .btn-secondary {
    background: transparent;
    color: #fff;
    border: 2px solid #fff;
}

.croc-cta-buttons .btn-secondary:hover {
    background: #fff;
    color: #e76f51;
}

/* ===== Responsive Styles ===== */
@media (max-width: 1200px) {
    .croc-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

@media (max-width: 992px) {
    .croc-hero-title {
        font-size: 3rem;
    }

    .croc-research-content {
        grid-template-columns: 1fr;
    }

    .croc-hotspot-card {
        flex-direction: column;
        text-align: center;
    }

    .croc-hotspot-icon {
        margin: 0 auto;
    }

    .section-title-coc {
        font-size: 2.4rem;
    }
}

@media (max-width: 768px) {
    .croc-hero-image {
        height: 65vh;
    }

    .croc-hero-title {
        font-size: 2.4rem;
        letter-spacing: 1.5px;
    }

    .croc-hero-subtitle {
        font-size: 1rem;
    }

    .croc-section {
        padding: 3.5rem 0;
    }

    .croc-stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .croc-stat-card {
        padding: 1.75rem 1rem;
    }

    .croc-stat-number {
        font-size: 2.2rem;
    }

    .croc-expertise-grid {
        grid-template-columns: 1fr;
    }

    .croc-rescue-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }

    .croc-rescue-content {
        padding: 1.5rem;
    }

    .croc-victim-analysis {
        padding: 1.5rem;
    }

    .croc-paradox-text h2 {
        font-size: 2rem;
    }

    .croc-cta-content h2 {
        font-size: 2rem;
    }

    .croc-cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .croc-cta-buttons .btn {
        width: 100%;
        max-width: 300px;
    }

    .section-title-coc {
        font-size: 2rem;
    }

    .croc-intro-content p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .croc-hero-image {
        height: 55vh;
    }

    .croc-hero-title {
        font-size: 1.8rem;
        letter-spacing: 1px;
    }

    .croc-hero-subtitle {
        font-size: 0.9rem;
    }

    .croc-stats-grid {
        grid-template-columns: 1fr;
    }

    .croc-stat-card {
        padding: 1.5rem;
    }

    .croc-stat-number {
        font-size: 2.5rem;
    }

    .croc-rescue-content {
        padding: 1.25rem;
    }

    .croc-rescue-header {
        padding: 1.25rem 1.5rem;
    }

    .croc-rescue-header h3 {
        font-size: 1.25rem;
    }

    .croc-hotspot-card {
        padding: 1.5rem;
    }

    .croc-research-block,
    .croc-victim-analysis,
    .croc-expertise-summary {
        padding: 1.25rem;
    }

    .croc-inline-image,
    .croc-inline-media {
        margin: 1.5rem -0.5rem;
        border-radius: 8px;
    }

    .croc-rescue-content .croc-inline-media,
    .croc-rescue-content .croc-featured-image,
    .croc-victim-analysis .croc-inline-media,
    .croc-victim-analysis .croc-featured-image {
        max-width: 100%;
    }

    .croc-rescue-content .croc-inline-media img,
    .croc-rescue-content .croc-featured-image img,
    .croc-victim-analysis .croc-inline-media img,
    .croc-victim-analysis .croc-featured-image img {
        max-height: 300px;
    }

    .croc-victim-analysis h3 {
        font-size: 1.3rem;
    }
}
