/* Breeding Hero Section */
.breeding-hero {
    position: relative;
    height: 60vh;
    min-height: 400px;
    margin-top: 0;
    padding-top: var(--header-height, 80px);
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('https://images.unsplash.com/photo-1551717743-49959800b1f6?w=1200&q=80') center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-left: 2rem;
    padding-right: 2rem;
    padding-bottom: 0;
}

@media (min-width: 1440px) {
    .breeding-hero {
        padding-left: 4rem;
        padding-right: 4rem;
    }
}

@media (min-width: 1920px) {
    .breeding-hero {
        padding-left: 6rem;
        padding-right: 6rem;
    }
}

.breeding-hero-content {
    max-width: 800px;
    text-align: center;
    color: #ffffff;
    opacity: 0;
    animation: fadeInUp 1.2s ease-out 0.3s forwards;
}

@media (min-width: 1440px) {
    .breeding-hero-content {
        max-width: 1000px;
    }
}

@media (min-width: 1920px) {
    .breeding-hero-content {
        max-width: 1200px;
    }
}

.breeding-hero h1 {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 1rem;
    line-height: 1.2;
    color: #ffffff;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.8), 0 0 20px rgba(0,0,0,0.5);
}

.breeding-hero p {
    font-size: 1.2rem;
    color: #ffffff;
    line-height: 1.7;
    text-shadow: 1px 1px 6px rgba(0,0,0,0.8), 0 0 15px rgba(0,0,0,0.5);
}

/* Breeding Cards Section */
.breeding-cards {
    padding: 4rem 2rem;
    background-color: #ffffff;
    scroll-margin-top: calc(var(--header-height) + 20px);
}

@media (min-width: 1440px) {
    .breeding-cards {
        padding: 5rem 3rem;
    }
}

@media (min-width: 1920px) {
    .breeding-cards {
        padding: 6rem 4rem;
    }
}

.breeding-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: bold;
    color: #2c2c2c;
    margin-top: 0;
    margin-bottom: 3rem;
    opacity: 0;
    animation: fadeInUp 1s ease-out forwards;
}

.breeding-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

@media (min-width: 1440px) {
    .breeding-grid {
        max-width: 1400px;
        gap: 2.5rem;
    }
}

@media (min-width: 1920px) {
    .breeding-grid {
        max-width: 1600px;
        gap: 3rem;
    }
}

@media (max-width: 1024px) {
    .breeding-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .breeding-hero {
        height: 50vh;
        min-height: 300px;
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }

    .breeding-hero h1 {
        font-size: 2rem;
    }

    .breeding-hero p {
        font-size: 1rem;
    }

    .breeding-cards {
        padding: 3rem 1.5rem;
    }

    .breeding-title {
        font-size: 2rem;
        margin-bottom: 2rem;
    }

    .breeding-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

/* Feature Card Styles (reused from homepage) */
.feature-card {
    background-color: #ffffff;
    border-radius: 20px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    opacity: 0;
    transform: translateY(30px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    border: 1px solid #f0f0f0;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
}

.feature-card:hover {
    text-decoration: none;
    color: inherit;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #2F7F7A, #5FA5A0);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
    z-index: 2;
}

.feature-card.animated {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out, all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.feature-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 12px 30px rgba(0,0,0,0.15);
    border-color: #2F7F7A;
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-icon-wrapper {
    width: 100%;
    height: 200px;
    margin: 0;
    background: linear-gradient(135deg, #2F7F7A 0%, #5FA5A0 100%);
    border-radius: 20px 20px 0 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
    overflow: hidden;
    position: relative;
}

.feature-icon-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.1), transparent);
    pointer-events: none;
}

.feature-card:hover .feature-icon-wrapper {
    transform: scale(1.05);
}

.feature-icon {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1);
}

.feature-card-content {
    padding: 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.feature-card h3 {
    font-size: 1.6rem;
    font-weight: bold;
    color: #2c2c2c;
    margin-bottom: 1rem;
    transition: color 0.3s ease;
}

.feature-card:hover h3 {
    color: #2F7F7A;
}

.feature-card p {
    color: #666;
    line-height: 1.7;
    font-size: 1rem;
    margin-bottom: 1.5rem;
    flex: 1;
}

.feature-card-cta {
    color: #2F7F7A;
    font-weight: 600;
    font-size: 1rem;
    margin-top: auto;
    transition: color 0.3s ease;
}

.feature-card:hover .feature-card-cta {
    color: #5FA5A0;
}

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

/* Responsive adjustments for feature cards */
@media (max-width: 768px) {
    .feature-card {
        border-radius: 15px;
    }

    .feature-icon-wrapper {
        height: 180px;
        border-radius: 15px 15px 0 0;
    }

    .feature-card-content {
        padding: 1.5rem;
    }

    .feature-card h3 {
        font-size: 1.3rem;
    }
}

