/* ===== Berkshire Breed Page Styles ===== */

/* Page Hero */
.breed-hero {
    min-height: 60vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    margin-top: 80px;
}

.breed-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--charcoal) 0%, #2a1f22 50%, var(--deep-rose) 100%);
    z-index: 0;
}

.breed-hero-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 200 200"><defs><pattern id="dots" x="0" y="0" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="rgba(201,169,110,0.15)"/></pattern></defs><rect width="200" height="200" fill="url(%23dots)"/></svg>') repeat;
}

.breed-hero-content {
    position: relative;
    z-index: 2;
    color: var(--cream);
    max-width: 800px;
    padding: 4rem 2rem;
}

.breed-hero-content h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 1rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.breed-hero-content h1 .accent {
    font-family: var(--font-accent);
    color: var(--warm-gold);
    font-weight: 400;
}

.breed-hero-subtitle {
    font-size: 1.3rem;
    opacity: 0.9;
    font-family: var(--font-accent);
    color: var(--warm-gold);
    margin-bottom: 1rem;
}

.breed-hero-latin {
    font-style: italic;
    opacity: 0.7;
    font-size: 1rem;
}

/* Breadcrumb */
.breadcrumb {
    padding: 1rem 0;
    background: var(--cream-dark);
    border-bottom: 1px solid rgba(139, 69, 87, 0.1);
}

.breadcrumb-trail {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--charcoal-light);
}

.breadcrumb-trail a {
    color: var(--deep-rose);
    text-decoration: none;
    transition: var(--transition);
}

.breadcrumb-trail a:hover {
    color: var(--charcoal);
}

.breadcrumb-trail .separator {
    color: var(--sage-green);
}

/* Quick Facts Banner */
.quick-facts {
    background: var(--charcoal);
    color: var(--cream);
    padding: 2rem 0;
}

.facts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.5rem;
    text-align: center;
}

.fact-item {
    padding: 1rem;
}

.fact-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--warm-gold);
    margin-bottom: 0.5rem;
}

.fact-value {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
}

/* Content Sections */
.breed-section {
    padding: 5rem 0;
}

.breed-section:nth-child(even) {
    background: var(--cream-dark);
}

.breed-section:nth-child(odd) {
    background: var(--cream);
}

.breed-section.dark-section {
    background: var(--charcoal);
    color: var(--cream);
}

.breed-section.dark-section .section-title {
    color: var(--cream);
}

.breed-section.dark-section .section-intro {
    color: rgba(245, 240, 232, 0.8);
}

.breed-section.dark-section h3 {
    color: var(--warm-gold);
}

.breed-section.dark-section .timeline-content p,
.breed-section.dark-section p {
    color: rgba(245, 240, 232, 0.9);
}

.breed-section .section-title {
    margin-bottom: 1.5rem;
}

.breed-section .section-intro {
    max-width: 700px;
    margin: 0 auto 3rem;
}

/* Timeline */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding-left: 3rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(to bottom, var(--warm-gold), var(--deep-rose), var(--sage-green));
    border-radius: 2px;
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
    padding-left: 1.5rem;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -3.35rem;
    top: 0.5rem;
    width: 14px;
    height: 14px;
    background: var(--warm-gold);
    border-radius: 50%;
    border: 3px solid var(--charcoal);
    z-index: 1;
}

.timeline-date {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--warm-gold);
    margin-bottom: 0.5rem;
}

.timeline-content h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--cream);
}

.timeline-content p {
    font-size: 1rem;
    line-height: 1.7;
    color: rgba(245, 240, 232, 0.85);
    margin-bottom: 0;
}

/* Image Placeholders - Breed Page */
.breed-image-placeholder {
    background: var(--cream-dark);
    border: 2px dashed var(--sage-green);
    border-radius: var(--border-radius);
    padding: 2rem;
    text-align: center;
    color: var(--sage-green);
    font-style: italic;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 250px;
    gap: 1rem;
}

