/* ==========================================================================
   VIODUS LUXURY ONLINE CATALOG COMPONENT
   ========================================================================== */

.viodus-catalog-section {
    position: relative;
    padding: 90px 20px;
    background: linear-gradient(180deg, #0b1120 0%, #0f172a 50%, #090e17 100%);
    color: #f8fafc;
    overflow: hidden;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* Ambient glow accents */
.voc-glow {
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    filter: blur(140px);
    pointer-events: none;
    z-index: 1;
    opacity: 0.18;
}
.voc-glow-left {
    top: 10%;
    left: -150px;
    background: radial-gradient(circle, #BA9C5E 0%, transparent 70%);
}
.voc-glow-right {
    bottom: 5%;
    right: -150px;
    background: radial-gradient(circle, #38bdf8 0%, transparent 70%);
}

.voc-container {
    max-width: 1240px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

/* Glassmorphism Card Frame */
.voc-card-wrapper {
    display: grid;
    grid-template-columns: 420px 1fr;
    gap: 60px;
    align-items: center;
    background: rgba(30, 41, 59, 0.45);
    border: 1px solid rgba(186, 156, 94, 0.28);
    border-radius: 24px;
    padding: 60px 50px;
    box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

/* ==========================================================================
   3D BOOK / CATALOG STAGE & HOVER
   ========================================================================== */

.voc-cover-column {
    display: flex;
    justify-content: center;
    perspective: 1200px;
}

.voc-book-stage {
    position: relative;
    width: 320px;
    max-width: 100%;
}

.voc-book-card {
    position: relative;
    cursor: pointer;
    outline: none;
    transform-style: preserve-3d;
    transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.voc-book-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    background: linear-gradient(135deg, #BA9C5E 0%, #997e3f 100%);
    color: #0b1120;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.2px;
    padding: 6px 14px;
    border-radius: 999px;
    z-index: 10;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.4);
    text-transform: uppercase;
}

.voc-book-3d {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    transform: rotateY(-6deg) rotateX(2deg);
    transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.5s ease;
    box-shadow: -10px 18px 35px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(186, 156, 94, 0.3);
    background: #000;
}

.voc-book-card:hover .voc-book-3d,
.voc-book-card:focus .voc-book-3d {
    transform: rotateY(0deg) rotateX(0deg) translateY(-8px) scale(1.02);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.8), 0 0 30px rgba(186, 156, 94, 0.4);
}

.voc-book-spine {
    position: absolute;
    top: 0;
    left: 0;
    width: 6px;
    height: 100%;
    background: linear-gradient(90deg, rgba(0,0,0,0.4) 0%, rgba(255,255,255,0.08) 50%, transparent 100%);
    z-index: 4;
    pointer-events: none;
}

.voc-book-picture {
    display: block;
    width: 100%;
    height: auto;
}

.voc-book-cover {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
    aspect-ratio: 665 / 887;
    transition: transform 0.5s ease;
}

.voc-book-glare {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.2) 0%, rgba(255,255,255,0) 50%);
    pointer-events: none;
    z-index: 3;
}

.voc-book-hover-cta {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.75);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 5;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    color: #fff;
}

.voc-book-card:hover .voc-book-hover-cta,
.voc-book-card:focus .voc-book-hover-cta {
    opacity: 1;
}

.voc-hover-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, #BA9C5E 0%, #876c35 100%);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
    transform: scale(0.8);
    transition: transform 0.3s ease;
}

.voc-book-card:hover .voc-hover-icon {
    transform: scale(1);
}

.voc-hover-text {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: #f8fafc;
    text-shadow: 0 2px 4px rgba(0,0,0,0.6);
}

.voc-book-shadow {
    position: absolute;
    bottom: -25px;
    left: 10%;
    width: 80%;
    height: 25px;
    background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.7) 0%, transparent 70%);
    filter: blur(8px);
    pointer-events: none;
}

/* ==========================================================================
   INFO COLUMN TYPOGRAPHY & FEATURES
   ========================================================================== */

.voc-info-column {
    display: flex;
    flex-direction: column;
}

.voc-badge-row {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.voc-pill-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(186, 156, 94, 0.15);
    color: #d8b877;
    border: 1px solid rgba(186, 156, 94, 0.4);
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.2px;
}

.voc-meta-text {
    font-size: 13px;
    color: #94a3b8;
    font-weight: 500;
}

.voc-title {
    font-size: 38px;
    line-height: 1.15;
    font-weight: 800;
    margin: 0 0 10px 0;
    color: #ffffff;
    letter-spacing: -0.5px;
}

.voc-subtitle {
    font-size: 17px;
    font-weight: 600;
    color: #BA9C5E;
    margin: 0 0 20px 0;
    letter-spacing: 0.2px;
}

.voc-desc {
    font-size: 15px;
    line-height: 1.65;
    color: #cbd5e1;
    margin: 0 0 28px 0;
}

.voc-desc strong {
    color: #f1f5f9;
    font-weight: 600;
}

/* Features 2x2 Grid */
.voc-features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 34px;
}

.voc-feat-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: rgba(15, 23, 42, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 14px 16px;
    transition: border-color 0.3s ease, background 0.3s ease;
}

.voc-feat-item:hover {
    border-color: rgba(186, 156, 94, 0.35);
    background: rgba(15, 23, 42, 0.7);
}

.voc-feat-icon {
    flex-shrink: 0;
    margin-top: 2px;
}

.voc-feat-text {
    display: flex;
    flex-direction: column;
}

.voc-feat-text strong {
    font-size: 14px;
    color: #f8fafc;
    font-weight: 700;
    margin-bottom: 2px;
}

