/* ══════════════════════════════════════════════
   HOME PAGE — Gun Dogs Hub
══════════════════════════════════════════════ */

/* ── Hero Section ── */
.hero-section {
    position: relative;
    min-height: 73vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 50%, #1a3a2a 100%);
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('/img/hero-hunters-dogs.jpg') center/cover no-repeat;
    opacity: 0.15;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(160deg, rgba(27, 67, 50, 0.92) 0%, rgba(45, 90, 71, 0.85) 40%, rgba(27, 67, 50, 0.8) 70%, rgba(185, 151, 91, 0.6) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    color: var(--white);
    max-width: 820px;
    margin: 0 auto;
    text-align: center;
    padding: 1rem;
}

.hero-content h1 {
    font-size: clamp(2.5rem, 5vw, 3.2rem);
    font-weight: 900;
    margin-bottom: 1rem;
    color: var(--white);
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
    letter-spacing: -0.02em;
    line-height: 1.15;
}

.hero-content .subtitle {
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
    margin-bottom: 1.5rem;
    color: var(--secondary-color);
    font-weight: 600;
    line-height: 1.4;
    font-family: 'Inter', sans-serif;
    letter-spacing: 0.5px;
}

.hero-content .description {
    font-size: 1.05rem;
    margin-bottom: 2.5rem;
    color: rgba(255, 255, 255, 0.95);
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
    text-align: center;
    word-wrap: break-word;
    text-align-last: center;
    hyphens: auto;
    padding: 0 1rem;
}

/* ── Stats Section ── */
.stats-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 60%, #1a3a2a 100%);
    color: var(--white);
    padding: 0;
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-linear-gradient(
        90deg,
        transparent,
        transparent 200px,
        rgba(255,255,255,0.02) 200px,
        rgba(255,255,255,0.02) 201px
    );
}

.stat-item {
    text-align: center;
    padding: 1.5rem 0.5rem;
    position: relative;
}

.stat-item::after {
    content: '';
    position: absolute;
    right: 0;
    top: 25%;
    height: 50%;
    width: 1px;
    background: rgba(255, 255, 255, 0.15);
}

.row > div:last-child .stat-item::after {
    display: none;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--secondary-color), #d4af37, #e8c967);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
        font-family: 'Inter', sans-serif;
    line-height: 1;
}

.stat-label {
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: rgba(255, 255, 255, 0.75);
}

/* ── Popular Breeds (Home) ── */
.breeds-grid-home {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.breed-card-home {
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-decoration: none;
    color: inherit;
    display: block;
}

.breed-card-home:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(185, 151, 91, 0.3);
    text-decoration: none;
    color: inherit;
}

.breed-card-home .breed-img-wrap {
    position: relative;
    height: 240px;
    overflow: hidden;
}

.breed-card-home .breed-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.breed-card-home:hover .breed-img-wrap img {
    transform: scale(1.06);
}

.breed-card-home .breed-img-wrap .breed-count-badge {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    background: linear-gradient(135deg, var(--secondary-color), #d4af37);
    color: var(--white);
    padding: 0.3rem 0.75rem;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 700;
    font-family: 'Inter', sans-serif;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    box-shadow: 0 2px 8px rgba(185, 151, 91, 0.35);
}

.breed-card-home .breed-card-content {
    padding: 1.15rem 1.25rem;
}

.breed-card-home .breed-card-content h3 {
    font-family: 'Inter', sans-serif;
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0 0 0.4rem;
    line-height: 1.35;
}

.breed-card-home .breed-card-content .breed-listing-count {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.78rem;
    color: var(--text-light);
    font-weight: 500;
}

.breed-card-home .breed-card-content .breed-listing-count svg {
    color: var(--secondary-color);
    flex-shrink: 0;
}

.breed-card-home .breed-card-content .breed-view-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin-top: 0.6rem;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--secondary-color);
    transition: var(--transition);
}

.breed-card-home:hover .breed-view-link {
    color: var(--primary-color);
}

.breed-card-home:hover .breed-view-link svg {
    transform: translateX(3px);
}

.breed-view-link svg {
    transition: var(--transition);
}

/* ── Feature Cards (Why Choose Us) ── */
.feature-card {
    text-align: center;
    padding: 2.5rem 2rem;
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 100%;
    border: 1px solid var(--border-color);
    position: relative;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--secondary-color), #d4af37);
    border-radius: 0 0 3px 3px;
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(185, 151, 91, 0.2);
}

.feature-card:hover::before {
    width: 60%;
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.75rem;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 2rem;
    position: relative;
    transition: var(--transition);
}

.feature-icon::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px dashed rgba(185, 151, 91, 0.3);
    transition: var(--transition);
}

