/**
 * Portfolio Styles
 * 
 * @package Vendom
 */

/* Portfolio Section */
.portfolio-section {
    padding: 0 0 120px 0 !important;
}

.portfolio-header {
    text-align: center;
    margin-bottom: 80px;
}

.portfolio-main-title {
    font-family: 'Playfair Display', serif;
    font-size: 48px;
    margin: 0 0 20px 0;
    font-weight: 700;
}

.portfolio-subtitle {
    font-family: 'Satoshi', sans-serif;
    font-size: 18px;
    margin: 0;
}

/* Portfolio Grid */
.vendom-portfolio-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 40px !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
    width: 100% !important;
    max-width: 100% !important;
}

/* Project Card */
.vendom-project-card {
    position: relative;
    height: 400px;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    background: #1a1a1a;
    transition: all 0.3s ease;
    width: 100%;
    max-width: 100%;
}

.vendom-project-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(124, 58, 237, 0.4);
}

/* Media Wrapper */
.project-media-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

.project-thumbnail,
.project-preview-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.project-thumbnail {
    z-index: 1;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.project-preview-video {
    z-index: 2;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.vendom-project-card:hover .project-thumbnail {
    opacity: 0.3;
}

.vendom-project-card:hover .project-preview-video {
    opacity: 1;
}

/* Project Info */
.project-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px;
    background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.7) 50%, transparent 100%);
    z-index: 10;
}

.project-title {
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    color: #ffffff;
    margin: 0 0 12px 0;
    font-weight: 600;
    line-height: 1.3;
}

.project-category {
    display: inline-block;
    padding: 6px 16px;
    background: #7C3AED;
    border-radius: 20px;
    font-size: 13px;
    font-family: 'Satoshi', sans-serif;
    color: white;
    font-weight: 500;
}

/* Empty State */
.portfolio-empty {
    text-align: center;
    padding: 60px 20px;
}

.portfolio-empty p {
    color: #666666;
    font-family: 'Satoshi', sans-serif;
    font-size: 18px;
    margin-bottom: 30px;
}

/* ===================== MODAL ===================== */
.vendom-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 99999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.vendom-modal.active {
    display: block;
    opacity: 1;
}

/* Background Video */
.modal-bg-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.modal-bg-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    filter: blur(15px);
    transition: filter 0.5s ease;
    will-change: filter;
}

.modal-bg-video.no-blur {
    filter: blur(0px);
}

.modal-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(0px);
    -webkit-backdrop-filter: blur(0px);
    transition: background 0.5s ease;
}

.modal-bg-overlay.dim {
    background: rgba(0, 0, 0, 0.2);
}

