/* Guides Page Styles */
.guides-page {
    background-color: var(--white);
}

.guides-hero {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    padding: 4rem 0;
    text-align: center;
}

.guides-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.guides-hero p {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 2rem;
    opacity: 0.9;
}

.guides-search {
    max-width: 500px;
    margin: 0 auto;
    position: relative;
}

.guides-search input {
    width: 100%;
    padding: 1rem 3rem 1rem 1.5rem;
    border: none;
    border-radius: 2rem;
    font-size: 1rem;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--white);
    backdrop-filter: blur(5px);
}

.guides-search input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.guides-search .search-btn {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--white);
    cursor: pointer;
    font-size: 1.1rem;
}

.guides-content {
    padding: 4rem 0;
}

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

.filter-group {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.75rem 1.5rem;
    border: 2px solid var(--primary-color);
    border-radius: 2rem;
    background: none;
    color: var(--primary-color);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
    background-color: var(--primary-color);
    color: var(--white);
}

.sort-group select {
    padding: 0.75rem 2rem 0.75rem 1rem;
    border: 2px solid var(--primary-color);
    border-radius: 2rem;
    background-color: var(--white);
    color: var(--primary-color);
    font-weight: 600;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23e63946' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14L2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
}

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

.guide-card {
    background-color: var(--white);
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    display: flex;
    gap: 1.5rem;
}

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

.guide-icon {
    width: 50px;
    height: 50px;
    background-color: var(--light-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1.5rem;
    flex-shrink: 0;
}

.guide-content {
    flex-grow: 1;
}

.guide-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 0.5rem;
}

.guide-type {
    background-color: var(--light-bg);
    color: var(--primary-color);
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.8rem;
}

.guide-level {
    background-color: var(--light-bg);
    color: var(--text-secondary);
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.8rem;
}

.guide-content h3 {
    font-size: 1.2rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.guide-content p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    font-size: 0.9rem;
    line-height: 1.5;
}

.guide-stats {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.guide-stats i {
    margin-right: 0.25rem;
}

.guide-tags {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.tag {
    background-color: var(--light-bg);
    color: var(--text-secondary);
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.8rem;
}

.guides-pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 3rem;
}

.pagination-btn {
    width: 40px;
    height: 40px;
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    background: none;
    color: var(--primary-color);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.pagination-btn.next {
    width: auto;
    padding: 0 1rem;
    border-radius: 2rem;
}

.pagination-btn.next i {
    margin-left: 0.5rem;
}

.guides-cta {
    background-color: var(--light-bg);
    padding: 4rem 0;
    text-align: center;
}

.guides-cta h2 {
    font-size: 2rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.guides-cta p {
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 2rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .guides-hero h1 {
        font-size: 2rem;
    }

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

    .guides-filters {
        flex-direction: column;
        align-items: stretch;
    }

    .filter-group {
        justify-content: center;
    }

    .sort-group select {
        width: 100%;
    }

    .guide-card {
        flex-direction: column;
    }

    .guide-icon {
        margin: 0 auto 1rem;
    }

    .guide-meta,
    .guide-stats {
        justify-content: center;
    }

    .guide-tags {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .guides-hero {
        padding: 3rem 0;
    }

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

    .guides-cta h2 {
        font-size: 1.8rem;
    }
}

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

.guides-grid {
    animation: fadeIn 0.6s ease-out forwards;
}

.guide-card {
    animation: fadeIn 0.6s ease-out forwards;
}

.guide-card:nth-child(1) { animation-delay: 0.1s; }
.guide-card:nth-child(2) { animation-delay: 0.2s; }
.guide-card:nth-child(3) { animation-delay: 0.3s; } 