/* Resources page specific styles - GymDepot colors */

/* Category Hero */
.category-hero {
    background: linear-gradient(135deg, #1f8570, #176b5a);
    color: white;
    padding: 4rem 0;
}

.hero-content {
    text-align: center;
}

.hero-text h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.hero-text h1 i {
    color: #000000;
    font-size: 3.5rem;
}

.hero-text p {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    opacity: 0.9;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: #000000;
    line-height: 1;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
    margin-top: 0.5rem;
}

/* Resource Categories */
.resource-categories {
    padding: 5rem 0;
    background: #f8f9fa;
}

.resource-categories h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #000000;
    margin-bottom: 3rem;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 2.5rem;
}

.category-card {
    background: white;
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(31, 133, 112, 0.15);
    border-color: #1f8570;
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, #1f8570, #000000);
}

.category-card.featured {
    border-color: #1f8570;
    background: linear-gradient(135deg, #fff, #f8fffe);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 2rem;
}

.card-icon {
    font-size: 4rem;
    color: #1f8570;
    transition: color 0.3s ease;
}

.category-card:hover .card-icon {
    color: #000000;
}

.card-badge {
    background: linear-gradient(135deg, #1f8570, #176b5a);
    color: white;
    padding: 0.6rem 1.2rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
}

.card-content h3 {
    font-size: 2rem;
    color: #000000;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.card-subtitle {
    color: #7f8c8d;
    font-weight: 500;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.card-description {
    color: #555;
    line-height: 1.7;
    margin-bottom: 2rem;
    font-size: 1rem;
}

.expert-specialties, .blog-categories {
    margin-bottom: 1.5rem;
}

.expert-specialties h4, .blog-categories h4 {
    color: #1f8570;
    font-size: 1.1rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.specialty-tags, .category-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.specialty-tag, .category-tag {
    background: #e8f4f2;
    color: #1f8570;
    padding: 0.4rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid #1f8570;
}

.recent-articles, .recent-posts {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 10px;
    border-left: 4px solid #1f8570;
}

.recent-articles h4, .recent-posts h4 {
    color: #1f8570;
    margin-bottom: 1rem;
    font-weight: 600;
}

.recent-articles ul, .recent-posts ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.recent-articles li, .recent-posts li {
    margin-bottom: 0.8rem;
}

.recent-articles a, .recent-posts a {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.recent-articles a:hover, .recent-posts a:hover {
    color: #1f8570;
}

/* Featured Articles */
.featured-articles {
    padding: 5rem 0;
    background: white;
}

.featured-articles h2 {
    text-align: center;
    font-size: 2.2rem;
    color: #000000;
    margin-bottom: 3rem;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.article-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    overflow: hidden;
    border: 2px solid transparent;
}

.article-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(31, 133, 112, 0.15);
    border-color: #1f8570;
}

.article-image {
    position: relative;
    height: 200px;
    background: linear-gradient(135deg, #1f8570, #176b5a);
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-placeholder {
    font-size: 4rem;
    color: rgba(255, 255, 255, 0.3);
}

.article-category {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.article-content {
    padding: 2rem;
}

.article-content h3 {
    color: #000000;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-weight: 600;
    line-height: 1.4;
}

.article-excerpt {
    color: #555;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.85rem;
    color: #777;
}

.article-meta span {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.article-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tag {
    background: #f0f0f0;
    color: #333;
    padding: 0.3rem 0.6rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 500;
}

/* Resource Tools */
.resource-tools {
    padding: 4rem 0;
    background: #f8f9fa;
}

.resource-tools h2 {
    text-align: center;
    font-size: 2.2rem;
    color: #000000;
    margin-bottom: 3rem;
}

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

.tool-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.tool-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(31, 133, 112, 0.15);
    border-color: #1f8570;
}

.tool-icon {
    font-size: 3rem;
    color: #1f8570;
    margin-bottom: 1rem;
}

.tool-card h3 {
    color: #000000;
    margin-bottom: 1rem;
    font-weight: 600;
}

.tool-card p {
    color: #555;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.tool-btn {
    background: linear-gradient(135deg, #1f8570, #176b5a);
    color: white;
    padding: 0.8rem 2rem;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tool-btn:hover {
    background: linear-gradient(135deg, #176b5a, #1f8570);
    transform: translateY(-2px);
}

/* Newsletter Section */
.newsletter-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, #000000, #1f1f1f);
    color: white;
}

.newsletter-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.newsletter-text h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.newsletter-text h2 i {
    color: #1f8570;
}

.newsletter-text p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.newsletter-benefits {
    list-style: none;
    padding: 0;
}

.newsletter-benefits li {
    padding: 0.5rem 0;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.newsletter-benefits i {
    color: #1f8570;
}

.newsletter-form {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 12px;
}

.form-group {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.form-group input {
    flex: 1;
    padding: 1rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
}

.subscribe-btn {
    background: #1f8570;
    color: white;
    padding: 1rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.subscribe-btn:hover {
    background: #176b5a;
}

.form-options {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1rem;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    font-size: 0.9rem;
}

.privacy-note {
    font-size: 0.8rem;
    opacity: 0.7;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Resource Search */
.resource-search {
    padding: 4rem 0;
    background: white;
}

.resource-search h2 {
    text-align: center;
    font-size: 2.2rem;
    color: #000000;
    margin-bottom: 3rem;
}

.search-interface {
    max-width: 800px;
    margin: 0 auto;
}

.search-bar {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.search-bar input {
    flex: 1;
    padding: 1rem;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
}

.search-bar input:focus {
    border-color: #1f8570;
    outline: none;
}

.search-btn {
    background: #1f8570;
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-btn:hover {
    background: #176b5a;
}

.search-filters {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.search-filters select {
    padding: 0.8rem;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 0.9rem;
    min-width: 150px;
}

.search-filters select:focus {
    border-color: #1f8570;
    outline: none;
}

.search-results {
    min-height: 200px;
    background: #f8f9fa;
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    color: #777;
}

/* Back to Hub */
.back-to-hub {
    padding: 3rem 0;
    background: #f8f9fa;
    text-align: center;
}

.back-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #000000;
    color: white;
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    margin-bottom: 2rem;
    transition: all 0.3s ease;
}

.back-btn:hover {
    background: #1f1f1f;
    transform: translateY(-2px);
}

.other-categories h3 {
    color: #000000;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.category-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.category-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    text-decoration: none;
    color: #000000;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    min-width: 120px;
    border: 2px solid transparent;
}

.category-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
    border-color: #1f8570;
}

.category-link i {
    font-size: 2rem;
    color: #1f8570;
}

.category-link span {
    font-weight: 500;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-text h1 {
        font-size: 2.2rem;
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .hero-stats {
        justify-content: center;
        gap: 2rem;
    }
    
    .categories-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .articles-grid {
        grid-template-columns: 1fr;
    }
    
    .tools-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
    
    .newsletter-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .search-filters {
        flex-direction: column;
    }
    
    .form-group {
        flex-direction: column;
    }
    
    .form-options {
        flex-direction: column;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .category-hero {
        padding: 2rem 0;
    }
    
    .hero-text h1 {
        font-size: 1.8rem;
    }
    
    .category-card {
        padding: 2rem;
    }
    
    .newsletter-form {
        padding: 1.5rem;
    }
}