/**
 * Frontend Mockup Display Styles
 * Matching the design spec with blue gradient header, card grid, 3D button
 * 
 * @package Ourofino_Mockup_3D
 * @since 1.0.0
 */

/* ========================================
   PAGE WRAPPER
   ======================================== */
.mockup-page-wrapper {
    position: relative;
    z-index: 10;
}

/* ========================================
   HEADER - Blue gradient
   ======================================== */
.mockup-page-header {
    background: linear-gradient(to right, rgb(19, 60, 121), rgb(25, 75, 145));
    color: #fff;
    padding: 2rem 1rem;
}

.mockup-page-header-inner {
    max-width: 80rem;
    margin: 0 auto;
}

.mockup-back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    margin-bottom: 1rem;
    font-size: 0.95rem;
    transition: color 0.2s;
}

.mockup-back-link:hover {
    color: #fff;
}

.mockup-back-link svg {
    width: 1.25rem;
    height: 1.25rem;
}

.mockup-page-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0;
    color: #fff;
    line-height: 1.2;
}

.mockup-page-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin: 0.5rem 0 0;
}

/* ========================================
   CONTENT AREA
   ======================================== */
.mockup-page-content {
    padding: 2rem 1rem;
    background: #f3f4f6;
    min-height: 60vh;
}

.mockup-page-content-inner {
    max-width: 80rem;
    margin: 0 auto;
}

/* ========================================
   CARDS GRID
   ======================================== */
.mockup-cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

/* ========================================
   CARD V2
   ======================================== */
.mockup-card-v2 {
    background: #fff;
    border-radius: 1rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: box-shadow 0.3s ease, transform 0.2s ease;
}

.mockup-card-v2:hover {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.mockup-card-v2-image {
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: #f9fafb;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.mockup-card-v2-image img,
.mockup-card-v2-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0.75rem;
    transition: transform 0.3s ease;
}

.mockup-card-v2:hover .mockup-card-v2-image img,
.mockup-card-v2:hover .mockup-card-v2-img {
    transform: scale(1.05);
}

.mockup-card-v2-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    font-weight: 700;
    color: #9ca3af;
    background: #f3f4f6;
    border-radius: 0.75rem;
}

.mockup-card-v2-body {
    padding: 1rem;
}

.mockup-card-v2-title {
    font-size: 1rem;
    font-weight: 700;
    color: #072047;
    margin: 0 0 0.75rem;
    text-align: center;
}

.mockup-card-v2-button {
    display: block;
    width: 100%;
    background: #072047;
    color: #fff;
    padding: 0.625rem 1rem;
    border-radius: 0.75rem;
    font-weight: 600;
    font-size: 0.95rem;
    text-align: center;
    text-decoration: none;
    transition: background-color 0.3s ease;
    border: none;
    cursor: pointer;
}

.mockup-card-v2-button:hover {
    background: #10AD31;
    color: #fff;
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 1023px) {
    .mockup-cards-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .mockup-page-title {
        font-size: 2rem;
    }
}

@media (max-width: 767px) {
    .mockup-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .mockup-page-title {
        font-size: 1.75rem;
    }
    
    .mockup-page-subtitle {
        font-size: 1rem;
    }
}

@media (max-width: 479px) {
    .mockup-cards-grid {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   SINGLE MOCKUP VIEWER
   ======================================== */
.mockup-viewer-container {
    width: 100%;
    height: calc(100vh - 10rem);
    margin: 0;
    padding: 0;
    overflow: hidden;
}

.mockup-viewer {
    width: 100%;
    height: 100%;
}

.mockup-iframe-wrapper {
    width: 100%;
    height: 100%;
    position: relative;
}

.mockup-iframe-wrapper iframe {
    width: 100%;
    height: 100%;
    aspect-ratio: 16 / 9;
    border: 0;
    display: block;
}

/* ========================================
   EMPTY STATE
   ======================================== */
.mockup-empty-state {
    text-align: center;
    padding: 3rem 2rem;
    background: #fff;
    border-radius: 1rem;
    max-width: 42rem;
    margin: 0 auto;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
}

.mockup-empty-state-icon {
    margin: 0 auto 1.5rem;
    width: 4rem;
    height: 4rem;
    background: linear-gradient(to right, rgb(19, 60, 121), rgb(25, 75, 145));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

.mockup-empty-state-title {
    font-size: 1.875rem;
    font-weight: 700;
    color: #072047;
    margin: 0 0 1rem;
}

.mockup-empty-state-description {
    font-size: 1.1rem;
    color: #6b7280;
    line-height: 1.6;
    margin: 0 0 2rem;
}

.mockup-features-preview {
    margin: 2rem 0;
    text-align: left;
}

.mockup-features-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #072047;
    margin: 0 0 1rem;
    text-align: center;
}

.mockup-features-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
}

.mockup-feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background: #f8fafc;
    border-radius: 0.5rem;
    border-left: 3px solid #10AD31;
}

.mockup-feature-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.mockup-feature-text {
    font-size: 0.9rem;
    color: #374151;
    font-weight: 500;
}

.mockup-empty-state-actions {
    margin-top: 2rem;
}

.mockup-empty-state-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #072047;
    color: #fff;
    padding: 0.875rem 2rem;
    border-radius: 0.75rem;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.mockup-empty-state-button:hover {
    background: #10AD31;
    color: #fff;
    text-decoration: none;
}

@media (max-width: 640px) {
    .mockup-features-list {
        grid-template-columns: 1fr;
    }
    
    .mockup-empty-state {
        padding: 2rem 1rem;
    }
    
    .mockup-empty-state-title {
        font-size: 1.5rem;
    }
    
    .mockup-empty-state-description {
        font-size: 1rem;
    }
}
