/* Pixel Art Generator Styles */

/* Hero Section */
.generator-hero {
    background-color: #2c2f33;
    background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../images/pixel-art-bg.jpg');
    background-size: cover;
    background-position: center;
    color: #ffffff;
    padding: 80px 0;
    margin-top: 56px;
}

.generator-hero h1 {
    font-family: 'Press Start 2P', cursive;
    margin-bottom: 20px;
    font-size: 2.5rem;
    text-shadow: 3px 3px 0px #000000;
}

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

/* Generator Tool Section */
.generator-card {
    background-color: #36393e;
    border: 4px solid #545b62;
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    color: #ffffff;
}

.generator-card-title {
    font-family: 'VT323', monospace;
    font-size: 2rem;
    margin-bottom: 25px;
    text-align: center;
    border-bottom: 2px solid #4f545c;
    padding-bottom: 15px;
}

.form-label {
    font-weight: bold;
    color: #d4d4d4;
}

.minecraft-input {
    background-color: #2c2f33;
    border: 2px solid #4f545c;
    color: #ffffff;
    padding: 10px 15px;
    font-family: 'VT323', monospace;
}

.minecraft-input:focus {
    background-color: #23272a;
    border-color: #7289da;
    color: #ffffff;
    box-shadow: 0 0 0 0.25rem rgba(114, 137, 218, 0.25);
}

.form-text {
    color: #a0a0a0;
    font-size: 0.85rem;
}

.form-check-input:checked {
    background-color: #7289da;
    border-color: #7289da;
}

.minecraft-button {
    background-color: #7289da;
    border: none;
    color: white;
    padding: 12px 25px;
    font-family: 'VT323', monospace;
    font-size: 1.2rem;
    font-weight: bold;
    border-radius: 4px;
    box-shadow: 0px 4px 0px #5b6eae;
    transition: all 0.2s;
}

.minecraft-button:hover {
    background-color: #5b6eae;
    transform: translateY(2px);
    box-shadow: 0px 2px 0px #4a5999;
}

.minecraft-button:active {
    transform: translateY(4px);
    box-shadow: none;
}

.minecraft-button-small {
    background-color: #7289da;
    border: none;
    color: white;
    padding: 8px 15px;
    font-family: 'VT323', monospace;
    font-size: 0.9rem;
    border-radius: 4px;
    box-shadow: 0px 3px 0px #5b6eae;
    transition: all 0.2s;
}

.minecraft-button-small:hover {
    background-color: #5b6eae;
    transform: translateY(2px);
    box-shadow: 0px 1px 0px #4a5999;
    color: white;
}

.minecraft-button-small:active {
    transform: translateY(3px);
    box-shadow: none;
}

/* Output Card */
.output-card {
    background-color: #36393e;
    border: 4px solid #545b62;
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    color: #ffffff;
}

.output-card-title {
    font-family: 'VT323', monospace;
    font-size: 1.8rem;
    margin-bottom: 20px;
    text-align: center;
    border-bottom: 2px solid #4f545c;
    padding-bottom: 10px;
}

.original-image-container, .pixel-art-container {
    background-color: #23272a;
    border: 2px solid #4f545c;
    padding: 15px;
    border-radius: 4px;
    text-align: center;
    height: 100%;
}

.pixel-art-container {
    position: relative;
}

.pixel-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

#pixel-art-canvas {
    max-width: 100%;
    height: auto;
    image-rendering: pixelated;
    image-rendering: crisp-edges;
}

.block-stats {
    background-color: #2c2f33;
    border: 2px solid #4f545c;
    border-radius: 4px;
    padding: 15px;
    margin-top: 20px;
}

.block-count-summary {
    font-size: 1.2rem;
    margin-bottom: 15px;
    font-weight: bold;
}

.stat-label {
    color: #d4d4d4;
}

.block-list-container {
    max-height: 200px;
    overflow-y: auto;
    padding-right: 5px;
}

.block-item {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
    background-color: #36393e;
    padding: 8px;
    border-radius: 4px;
}

.block-item img {
    width: 32px;
    height: 32px;
    margin-right: 10px;
}

.block-name {
    flex-grow: 1;
}

.block-amount {
    font-weight: bold;
    color: #7289da;
}

.command-display textarea {
    background-color: #23272a;
    color: #d4d4d4;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
}

/* Info Card */
.info-card {
    background-color: #36393e;
    border: 4px solid #545b62;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    color: #ffffff;
}

