/* Dosatron Guides Specific Styling */

/* Header enhancements */
.header-links {
    display: flex;
    gap: 15px;
    margin-top: 15px;
    flex-wrap: wrap;
}

/* Intro Section */
.intro-section {
    background: white;
    padding: 40px;
    border-radius: 15px;
    margin-bottom: 40px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.intro-section h2 {
    color: #008b44;
    font-size: 2em;
    margin-bottom: 20px;
}

.intro-section > p {
    font-size: 1.1em;
    line-height: 1.8;
    color: #555;
    margin-bottom: 30px;
}

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

.benefit-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 25px;
    border-radius: 10px;
    text-align: center;
    border: 2px solid #dee2e6;
    transition: all 0.3s;
}

.benefit-card:hover {
    transform: translateY(-5px);
    border-color: #008b44;
    box-shadow: 0 6px 12px rgba(71, 158, 82, 0.2);
}

.benefit-card .icon {
    font-size: 3em;
    display: block;
    margin-bottom: 15px;
}

.benefit-card h3 {
    color: #008b44;
    margin-bottom: 10px;
    font-size: 1.3em;
}

.benefit-card p {
    color: #666;
    font-size: 0.95em;
}

/* Guides Section */
.guides-section {
    margin-bottom: 60px;
}

.guides-section > h2 {
    text-align: center;
    color: #333;
    font-size: 2.2em;
    margin-bottom: 15px;
}

.section-intro {
    text-align: center;
    font-size: 1.1em;
    color: #666;
    margin-bottom: 30px;
}

/* Brand Tabs Navigation */
.brands-nav {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
    flex-wrap: wrap;
    justify-content: center;
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.brand-tab {
    padding: 15px 30px;
    background: #f8f9fa;
    border: 2px solid #dee2e6;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    color: #333;
}

.brand-tab:hover {
    background: #e9ecef;
    border-color: #008b44;
}

.brand-tab.active {
    background: #008b44;
    color: white;
    border-color: #3a7d42;
}

/* Brand Guide Containers */
.brand-guide {
    display: none;
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.brand-guide.active {
    display: block;
    animation: fadeIn 0.5s;
}

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

.brand-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 3px solid #008b44;
    flex-wrap: wrap;
}

.brand-header h2 {
    color: #008b44;
    font-size: 2.5em;
    margin: 0;
}

.difficulty {
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9em;
    font-weight: 600;
    text-transform: uppercase;
}

.difficulty.easy {
    background: #d4edda;
    color: #155724;
}

.difficulty.medium {
    background: #fff3cd;
    color: #856404;
}

/* Overview Box */
.overview-box {
    background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
    padding: 25px;
    border-radius: 10px;
    margin-bottom: 30px;
    border-left: 5px solid #008b44;
}

.overview-box h3 {
    color: #2e7d32;
    margin-bottom: 10px;
    font-size: 1.4em;
}

.overview-box p {
    color: #1b5e20;
    font-size: 1.05em;
    line-height: 1.7;
}

/* Equipment Section */
.equipment-section {
    margin-bottom: 40px;
}

.equipment-section h3 {
    color: #333;
    font-size: 1.8em;
    margin-bottom: 20px;
}

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

.equipment-item {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    border: 2px solid #dee2e6;
}

.equipment-item strong {
    display: block;
    color: #008b44;
    font-size: 1.2em;
    margin-bottom: 10px;
}

.equipment-item ul {
    margin-left: 20px;
    color: #555;
}

.equipment-item li {
    margin: 8px 0;
}

.equipment-note {
    background: #fff9e6;
    padding: 15px;
    border-radius: 8px;
    border-left: 4px solid #F7C951;
    margin-top: 20px;
    font-size: 1.05em;
}

/* Concentrate Recipes */
.concentrate-section {
    margin-bottom: 40px;
}

.concentrate-section h3 {
    color: #333;
    font-size: 1.8em;
    margin-bottom: 20px;
}

.recipe-card {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 10px;
    margin-bottom: 25px;
    border: 2px solid #dee2e6;
}

.recipe-card h4 {
    color: #008b44;
    font-size: 1.4em;
    margin-bottom: 15px;
}

.recipe-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    background: white;
}

.recipe-table thead {
    background: #008b44;
    color: white;
}

.recipe-table th,
.recipe-table td {
    padding: 12px;
    text-align: left;
    border: 1px solid #dee2e6;
}

.recipe-table tbody tr:nth-child(even) {
    background: #f8f9fa;
}

.recipe-table tbody tr:hover {
    background: #e9ecef;
}

.recipe-note {
    background: #fff3cd;
    padding: 12px 15px;
    border-radius: 8px;
    border-left: 4px solid #F7C951;
    margin-top: 15px;
    font-size: 0.95em;
}

.mixing-instructions {
    background: white;
    padding: 20px;
    border-radius: 8px;
    border: 2px solid #008b44;
    margin-top: 20px;
}

.mixing-instructions h4 {
    color: #008b44;
    margin-bottom: 15px;
}

.mixing-instructions ol {
    margin-left: 25px;
}

.mixing-instructions li {
    margin: 12px 0;
    line-height: 1.6;
}

/* Settings Tables */
.settings-section {
    margin-bottom: 40px;
}

.settings-section h3 {
    color: #333;
    font-size: 1.8em;
    margin-bottom: 15px;
}

.intro-note {
    background: #e8f5e9;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    border-left: 4px solid #008b44;
}

.settings-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.settings-table thead {
    background: #008b44;
    color: white;
}

.settings-table th {
    padding: 15px 10px;
    text-align: left;
    font-weight: 600;
    border: 1px solid #3a7d42;
}

