/* Breeder Finder Styles */

/* Header Navigation - Matches index.html style */
.main-nav {
    display: flex;
    justify-content: center;
    gap: 0.3em;
    padding: 1em 0.5em;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 10px;
    flex-wrap: nowrap;
    overflow-x: auto; /* Allow horizontal scroll if needed */
}

.main-nav a {
    padding: 0.75em 1em;
    text-decoration: none;
    color: white;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
    white-space: nowrap;
    font-size: 0.9em;
    flex-shrink: 0; /* Prevent items from shrinking */
}

.main-nav a:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.main-nav a.active {
    background: linear-gradient(135deg, #0078d4 0%, #00a8e8 100%);
    box-shadow: 0 4px 12px rgba(0, 120, 212, 0.3);
}

.breeder-finder-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* Intro Section */
.finder-intro {
    text-align: center;
    margin-bottom: 40px;
}

.finder-intro h2 {
    color: #e67e22;
    font-size: 2.5em;
    margin-bottom: 15px;
}

.finder-intro p {
    font-size: 1.2em;
    color: #666;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Main Breeder Search Card */
.breeder-search-card {
    background: linear-gradient(135deg, #fff5e6 0%, #ffe4cc 100%);
    border-radius: 15px;
    padding: 40px;
    margin-bottom: 40px;
    box-shadow: 0 10px 30px rgba(230, 126, 34, 0.2);
}

.breeder-search-card h3 {
    color: #e67e22;
    font-size: 2em;
    margin-bottom: 15px;
    text-align: center;
}

.scheme-description {
    text-align: center;
    color: #666;
    font-size: 1.1em;
    margin-bottom: 30px;
    line-height: 1.6;
}

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

.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.benefit-icon {
    font-size: 1.8em;
    color: #27ae60;
    flex-shrink: 0;
}

.benefit-content strong {
    display: block;
    color: #e67e22;
    margin-bottom: 5px;
    font-size: 1.1em;
}

.benefit-content p {
    color: #666;
    margin: 0;
    line-height: 1.5;
}

.main-search-actions {
    display: flex;
    gap: 20px;
    margin-top: 30px;
    justify-content: center;
    flex-wrap: wrap;
}

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

.primary-btn {
    background: linear-gradient(135deg, #e67e22 0%, #d35400 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(230, 126, 34, 0.4);
}

.primary-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(230, 126, 34, 0.5);
}

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

.secondary-btn:hover {
    background: #e67e22;
    color: white;
    transform: translateY(-3px);
}

/* Regional Search Section */
.regional-search-section {
    margin: 40px 0;
    text-align: center;
}

.regional-search-section h3 {
    color: #e67e22;
    font-size: 1.8em;
    margin-bottom: 15px;
}

.regional-search-section > p {
    color: #666;
    font-size: 1.1em;
    margin-bottom: 25px;
}

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

.region-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 25px;
    background: linear-gradient(135deg, #f39c12 0%, #e67e22 100%);
    color: white;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 600;
    font-size: 1.1em;
    transition: all 0.3s;
    box-shadow: 0 4px 12px rgba(230, 126, 34, 0.3);
}

.region-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(230, 126, 34, 0.4);
}

.region-flag {
    font-size: 2em;
}

.region-name {
    flex-grow: 1;
    text-align: left;
    margin-left: 15px;
}

.region-arrow {
    font-size: 1.5em;
}

/* Safety Checklist Section */
.safety-checklist-section {
    margin: 50px 0;
}

.safety-checklist-section h3 {
    color: #27ae60;
    font-size: 2em;
    text-align: center;
    margin-bottom: 30px;
}

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

.checklist-card {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border-left: 5px solid #27ae60;
}

.checklist-card h4 {
    color: #27ae60;
    font-size: 1.4em;
    margin-bottom: 20px;
}

.checklist-items {
    list-style: none;
    padding: 0;
    margin: 0;
}

.checklist-items li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 15px;
    color: #333;
    line-height: 1.6;
}

.check-icon {
    font-size: 1.2em;
    flex-shrink: 0;
}

/* Questions Section */
.questions-section {
    margin: 50px 0;
    padding: 40px;
    background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
    border-radius: 15px;
}

.questions-section h3 {
    color: #2e7d32;
    font-size: 2em;
    text-align: center;
    margin-bottom: 30px;
}

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

.question-category {
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.question-category h4 {
    color: #2e7d32;
    font-size: 1.3em;
    margin-bottom: 15px;
}

.question-category ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.question-category ul li {
    color: #333;
    margin-bottom: 12px;
    padding-left: 25px;
    position: relative;
    line-height: 1.5;
}

.question-category ul li:before {
    content: "▸";
    position: absolute;
    left: 0;
    color: #2e7d32;
    font-weight: bold;
}

/* Red Flags Section */
.red-flags-section {
    margin: 50px 0;
}

.red-flags-section h3 {
    color: #c0392b;
    font-size: 2em;
    text-align: center;
    margin-bottom: 30px;
}

.warning-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.warning-card {
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.warning-card.danger {
    background: #ffebee;
    border-left: 5px solid #c0392b;
}

.warning-card.caution {
    background: #fff3e0;
    border-left: 5px solid #f39c12;
}

.warning-icon {
    font-size: 2.5em;
    display: block;
    margin-bottom: 15px;
}

.warning-card h4 {
    font-size: 1.4em;
    margin-bottom: 20px;
}

.warning-card.danger h4 {
    color: #c0392b;
}

.warning-card.caution h4 {
    color: #f39c12;
}

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

.warning-card ul li {
    color: #333;
    margin-bottom: 12px;
    padding-left: 25px;
    position: relative;
    line-height: 1.5;
}

.warning-card.danger ul li:before {
    content: "❌";
    position: absolute;
    left: 0;
}

.warning-card.caution ul li:before {
    content: "⚠️";
    position: absolute;
    left: 0;
}

.puppy-farm-warning {
    background: #fff9c4;
    border: 3px solid #f57c00;
    border-radius: 10px;
    padding: 30px;
    margin-top: 30px;
}

.puppy-farm-warning h4 {
    color: #e65100;
    font-size: 1.5em;
    margin-bottom: 15px;
}

.puppy-farm-warning p {
    color: #333;
    line-height: 1.6;
    margin-bottom: 15px;
}

.puppy-farm-warning ul {
    margin: 15px 0;
}

.puppy-farm-warning ul li {
    color: #333;
    margin-bottom: 10px;
    line-height: 1.5;
}

.farm-advice {
    background: rgba(230, 81, 0, 0.1);
    padding: 15px;
    border-radius: 5px;
    margin-top: 15px;
    font-weight: 600;
    color: #e65100;
}

/* Resources Section */
.resources-section {
    margin: 50px 0;
}

.resources-section h3 {
    color: #667eea;
    font-size: 2em;
    text-align: center;
    margin-bottom: 30px;
}

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

.resource-card {
    background: white;
    padding: 30px;
    border-radius: 10px;
    text-decoration: none;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
    border: 2px solid transparent;
}

.resource-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.3);
    border-color: #667eea;
}

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

.resource-card h4 {
    color: #667eea;
    font-size: 1.2em;
    margin-bottom: 10px;
}

.resource-card p {
    color: #666;
    line-height: 1.5;
    margin: 0;
}

/* Adoption Alternative Banner */
.adoption-alternative {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 40px;
    border-radius: 15px;
    text-align: center;
    margin: 50px 0;
}

.adoption-alternative h3 {
    font-size: 2em;
    margin-bottom: 15px;
}

.adoption-alternative p {
    font-size: 1.1em;
    margin-bottom: 25px;
    line-height: 1.6;
}

.adoption-link {
    display: inline-block;
    background: white;
    color: #667eea;
    padding: 15px 40px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1em;
    transition: all 0.3s;
}

.adoption-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.3);
}