/* Close Button */
.vendom-modal-close {
    position: fixed;
    top: 40px;
    right: 40px;
    width: 55px;
    height: 55px;
    background: rgba(26, 26, 26, 0.9);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: white;
    font-size: 22px;
    cursor: pointer;
    z-index: 100000;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.vendom-modal-close:hover {
    background: #7C3AED;
    transform: rotate(90deg) scale(1.1);
    border-color: #7C3AED;
    box-shadow: 0 0 30px rgba(124, 58, 237, 0.8);
}

/* Sidebar Toggle Button (Hidden on Desktop) */
.modal-sidebar-toggle {
    display: none;
    position: fixed;
    top: 90px;
    left: 15px;
    width: 45px;
    height: 45px;
    background: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    color: white;
    font-size: 20px;
    cursor: pointer;
    z-index: 100000;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.modal-sidebar-toggle:hover {
    background: #7C3AED;
    border-color: #7C3AED;
}


/* Modal Container */
.vendom-modal-container {
    position: relative;
    width: 100%;
    height: 100vh;
    display: grid;
    grid-template-columns: 450px 1fr;
    grid-template-rows: 1fr auto;
    gap: 0;
    padding: 0;
    z-index: 10;
    overflow: hidden;
}

/* Sidebar - Left */
.modal-sidebar {
    grid-column: 1;
    grid-row: 1 / 3;
    background: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(40px);
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    padding: 120px 50px 50px;
    overflow-y: auto;
    transition: all 0.5s ease;
    margin: 30px 0 30px 30px;
    border-radius: 25px;
    animation: slideInLeft 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.modal-sidebar.transparent {
    background: rgba(26, 26, 26, 0.45);
    backdrop-filter: blur(80px) saturate(180%);
    -webkit-backdrop-filter: blur(80px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    animation: sidebarGlass 0.5s ease;
}

@keyframes sidebarGlass {
    from {
        background: rgba(26, 26, 26, 0.95);
        backdrop-filter: blur(40px);
    }
    to {
        background: rgba(26, 26, 26, 0.45);
        backdrop-filter: blur(80px) saturate(180%);
    }
}

.modal-sidebar-inner {
    color: white;
}

.modal-project-title {
    font-family: 'Playfair Display', serif;
    font-size: 36px;
    color: #ffffff;
    margin: 0 0 20px 0;
    font-weight: 700;
    line-height: 1.2;
}

.modal-project-category {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(124, 58, 237, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 25px;
    font-size: 14px;
    font-family: 'Satoshi', sans-serif;
    color: white;
    font-weight: 600;
    margin-bottom: 30px;
}

.modal-project-meta {
    display: flex;
    gap: 30px;
    margin: 30px 0;
    padding: 25px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.meta-item {
    flex: 1;
}

.meta-item .meta-label {
    color: #7C3AED;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 8px;
    font-family: 'Futura', sans-serif;
}

.meta-item .meta-value {
    font-family: 'Satoshi', sans-serif;
    font-size: 18px;
    color: white;
    font-weight: 500;
}

.modal-project-desc {
    font-family: 'Satoshi', sans-serif;
    font-size: 15px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 25px;
}

/* Gallery Wrapper - Bottom Full Width */
.modal-gallery-wrapper {
    grid-column: 2;
    grid-row: 2;
    position: relative;
    z-index: 20;
    align-self: end;
}

/* Gallery Toggle Button */
.gallery-toggle-btn {
    width: calc(100% - 60px);
    margin: 0 30px;
    padding: 18px 40px;
    background: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(30px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: none;
    border-radius: 20px 20px 0 0;
    color: white;
    font-family: 'Satoshi', sans-serif;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
    animation: slideInUp 0.7s cubic-bezier(0.4, 0, 0.2, 1) 0.3s backwards;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.gallery-toggle-btn:hover {
    background: rgba(124, 58, 237, 0.3);
}

.gallery-toggle-btn .toggle-icon {
    margin-left: auto;
    transition: transform 0.3s ease;
}

.gallery-toggle-btn.collapsed .toggle-icon {
    transform: rotate(180deg);
}

/* Gallery Section */
.modal-gallery-section {
    width: calc(100% - 60px);
    margin: 0 30px 30px 30px;
    background: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(40px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-top: none;
    border-radius: 0 0 20px 20px;
    padding: 0;
    max-height: 180px;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
    opacity: 1;
}

.modal-gallery-section.collapsed {
    max-height: 0;
    opacity: 0;
    border: none;
}

.modal-gallery-scroll {
    position: relative;
    padding: 20px 50px;
    overflow: visible;
}

.modal-gallery-scroll .swiper {
    overflow: visible;
    display: flex;
    width: 100%;
}

.modal-gallery-scroll .swiper-wrapper {
    display: flex !important;
    flex-direction: row !important;
    align-items: center;
}

.modal-gallery-scroll .swiper-slide {
    width: auto;
    flex-shrink: 0;
    height: auto;
}

.modal-gallery-scroll .swiper-slide .gallery-item {
    width: 180px;
    height: 120px;
}


.modal-gallery-scroll::-webkit-scrollbar {
    height: 8px;
}

.modal-gallery-scroll::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    margin: 0 60px;
}

.modal-gallery-scroll::-webkit-scrollbar-thumb {
    background: rgba(124, 58, 237, 0.8);
    border-radius: 10px;
}

.modal-gallery-scroll::-webkit-scrollbar-thumb:hover {
    background: #7C3AED;
}

/* Hide scrollbar but keep functionality */
.modal-gallery-scroll {
    scrollbar-width: thin;
    scrollbar-color: rgba(124, 58, 237, 0.8) rgba(255, 255, 255, 0.05);
}

.gallery-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    width: 180px;
    height: 120px;
}

.gallery-item:hover {
    border-color: #7C3AED;
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(124, 58, 237, 0.6);
}

.gallery-item.active {
    border-color: #7C3AED;
    box-shadow: 0 0 20px rgba(124, 58, 237, 0.8);
}

.gallery-item img,
.gallery-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-item.is-video::after {
    content: '\f04b';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 40px;
    opacity: 0.8;
    pointer-events: none;
}

/* Scrollbar for Sidebar */
.modal-sidebar::-webkit-scrollbar {
    width: 6px;
}

.modal-sidebar::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
}

.modal-sidebar::-webkit-scrollbar-thumb {
    background: rgba(124, 58, 237, 0.8);
    border-radius: 10px;
}

.modal-sidebar::-webkit-scrollbar-thumb:hover {
    background: #7C3AED;
}

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

/*
 * 1200px altı: Sidebar dar, grid 2 kolon
 * 1024px altı: Sidebar drawer olur, tam ekran modal
 * 768px altı: Grid tek kolon, her şey mobil uyumlu
 * 480px altı: Küçük ekran ince ayarları
 */

/* --- 1200px: Sidebar daralt, grid 2 kolon --- */
@media (max-width: 1200px) {
    .vendom-portfolio-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 30px !important;
    }

    .vendom-modal-container {
        grid-template-columns: 360px 1fr;
    }

    .modal-sidebar {
        padding: 100px 35px 35px;
        margin: 20px 0 20px 20px;
        border-radius: 20px;
    }

    .modal-project-title {
        font-size: 30px;
    }

    .modal-project-meta {
        gap: 20px;
    }

    .meta-item .meta-value {
        font-size: 16px;
    }

    .modal-project-desc {
        font-size: 14px;
    }

    .vendom-modal-close {
        top: 30px;
        right: 30px;
        width: 50px;
        height: 50px;
        font-size: 20px;
    }

    .gallery-toggle-btn {
        width: calc(100% - 40px);
        margin: 0 20px;
        padding: 16px 30px;
        font-size: 14px;
    }

    .modal-gallery-section {
        width: calc(100% - 40px);
        margin: 0 20px 20px 20px;
        max-height: 160px;
    }

    .modal-gallery-scroll {
        padding: 18px 40px;
    }

    .modal-gallery-scroll .swiper-slide .gallery-item {
        width: 160px;
        height: 105px;
    }
}

/* --- 1024px: Sidebar drawer, full-width layout --- */
@media (max-width: 1024px) {
    .vendom-modal-container {
        grid-template-columns: 1fr;
        grid-template-rows: 1fr auto;
        padding: 0;
    }

    /* Sidebar: off-canvas drawer soldan açılır */
    .modal-sidebar {
        position: fixed;
        left: -100%;
        top: 0;
        bottom: 0;
        width: 85%;
        max-width: 380px;
        height: 100vh;
        grid-column: auto;
        grid-row: auto;
        margin: 0;
        border-radius: 0;
        border-right: 1px solid rgba(255, 255, 255, 0.15);
        padding: 90px 30px 30px;
        z-index: 100001;
        transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        overflow-y: auto;
        animation: none;
    }

    .modal-sidebar.open {
        left: 0;
        box-shadow: 5px 0 30px rgba(0, 0, 0, 0.5);
    }

    /* Sidebar toggle butonu göster */
    .modal-sidebar-toggle {
        display: flex;
    }

    .modal-project-title {
        font-size: 28px;
    }

    .modal-project-desc {
        font-size: 14px;
        line-height: 1.7;
    }

    /* Gallery tam genişlik */
    .modal-gallery-wrapper {
        grid-column: 1;
        grid-row: 2;
    }

    .gallery-toggle-btn {
        width: calc(100% - 40px);
        margin: 0 20px;
        padding: 16px 30px;
    }

    .modal-gallery-section {
        width: calc(100% - 40px);
        margin: 0 20px 20px 20px;
        max-height: 160px;
    }

    .modal-gallery-scroll {
        padding: 18px 35px;
    }

    .modal-gallery-scroll .swiper-slide .gallery-item {
        width: 155px;
        height: 105px;
    }
}

/* --- 768px: Mobil düzen --- */
@media (max-width: 768px) {
    /* Portfolio grid tek kolon */
    .portfolio-section {
        padding: 0 0 80px 0 !important;
    }

    .portfolio-main-title {
        font-size: 36px !important;
    }

    .vendom-portfolio-grid {
        grid-template-columns: 1fr !important;
        gap: 25px !important;
    }

    .vendom-project-card {
        height: 320px !important;
    }

    /* Modal butonlar */
    .vendom-modal-close {
        top: 20px;
        right: 20px;
        width: 46px;
        height: 46px;
        font-size: 18px;
    }

    .modal-sidebar-toggle {
        display: flex;
        top: 20px;
        left: 20px;
        width: 46px;
        height: 46px;
        font-size: 18px;
    }

    /* Sidebar mobil */
    .modal-sidebar {
        width: 88%;
        max-width: 340px;
        padding: 80px 25px 25px;
    }

    .modal-project-title {
        font-size: 24px;
        margin-bottom: 15px;
    }

    .modal-project-category {
        font-size: 13px;
        padding: 6px 16px;
        margin-bottom: 20px;
    }

    .modal-project-meta {
        gap: 20px;
        margin: 20px 0;
        padding: 20px 0;
    }

    .meta-item .meta-label {
        font-size: 10px;
        letter-spacing: 1.2px;
        margin-bottom: 6px;
    }

    .meta-item .meta-value {
        font-size: 15px;
    }

    .modal-project-desc {
        font-size: 13px;
        line-height: 1.7;
        margin-top: 20px;
    }

    /* Gallery wrapper - tam genişlik, altta sabit */
    .modal-gallery-wrapper {
        grid-column: 1;
        grid-row: 2;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 100000;
    }

    .gallery-toggle-btn {
        width: calc(100% - 30px);
        margin: 0 15px;
        padding: 14px 24px;
        font-size: 13px;
        border-radius: 16px 16px 0 0;
        box-sizing: border-box;
    }

    .modal-gallery-section {
        width: calc(100% - 30px);
        margin: 0 15px 0 15px;
        max-height: 140px;
        border-radius: 0;
        box-sizing: border-box;
        overflow: hidden;
    }

    /* Swiper overflow düzeltmesi - mobilde taşmayı engelle */
    .modal-gallery-scroll {
        padding: 12px 15px;
        overflow: hidden;
    }

    .modal-gallery-scroll .swiper {
        overflow: hidden;
        width: 100%;
    }

    .modal-gallery-scroll .swiper-wrapper {
        display: flex !important;
        flex-direction: row !important;
        align-items: center;
    }

    .modal-gallery-scroll .swiper-slide {
        width: auto !important;
        flex-shrink: 0;
    }

    .modal-gallery-scroll .swiper-slide .gallery-item {
        width: 120px;
        height: 82px;
    }

    .gallery-item {
        border-radius: 8px;
        width: 120px;
        height: 82px;
    }

    .gallery-item:hover {
        transform: none;
    }

    .gallery-item.is-video::after {
        font-size: 24px;
    }
}

/* --- 480px: Küçük mobil --- */
@media (max-width: 480px) {
    .vendom-project-card {
        height: 260px !important;
    }

    .project-info {
        padding: 18px;
    }

    .project-title {
        font-size: 16px;
        margin-bottom: 8px;
    }

    .project-category {
        font-size: 11px;
        padding: 4px 12px;
    }

    /* Modal butonlar */
    .vendom-modal-close {
        top: 14px;
        right: 14px;
        width: 42px;
        height: 42px;
        font-size: 16px;
    }

    .modal-sidebar-toggle {
        top: 14px;
        left: 14px;
        width: 42px;
        height: 42px;
        font-size: 16px;
        border-radius: 10px;
    }

    /* Sidebar küçük mobil */
    .modal-sidebar {
        width: 92%;
        max-width: 300px;
        padding: 70px 20px 20px;
    }

    .modal-project-title {
        font-size: 22px;
        margin-bottom: 12px;
    }

    .modal-project-category {
        font-size: 12px;
        padding: 5px 14px;
        margin-bottom: 16px;
    }

    .modal-project-meta {
        flex-direction: column;
        gap: 12px;
        margin: 16px 0;
        padding: 16px 0;
    }

    .meta-item .meta-value {
        font-size: 14px;
    }

    .modal-project-desc {
        font-size: 13px;
        line-height: 1.6;
        margin-top: 16px;
    }

    /* Gallery küçük mobil */
    .gallery-toggle-btn {
        width: calc(100% - 20px);
        margin: 0 10px;
        padding: 12px 18px;
        font-size: 12px;
        gap: 8px;
        border-radius: 14px 14px 0 0;
    }

    .modal-gallery-section {
        width: calc(100% - 20px);
        margin: 0 10px 0 10px;
        max-height: 120px;
    }

    .modal-gallery-scroll {
        padding: 10px 12px;
    }

    .modal-gallery-scroll .swiper-slide .gallery-item {
        width: 100px;
        height: 70px;
    }

    .gallery-item {
        border-radius: 6px;
        border-width: 1.5px;
        width: 100px;
        height: 70px;
    }

    .gallery-item.is-video::after {
        font-size: 20px;
    }
}

/* --- 375px: Standard Mobile modal --- */
@media (max-width: 375px) {
    .vendom-modal-close {
        top: 12px;
        right: 12px;
        width: 38px;
        height: 38px;
        font-size: 15px;
    }

    .modal-sidebar-toggle {
        top: 12px;
        left: 12px;
        width: 38px;
        height: 38px;
        font-size: 15px;
        border-radius: 9px;
    }

    .modal-sidebar {
        width: 94%;
        max-width: 280px;
        padding: 60px 16px 16px;
    }

    .modal-project-title {
        font-size: 20px;
        margin-bottom: 10px;
    }

    .modal-project-category {
        font-size: 11px;
        padding: 4px 12px;
        margin-bottom: 14px;
        border-radius: 20px;
    }

    .modal-project-meta {
        flex-direction: column;
        gap: 10px;
        margin: 14px 0;
        padding: 14px 0;
    }

    .meta-item .meta-label {
        font-size: 9px;
        letter-spacing: 1px;
        margin-bottom: 4px;
    }

    .meta-item .meta-value {
        font-size: 13px;
    }

    .modal-project-desc {
        font-size: 12px;
        line-height: 1.6;
        margin-top: 14px;
    }

    .gallery-toggle-btn {
        width: calc(100% - 16px);
        margin: 0 8px;
        padding: 10px 16px;
        font-size: 11px;
        gap: 6px;
        border-radius: 12px 12px 0 0;
    }

    .modal-gallery-section {
        width: calc(100% - 16px);
        margin: 0 8px 0 8px;
        max-height: 110px;
    }

    .modal-gallery-scroll {
        padding: 8px 10px;
    }

    .modal-gallery-scroll .swiper-slide .gallery-item {
        width: 90px;
        height: 64px;
    }

    .gallery-item {
        width: 90px;
        height: 64px;
        border-radius: 5px;
        border-width: 1px;
    }

    .gallery-item.is-video::after {
        font-size: 18px;
    }
}

/* --- 320px: Very Small Mobile modal --- */
@media (max-width: 320px) {
    .vendom-modal-close {
        top: 10px;
        right: 10px;
        width: 34px;
        height: 34px;
        font-size: 14px;
    }

    .modal-sidebar-toggle {
        top: 10px;
        left: 10px;
        width: 34px;
        height: 34px;
        font-size: 14px;
        border-radius: 8px;
    }

    .modal-sidebar {
        width: 96%;
        max-width: 260px;
        padding: 54px 14px 14px;
    }

    .modal-project-title {
        font-size: 18px;
        margin-bottom: 8px;
        line-height: 1.25;
    }

    .modal-project-category {
        font-size: 10px;
        padding: 3px 10px;
        margin-bottom: 12px;
    }

    .modal-project-meta {
        gap: 8px;
        margin: 12px 0;
        padding: 12px 0;
    }

    .meta-item .meta-label {
        font-size: 8px;
        letter-spacing: 0.8px;
        margin-bottom: 3px;
    }

    .meta-item .meta-value {
        font-size: 12px;
    }

    .modal-project-desc {
        font-size: 11px;
        line-height: 1.5;
        margin-top: 12px;
    }

    .gallery-toggle-btn {
        width: calc(100% - 12px);
        margin: 0 6px;
        padding: 8px 14px;
        font-size: 10px;
        gap: 5px;
        border-radius: 10px 10px 0 0;
    }

    .gallery-toggle-btn .toggle-icon {
        font-size: 10px;
    }

    .modal-gallery-section {
        width: calc(100% - 12px);
        margin: 0 6px 0 6px;
        max-height: 95px;
    }

    .modal-gallery-scroll {
        padding: 6px 8px;
    }

    .modal-gallery-scroll .swiper-slide .gallery-item {
        width: 76px;
        height: 54px;
    }

    .gallery-item {
        width: 76px;
        height: 54px;
        border-radius: 4px;
        border-width: 1px;
    }

    .gallery-item.is-video::after {
        font-size: 14px;
    }

    .vendom-project-card {
        height: 200px !important;
    }

    .portfolio-main-title {
        font-size: 21px !important;
    }

    .portfolio-subtitle {
        font-size: 12px !important;
    }
}