.breed-image-placeholder:hover {
    border-color: var(--deep-rose);
    color: var(--deep-rose);
}

.breed-image-placeholder .placeholder-icon {
    font-size: 3rem;
    opacity: 0.5;
}

.breed-image-placeholder .placeholder-desc {
    font-size: 0.9rem;
    max-width: 300px;
    line-height: 1.5;
}

.dark-section .breed-image-placeholder {
    background: rgba(245, 240, 232, 0.08);
    border-color: rgba(201, 169, 110, 0.3);
    color: rgba(201, 169, 110, 0.6);
}

/* Two Column Layout */
.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.two-col.reversed {
    direction: rtl;
}

.two-col.reversed > * {
    direction: ltr;
}

/* Characteristics Grid */
.characteristics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.char-card {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    border-top: 4px solid var(--deep-rose);
    transition: var(--transition);
}

.char-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.char-card h4 {
    color: var(--deep-rose);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.char-card ul {
    list-style: none;
    padding: 0;
}

.char-card ul li {
    padding: 0.4rem 0;
    padding-left: 1.5rem;
    position: relative;
    font-size: 0.95rem;
    color: var(--charcoal-light);
}

.char-card ul li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--warm-gold);
    font-weight: bold;
    font-size: 1.2rem;
}

/* Weight Table */
.weight-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin: 2rem 0;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.weight-table thead {
    background: var(--charcoal);
    color: var(--cream);
}

.weight-table th {
    padding: 1rem 1.5rem;
    text-align: left;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
}

.weight-table td {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--cream-dark);
    font-size: 0.95rem;
}

.weight-table tbody tr {
    background: white;
    transition: var(--transition);
}

.weight-table tbody tr:hover {
    background: var(--cream-dark);
}

.weight-table tbody tr:last-child td {
    border-bottom: none;
}

/* Meat Quality Section */
.quality-highlight {
    background: linear-gradient(135deg, var(--deep-rose), #a05568);
    color: white;
    padding: 3rem;
    border-radius: var(--border-radius);
    text-align: center;
    margin: 3rem 0;
}

.quality-highlight h3 {
    color: white !important;
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.quality-highlight p {
    font-size: 1.1rem;
    opacity: 0.95;
    max-width: 600px;
    margin: 0 auto;
}

.quality-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.quality-card {
    background: rgba(245, 240, 232, 0.1);
    padding: 2rem;
    border-radius: var(--border-radius);
    border: 1px solid rgba(245, 240, 232, 0.2);
    text-align: center;
    transition: var(--transition);
}

.quality-card:hover {
    transform: translateY(-3px);
    background: rgba(245, 240, 232, 0.15);
}

.quality-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.quality-card h4 {
    color: var(--warm-gold);
    margin-bottom: 0.75rem;
}

.quality-card p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: rgba(245, 240, 232, 0.85);
}

/* Comparison Bar */
.comparison-bar {
    margin: 1.5rem 0;
}

.bar-label {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    font-weight: 600;
}

.bar-track {
    height: 12px;
    background: rgba(245, 240, 232, 0.15);
    border-radius: 6px;
    overflow: hidden;
}

.bar-fill {
    height: 100%;
    border-radius: 6px;
    transition: width 1s ease;
}

.bar-fill.berkshire {
    background: linear-gradient(90deg, var(--warm-gold), var(--deep-rose));
}

.bar-fill.commercial {
    background: rgba(245, 240, 232, 0.3);
}

/* Conservation Section */
.conservation-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.stat-card {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--deep-rose);
    display: block;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--charcoal-light);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* RBST Status Badge */
.rbst-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: #fff3cd;
    border: 2px solid #ffc107;
    border-radius: 50px;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    color: #856404;
    margin: 1rem 0;
}