/* Footer */
footer {
    background: #333;
    color: white;
    text-align: center;
    padding: 30px 20px;
    margin-top: 60px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .breeder-finder-container {
        padding: 20px 15px;
    }
    
    .breeder-search-card {
        padding: 25px 15px;
    }
    
    .checklist-grid,
    .warning-grid {
        grid-template-columns: 1fr;
    }
    
    .questions-grid {
        grid-template-columns: 1fr;
    }
    
    .resource-grid {
        grid-template-columns: 1fr;
    }
    
    .region-grid {
        grid-template-columns: 1fr;
    }
    
    .main-search-actions {
        flex-direction: column;
        gap: 15px;
    }
    
    .primary-btn,
    .secondary-btn {
        width: 100%;
        max-width: 100%;
        padding: 15px 20px;
        text-align: center;
        box-sizing: border-box;
        font-size: 1em;
        word-wrap: break-word;
    }
}

@media (max-width: 480px) {
    .finder-intro h2 {
        font-size: 1.8em;
    }
    
    .breeder-search-card {
        padding: 20px 10px;
    }
    
    .breeder-search-card h3 {
        font-size: 1.5em;
    }
    
    .scheme-benefits {
        grid-template-columns: 1fr;
    }
    
    .primary-btn,
    .secondary-btn {
        padding: 12px 15px;
        font-size: 0.95em;
    }
}