.voc-feat-text span {
    font-size: 12px;
    line-height: 1.4;
    color: #94a3b8;
}

/* ==========================================================================
   ACTION BUTTONS
   ========================================================================== */

.voc-actions-group {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 18px;
}

.voc-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 24px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.3px;
    text-decoration: none !important;
    transition: all 0.25s ease;
    cursor: pointer;
    border: none;
    outline: none;
    line-height: 1;
}

/* Primary Button: Luxury Gold */
.voc-btn-primary {
    background: linear-gradient(135deg, #BA9C5E 0%, #997e3f 100%);
    color: #090e17 !important;
    box-shadow: 0 10px 20px -5px rgba(186, 156, 94, 0.45);
}

.voc-btn-primary:hover {
    background: linear-gradient(135deg, #cbb075 0%, #aa8d49 100%);
    transform: translateY(-2px);
    box-shadow: 0 14px 26px -5px rgba(186, 156, 94, 0.6);
    color: #090e17 !important;
}

/* Secondary Button: Clean Outline */
.voc-btn-secondary {
    background: rgba(255, 255, 255, 0.06);
    color: #f8fafc !important;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.voc-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-2px);
    color: #ffffff !important;
}

/* WhatsApp Inquiry Button */
.voc-btn-whatsapp {
    background: #25D366;
    color: #ffffff !important;
    box-shadow: 0 10px 20px -5px rgba(37, 211, 102, 0.35);
}

.voc-btn-whatsapp:hover {
    background: #20ba59;
    transform: translateY(-2px);
    box-shadow: 0 14px 26px -5px rgba(37, 211, 102, 0.5);
    color: #ffffff !important;
}

.voc-footer-note {
    font-size: 13px;
    color: #BA9C5E;
    font-weight: 500;
}

/* ==========================================================================
   INTERACTIVE PDF VIEWER LIGHTBOX MODAL
   ========================================================================== */

.voc-modal {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.voc-modal.is-open {
    opacity: 1;
    visibility: visible;
}

.voc-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(9, 14, 23, 0.88);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.voc-modal-container {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1100px;
    height: 90vh;
    background: #0f172a;
    border: 1px solid rgba(186, 156, 94, 0.35);
    border-radius: 18px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 25px 60px -10px rgba(0, 0, 0, 0.8), 0 0 30px rgba(186, 156, 94, 0.2);
    transform: scale(0.95);
    transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.voc-modal.is-open .voc-modal-container {
    transform: scale(1);
}

.voc-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 24px;
    background: #0b1120;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.voc-modal-title-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
}

.voc-modal-badge {
    background: rgba(186, 156, 94, 0.2);
    color: #d8b877;
    font-size: 11px;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 6px;
    letter-spacing: 0.8px;
}

.voc-modal-title {
    font-size: 16px;
    font-weight: 700;
    color: #f8fafc;
    margin: 0;
}

.voc-modal-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.voc-modal-action-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: #cbd5e1 !important;
    text-decoration: none !important;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 8px 14px;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.voc-modal-action-btn:hover {
    background: rgba(255, 255, 255, 0.16);
    color: #ffffff !important;
}

.voc-modal-close {
    width: 38px;
    height: 38px;
    border-radius: 8px;
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #f87171;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    padding: 0;
}

.voc-modal-close:hover {
    background: #ef4444;
    color: #ffffff;
    transform: scale(1.05);
}

.voc-modal-body {
    position: relative;
    flex: 1;
    width: 100%;
    height: calc(100% - 70px);
    background: #1e293b;
}

.voc-iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
    position: relative;
    z-index: 2;
}

.voc-modal-loader {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    color: #94a3b8;
    font-size: 14px;
    z-index: 1;
}

.voc-spinner {
    width: 44px;
    height: 44px;
    border: 3px solid rgba(186, 156, 94, 0.2);
    border-top-color: #BA9C5E;
    border-radius: 50%;
    animation: vocSpin 0.9s linear infinite;
}

@keyframes vocSpin {
    to { transform: rotate(360deg); }
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS
   ========================================================================== */

@media (max-width: 991px) {
    .voc-card-wrapper {
        grid-template-columns: 1fr;
        padding: 40px 30px;
        gap: 40px;
    }

    .voc-cover-column {
        order: 1;
    }

    .voc-info-column {
        order: 2;
        text-align: center;
    }

    .voc-badge-row {
        justify-content: center;
    }

    .voc-title {
        font-size: 30px;
    }

    .voc-subtitle {
        font-size: 16px;
    }

    .voc-features-grid {
        text-align: left;
    }

    .voc-actions-group {
        justify-content: center;
    }

    .voc-modal {
        padding: 10px;
    }

    .voc-modal-container {
        height: 94vh;
    }
}

@media (max-width: 640px) {
    .viodus-catalog-section {
        padding: 50px 12px;
    }

    .voc-card-wrapper {
        padding: 32px 16px;
        border-radius: 18px;
    }

    .voc-book-stage {
        width: 220px;
    }

    .voc-title {
        font-size: 23px;
        line-height: 1.25;
        word-break: break-word;
    }

    .voc-subtitle {
        font-size: 15px;
    }

    .voc-meta-text {
        font-size: 12px;
    }

    .voc-features-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .voc-actions-group {
        flex-direction: column;
        width: 100%;
    }

    .voc-btn {
        width: 100%;
    }

    .voc-modal-header {
        padding: 12px 14px;
    }

    .voc-modal-title {
        font-size: 14px;
    }

    .voc-modal-action-btn span {
        display: none;
    }
}
