/**
 * GenstarX Inner Pages - Layout only (tema sama dengan index)
 * E-commerce grid & CV layout, tanpa mengubah warna/font dasar template
 */

/* Inner pages: native document scroll + smooth wheel (pages-inner.js) */

.gx-inner-page {
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

/* Scrollbar hidden globally via genstarx-custom.css (gx-smooth-scroll) */

.gx-inner-page #header {
    z-index: 999;
}

.gx-inner-main {
    position: relative;
    z-index: 2;
    text-align: center;
    padding-top: 100px;
    padding-bottom: 80px;
    max-width: 1200px;
    margin: 0 auto;
}

.gx-inner-main .inner-breadcrumb {
    list-style: none;
    padding: 0;
    margin: 0 0 10px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
    font-size: 13px;
    opacity: 0.85;
}

.gx-inner-main .inner-breadcrumb a {
    color: #e8a838;
    text-decoration: none;
}

.gx-inner-main .inner-breadcrumb li + li::before {
    content: '/';
    margin-right: 6px;
    opacity: 0.5;
}

/* ===== E-COMMERCE SHOP LAYOUT ===== */
.inner-shop-wrap {
    text-align: left;
}

.gx-service-filters {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    margin: 0 0 36px;
    padding: 22px 24px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.045));
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 18px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    font-family: "Space Grotesk", sans-serif;
}

.gx-service-filter-heading {
    min-width: 168px;
    text-align: left;
}

.gx-service-filter-kicker {
    display: block;
    margin-bottom: 7px;
    color: #e8a838;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
}

.gx-service-filter-kicker i {
    margin-right: 5px;
}

.gx-service-filter-heading strong {
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
}

.gx-service-filter-controls {
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    gap: 12px;
    flex: 1;
}

.gx-service-filter-field {
    flex: 0 1 205px;
}

.gx-service-filter-field label {
    display: block;
    margin: 0 0 7px 2px;
    color: rgba(255, 255, 255, 0.62);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.gx-service-filter-field select,
.gx-service-filter-field input {
    width: 100%;
    height: 48px;
    padding: 10px 14px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    background: rgba(10, 10, 26, 0.42);
    color: #fff;
    font-family: "Space Grotesk", sans-serif;
    font-size: 13px;
    outline: 0;
    transition: border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.gx-service-filter-field select option {
    color: #222;
    font-family: "Space Grotesk", sans-serif;
}

.gx-service-search {
    flex: 1 1 300px;
}

.gx-service-select-input {
    position: relative;
}

.gx-service-select-input select {
    appearance: none;
    -webkit-appearance: none;
    padding-right: 38px;
}

.gx-service-select-input i {
    position: absolute;
    top: 18px;
    right: 15px;
    color: #e8a838;
    font-size: 11px;
    pointer-events: none;
}

.gx-service-search-input {
    position: relative;
}

.gx-service-search-input i {
    position: absolute;
    top: 17px;
    left: 14px;
    color: #e8a838;
}

.gx-service-search-input input {
    padding-left: 40px;
}

.gx-service-filter-field select:focus,
.gx-service-filter-field input:focus {
    background: rgba(10, 10, 26, 0.62);
    border-color: rgba(232, 168, 56, 0.8);
    box-shadow: 0 0 0 3px rgba(232, 168, 56, 0.12);
}

.gx-service-reset {
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    background: rgba(10, 10, 26, 0.28);
    color: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
}

.gx-service-reset.is-active,
.gx-service-reset:hover,
.gx-service-reset:focus {
    border-color: rgba(232, 168, 56, 0.7);
    background: rgba(232, 168, 56, 0.14);
    color: #e8a838;
    outline: 0;
}

.gx-service-item[hidden] {
    display: none;
}

@media (min-width: 576px) {
    .gx-project-filter-bar {
        flex-wrap: nowrap;
    }

    .gx-project-filter-bar .gx-service-filter-heading {
        flex: 0 1 168px;
        min-width: 0;
    }

    .gx-project-filter-bar .gx-service-filter-controls {
        min-width: 0;
        flex-wrap: nowrap;
    }

    .gx-project-filter-bar .gx-service-filter-field,
    .gx-project-filter-bar .gx-service-search {
        min-width: 0;
    }
}

@media (max-width: 575px) {
    .gx-service-filters {
        display: block;
        margin-bottom: 22px;
        padding: 14px;
        border-radius: 14px;
    }

    .gx-service-filter-heading {
        margin-bottom: 10px;
    }

    .gx-service-filter-heading strong {
        font-size: 14px;
    }

    .gx-service-filter-controls {
        display: grid;
        grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.35fr) 40px;
        align-items: end;
        gap: 6px;
    }

    .gx-service-filter-field,
    .gx-service-search {
        width: 100%;
    }

    .gx-service-search {
        grid-column: 2;
        grid-row: 1;
    }

    .gx-service-filter-controls .gx-service-filter-field:first-child {
        grid-column: 1;
        grid-row: 1;
    }

    .gx-service-reset {
        grid-column: 3;
        grid-row: 1;
        width: 42px;
        height: 42px;
        flex-basis: 40px;
    }

    .gx-service-filter-field select,
    .gx-service-filter-field input {
        height: 42px;
        min-width: 0;
        padding: 8px 9px;
        border-radius: 10px;
        font-size: 12px;
    }

    .gx-service-filter-field label {
        margin-bottom: 5px;
        font-size: 9px;
    }

    .gx-service-select-input i {
        top: 15px;
        right: 12px;
    }

    .gx-service-search-input i {
        top: 14px;
        left: 11px;
    }

    .gx-service-search-input input {
        padding-left: 30px;
        text-overflow: ellipsis;
    }
}

.inner-shop-sidebar {
    background: rgba(250, 250, 250, 0.15);
    border-radius: 10px;
    padding: 24px;
    margin-bottom: 24px;
}

.inner-shop-sidebar h6 {
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 12px;
    opacity: 0.7;
    margin-bottom: 16px;
}

.inner-filter-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.inner-filter-list li a {
    display: block;
    padding: 10px 14px;
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    margin-bottom: 4px;
    transition: all 0.3s;
}

.inner-filter-list li a:hover,
.inner-filter-list li a.active {
    background: rgba(250, 250, 250, 0.25);
    color: #e8a838;
}

.inner-shop-card {
    background: rgba(250, 250, 250, 0.15);
    border-radius: 10px;
    overflow: hidden;
    height: 100%;
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
}

.gx-inner-main .animate {
    will-change: opacity, transform;
}

.inner-shop-card:hover {
    background: rgba(250, 250, 250, 0.28);
    transform: translateY(-4px);
}

.inner-shop-card .shop-thumb {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/3;
}

.inner-shop-card .shop-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px 10px 0 0;
}

