/* ============================================
   PRODUCER PAGE STYLES - Able Brewing
   Styled according to swiezopalona.pl design system
   ============================================ */

/* === BASE LAYOUT === */
.producer-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #333;
}

/* === BREADCRUMBS (from product page) === */
.breadcrumbs {
    font-size: 14px;
    margin-bottom: 20px;
    padding: 10px 0;
    color: #666;
}

.breadcrumbs a {
    color: #666;
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumbs a:hover {
    color: #d4a574;
    text-decoration: underline;
}

.breadcrumbs strong {
    color: #333;
    font-weight: 600;
}

/* === HEADER === */
.producer-header {
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 2px solid #f0f0f0;
}

.producer-header h1 {
    font-size: 36px;
    font-weight: 700;
    color: #222;
    margin: 0 0 10px 0;
    line-height: 1.2;
}

.producer-header .tagline {
    font-size: 18px;
    color: #666;
    font-weight: 400;
    font-style: italic;
    margin: 0;
}

/* === CONTENT SECTIONS === */
.content-section {
    margin-bottom: 50px;
}

.content-section h2 {
    font-size: 28px;
    font-weight: 700;
    color: #222;
    margin: 0 0 20px 0;
    padding-bottom: 10px;
    border-bottom: 2px solid #d4a574;
}

.content-section h3 {
    font-size: 22px;
    font-weight: 600;
    color: #333;
    margin: 30px 0 15px 0;
}

.content-section h4 {
    font-size: 18px;
    font-weight: 600;
    color: #444;
    margin: 20px 0 10px 0;
}

.content-section p {
    margin: 0 0 15px 0;
    line-height: 1.7;
}

.content-section strong {
    font-weight: 600;
    color: #222;
}

/* === VALUES GRID (Philosophy section) === */
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 20px;
}

.value-item {
    background: #f9f9f9;
    padding: 25px;
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.value-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.value-item h3 {
    margin-top: 0;
    margin-bottom: 15px;
    color: #d4a574;
    font-size: 20px;
}

.value-item p {
    margin: 0;
    font-size: 15px;
    line-height: 1.6;
}

/* === PRODUCT CATEGORY OVERVIEW === */
.product-category-overview {
    margin-bottom: 40px;
    padding: 25px;
    background: #fafafa;
    border-left: 4px solid #d4a574;
    border-radius: 4px;
}

.product-category-overview h3 {
    margin-top: 0;
    margin-bottom: 15px;
    color: #222;
    font-size: 24px;
}

.product-category-overview p {
    margin-bottom: 12px;
}

.product-category-overview .category-link {
    display: inline-block;
    margin-top: 15px;
    font-weight: 600;
    color: #d4a574;
    text-decoration: none;
    transition: color 0.3s ease;
}

.product-category-overview .category-link:hover {
    color: #b8925f;
    text-decoration: underline;
}

/* === LINKS STYLING === */
.content-section a {
    color: #d4a574;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border-bottom: 1px solid transparent;
}

.content-section a:hover {
    color: #b8925f;
    border-bottom: 1px solid #b8925f;
}

.content-section a[title]:hover {
    cursor: help;
}

/* === LISTS === */
.content-section ul {
    margin: 15px 0;
    padding-left: 25px;
}

.content-section li {
    margin-bottom: 10px;
    line-height: 1.6;
}

.recognition-list,
.target-audience {
    list-style: none;
    padding-left: 0;
}

.recognition-list li,
.target-audience li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 15px;
}

.recognition-list li:before,
.target-audience li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #d4a574;
    font-weight: bold;
    font-size: 18px;
}

/* === CTA SECTION === */
.cta-section {
    background: linear-gradient(135deg, #f9f9f9 0%, #f0f0f0 100%);
    padding: 40px;
    border-radius: 10px;
    margin: 50px 0;
}

.cta-section h2 {
    border-bottom: none;
    margin-bottom: 25px;
}

.cta-buttons {
    display: flex;
    gap: 15px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 5px;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-size: 16px;
}

.btn-primary {
    background: #d4a574;
    color: white;
}

.btn-primary:hover {
    background: #b8925f;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(212, 165, 116, 0.3);
}

.btn-secondary {
    background: white;
    color: #d4a574;
    border: 2px solid #d4a574;
}

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

/* === RELATED CONTENT GRID === */
.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 20px;
}

.related-category,
.related-producers,
.related-blog {
    background: #fafafa;
    padding: 20px;
    border-radius: 8px;
}

.related-grid h3 {
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 20px;
    color: #d4a574;
    border-bottom: 2px solid #e0e0e0;
    padding-bottom: 10px;
}

.related-grid ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.related-grid li {
    margin-bottom: 10px;
}

.related-grid a {
    color: #333;
    text-decoration: none;
    display: block;
    padding: 8px 0;
    transition: all 0.3s ease;
    border-bottom: 1px solid transparent;
}

.related-grid a:hover {
    color: #d4a574;
    padding-left: 5px;
    border-bottom: 1px solid #d4a574;
}

/* === INTRO TEXT (special styling) === */
.intro-text {
    font-size: 18px;
    line-height: 1.7;
    color: #555;
    margin-bottom: 25px;
    padding: 20px;
    background: #f9f9f9;
    border-left: 4px solid #d4a574;
    border-radius: 4px;
}

/* === FOOTER META === */
.producer-footer {
    margin-top: 60px;
    padding-top: 30px;
    border-top: 2px solid #f0f0f0;
    text-align: center;
}

.producer-footer .last-updated {
    font-size: 14px;
    color: #999;
    font-style: italic;
}

/* === RESPONSIVE DESIGN === */
@media (max-width: 768px) {
    .producer-page {
        padding: 15px;
    }
    
    .producer-header h1 {
        font-size: 28px;
    }
    
    .producer-header .tagline {
        font-size: 16px;
    }
    
    .content-section h2 {
        font-size: 24px;
    }
    
    .content-section h3 {
        font-size: 20px;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .related-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .producer-header h1 {
        font-size: 24px;
    }
    
    .content-section h2 {
        font-size: 20px;
    }
    
    .product-category-overview {
        padding: 15px;
    }
    
    .cta-section {
        padding: 25px 20px;
    }
}

/* === PRINT STYLES === */
@media print {
    .breadcrumbs,
    .cta-buttons,
    .related-grid {
        display: none;
    }
    
    .producer-page {
        max-width: 100%;
        padding: 0;
    }
    
    .content-section {
        page-break-inside: avoid;
    }
}

/* === ACCESSIBILITY === */
.producer-page a:focus,
.btn:focus {
    outline: 3px solid #d4a574;
    outline-offset: 2px;
}

.producer-page *:focus-visible {
    outline: 2px solid #d4a574;
    outline-offset: 2px;
}

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

.content-section {
    animation: fadeIn 0.6s ease-out;
}

/* === SPECIAL HIGHLIGHTS === */
.content-section em {
    font-style: italic;
    color: #555;
}

.content-section code {
    background: #f5f5f5;
    padding: 2px 6px;
    border-radius: 3px;
    font-family: "Courier New", monospace;
    font-size: 14px;
}

/* === TABLE STYLING (if needed) === */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

th, td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #e0e0e0;
}

th {
    background: #f9f9f9;
    font-weight: 600;
    color: #333;
}

tr:hover {
    background: #fafafa;
}