.rbst-badge .badge-dot {
    width: 12px;
    height: 12px;
    background: #ffc107;
    border-radius: 50%;
    animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* Kurobuta Section */
.kurobuta-highlight {
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    color: var(--cream);
    padding: 4rem 3rem;
    border-radius: var(--border-radius);
    margin: 3rem 0;
    position: relative;
    overflow: hidden;
}

.kurobuta-highlight::before {
    content: '黒豚';
    position: absolute;
    right: -20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 12rem;
    opacity: 0.05;
    font-weight: bold;
    line-height: 1;
}

.kurobuta-highlight h3 {
    color: #e8c170 !important;
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.kurobuta-subtitle {
    font-family: var(--font-accent);
    font-size: 1.1rem;
    color: rgba(232, 193, 112, 0.8);
    margin-bottom: 1.5rem;
}

.kurobuta-highlight p {
    max-width: 600px;
    line-height: 1.8;
    font-size: 1.05rem;
}

/* Blockquote Styling */
.breed-quote {
    border-left: 4px solid var(--warm-gold);
    padding: 1.5rem 2rem;
    margin: 2rem 0;
    font-style: italic;
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--deep-rose);
    background: rgba(201, 169, 110, 0.08);
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
}

.breed-quote cite {
    display: block;
    font-family: var(--font-body);
    font-style: normal;
    font-size: 0.9rem;
    color: var(--charcoal-light);
    margin-top: 0.75rem;
}

/* Dark section quotes */
.dark-section .breed-quote {
    background: rgba(201, 169, 110, 0.1);
    color: var(--warm-gold);
}

.dark-section .breed-quote cite {
    color: rgba(245, 240, 232, 0.6);
}

/* Back to Home Link */
.back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--deep-rose);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    margin-top: 2rem;
}

.back-link:hover {
    color: var(--charcoal);
    gap: 0.75rem;
}

/* CTA Banner */
.breed-cta {
    background: linear-gradient(135deg, var(--sage-green), #5a6b50);
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.breed-cta h2 {
    color: white;
    margin-bottom: 1rem;
}

.breed-cta p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 2rem;
    opacity: 0.95;
}

.breed-cta .btn-primary {
    background: white;
    color: var(--sage-green);
    border-color: white;
}

.breed-cta .btn-primary:hover {
    background: transparent;
    color: white;
}

/* Husbandry Info Boxes */
.info-box {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    margin-bottom: 2rem;
}

.info-box h4 {
    color: var(--deep-rose);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.info-box p {
    color: var(--charcoal-light);
    font-size: 0.95rem;
    line-height: 1.7;
}

.info-box ul {
    list-style: none;
    padding: 0;
}

.info-box ul li {
    padding: 0.4rem 0 0.4rem 1.5rem;
    position: relative;
    font-size: 0.95rem;
    color: var(--charcoal-light);
}

.info-box ul li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--warm-gold);
    font-weight: bold;
}

/* Sources Section */
.sources {
    padding: 3rem 0;
    background: var(--cream-dark);
    border-top: 1px solid rgba(139, 69, 87, 0.1);
}

.sources h3 {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    color: var(--charcoal);
}

.sources ul {
    list-style: none;
    padding: 0;
    columns: 2;
    column-gap: 3rem;
}

.sources ul li {
    padding: 0.3rem 0;
    font-size: 0.85rem;
    color: var(--charcoal-light);
    break-inside: avoid;
}

.sources ul li a {
    color: var(--deep-rose);
    text-decoration: none;
}

.sources ul li a:hover {
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
    .breed-hero {
        min-height: 50vh;
    }
    
    .two-col {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .two-col.reversed {
        direction: ltr;
    }
    
    .timeline {
        padding-left: 2rem;
    }
    
    .timeline-item::before {
        left: -2.35rem;
    }
    
    .kurobuta-highlight {
        padding: 2.5rem 1.5rem;
    }
    
    .quality-highlight {
        padding: 2rem 1.5rem;
    }
    
    .sources ul {
        columns: 1;
    }
    
    .facts-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .breed-hero-content {
        padding: 3rem 1rem;
    }
    
    .facts-grid {
        grid-template-columns: 1fr;
    }
    
    .characteristics-grid {
        grid-template-columns: 1fr;
    }
}
