/* Guides Page Styles */

/* Hero Section */
.guides-hero {
    background-color: var(--mc-dark);
    background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../images/guides/guides_hero_bg.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 80px 0;
    margin-top: 56px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.guides-hero h1 {
    font-family: 'Press Start 2P', cursive;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.guides-hero p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto;
}

/* Guide Categories */
.category-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.category-card {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    padding: 25px;
    text-align: center;
    height: 100%;
    transition: transform 0.3s ease-in-out;
    position: relative;
    overflow: hidden;
}

.category-card:hover {
    transform: translateY(-10px);
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
}

.generator-guides::before {
    background-color: var(--mc-primary);
}

.building-guides::before {
    background-color: var(--mc-success);
}

.farming-guides::before {
    background-color: var(--mc-accent);
}

.category-icon {
    background-color: #f8f9fa;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.generator-guides .category-icon {
    color: var(--mc-primary);
}

.building-guides .category-icon {
    color: var(--mc-success);
}

.farming-guides .category-icon {
    color: var(--mc-accent);
}

.category-icon i {
    font-size: 2.5rem;
}

.category-card h3 {
    font-family: 'VT323', monospace;
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: var(--mc-dark);
}

.category-card p {
    margin-bottom: 20px;
    color: #666;
}

/* Featured Guide */
.featured-guide {
    background-color: #f8f9fa;
}

.featured-guide-image {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    margin-bottom: 20px;
}

.featured-guide-content {
    padding: 20px;
}

.featured-badge {
    display: inline-block;
    background-color: var(--mc-primary);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.featured-guide-content h2 {
    font-family: 'VT323', monospace;
    font-size: 2.2rem;
    margin-bottom: 10px;
    color: var(--mc-dark);
}

.guide-meta {
    color: #777;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.guide-date, .guide-version {
    display: inline-block;
    margin-right: 15px;
}

.guide-highlights {
    background-color: rgba(0, 0, 0, 0.03);
    border-left: 4px solid var(--mc-primary);
    padding: 15px;
    margin: 20px 0;
    list-style-position: inside;
}

.guide-highlights li {
    margin-bottom: 8px;
}

/* Guide Sections */
.guide-section {
    padding: 60px 0;
}

.section-title {
    font-family: 'VT323', monospace;
    font-size: 2.2rem;
    color: var(--mc-dark);
    text-align: center;
    margin-bottom: 10px;
}

.section-description {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
    color: #666;
}

/* Guide Cards */
.guide-cards {
    display: flex;
    flex-wrap: wrap;
}

.guide-card {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    height: 100%;
    transition: transform 0.3s ease-in-out;
}

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

.guide-card-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.guide-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.guide-card:hover .guide-card-image img {
    transform: scale(1.05);
}

.guide-difficulty {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 5px 10px;
    color: white;
    font-size: 0.8rem;
    border-radius: 20px;
}

.beginner {
    background-color: var(--mc-success);
}

.intermediate {
    background-color: var(--mc-warning);
}

.advanced {
    background-color: var(--mc-danger);
}

.guide-card-body {
    padding: 20px;
}

.guide-card-body h3 {
    font-family: 'VT323', monospace;
    font-size: 1.5rem;
    color: var(--mc-dark);
    margin-bottom: 10px;
}

.guide-card-body p {
    color: #666;
    margin-bottom: 15px;
    font-size: 0.95rem;
}

.guide-card-body .guide-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    font-size: 0.8rem;
}

/* Recent Guides Timeline */
.guides-timeline {
    position: relative;
    padding: 20px 0;
}

.guides-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 20px;
    height: 100%;
    width: 2px;
    background-color: var(--mc-primary-light);
}

.timeline-item {
    position: relative;
    padding-left: 50px;
    margin-bottom: 30px;
}

.timeline-dot {
    position: absolute;
    left: 11px;
    top: 5px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: var(--mc-primary);
    border: 3px solid white;
    box-shadow: 0 0 0 3px var(--mc-primary-light);
}

.timeline-date {
    font-weight: bold;
    color: var(--mc-primary);
    margin-bottom: 5px;
}

.timeline-content {
    background-color: white;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.timeline-content h3 {
    font-family: 'VT323', monospace;
    font-size: 1.3rem;
    color: var(--mc-dark);
    margin-bottom: 8px;
}

.timeline-content p {
    margin-bottom: 10px;
    color: #666;
}

/* Guide Request Section */
.guide-request {
    background-color: var(--mc-primary-light);
}

/* Modal Styling */
.modal-content {
    border-radius: 8px;
    border: none;
}

.modal-header {
    background-color: var(--mc-primary);
    color: white;
    border-radius: 8px 8px 0 0;
}

.modal-title {
    font-family: 'VT323', monospace;
    font-size: 1.5rem;
}

#guideRequestForm .form-control {
    border-radius: 4px;
    border: 1px solid #ddd;
    padding: 10px;
}

#guideRequestForm .form-control:focus {
    border-color: var(--mc-primary);
    box-shadow: 0 0 0 0.25rem rgba(var(--mc-primary-rgb), 0.25);
}

/* Responsive Adjustments */
@media (max-width: 991px) {
    .featured-guide-image {
        margin-bottom: 30px;
    }
    
    .guides-timeline::before {
        left: 15px;
    }
    
    .timeline-item {
        padding-left: 40px;
    }
    
    .timeline-dot {
        left: 6px;
    }
}

@media (max-width: 767px) {
    .guides-hero h1 {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .category-card {
        margin-bottom: 20px;
    }
}

@media (max-width: 576px) {
    .guides-hero {
        padding: 60px 0;
    }
    
    .guides-hero h1 {
        font-size: 1.8rem;
    }
    
    .category-icon {
        width: 60px;
        height: 60px;
    }
    
    .category-icon i {
        font-size: 2rem;
    }
    
    .featured-guide-content h2 {
        font-size: 1.8rem;
    }
} 