/* ==========================================
   Breed Detail Page Specific Styles
========================================== */

/* Z-INDEX FIX - TÜM SECTION'LAR HERO'NUN ÖNÜNDE OLMALI */
.breed-overview,
.character-section,
.care-guide,
.available-puppies,
.breed-cta,
.breed-quick-info-section,
.breed-characteristics-section,
.breed-care-section,
.available-puppies-section,
.price-cta-section {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: relative !important;
    z-index: 999 !important;
    background: white !important;
    margin: 0 !important;
    height: auto !important;
    overflow: visible !important;
}

.character-section,
.breed-characteristics-section {
    background: linear-gradient(to bottom, #f8f9fa 0%, #ffffff 100%) !important;
}

.breed-cta {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--text-dark) 100%) !important;
}

/* Breed overview padding fix */
.breed-overview {
    padding: 80px 0 !important;
    margin-top: 0 !important;
}

/* Breed Detail Hero */
.breed-hero,
.breed-detail-hero {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    height: auto !important;
    min-height: 450px !important;
    max-height: none !important;
    padding: 150px 0 120px !important;
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.9) 0%, rgba(255, 138, 101, 0.9) 100%) !important;
    color: white !important;
    position: relative !important;
    overflow: visible !important;
    z-index: 1 !important;
    margin: 0 !important;
}

.breed-hero .hero-bg,
.breed-detail-hero::before {
    content: "" !important;
    display: block !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background-size: cover !important;
    background-position: center !important;
    opacity: 0.2 !important;
    z-index: -1 !important;
}

.breed-hero .hero-content {
    display: block !important;
    visibility: visible !important;
    position: relative !important;
    z-index: 10 !important;
    text-align: center !important;
    color: white !important;
}

.breed-hero .page-title,
.breed-hero h1 {
    display: block !important;
    visibility: visible !important;
    font-size: 56px !important;
    font-weight: 700 !important;
    color: white !important;
    margin-bottom: 20px !important;
    text-shadow: 0 2px 15px rgba(0,0,0,0.3) !important;
}

.breed-subtitle {
    font-size: 20px;
    margin-bottom: 25px;
    color: white;
    opacity: 0.95;
    font-weight: 400;
}

.breed-hero-content {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.breed-hero-text h1 {
    font-size: 48px;
    margin-bottom: 20px;
    color: white;
}

.breed-hero-subtitle {
    font-size: 20px;
    margin-bottom: 30px;
    opacity: 0.95;
}

.breed-hero-text p {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 30px;
    opacity: 0.9;
}

.breed-hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.breed-stat-item {
    text-align: center;
    padding: 20px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 16px;
}

.breed-stat-number {
    font-size: 32px;
    font-weight: 700;
    display: block;
    margin-bottom: 5px;
}

.breed-stat-label {
    font-size: 13px;
    opacity: 0.9;
}

.breed-hero-image {
    position: relative;
}

.breed-hero-image-wrapper {
    position: relative;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.breed-hero-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
}

/* ===== BREED OVERVIEW SECTION ===== */
.breed-overview {
    padding: 80px 0;
    background: white;
}

.overview-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.overview-content {
    padding-right: 20px;
}

.overview-content .lead {
    font-size: 18px;
    line-height: 1.8;
    color: var(--text-dark);
    font-weight: 500;
    margin-bottom: 20px;
}

.overview-content p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 20px;
}

.breed-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 30px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px;
    background: var(--bg-light);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.feature-item:hover {
    background: white;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transform: translateX(5px);
}

.feature-item i {
    font-size: 24px;
    color: var(--primary-color);
}

.feature-item span {
    font-size: 15px;
    color: var(--text-dark);
}

.feature-item strong {
    color: var(--text-dark);
}

.overview-gallery {
    position: relative;
}

.main-image {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
    margin-bottom: 20px;
}

.main-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
}

.thumb-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.thumb-grid img {
    width: 100%;
    height: 100px;
    object-fit: cover;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.thumb-grid img:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

/* ===== CHARACTER SECTION ===== */
.character-section {
    padding: 80px 0;
}

.character-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.character-card {
    background: white;
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 5px 25px rgba(0,0,0,0.08);
    transition: all 0.4s ease;
    border: 2px solid transparent;
}

.character-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
    border-color: var(--primary-color);
}

