/* Banner Generator Styles */

/* Hero Section */
.generator-hero {
    background-color: var(--mc-dark);
    background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../images/banner_generator_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);
}

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

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

/* Generator Tool Section */
.generator-tool {
    background-color: var(--mc-light);
}

.generator-card {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    padding: 25px;
    margin-bottom: 30px;
}

.generator-card-title {
    font-family: 'VT323', monospace;
    font-size: 1.8rem;
    color: var(--mc-dark);
    margin-bottom: 20px;
    border-bottom: 2px solid var(--mc-accent);
    padding-bottom: 10px;
}

.info-card {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
}

.info-card-title {
    font-family: 'VT323', monospace;
    font-size: 1.5rem;
    color: var(--mc-dark);
    margin-bottom: 15px;
    border-bottom: 2px solid var(--mc-accent);
    padding-bottom: 8px;
}

.info-steps {
    padding-left: 20px;
}

.info-steps li {
    margin-bottom: 8px;
}

/* Banner Preview Section */
.banner-preview-section {
    background-color: #f5f5f5;
    border-radius: 8px;
    padding: 20px;
}

.banner-display {
    margin-bottom: 20px;
}

.banner-display h3,
.pattern-layers h3 {
    font-family: 'VT323', monospace;
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--mc-dark);
}

#banner-preview-container {
    background-color: #333;
    border-radius: 4px;
    padding: 20px;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#banner-preview {
    width: 200px;
    height: 250px;
    background-image: url('../images/banner_base_red.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.pattern-layer-list {
    background-color: white;
    border: 1px solid #ddd;
    border-radius: 4px;
    min-height: 200px;
    max-height: 200px;
    overflow-y: auto;
    padding: 10px;
}

.empty-layer-message {
    color: #999;
    text-align: center;
    padding: 20px;
}

.layer-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px;
    border-bottom: 1px solid #eee;
    background-color: #f9f9f9;
    margin-bottom: 5px;
    border-radius: 4px;
}

.layer-info {
    display: flex;
    align-items: center;
}

.layer-number {
    background-color: var(--mc-primary);
    color: white;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-right: 10px;
    font-weight: bold;
    font-size: 0.8rem;
}

.layer-pattern-icon {
    width: 24px;
    height: 24px;
    margin-right: 10px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.layer-pattern-name {
    font-size: 0.9rem;
}

.layer-color {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    margin-left: 5px;
    border: 1px solid #ddd;
}

.layer-actions button {
    background: none;
    border: none;
    color: #666;
    cursor: pointer;
    padding: 2px 5px;
    font-size: 0.8rem;
}

.layer-actions button:hover {
    color: var(--mc-danger);
}

/* Pattern Selection Tabs */
.nav-tabs .nav-link {
    color: var(--mc-dark);
    font-family: 'VT323', monospace;
    font-size: 1.1rem;
}

.nav-tabs .nav-link.active {
    color: var(--mc-primary);
    font-weight: bold;
}

.pattern-grid, .preset-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    gap: 10px;
    padding: 10px 0;
}

.pattern-item, .preset-item {
    background-color: #f5f5f5;
    border: 2px solid transparent;
    border-radius: 4px;
    padding: 10px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
}

.pattern-item:hover, .preset-item:hover {
    border-color: var(--mc-primary);
    transform: translateY(-2px);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.pattern-icon, .preset-icon {
    width: 50px;
    height: 50px;
    margin: 0 auto 5px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.pattern-name, .preset-name {
    font-size: 0.8rem;
    color: #666;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Banner Output Section */
.banner-actions {
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
    height: 100%;
}

/* Crafting Recipe Section */
.banner-crafting h3 {
    font-family: 'VT323', monospace;
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--mc-dark);
}

.crafting-container {
    display: flex;
    flex-wrap: wrap;
    background-color: #f5f5f5;
    border-radius: 8px;
    padding: 20px;
}

#crafting-table {
    width: 180px;
    height: 180px;
    background-image: url('../images/crafting_table.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    margin-right: 20px;
}

#crafting-instructions {
    flex: 1;
    min-width: 200px;
}

#crafting-instructions h4 {
    font-family: 'VT323', monospace;
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--mc-dark);
}

#materials-list li {
    margin-bottom: 5px;
}

/* Template Buttons */
.template-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.template-btn {
    margin-bottom: 10px;
}

/* Banner Info Section */
.banner-info {
    background-color: #f9f9f9;
}

.content-card {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
    height: 100%;
}

.content-card h3 {
    font-family: 'VT323', monospace;
    font-size: 1.5rem;
    color: var(--mc-primary);
    margin-bottom: 15px;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

.content-card h4 {
    font-family: 'VT323', monospace;
    font-size: 1.2rem;
    color: var(--mc-dark);
    margin-top: 15px;
    margin-bottom: 10px;
}

.content-card p, .content-card li {
    color: #444;
    margin-bottom: 10px;
    line-height: 1.6;
}

.content-card ul {
    padding-left: 20px;
    margin-bottom: 15px;
}

.content-card li {
    margin-bottom: 5px;
}

/* Banner Gallery */
.banner-gallery {
    background-color: white;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.gallery-item {
    background-color: #f5f5f5;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
    cursor: pointer;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.15);
}

.gallery-banner {
    width: 100%;
    height: 200px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    background-color: #333;
}

.gallery-info {
    padding: 15px;
}

.gallery-title {
    font-family: 'VT323', monospace;
    font-size: 1.1rem;
    color: var(--mc-dark);
    margin-bottom: 5px;
}

.gallery-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-top: 10px;
}

.gallery-tag {
    background-color: var(--mc-primary-light);
    color: var(--mc-primary);
    font-size: 0.7rem;
    padding: 2px 8px;
    border-radius: 20px;
}

/* FAQ Section */
.faq-section {
    background-color: #f9f9f9;
}

.accordion-item {
    margin-bottom: 10px;
    border: none;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.accordion-button {
    font-family: 'VT323', monospace;
    font-size: 1.2rem;
    color: var(--mc-dark);
    padding: 15px 20px;
}

.accordion-button:not(.collapsed) {
    color: var(--mc-primary);
    background-color: var(--mc-primary-light);
}

.accordion-button:focus {
    box-shadow: none;
    border-color: rgba(0, 0, 0, 0.125);
}

.accordion-body {
    padding: 20px;
    line-height: 1.6;
}

/* Responsive Adjustments */
@media (max-width: 991px) {
    .banner-actions {
        justify-content: flex-start;
        margin-top: 15px;
    }
    
    .crafting-container {
        flex-direction: column;
    }
    
    #crafting-table {
        margin-right: 0;
        margin-bottom: 20px;
    }
}

@media (max-width: 767px) {
    .generator-hero h1 {
        font-size: 2rem;
    }
    
    .pattern-grid, .preset-grid {
        grid-template-columns: repeat(auto-fill, minmax(70px, 1fr));
    }
}

@media (max-width: 576px) {
    .generator-hero {
        padding: 60px 0;
    }
    
    .generator-hero h1 {
        font-size: 1.8rem;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    }
    
    .template-buttons {
        justify-content: center;
    }
} 