/* Breed Detail Section */
.breed-detail-section {
    padding: 4rem 2rem;
    padding-top: calc(var(--header-height, 80px) + 4rem);
    background-color: #ffffff;
    min-height: calc(100vh - var(--header-height, 80px));
}

@media (min-width: 1440px) {
    .breed-detail-section {
        padding: 5rem 3rem;
        padding-top: calc(var(--header-height, 80px) + 5rem);
    }
}

@media (min-width: 1920px) {
    .breed-detail-section {
        padding: 6rem 4rem;
        padding-top: calc(var(--header-height, 80px) + 6rem);
    }
}

.breed-detail-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
    min-height: 500px;
    width: 100%;
    padding: 0 2rem;
}

@media (min-width: 1440px) {
    .breed-detail-container {
        max-width: 1400px;
        gap: 5rem;
        padding: 0 3rem;
    }
}

@media (min-width: 1920px) {
    .breed-detail-container {
        max-width: 1600px;
        gap: 6rem;
        padding: 0 4rem;
    }
}

.breed-content {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-self: center;
    order: 1;
}

.breed-content.animated {
    opacity: 1;
    transform: translateX(0);
}

.breed-title {
    font-size: 3rem;
    font-weight: bold;
    color: #2c2c2c;
    margin: 0 0 1.5rem 0;
    line-height: 1.2;
}

@media (min-width: 1440px) {
    .breed-title {
        font-size: 3.5rem;
    }
}

.breed-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #666;
    margin-bottom: 2rem;
}

.breed-text p {
    margin-bottom: 1.5rem;
}

.breed-text p:last-child {
    margin-bottom: 0;
}

.breed-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: auto;
}

.btn {
    display: inline-block;
    padding: 0.75rem 2rem;
    background-color: #2F7F7A;
    color: #ffffff;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn:hover {
    background-color: #5FA5A0;
}

.btn-secondary {
    background-color: #f0f0f0;
    color: #2c2c2c;
}

.btn-secondary:hover {
    background-color: #e0e0e0;
}

.btn-primary {
    background-color: #2F7F7A;
    color: #ffffff;
}

.btn-primary:hover {
    background-color: #5FA5A0;
}

/* Image Container */
.breed-image-container {
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
    display: flex;
    align-items: center;
    justify-content: center;
    align-self: center;
    order: 2;
    width: 100%;
    position: static;
}

.breed-image-container.animated {
    opacity: 1;
    transform: translateX(0);
}


.breed-detail-image {
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
    object-fit: cover;
    display: block;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .breed-detail-section {
        padding: 3rem 2rem;
        padding-top: calc(var(--header-height, 80px) + 3rem);
    }

    .breed-detail-container {
        gap: 3rem;
    }

    .breed-title {
        font-size: 2.5rem;
    }

    .breed-text {
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    .breed-detail-section {
        padding: 3rem 1.5rem;
        padding-top: calc(var(--header-height, 80px) + 3rem);
    }

    .breed-detail-container {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        min-height: auto;
        padding: 0 1rem;
    }

    .breed-content {
        transform: translateY(30px) !important;
        order: 2;
    }

    .breed-content.animated {
        transform: translateY(0) !important;
    }

    .breed-image-container {
        transform: translateY(30px) !important;
        order: 1;
    }

    .breed-image-container.animated {
        transform: translateY(0) !important;
    }

    .breed-title {
        font-size: 2rem;
    }

    .breed-text {
        font-size: 0.95rem;
    }

    .breed-actions {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        text-align: center;
    }

    .breed-detail-image {
        border-radius: 12px;
    }
}

@media (max-width: 480px) {
    .breed-detail-section {
        padding: 2rem 1rem;
        padding-top: calc(var(--header-height, 80px) + 2rem);
    }

    .breed-detail-container {
        gap: 2rem;
        padding: 0;
    }

    .breed-title {
        font-size: 1.75rem;
    }

    .breed-text {
        font-size: 0.9rem;
    }

    .breed-detail-image {
        border-radius: 10px;
    }
}