.inner-shop-card .shop-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: #e8a838;
    color: #1e1e1e;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;
    text-transform: uppercase;
}

.inner-shop-card .shop-body {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
    text-align: center;
}

.inner-shop-card .shop-body h3 {
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 8px;
}

.inner-shop-card .shop-body h3 a {
    color: #fff;
    text-decoration: none;
}

.inner-shop-card:hover .shop-body h3 a {
    color: #e8a838;
}

.inner-shop-card .shop-price {
    font-size: 16px;
    font-weight: 700;
    color: #e8a838;
    margin-bottom: 10px;
}

.inner-shop-card .shop-meta {
    font-size: 12px;
    opacity: 0.7;
    margin-bottom: 10px;
}

.inner-shop-card .shop-desc {
    font-size: 14px;
    line-height: 1.6;
    opacity: 0.85;
    flex: 1;
    margin-bottom: 16px;
}

.inner-shop-card .shop-body .btn {
    align-self: center;
}

/* ===== DETAIL PAGE LAYOUT ===== */
.inner-detail-wrap {
    text-align: left;
}

.inner-detail-box {
    background: rgba(250, 250, 250, 0.15);
    border-radius: 10px;
    padding: 24px;
    margin-bottom: 24px;
}

.inner-detail-box img {
    width: 100%;
    border-radius: 10px;
}

.inner-detail-info h1 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 16px;
    text-align: left;
}

.inner-detail-tag {
    display: inline-block;
    background: rgba(232, 168, 56, 0.2);
    color: #e8a838;
    font-size: 12px;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 20px;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.inner-detail-price {
    font-size: 24px;
    font-weight: 700;
    color: #e8a838;
    margin-bottom: 16px;
}

.inner-detail-text,
.gx-case-content p {
    width: 100%;
    max-width: 100%;
    line-height: 1.8;
    opacity: 0.9;
    margin-bottom: 24px;
    text-align: justify;
    text-justify: inter-word;
    overflow-wrap: anywhere;
    word-break: normal;
}

@media (max-width: 767px) {
    .inner-detail-text,
    .gx-case-content p {
        line-height: 1.7;
        letter-spacing: normal;
        word-spacing: normal;
        text-align: left;
        text-justify: none;
        hyphens: auto;
        -webkit-hyphens: auto;
    }
}

.inner-detail-meta dt {
    font-size: 12px;
    text-transform: uppercase;
    opacity: 0.6;
    margin-bottom: 4px;
}

.inner-detail-meta dd {
    margin-bottom: 12px;
}

.inner-detail-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 20px;
}