.character-card .card-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 35px;
    color: white;
}

.character-card h3 {
    font-size: 22px;
    color: var(--text-dark);
    font-weight: 600;
    margin-bottom: 15px;
}

.character-card p {
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 20px;
}

.character-card .rating {
    display: flex;
    justify-content: center;
    gap: 5px;
}

.character-card .rating i {
    color: #FFD700;
    font-size: 18px;
}

/* ===== CARE GUIDE SECTION ===== */
.care-guide {
    padding: 80px 0;
    background: white;
}

.tab-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 50px;
}

.tab-btn {
    padding: 14px 28px;
    border-radius: 30px;
    background: var(--bg-light);
    color: var(--text-dark);
    font-size: 15px;
    font-weight: 600;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tab-btn:hover {
    background: var(--primary-light);
    color: white;
    transform: translateY(-2px);
}

.tab-btn.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.tab-content {
    position: relative;
}

.tab-pane {
    display: none;
    animation: fadeIn 0.5s ease;
}

.tab-pane.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.content-text h3 {
    font-size: 28px;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.content-text p {
    font-size: 16px;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 25px;
}

.content-text ul {
    list-style: none;
    padding: 0;
}

.content-text ul li {
    padding: 12px 0;
    font-size: 15px;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid var(--border-color);
}

.content-text ul li:last-child {
    border-bottom: none;
}

.content-text ul li i {
    color: var(--primary-color);
    font-size: 16px;
}

.content-image {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

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

/* Breed Quick Info */
.breed-quick-info-section {
    padding: 80px 0;
    background: white;
}

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

.breed-info-card {
    background: var(--bg-light);
    padding: 30px;
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.breed-info-card:hover {
    background: white;
    border-color: var(--primary-color);
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.breed-info-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    color: white;
}

.breed-info-card h3 {
    font-size: 18px;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.breed-info-value {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
    display: block;
    margin-bottom: 5px;
}

.breed-info-card p {
    font-size: 14px;
    color: var(--text-light);
}

/* Breed Characteristics */
.breed-characteristics-section {
    padding: 80px 0;
    background: linear-gradient(to bottom, #f8f9fa 0%, #ffffff 100%);
}

.characteristics-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-top: 50px;
}

.characteristic-item {
    margin-bottom: 30px;
}

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

.characteristic-header h4 {
    font-size: 16px;
    color: var(--text-dark);
    font-weight: 600;
}

.characteristic-score {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-color);
}

.characteristic-bar {
    height: 12px;
    background: var(--bg-light);
    border-radius: 20px;
    overflow: hidden;
    position: relative;
}

.characteristic-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--primary-light) 100%);
    border-radius: 20px;
    transition: width 1s ease;
}

/* Breed Care Guide */
.breed-care-section {
    padding: 80px 0;
    background: white;
}

.care-tabs {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.care-tab {
    padding: 15px 30px;
    border-radius: 30px;
    background: var(--bg-light);
    color: var(--text-dark);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    display: flex;
    align-items: center;
    gap: 10px;
}

.care-tab i {
    font-size: 18px;
}

.care-tab:hover {
    background: var(--primary-light);
    color: white;
    transform: translateY(-3px);
}

.care-tab.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.care-content {
    display: none;
    animation: fadeIn 0.5s ease;
}

.care-content.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.care-content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.care-content-text {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.care-content-text h3 {
    font-size: 28px;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.care-content-text p {
    font-size: 16px;
    color: var(--text-light);
    line-height: 1.8;
}

.care-tips-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.care-tip-item {
    display: flex;
    align-items: start;
    gap: 15px;
    padding: 20px;
    background: var(--bg-light);
    border-radius: 16px;
    transition: all 0.3s ease;
}

.care-tip-item:hover {
    background: white;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transform: translateX(10px);
}

.care-tip-icon {
    width: 45px;
    height: 45px;
    min-width: 45px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
}

.care-tip-content h4 {
    font-size: 16px;
    color: var(--text-dark);
    margin-bottom: 5px;
}

.care-tip-content p {
    font-size: 14px;
    color: var(--text-light);
}

.care-content-image {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.care-content-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Available Puppies */
.available-puppies-section,
.available-puppies {
    padding: 80px 0 !important;
    background: linear-gradient(to bottom, #ffffff 0%, #f8f9fa 100%) !important;
    display: block !important;
    visibility: visible !important;
}

.puppies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.puppy-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 5px 25px rgba(0,0,0,0.08);
    transition: all 0.4s ease;
    display: block !important;
    visibility: visible !important;
}

.puppy-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.puppy-image {
    position: relative;
    height: 280px;
    overflow: hidden;
    display: block !important;
}

.puppy-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    display: block !important;
}

.puppy-card:hover .puppy-image img {
    transform: scale(1.1);
}

.puppy-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    padding: 8px 18px;
    border-radius: 20px;
    background: rgba(76, 175, 80, 0.95);
    color: white;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    z-index: 10;
}

.puppy-badge.female {
    background: rgba(233, 30, 99, 0.95);
}

.puppy-info {
    padding: 25px;
    display: block !important;
}

.puppy-info h3 {
    font-size: 22px;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.puppy-details {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--border-color);
}

.puppy-details span {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--text-dark);
}

.puppy-details i {
    color: var(--primary-color);
    font-size: 16px;
}

.puppy-features {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
}

.puppy-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    font-size: 14px;
    color: var(--text-dark);
}

.puppy-features i {
    color: #4CAF50;
    font-size: 14px;
}

.puppy-footer {
    margin-top: 20px;
}

.puppy-info-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}

