/*
Theme Name: generatepress-child
Template: generatepress
Version: 1.0
*/

/* Header padding fix */
.site-header { padding: 0; }
.inside-header { padding: 0 25px; }
.site-logo { padding: 0px 0; }
.site-logo img { display: block; }

/* All page links in header as buttons */
.main-nav .menu a {
    background: #F7931A;
    color: #fff;
    padding: 10px 20px;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
}
.main-nav .menu a:hover {
    background: #FFA940;
    color: #fff;
}

/* Hide featured image on single posts */
.single-post .wp-post-image {
    display: none;
}

/* Mobile: logo left, hamburger right */
@media (max-width: 768px) {
    .site-header .inside-header {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
    .site-logo {
        flex: 1;
    }
    .mobile-menu-control-wrapper {
        margin-left: auto;
    }
}

/* AI Service Template Styles */
.ai-service-wrapper {
    max-width: 800px;
    margin: 60px auto;
    padding: 0 20px;
}

.ai-service-header {
    text-align: center;
    margin-bottom: 40px;
}

.ai-service-header h1 {
    font-size: 2.5em;
    margin-bottom: 10px;
}

.ai-service-subtitle {
    color: #666;
    font-size: 1.1em;
}

.ai-service-box {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 40px;
    margin-bottom: 40px;
}

/* Upload Zone */
.ai-upload-zone {
    border: 2px dashed #ccc;
    border-radius: 8px;
    padding: 60px 40px;
    text-align: center;
    background: #fafafa;
    cursor: pointer;
    transition: all 0.2s;
}

.ai-upload-zone:hover {
    border-color: #F7931A;
    background: #fff8f3;
}

.ai-upload-zone svg {
    color: #999;
    margin-bottom: 15px;
}

.ai-upload-zone p {
    color: #666;
    margin: 0;
}

/* URL Input */
.ai-url-input {
    margin-bottom: 30px;
}

.ai-url-input label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

.ai-input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    font-size: 16px;
    box-sizing: border-box;
}

.ai-input:focus {
    outline: none;
    border-color: #F7931A;
}

/* Payment Section */
.ai-payment-section {
    text-align: center;
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid #e0e0e0;
}

.ai-price {
    font-size: 1.5em;
    font-weight: 700;
    margin-bottom: 15px;
}

.ai-price span {
    font-weight: 400;
    color: #666;
    font-size: 0.8em;
}

.ai-wallet-btn {
    background: #F7931A;
    color: #fff;
    padding: 14px 32px;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: background 0.2s;
}

.ai-wallet-btn:hover {
    background: #FFA940;
}

.ai-wallet-status {
    margin-top: 15px;
    font-size: 14px;
    color: #666;
}

.ai-wallet-status a {
    color: #F7931A;
}

/* Preview */
#previewArea {
    margin-bottom: 20px;
}

#imagePreview {
    max-width: 100%;
    max-height: 400px;
    border-radius: 8px;
}

/* Examples */
.ai-examples h3 {
    text-align: center;
    margin-bottom: 20px;
}

.ai-example-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.ai-example-full {
    grid-column: 1 / -1;
}

.ai-example-item {
    text-align: center;
}

.ai-example-label {
    display: block;
    font-size: 12px;
    color: #666;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.ai-example-thumb {
    background: #f0f0f0;
    border-radius: 8px;
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
}

.ai-example-thumb.video {
    background: #fff8f3;
    color: #F7931A;
}

.ai-example-report {
    background: #f8f8f8;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
}

/* AI Results Section */
.ai-results {
    margin-top: 40px;
    padding-top: 40px;
    border-top: 2px solid #e0e0e0;
}

.ai-results h3 {
    text-align: center;
    margin-bottom: 30px;
    font-size: 1.5em;
}

.ai-results-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 30px;
}

.ai-result-item {
    text-align: center;
}

.ai-result-item label {
    display: block;
    font-weight: 600;
    color: #666;
    margin-bottom: 15px;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 0.5px;
}

.ai-result-image,
.ai-result-video {
    width: 100%;
    max-height: 400px;
    object-fit: contain;
    border-radius: 8px;
    background: #f5f5f5;
}

.ai-download-section {
    text-align: center;
    padding: 30px;
    background: #f8f8f8;
    border-radius: 8px;
}

.ai-download-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #22c55e;
    color: #fff;
    padding: 14px 28px;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s;
}

.ai-download-btn:hover {
    background: #16a34a;
    color: #fff;
}

.ai-video-url {
    margin-top: 15px;
    font-size: 12px;
    color: #666;
    word-break: break-all;
}

.ai-video-url code {
    background: #e0e0e0;
    padding: 2px 6px;
    border-radius: 4px;
}

/* Mobile: stack vertically */
@media (max-width: 768px) {
    .ai-results-grid {
        grid-template-columns: 1fr;
    }
}

/* Report Page Specific Styles */
.ai-url-input {
    margin-bottom: 30px;
}

.ai-url-input label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
}

.ai-example-report {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 30px;
    text-align: left;
}

.report-section {
    padding: 20px 0;
    border-bottom: 1px solid #f0f0f0;
}

.report-section:last-child {
    border-bottom: none;
}

.report-section h4 {
    margin: 0 0 8px 0;
    color: #F7931A;
    font-size: 16px;
}

.report-section p {
    margin: 0;
    color: #666;
    font-size: 14px;
}
