/* Home Page Styles for Minecraft Generator Hub */

/* Hero Section */
.hero {
    background-color: var(--stone-color);
    background-image: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4));
    color: white;
    padding: 5rem 0;
    border-bottom: 4px solid #000;
    text-shadow: 2px 2px 0 #000;
}

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

.hero h2 {
    font-family: 'VT323', monospace;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: #FFD700;
}

.hero p {
    font-family: 'VT323', monospace;
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

.cta-buttons {
    margin-top: 2rem;
}

.cta-primary {
    background-color: var(--primary-color);
    border: 3px solid #333;
    font-family: 'VT323', monospace;
    font-size: 1.3rem;
    padding: 0.7rem 1.5rem;
    margin-right: 0.5rem;
    text-transform: uppercase;
    box-shadow: inset -2px -2px 0 #333333, inset 2px 2px 0 #7ED47E;
}

.cta-primary:hover {
    background-color: #63C863;
    transform: translateY(-2px);
}

.cta-secondary {
    background-color: var(--secondary-color);
    border: 3px solid #333;
    font-family: 'VT323', monospace;
    font-size: 1.3rem;
    padding: 0.7rem 1.5rem;
    margin: 0 0.5rem;
    text-transform: uppercase;
    box-shadow: inset -2px -2px 0 #333333, inset 2px 2px 0 #BC8C5F;
}

.cta-secondary:hover {
    background-color: #A66834;
    transform: translateY(-2px);
}

/* Featured Generators Section */
.featured-generators {
    padding: 3rem 0;
    background-color: var(--bg-color);
    background-image: linear-gradient(rgba(0, 0, 0, 0.05) 1px, transparent 1px);
    background-size: 20px 20px;
}

.featured-generators h2 {
    font-family: 'Press Start 2P', cursive;
    font-size: 1.8rem;
    color: var(--text-color);
}

.generator-grid {
    margin-top: 2rem;
}

.generator-card {
    border: 3px solid #333;
    transition: transform 0.3s;
    overflow: hidden;
    box-shadow: 5px 5px 0 rgba(0,0,0,0.2);
}

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

/* Card Image Icons */
.card-img-icon {
    height: 180px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #f0f0f0;
    padding: 1.5rem;
    border-bottom: 2px solid #CCCCCC;
}

.circle-generator-icon {
    color: #54AA54;
}

.sphere-generator-icon {
    color: #3498db;
}

.cobblestone-generator-icon {
    color: #7F7F7F;
}

.banner-generator-icon {
    color: #e74c3c;
}

.generator-card .card-title {
    font-family: 'Press Start 2P', cursive;
    font-size: 1.1rem;
    color: var(--text-color);
}

.generator-card .card-text {
    font-family: 'VT323', monospace;
    font-size: 1.2rem;
}

.generator-card .btn {
    font-family: 'VT323', monospace;
    background-color: var(--primary-color);
    border: 2px solid #333;
    padding: 0.5rem 1rem;
    font-size: 1.1rem;
    box-shadow: inset -2px -2px 0 #333333, inset 2px 2px 0 #7ED47E;
}

.generator-card .btn:hover {
    background-color: #63C863;
}

.view-all-button {
    font-family: 'VT323', monospace;
    font-size: 1.2rem;
    border: 2px solid #333;
    padding: 0.5rem 1.5rem;
    margin-top: 1.5rem;
    box-shadow: 2px 2px 0 rgba(0,0,0,0.2);
}

/* Building Tools Section */
.building-tools {
    background-color: #E9E9E9;
    padding: 3rem 0;
}

.building-tools h2 {
    font-family: 'Press Start 2P', cursive;
    font-size: 1.8rem;
    color: var(--text-color);
}

.tools-container {
    margin-top: 2rem;
}

.tool-box {
    background-color: white;
    border: 3px solid #333;
    border-radius: 5px;
    padding: 1.5rem;
    height: 100%;
    box-shadow: 5px 5px 0 rgba(0,0,0,0.1);
}

.tool-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    text-align: center;
}

.tool-box h3 {
    font-family: 'Press Start 2P', cursive;
    font-size: 1.2rem;
    margin-bottom: 1rem;
    text-align: center;
    color: var(--text-color);
    border-bottom: 2px solid #ddd;
    padding-bottom: 0.8rem;
}

.tool-box ul {
    margin-top: 1rem;
}

.tool-box ul li {
    margin-bottom: 0.5rem;
    font-family: 'VT323', monospace;
    font-size: 1.2rem;
}

