/* Guides Page Styles */

/* Hero section */
.guides-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
                url('https://images.unsplash.com/photo-1501555088652-021faa106b9b?ixlib=rb-1.2.1&auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    height: 400px;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.guides-hero-content {
    max-width: 800px;
    padding: 0 1rem;
}

.guides-hero h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.guides-hero p {
    font-size: 1.25rem;
    opacity: 0.9;
}

/* Guides Container Layout */
.guides-container {
    display: flex;
    gap: 2rem;
    padding: 3rem 2rem;
    max-width: 80%;
    margin: 0 auto;
}

/* Sidebar Styles */
.guides-sidebar {
    width: 300px;
    flex-shrink: 0;
}

.sidebar-widget {
    margin-bottom: 2.5rem;
    background-color: white;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.sidebar-widget h2 {
    font-size: 1.2rem;
    margin-bottom: 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--light-gray);
    font-weight: 600;
}

.category-list li {
    margin-bottom: 0.75rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--light-gray);
}

.category-list li:last-child {
    border-bottom: none;
}

.category-list li a {
    display: block;
    color: var(--dark-color);
    transition: all 0.2s ease;
}

.category-list li a:hover,
.category-list li.active a {
    color: var(--primary-color);
    font-weight: 600;
}

.filter-option {
    display: flex;
    align-items: center;
    margin-bottom: 0.75rem;
    cursor: pointer;
}

.filter-option input[type="checkbox"] {
    margin-right: 0.5rem;
    cursor: pointer;
}

.resource-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.resource-link {
    display: flex;
    align-items: center;
    padding: 0.75rem;
    background-color: var(--light-gray);
    border-radius: 6px;
    transition: all 0.2s ease;
}

.resource-link i {
    margin-right: 0.75rem;
    color: var(--primary-color);
    font-size: 1.2rem;
}

.resource-link:hover {
    background-color: var(--primary-color);
    color: white;
}

.resource-link:hover i {
    color: white;
}

.newsletter-small p {
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: var(--gray-color);
}

.newsletter-form-small {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.newsletter-form-small input {
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: var(--body-font);
}

.newsletter-form-small button {
    padding: 0.75rem;
    background-color: var(--primary-color);
    color: white;
    font-weight: 600;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.newsletter-form-small button:hover {
    background-color: var(--secondary-color);
}

/* Main Content Area */
.guides-content {
    flex-grow: 1;
}

.guides-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 2rem;
    gap: 1rem;
}

.guides-header h2 {
    margin: 0;
    font-size: 1.75rem;
}

.guides-search {
    display: flex;
    position: relative;
    max-width: 300px;
    width: 100%;
}

.guides-search input {
    width: 100%;
    padding: 0.75rem 1rem;
    padding-right: 3rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: var(--body-font);
}

.search-btn {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    padding: 0 1rem;
    background-color: transparent;
    color: var(--gray-color);
    transition: color 0.2s ease;
}

.search-btn:hover {
    color: var(--primary-color);
}

.guides-sort {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.guides-sort label {
    font-size: 0.9rem;
    color: var(--gray-color);
}

.guides-sort select {
    padding: 0.5rem 1rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: var(--body-font);
    background-color: white;
}

/* Featured Guide */
.featured-guide {
    display: flex;
    margin-bottom: 3rem;
    background-color: white;
    border-radius: 12px;
    overflow: hidden;
    /* box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1); */
}

.featured-guide-content {
    flex: 1;
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
}

.featured-guide-image {
    flex: 1;
    min-height: 400px;
}

.featured-guide-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.guide-badge {
    background-color: var(--accent-color);
    color: white;
    font-weight: 600;
    font-size: 0.8rem;
    padding: 0.25rem 1rem;
    border-radius: 50px;
    display: inline-block;
    margin-bottom: 1.5rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    width: 105px;
}

.featured-guide h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.guide-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.25rem;
    font-size: 0.9rem;
    color: var(--gray-color);
}

.guide-meta span {
    display: flex;
    align-items: center;
}

.guide-meta i {
    margin-right: 0.5rem;
    color: var(--primary-color);
}

.guide-excerpt {
    line-height: 1.7;
    margin-bottom: 2rem;
    flex-grow: 1;
}

/* Guide Cards Grid */
.guides-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
    margin-bottom: 2.5rem;
}