.settings-table td {
    padding: 12px 10px;
    border: 1px solid #dee2e6;
}

.settings-table tbody tr:nth-child(even) {
    background: #f8f9fa;
}

.settings-table tbody tr:hover {
    background: #e9ecef;
}

/* Tips Section */
.tips-section {
    margin-bottom: 40px;
}

.tips-section h3 {
    color: #333;
    font-size: 1.8em;
    margin-bottom: 20px;
}

.tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.tip-card {
    padding: 25px;
    border-radius: 10px;
    border: 2px solid;
}

.tip-card.success {
    background: #d4edda;
    border-color: #28a745;
}

.tip-card.warning {
    background: #fff3cd;
    border-color: #ffc107;
}

.tip-card h4 {
    font-size: 1.3em;
    margin-bottom: 15px;
}

.tip-card.success h4 {
    color: #155724;
}

.tip-card.warning h4 {
    color: #856404;
}

.tip-card ul {
    margin-left: 20px;
}

.tip-card li {
    margin: 10px 0;
    line-height: 1.6;
}

.tip-card.success li {
    color: #155724;
}

.tip-card.warning li {
    color: #856404;
}

/* Cost Breakdown */
.cost-breakdown {
    background: #e8f5e9;
    padding: 25px;
    border-radius: 10px;
    border-left: 5px solid #28a745;
    margin-bottom: 40px;
}

.cost-breakdown h3 {
    color: #2e7d32;
    margin-bottom: 15px;
}

.cost-breakdown ul {
    margin-left: 25px;
}

.cost-breakdown li {
    margin: 10px 0;
    color: #1b5e20;
    line-height: 1.6;
}

/* General Tips Section */
.general-tips-section {
    background: white;
    padding: 40px;
    border-radius: 15px;
    margin-bottom: 40px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.general-tips-section h2 {
    color: #008b44;
    font-size: 2.2em;
    margin-bottom: 30px;
    text-align: center;
}

/* Equipment Comparison */
.equipment-comparison {
    background: white;
    padding: 40px;
    border-radius: 15px;
    margin-bottom: 40px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.equipment-comparison h2 {
    color: #008b44;
    font-size: 2.2em;
    margin-bottom: 30px;
    text-align: center;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.comparison-table thead {
    background: #008b44;
    color: white;
}

.comparison-table th {
    padding: 15px;
    text-align: left;
    font-weight: 600;
}

.comparison-table td {
    padding: 15px;
    border: 1px solid #dee2e6;
}

.comparison-table tbody tr:nth-child(even) {
    background: #f8f9fa;
}

.comparison-table tbody tr:hover {
    background: #e9ecef;
}

/* FAQ Section */
.faq-section {
    background: white;
    padding: 40px;
    border-radius: 15px;
    margin-bottom: 40px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.faq-section h2 {
    color: #008b44;
    font-size: 2.2em;
    margin-bottom: 30px;
    text-align: center;
}

.faq-item {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 10px;
    margin-bottom: 20px;
    border-left: 5px solid #008b44;
}

.faq-item h3 {
    color: #333;
    font-size: 1.3em;
    margin-bottom: 15px;
}

.faq-item p {
    color: #555;
    line-height: 1.7;
    font-size: 1.05em;
}

.faq-item ol {
    margin: 15px 0 15px 25px;
}

.faq-item li {
    margin: 8px 0;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #008b44 0%, #3a7d42 100%);
    color: white;
    padding: 50px;
    border-radius: 15px;
    text-align: center;
    margin-bottom: 40px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
}

.cta-section h2 {
    font-size: 2.5em;
    margin-bottom: 15px;
}

.cta-section p {
    font-size: 1.2em;
    margin-bottom: 30px;
    opacity: 0.95;
}

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

.cta-btn {
    padding: 18px 40px;
    border-radius: 10px;
    font-size: 1.1em;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s;
    display: inline-block;
}

.cta-btn.primary {
    background: #F7C951;
    color: #333;
}

.cta-btn.primary:hover {
    background: #e6b840;
    transform: scale(1.05);
}

.cta-btn.secondary {
    background: white;
    color: #008b44;
}

.cta-btn.secondary:hover {
    background: #f8f9fa;
    transform: scale(1.05);
}

/* Responsive Design */
@media (max-width: 768px) {
    .intro-section,
    .brand-guide,
    .general-tips-section,
    .equipment-comparison,
    .faq-section {
        padding: 25px;
    }

    .brand-header h2 {
        font-size: 1.8em;
    }

    .benefits-grid,
    .equipment-grid,
    .tips-grid {
        grid-template-columns: 1fr;
    }

    .brands-nav {
        flex-direction: column;
    }

    .brand-tab {
        width: 100%;
    }

    .recipe-table,
    .settings-table,
    .comparison-table {
        font-size: 14px;
    }

    .recipe-table th,
    .recipe-table td,
    .settings-table th,
    .settings-table td,
    .comparison-table th,
    .comparison-table td {
        padding: 8px 5px;
    }

    .cta-section {
        padding: 30px 20px;
    }

    .cta-section h2 {
        font-size: 1.8em;
    }

    .cta-buttons {
        flex-direction: column;
        width: 100%;
    }

    .cta-btn {
        width: 100%;
    }
}

/* Print Styles */
@media print {
    .brands-nav,
    .back-link,
    .cta-section,
    footer {
        display: none !important;
    }

    .brand-guide {
        display: block !important;
        page-break-after: always;
    }

    .tip-card,
    .recipe-card,
    .equipment-item {
        page-break-inside: avoid;
    }
}