.inner-tabs {
    background: rgba(250, 250, 250, 0.12);
    border-radius: 10px;
    overflow: hidden;
    margin-top: 30px;
    text-align: left;
}

.inner-tab-nav {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.inner-tab-nav li a {
    display: block;
    padding: 14px 24px;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

.inner-tab-nav li.active a,
.inner-tab-nav li a:hover {
    color: #e8a838;
    background: rgba(250, 250, 250, 0.08);
}

.inner-tab-pane {
    display: none;
    padding: 24px;
    line-height: 1.8;
}

.inner-tab-pane.active {
    display: block;
}

.inner-feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.inner-feature-list li {
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.inner-feature-list li i {
    color: #e8a838;
    margin-right: 10px;
}

.inner-related {
    margin-top: 48px;
    text-align: center;
}

.inner-related .title-block {
    margin-bottom: 30px;
}

/* ===== CV LANDING LAYOUT (tema index) ===== */
.inner-cv-grid {
    text-align: center;
}

.inner-cv-card {
    background: rgba(250, 250, 250, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    overflow: hidden;
    height: 100%;
    transition: all 0.4s ease;
    text-align: center;
}

.inner-cv-card:hover {
    background: rgba(250, 250, 250, 0.22);
    border-color: rgba(232, 168, 56, 0.4);
    transform: translateY(-6px);
}

.inner-cv-card .cv-photo {
    height: 260px;
    overflow: hidden;
}

.inner-cv-card .cv-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.inner-cv-card .cv-body {
    padding: 24px 20px;
}

.inner-cv-card .cv-name {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 6px;
}

.inner-cv-card .cv-role {
    color: #e8a838;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 12px;
}

.inner-cv-card .cv-bio {
    font-size: 14px;
    opacity: 0.8;
    line-height: 1.6;
    margin-bottom: 16px;
}

.inner-cv-card .cv-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: center;
    margin-bottom: 20px;
}

.inner-cv-card .tech-badge {
    font-size: 11px;
    padding: 4px 10px;
    border-radius: 20px;
    background: rgba(232, 168, 56, 0.15);
    color: #e8a838;
    border: 1px solid rgba(232, 168, 56, 0.3);
}

/* CV Detail Profile */
.inner-cv-profile {
    text-align: left;
}

.inner-cv-hero {
    background: rgba(250, 250, 250, 0.1);
    border-radius: 12px;
    padding: 40px;
    margin-bottom: 30px;
    text-align: center;
}

.inner-cv-hero .cv-photo-lg {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid rgba(232, 168, 56, 0.5);
    margin: 0 auto 24px;
}

.inner-cv-hero .cv-photo-lg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.inner-cv-hero h1 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 8px;
}

.inner-cv-hero .cv-role-lg {
    color: #e8a838;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 14px;
    margin-bottom: 16px;
}

.inner-cv-hero .cv-tagline {
    max-width: 600px;
    margin: 0 auto 24px;
    line-height: 1.8;
    opacity: 0.9;
}

.inner-cv-section {
    background: rgba(250, 250, 250, 0.1);
    border-radius: 12px;
    padding: 32px;
    margin-bottom: 24px;
}

.inner-cv-section h2 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 20px;
    text-align: center;
}

.inner-cv-section h2 span {
    color: #e8a838;
}

.inner-skill-item {
    margin-bottom: 18px;
}

.inner-skill-item .skill-label {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 14px;
}

.inner-skill-item .skill-bar {
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
}

.inner-skill-item .skill-fill {
    height: 100%;
    background: linear-gradient(90deg, #e8a838, #39ced6);
    border-radius: 4px;
}

.inner-back-link {
    display: inline-block;
    color: #e8a838;
    margin-bottom: 20px;
    text-decoration: none;
}

.inner-back-link:hover {
    color: #fff;
    text-decoration: underline;
}

.inner-empty {
    text-align: center;
    padding: 60px 20px;
    opacity: 0.7;
}

@media (max-width: 768px) {
    .gx-inner-main {
        padding-top: 80px;
        padding-left: 15px;
        padding-right: 15px;
    }

    .inner-cv-hero {
        padding: 24px;
    }

    .inner-cv-hero h1 {
        font-size: 24px;
    }
}
