/* Poultry Animals - Modern Design */

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #2d3748;
    background: #f7fafc;
    font-size: 16px;
}

/* Hero Section */
.poultry-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 80vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="feathers" width="20" height="20" patternUnits="userSpaceOnUse"><path d="M0 10 Q5 0 10 10 Q15 20 20 10" stroke="white" fill="none" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23feathers)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    position: relative;
    z-index: 2;
    width: 100%;
}

.hero-text {
    flex: 1;
    max-width: 600px;
}

.main-title {
    font-size: 32px;
    font-weight: 800;
    color: white;
    margin-bottom: 20px;
    text-shadow: 0 4px 8px rgba(0,0,0,0.3);
    line-height: 1.1;
}

.hero-description {
    font-size: 18px;
    color: rgba(255,255,255,0.9);
    margin-bottom: 40px;
    font-weight: 400;
}

.hero-badges {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.badge {
    background: rgba(255,255,255,0.2);
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 18px;
    font-weight: 500;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.3);
    transition: all 0.3s ease;
}

.badge-icon {
    font-size: 4rem;
}

.badge:hover {
    background: rgba(255,255,255,0.3);
    transform: translateY(-2px);
}

.hero-visual {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.floating-card {
    background: rgba(255,255,255,0.95);
    padding: 20px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    backdrop-filter: blur(10px);
    animation: float 3s ease-in-out infinite;
}

.floating-card:nth-child(2) {
    animation-delay: 1.5s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.card-icon {
    font-size: 4rem;
}

.card-text {
    display: flex;
    flex-direction: column;
}

.card-number {
    font-size: 18px;
    font-weight: 700;
    color: #667eea;
}

.card-label {
    font-size: 18px;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Main Content Section */
.main-content-section {
    padding: 80px 0;
    background: white;
    margin-top: -60px;
    position: relative;
    z-index: 3;
    border-radius: 30px 30px 0 0;
}

.content-wrapper {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

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

.section-header h2 {
    font-size: 18px;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 15px;
}

.header-decoration {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    margin: 0 auto;
    border-radius: 2px;
}

/* Intro Section */
.intro-section {
    background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
    padding: 40px;
    border-radius: 20px;
    margin-bottom: 50px;
    border: 1px solid #e2e8f0;
}

.intro-section p {
    font-size: 16px;
    color: #4a5568;
    line-height: 1.7;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

/* Species Section */
.species-section {
    margin-bottom: 60px;
}

.species-card {
    background: white;
    border-radius: 20px;
    margin-bottom: 30px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    border: 1px solid #e2e8f0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.species-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.12);
}

.species-card.primary {
    border-left: 5px solid #667eea;
}

.species-card.secondary {
    border-left: 5px solid #38b2ac;
}

.species-card.accent {
    border-left: 5px solid #ed8936;
}

.species-card.neutral {
    border-left: 5px solid #718096;
}

.species-header {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 30px;
    background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
    border-bottom: 1px solid #e2e8f0;
}

.species-icon {
    font-size: 8rem;
    background: white;
    width: 96px;
    height: 96px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.species-info {
    flex: 1;
}

.species-info h3 {
    font-size: 18px;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 5px;
}

.scientific-name {
    font-style: italic;
    color: #718096;
    font-size: 18px;
}

.species-badge {
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.species-badge.primary {
    background: #ebf8ff;
    color: #667eea;
}

.species-badge.secondary {
    background: #e6fffa;
    color: #38b2ac;
}

.species-badge.accent {
    background: #fffaf0;
    color: #ed8936;
}

.species-badge.neutral {
    background: #f7fafc;
    color: #718096;
}

.species-content {
    padding: 30px;
}

.species-content p {
    color: #4a5568;
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 25px;
}

.breed-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
}

.breed-item {
    background: #f7fafc;
    padding: 20px;
    border-radius: 15px;
    text-align: center;
    border: 1px solid #e2e8f0;
    transition: transform 0.3s ease;
}

.breed-item:hover {
    transform: translateY(-3px);
}

.breed-icon {
    font-size: 4rem;
    margin-bottom: 15px;
    display: block;
}

.breed-item h4 {
    color: #2d3748;
    margin-bottom: 10px;
    font-size: 18px;
    font-weight: 600;
}

.breed-item p {
    color: #718096;
    font-size: 16px;
    margin: 0;
}

/* Farming Section */
.farming-section {
    margin-bottom: 60px;
}

.farming-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.farming-card {
    background: white;
    padding: 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    border: 1px solid #e2e8f0;
    transition: transform 0.3s ease;
}

.farming-card:hover {
    transform: translateY(-5px);
}

.farming-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.farming-card h3 {
    color: #2d3748;
    margin-bottom: 15px;
    font-size: 18px;
    font-weight: 600;
}

.farming-card p {
    color: #4a5568;
    margin-bottom: 20px;
    line-height: 1.6;
    font-size: 16px;
}

.farming-features {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.feature {
    background: #f7fafc;
    color: #667eea;
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 18px;
    font-weight: 500;
    border: 1px solid #e2e8f0;
}

/* Importance Section */
.importance-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.importance-item {
    background: white;
    padding: 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    border: 1px solid #e2e8f0;
    transition: transform 0.3s ease;
}

.importance-item:hover {
    transform: translateY(-5px);
}

.importance-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.importance-item h4 {
    color: #2d3748;
    margin-bottom: 15px;
    font-size: 18px;
    font-weight: 600;
}

.importance-item p {
    color: #4a5568;
    line-height: 1.6;
    font-size: 16px;
}

/* Right Sidebar */
.right-sidebar {
    position: sticky;
    top: 20px;
}

.sidebar-card {
    background: white;
    padding: 30px;
    margin-bottom: 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    border: 1px solid #e2e8f0;
}

.sidebar-card h3 {
    color: #2d3748;
    margin-bottom: 25px;
    font-size: 18px;
    font-weight: 600;
    text-align: center;
}

/* Stats Card */
.stat-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid #e2e8f0;
}

.stat-item:last-child {
    border-bottom: none;
}

.stat-label {
    color: #4a5568;
    font-weight: 500;
}

.stat-value {
    color: #667eea;
    font-weight: 700;
    background: #f7fafc;
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 18px;
}

/* Timeline Card */
.timeline-item {
    display: flex;
    gap: 20px;
    padding: 20px 0;
    border-bottom: 1px solid #e2e8f0;
}

.timeline-item:last-child {
    border-bottom: none;
}

.timeline-date {
    background: #667eea;
    color: white;
    padding: 8px 12px;
    border-radius: 10px;
    font-size: 18px;
    font-weight: 600;
    min-width: 80px;
    text-align: center;
}

.timeline-content h4 {
    color: #2d3748;
    margin-bottom: 5px;
    font-size: 18px;
    font-weight: 600;
}

.timeline-content p {
    color: #718096;
    font-size: 16px;
    margin: 0;
}

/* Challenges Card */
.challenge-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 20px 0;
    border-bottom: 1px solid #e2e8f0;
}

.challenge-item:last-child {
    border-bottom: none;
}

.challenge-icon {
    font-size: 3rem;
    margin-top: 2px;
}

.challenge-item h4 {
    color: #2d3748;
    margin-bottom: 5px;
    font-size: 18px;
    font-weight: 600;
}

.challenge-item p {
    color: #718096;
    font-size: 16px;
    margin: 0;
    line-height: 1.5;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .content-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .right-sidebar {
        position: static;
    }
    
    .hero-content {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }
    
    .floating-card {
        align-self: center;
    }
}

@media (max-width: 768px) {
    .main-title {
        font-size: 32px;
    }
    
    .hero-content {
        padding: 0 20px;
    }
    
    .content-wrapper {
        padding: 0 20px;
    }
    
    .breed-grid {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    }
    
    .farming-grid {
        grid-template-columns: 1fr;
    }
    
    .importance-grid {
        grid-template-columns: 1fr;
    }
    
    .species-header {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .species-badge {
        align-self: center;
    }
}

@media (max-width: 480px) {
    .hero-section {
        min-height: 70vh;
    }
    
    .main-title {
        font-size: 32px;
    }
    
    .hero-description {
        font-size: 1.1rem;
    }
    
    .hero-badges {
        justify-content: center;
    }
    
    .main-content-section {
        padding: 60px 0;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .intro-section {
        padding: 25px;
    }
    
    .species-content,
    .species-header {
        padding: 20px;
    }
    
    .farming-card,
    .importance-item {
        padding: 20px;
    }
}

/* Animations */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.species-card,
.farming-card,
.importance-item,
.sidebar-card {
    animation: slideInUp 0.6s ease-out;
}

.species-card:nth-child(2) { animation-delay: 0.1s; }
.species-card:nth-child(3) { animation-delay: 0.2s; }
.species-card:nth-child(4) { animation-delay: 0.3s; }

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #667eea;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #5a67d8;
}