.tool-box ul li a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.2s;
}

.tool-box ul li a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

/* Recent Tutorials Section */
.recent-tutorials {
    padding: 3rem 0;
    background-color: white;
}

.recent-tutorials h2 {
    font-family: 'Press Start 2P', cursive;
    font-size: 1.8rem;
    color: var(--text-color);
}

.tutorials-grid {
    margin-top: 2rem;
}

.tutorial-card {
    border: 3px solid #333;
    transition: transform 0.3s;
    overflow: hidden;
    box-shadow: 5px 5px 0 rgba(0,0,0,0.2);
}

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

/* Tutorial Icons */
.tutorial-icon {
    height: 200px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #f0f0f0;
    padding: 1.5rem;
    border-bottom: 2px solid #CCCCCC;
}

.cobblestone-tutorial-icon {
    color: #7F7F7F;
}

.sphere-tutorial-icon {
    color: #3498db;
}

.pixel-art-tutorial-icon {
    color: #e74c3c;
}

.tutorial-card .card-title {
    font-family: 'Press Start 2P', cursive;
    font-size: 1rem;
    color: var(--text-color);
}

.tutorial-card .card-text {
    font-family: 'VT323', monospace;
    font-size: 1.2rem;
}

.tutorial-card .btn {
    font-family: 'VT323', monospace;
    background-color: var(--primary-color);
    border: 2px solid #333;
    padding: 0.5rem 1rem;
    font-size: 1.1rem;
    box-shadow: inset -2px -2px 0 #333333, inset 2px 2px 0 #7ED47E;
}

.tutorial-card .btn:hover {
    background-color: #63C863;
}

/* Testimonials Section */
.testimonials {
    background-color: #E9E9E9;
    padding: 3rem 0;
}

.testimonials h2 {
    font-family: 'Press Start 2P', cursive;
    font-size: 1.8rem;
    color: var(--text-color);
}

.testimonial-slider {
    margin-top: 2rem;
}

.testimonial {
    background-color: white;
    border: 3px solid #333;
    padding: 1.5rem;
    box-shadow: 5px 5px 0 rgba(0,0,0,0.1);
}

.testimonial .card-text {
    font-family: 'VT323', monospace;
    font-size: 1.2rem;
    font-style: italic;
    position: relative;
    padding: 0 1rem;
}

.testimonial .card-text::before {
    content: '"';
    font-size: 2rem;
    position: absolute;
    left: -5px;
    top: -10px;
    color: #CCCCCC;
}

.testimonial-author {
    font-family: 'Press Start 2P', cursive;
    font-size: 0.8rem;
    margin-top: 1rem;
    text-align: right;
    color: var(--secondary-color);
}

/* Newsletter Section */
.newsletter {
    background-color: var(--stone-color);
    background-image: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2));
    color: white;
    padding: 3rem 0;
    border-top: 4px solid #000;
}

.newsletter h2 {
    font-family: 'Press Start 2P', cursive;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.newsletter p {
    font-family: 'VT323', monospace;
    font-size: 1.3rem;
}

.newsletter-form .form-control {
    border: 3px solid #333;
    padding: 0.7rem;
    font-family: 'VT323', monospace;
    font-size: 1.2rem;
}

.newsletter-form .btn {
    font-family: 'VT323', monospace;
    background-color: var(--primary-color);
    border: 3px solid #333;
    padding: 0.5rem 1.5rem;
    font-size: 1.1rem;
    box-shadow: inset -2px -2px 0 #333333, inset 2px 2px 0 #7ED47E;
}

.newsletter-form .btn:hover {
    background-color: #63C863;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero h2 {
        font-size: 1.7rem;
    }
    
    .cta-primary, .cta-secondary {
        display: block;
        margin: 0.5rem auto;
        width: 80%;
    }
    
    .featured-generators h2, 
    .building-tools h2, 
    .recent-tutorials h2,
    .testimonials h2 {
        font-size: 1.5rem;
    }
}

@media (max-width: 576px) {
    .hero h1 {
        font-size: 1.5rem;
    }
    
    .hero h2 {
        font-size: 1.3rem;
    }
    
    .hero p {
        font-size: 1.2rem;
    }
    
    .featured-generators h2, 
    .building-tools h2, 
    .recent-tutorials h2,
    .testimonials h2,
    .newsletter h2 {
        font-size: 1.2rem;
    }
    
    .cta-primary, .cta-secondary {
        width: 100%;
    }
} 