.info-card-title {
    font-family: 'VT323', monospace;
    font-size: 1.5rem;
    margin-bottom: 15px;
    text-align: center;
    border-bottom: 2px solid #4f545c;
    padding-bottom: 10px;
}

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

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

.info-tip {
    background-color: #2c2f33;
    border-left: 4px solid #7289da;
    padding: 15px;
    border-radius: 0 4px 4px 0;
}

.info-tip h4 {
    font-family: 'VT323', monospace;
    margin-bottom: 8px;
    color: #7289da;
}

/* Block Palette Card */
.block-palette-card {
    background-color: #36393e;
    border: 4px solid #545b62;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    color: #ffffff;
    margin-top: 20px;
}

.block-palette-title {
    font-family: 'VT323', monospace;
    font-size: 1.5rem;
    margin-bottom: 10px;
    text-align: center;
}

.block-palette-container {
    background-color: #2c2f33;
    border: 2px solid #4f545c;
    padding: 15px;
    border-radius: 4px;
    min-height: 150px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.block-palette-placeholder {
    text-align: center;
    color: #a0a0a0;
}

.block-palette-placeholder i {
    margin-bottom: 10px;
}

.palette-block {
    width: 32px;
    height: 32px;
    margin: 4px;
    border: 2px solid #4f545c;
    border-radius: 2px;
}

/* Layer Guide */
.layer-guide {
    background-color: #2c2f33;
    border: 2px solid #4f545c;
    border-radius: 4px;
    padding: 15px;
}

.layer-controls {
    margin: 15px 0;
}

#layer-indicator {
    display: inline-block;
    padding: 5px 15px;
    background-color: #36393e;
    border-radius: 4px;
    margin: 0 10px;
    font-weight: bold;
}

.layer-display {
    background-color: #23272a;
    border: 2px solid #4f545c;
    padding: 15px;
    border-radius: 4px;
    text-align: center;
}

/* Content Box (Information Section) */
.content-box {
    background-color: #36393e;
    border: 4px solid #545b62;
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    color: #ffffff;
}

.content-box h3 {
    font-family: 'VT323', monospace;
    color: #7289da;
    margin-top: 30px;
    margin-bottom: 15px;
}

.content-box h4 {
    font-family: 'VT323', monospace;
    color: #d4d4d4;
    margin-top: 20px;
    margin-bottom: 10px;
}

.content-box p {
    margin-bottom: 20px;
    line-height: 1.6;
}

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

.content-box ul li {
    margin-bottom: 8px;
}

/* Section Styling */
.section-title {
    font-family: 'Press Start 2P', cursive;
    text-align: center;
    margin-bottom: 30px;
    color: #ffffff;
}

.section-subtitle {
    max-width: 700px;
    margin: 0 auto 30px;
    color: #d4d4d4;
}

/* Examples Section */
.example-card {
    background-color: #36393e;
    border: 4px solid #545b62;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    color: #ffffff;
    text-align: center;
    height: 100%;
}

.example-image {
    height: 150px;
    background-color: #23272a;
    border: 2px solid #4f545c;
    margin-bottom: 15px;
    border-radius: 4px;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}

.minecraft-logo-example {
    background-image: url('../images/examples/minecraft-logo-pixel-art.png');
}

.creeper-example {
    background-image: url('../images/examples/creeper-pixel-art.png');
}

.landscape-example {
    background-image: url('../images/examples/landscape-pixel-art.png');
}

.example-stats {
    margin-top: 15px;
    display: flex;
    justify-content: space-around;
    font-size: 0.9rem;
    color: #d4d4d4;
}

/* Related Tools Section */
.related-tool-card {
    background-color: #36393e;
    border: 4px solid #545b62;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    color: #ffffff;
    text-align: center;
    height: 100%;
}

.related-tool-icon {
    margin-bottom: 15px;
    color: #7289da;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .generator-hero h1 {
        font-size: 1.8rem;
    }
    
    .generator-hero p {
        font-size: 1rem;
    }
    
    .block-stats {
        overflow-x: auto;
    }
    
    .output-options button {
        margin-bottom: 10px;
    }
}

@media (max-width: 576px) {
    .generator-card, .output-card, .info-card, .content-box {
        padding: 15px;
    }
    
    .generator-card-title {
        font-size: 1.5rem;
    }
    
    .original-image-container, .pixel-art-container {
        margin-bottom: 15px;
    }
} 