/* Wireframe Gallery Styles - Grayscale Theme */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-color: #f8f9fa;
    color: #2d3436;
    line-height: 1.6;
}

.gallery-container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header */
.gallery-header {
    background: linear-gradient(135deg, #2d3436 0%, #636e72 100%);
    color: white;
    padding: 60px 20px;
    text-align: center;
}

.header-content h1 {
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 15px;
    letter-spacing: -1px;
}

.header-content p {
    font-size: 18px;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

/* Main Content */
.gallery-main {
    flex: 1;
    padding: 60px 20px;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

/* Wireframe Cards */
.wireframe-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
}

.wireframe-card:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.wireframe-card.placeholder {
    opacity: 0.7;
    border-style: dashed;
    border-color: #dee2e6;
}

.wireframe-card.placeholder:hover {
    transform: none;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

/* Card Preview */
.card-preview {
    height: 200px;
    background: #f8f9fa;
    position: relative;
    overflow: hidden;
}

.preview-mockup {
    width: 100%;
    height: 100%;
    background: white;
    margin: 10px;
    border-radius: 8px;
    border: 1px solid #dee2e6;
    position: relative;
    transform: scale(0.85);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.mockup-header {
    height: 20px;
    background: #f1f3f4;
    border-bottom: 1px solid #dee2e6;
    display: flex;
    align-items: center;
    padding: 0 8px;
}

.mockup-dots {
    display: flex;
    gap: 4px;
}

.mockup-dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #dee2e6;
}

.mockup-content {
    display: flex;
    height: calc(100% - 20px);
}

.mockup-sidebar {
    width: 60px;
    background: #2d3436;
}

.mockup-main {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.mockup-nav {
    height: 30px;
    background: white;
    border-bottom: 1px solid #dee2e6;
}

.mockup-metrics {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    padding: 15px;
    background: #f8f9fa;
}

.metric-box {
    height: 25px;
    background: white;
    border-radius: 4px;
    border-left: 3px solid #636e72;
}

.mockup-content-area {
    flex: 1;
    background: white;
    margin: 8px;
    border-radius: 4px;
    border: 1px solid #e9ecef;
}

/* Placeholder Content */
.placeholder-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: #6c757d;
}

.placeholder-icon {
    font-size: 48px;
    font-weight: 300;
    margin-bottom: 10px;
    opacity: 0.5;
}

.placeholder-content p {
    font-size: 14px;
    opacity: 0.7;
}

/* Card Info */
.card-info {
    padding: 25px;
}

.card-info h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #2d3436;
}

.card-info p {
    color: #636e72;
    font-size: 14px;
    margin-bottom: 15px;
    line-height: 1.5;
}

/* Tags */
.card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.tag {
    background: #f1f3f4;
    color: #495057;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.tag.disabled {
    background: #e9ecef;
    color: #adb5bd;
}

/* Card Actions */
.card-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.btn-primary {
    background: #2d3436;
    color: white;
    padding: 10px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background: #636e72;
    transform: translateY(-1px);
}

.btn-secondary {
    background: #e9ecef;
    color: #6c757d;
    padding: 10px 20px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    border: none;
    cursor: not-allowed;
}

.card-date {
    font-size: 12px;
    color: #6c757d;
}

/* Footer */
.gallery-footer {
    background: white;
    border-top: 1px solid #dee2e6;
    padding: 30px 20px;
    margin-top: 40px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.footer-content p {
    color: #6c757d;
    font-size: 14px;
    margin-bottom: 10px;
}

.footer-stats {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    font-size: 12px;
    color: #adb5bd;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-content h1 {
        font-size: 36px;
    }
    
    .header-content p {
        font-size: 16px;
    }
    
    .gallery-main {
        padding: 40px 15px;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .card-actions {
        flex-direction: column;
        gap: 10px;
        align-items: stretch;
    }
    
    .card-date {
        text-align: center;
    }
}

/* Case Study Mockup Styles */
.case-study-mockup .case-nav {
    background: #2d3436;
    width: 50px;
}

.case-content-sections {
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 4px;
    padding: 8px;
}

.case-video-section {
    height: 30%;
    background: #636e72;
    border-radius: 2px;
}

.case-chart-section {
    height: 25%;
    background: #b2bec3;
    border-radius: 2px;
}

.case-text-section {
    height: 25%;
    background: #ddd;
    border-radius: 2px;
}

.case-header {
    background: linear-gradient(135deg, #2d3436 0%, #636e72 100%);
    height: 25px;
}

/* Portfolio Mockup Styles */
.portfolio-mockup {
    display: grid;
    grid-template-columns: 1fr 1.5fr 1fr;
    gap: 4px;
    padding: 4px;
}

.portfolio-inputs {
    display: flex;
    flex-direction: column;
    gap: 3px;
    padding: 4px;
}

.input-slider {
    height: 8px;
    background: #b2bec3;
    border-radius: 4px;
}

.input-buttons {
    height: 12px;
    background: #ddd;
    border-radius: 2px;
    margin-top: 2px;
}

.portfolio-viz {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 4px;
}

.pie-chart-mockup {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: conic-gradient(#2d3436 0deg 216deg, #636e72 216deg 306deg, #b2bec3 306deg 342deg, #ddd 342deg 360deg);
}

.chart-controls-mockup {
    width: 60px;
    height: 8px;
    background: #f1f3f4;
    border-radius: 4px;
}

.portfolio-analysis {
    display: flex;
    flex-direction: column;
    gap: 3px;
    padding: 4px;
}

.metrics-mockup {
    height: 20px;
    background: #f8f9fa;
    border-radius: 2px;
    border-left: 2px solid #2d3436;
}

.recommendations-mockup {
    height: 15px;
    background: #e9ecef;
    border-radius: 2px;
}

@media (max-width: 480px) {
    .gallery-header {
        padding: 40px 15px;
    }
    
    .header-content h1 {
        font-size: 28px;
    }
    
    .card-info {
        padding: 20px;
    }
}