.feature-card:hover .feature-icon {
    background: linear-gradient(135deg, var(--secondary-color), #d4af37);
    transform: scale(1.05);
}

.feature-card:hover .feature-icon::after {
    border-color: rgba(185, 151, 91, 0.5);
    transform: rotate(45deg);
}

.feature-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.85rem;
}

.feature-description {
    color: var(--text-light);
    line-height: 1.7;
    font-size: 0.95rem;
}

/* ── FAQ Section (Home) ── */
.faq-list-home {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.faq-item-home {
    background: var(--white);
    border-radius: 10px;
    border: 1px solid var(--border-color);
    box-shadow: 0 1px 4px rgba(27, 67, 50, 0.04);
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item-home:hover {
    border-color: rgba(185, 151, 91, 0.25);
    box-shadow: 0 2px 12px rgba(27, 67, 50, 0.06);
}

.faq-item-home.active {
    border-color: rgba(185, 151, 91, 0.35);
    box-shadow: 0 4px 16px rgba(27, 67, 50, 0.08);
}

.faq-q-home {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.25rem;
    cursor: pointer;
    gap: 1rem;
    transition: background 0.2s ease;
}

.faq-q-home:hover {
    background: rgba(248, 249, 250, 0.6);
}

.faq-q-home .faq-q-inner {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    flex: 1;
    min-width: 0;
}

.faq-q-home .faq-num {
    font-family: 'Inter', sans-serif;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--secondary-color);
    background: rgba(185, 151, 91, 0.1);
    padding: 0.25rem 0.5rem;
    border-radius: 5px;
    flex-shrink: 0;
}

.faq-q-home h3 {
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0;
    line-height: 1.4;
}

.faq-toggle-home {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    border-radius: 8px;
    transition: all 0.3s ease;
    background: var(--light-bg);
}

.faq-item-home.active .faq-toggle-home {
    background: var(--primary-color);
    color: var(--white);
    transform: rotate(45deg);
}

.faq-a-home {
    display: none;
    padding: 0 1.25rem 1.25rem 3.85rem;
    animation: faqFadeIn 0.3s ease;
}

.faq-item-home.active .faq-a-home {
    display: block;
}

.faq-a-home p {
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    color: #4a5568;
    line-height: 1.7;
    margin: 0;
}

.faq-more-link {
    text-align: center;
    margin-top: 2rem;
}

.faq-more-link a {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--secondary-color);
    text-decoration: none;
    transition: var(--transition);
}

.faq-more-link a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

/* ── SEO Article ── */
.seo-article {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.seo-article p {
    font-size: 1rem;
    color: var(--text-light);
    line-height: 1.8;
    margin: 0;
}

.seo-article p strong {
    color: var(--text-dark);
    font-weight: 600;
}

/* ══════════════════════════════════════════════
   RESPONSIVE — Home
══════════════════════════════════════════════ */
@media (max-width: 991px) {
    .breeds-grid-home {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
    }

    .stat-item::after {
        display: none;
    }

    .stat-number {
        font-size: 2.2rem;
    }

    .stat-label {
        font-size: 0.8rem;
    }
}

@media (max-width: 768px) {
    .hero-section {
        min-height: 75vh;
    }

    .hero-content {
        padding: 1.5rem;
    }

    .hero-content .description {
        font-size: 0.95rem;
    }

    .breeds-grid-home {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .stat-item {
        padding: 1.2rem 0.75rem;
    }

    .stat-number {
        font-size: 2.0rem;
        margin-bottom: 0.35rem;
    }

    .stat-label {
        font-size: 0.8rem;
        letter-spacing: 1.2px;
    }

    .breed-card-home .breed-img-wrap {
        height: 160px;
    }

    .faq-q-home h3 {
        font-size: 0.88rem;
    }

    .faq-a-home {
        padding: 0 1rem 1rem 3.1rem;
    }
}

@media (max-width: 480px) {
    .hero-section {
        min-height: 70vh;
    }

    .breeds-grid-home {
        grid-template-columns: 1fr;
    }

    .stats-section .row {
        margin-left: 0;
        margin-right: 0;
    }

    .stats-section .row > [class*='col-'] {
        padding-left: 0;
        padding-right: 0;
    }

    .stat-item {
        padding: 1rem 0.5rem;
    }

    .stat-number {
        font-size: 1.8rem;
        margin-bottom: 0.25rem;
    }

    .stat-label {
        font-size: 0.78rem;
        letter-spacing: 1px;
        line-height: 1.25;
    }

    .faq-q-home .faq-num {
        display: none;
    }

.faq-a-home {
        padding: 0 1rem 1rem 1rem;
    }
}

/* Reuse dogs-for-sale card design on home without sidebar layout */
section.section-modern.dfs .content.home-latest-content {
    display: block !important;
    grid-template-columns: 1fr !important;
}