.puppy-info-item {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
}

.puppy-info-item span:first-child {
    color: var(--text-light);
}

.puppy-info-item span:last-child {
    font-weight: 600;
    color: var(--text-dark);
}

/* Price CTA */
.breed-price-cta {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
}

.price-cta-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    color: white;
}

.price-cta-content h2 {
    font-size: 40px;
    margin-bottom: 20px;
}

.price-cta-content p {
    font-size: 18px;
    margin-bottom: 35px;
    opacity: 0.95;
}

.price-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.price-feature-item {
    padding: 20px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 16px;
}

.price-feature-item i {
    font-size: 30px;
    margin-bottom: 10px;
}

.price-feature-item h4 {
    font-size: 16px;
    margin-bottom: 5px;
}

/* Responsive Design */
@media (max-width: 992px) {
    .breed-hero-content {
        grid-template-columns: 1fr;
    }
    
    .characteristics-grid {
        grid-template-columns: 1fr;
    }
    
    .care-content-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .breed-detail-hero {
        padding: 80px 0 60px;
    }
    
    .breed-hero-text h1 {
        font-size: 36px;
    }
    
    .breed-hero-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .overview-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .overview-content {
        padding-right: 0;
    }
    
    .breed-features {
        grid-template-columns: 1fr;
    }
    
    .thumb-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .character-grid {
        grid-template-columns: 1fr;
    }
    
    .content-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .breed-info-grid {
        grid-template-columns: 1fr;
    }
    
    .care-tabs {
        flex-direction: column;
    }
    
    .care-tab {
        width: 100%;
        justify-content: center;
    }
    
    .puppies-grid {
        grid-template-columns: 1fr;
    }
    
    .price-cta-content h2 {
        font-size: 32px;
    }
}

@media (max-width: 480px) {
    .breed-hero-text h1 {
        font-size: 28px;
    }
    
    .breed-hero-stats {
        grid-template-columns: 1fr;
    }
    
    .price-features {
        grid-template-columns: 1fr;
    }
}

/* ===== BREED CTA SECTION ===== */
.breed-cta {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--text-dark) 100%);
    color: white;
    text-align: center;
}

.cta-content h2 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 20px;
    color: white;
}

.cta-content p {
    font-size: 18px;
    margin-bottom: 40px;
    opacity: 0.95;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.btn-lg {
    padding: 18px 40px !important;
    font-size: 18px !important;
    font-weight: 600;
}

@media (max-width: 768px) {
    .cta-content h2 {
        font-size: 32px;
    }
    
    .cta-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .cta-buttons .btn-lg {
        width: 100%;
        justify-content: center;
    }
}