.guide-card {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.guide-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.guide-card-img {
    position: relative;
    height: 200px;
}

.guide-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.guide-level {
    position: absolute;
    bottom: 0;
    right: 0;
    padding: 0.25rem 0.75rem;
    color: white;
    font-weight: 600;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.guide-level.beginner {
    background-color: #4caf50;
}

.guide-level.intermediate {
    background-color: #ff9800;
}

.guide-level.advanced {
    background-color: #f44336;
}

.guide-level.expert {
    background-color: #9c27b0;
}

.guide-card-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.guide-category {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
}

.guide-card h4 {
    font-size: 1.2rem;
    line-height: 1.4;
    margin-bottom: 0.75rem;
}

.guide-card p {
    color: var(--gray-color);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 1.25rem;
    flex-grow: 1;
    height: 100px;
    overflow-y: hidden;
}

.guide-card .guide-meta {
    margin-bottom: 1.25rem;
    font-size: 0.85rem;
}

.read-more {
    font-weight: 600;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.2s ease;
}

.read-more:hover {
    color: var(--accent-color);
}

.read-more i {
    font-size: 0.8rem;
    transition: transform 0.2s ease;
}

.read-more:hover i {
    transform: translateX(3px);
}

/* Pagination */
.guides-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 3rem;
    gap: 0.5rem;
}

.guides-pagination a {
    min-width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: white;
    border-radius: 4px;
    color: var(--dark-color);
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: all 0.2s ease;
}

.guides-pagination a.active,
.guides-pagination a:hover {
    background-color: var(--primary-color);
    color: white;
}

.guides-pagination .next-page {
    padding: 0 1rem;
}

/* No Results State */
.no-results {
    text-align: center;
    padding: 3rem 1rem;
}

.no-results-icon {
    font-size: 3rem;
    color: var(--light-gray);
    margin-bottom: 1.5rem;
}

.no-results h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.no-results p {
    color: var(--gray-color);
    margin-bottom: 1.5rem;
}

/* Outdoor Experts Section */
.outdoor-expertise {
    padding: 4rem 2rem;
    background-color: var(--light-gray);
}

.outdoor-expertise-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.outdoor-expertise h2 {
    font-size: 1.8rem;
    margin-bottom: 0.75rem;
}

.outdoor-expertise > p {
    margin-bottom: 3rem;
    color: var(--gray-color);
}

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

.expert-card {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.expert-card:hover {
    transform: translateY(-5px);
}

.expert-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.expert-info {
    padding: 1.5rem;
}

.expert-info h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.expert-title {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
}

.expert-bio {
    color: var(--gray-color);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* Resources Section */
.guide-resources {
    padding: 4rem 2rem;
}

.guide-resources-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
}

.guide-resources-header h2 {
    font-size: 1.8rem;
    margin-bottom: 0.75rem;
}

.guide-resources-header p {
    color: var(--gray-color);
}

.resources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.resource-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2rem;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    text-align: center;
}

.resource-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.resource-icon {
    width: 70px;
    height: 70px;
    background-color: var(--light-gray);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    transition: all 0.3s ease;
}

.resource-icon i {
    font-size: 1.75rem;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.resource-card:hover .resource-icon {
    background-color: var(--primary-color);
}

.resource-card:hover .resource-icon i {
    color: white;
}

.resource-card h4 {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
}

.resource-card p {
    color: var(--gray-color);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .featured-guide {
        flex-direction: column-reverse;
    }

    .featured-guide-image {
        min-height: 300px;
    }
}

@media (max-width: 992px) {
    .guides-container {
        flex-direction: column;
    }

    .guides-sidebar {
        width: 100%;
    }

    .sidebar-widget {
        padding: 1.25rem;
    }

    .guides-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .guides-search {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .guides-hero h1 {
        font-size: 2.5rem;
    }

    .guides-container {
        padding: 2rem 1rem;
    }

    .guides-pagination a {
        min-width: 35px;
        height: 35px;
    }
}

@media (max-width: 576px) {
    .guides-hero {
        height: 300px;
    }

    .guides-hero h1 {
        font-size: 2rem;
    }

    .guides-hero p {
        font-size: 1rem;
    }

    .featured-guide-content {
        padding: 1.5rem;
    }

    .featured-guide h3 {
        font-size: 1.5rem;
    }

    .guides-grid {
        grid-template-columns: 1fr;
    }

    .experts-grid {
        grid-template-columns: 1fr;
    }
}
