/* Interior Gallery Page Styles */
/* Primary: #19868b | Secondary: #e1273d */

/* Page Layout */
.interior-gallery-page {
    background-color: #f8f9fa;
}

/* =====================================================
   FILTER TOGGLE BUTTON
   ===================================================== */

.interior-gallery-page .filter-toggle-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: #19868b;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(25, 134, 139, 0.3);
}

.interior-gallery-page .filter-toggle-btn:hover {
    background: #0d6d71;
    box-shadow: 0 4px 12px rgba(25, 134, 139, 0.4);
}

.interior-gallery-page .filter-toggle-btn i {
    font-size: 16px;
    transition: transform 0.3s ease;
}

.interior-gallery-page .filter-toggle-btn.active {
    background: #e1273d;
    box-shadow: 0 2px 8px rgba(225, 39, 61, 0.3);
}

.interior-gallery-page .filter-toggle-btn.active:hover {
    background: #c41f33;
}

.interior-gallery-page .filter-toggle-btn.active i {
    transform: rotate(180deg);
}

/* Filter count badge */
.interior-gallery-page .filter-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    background: rgba(255, 255, 255, 0.25);
    color: #ffffff;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 600;
}

/* =====================================================
   GALLERY LAYOUT - DYNAMIC COLUMNS
   ===================================================== */

.interior-gallery-page .gallery-main-container {
    transition: all 0.4s ease;
}

.interior-gallery-page .gallery-main-container.filter-visible {
    flex: 0 0 66.666667%;
    max-width: 66.666667%;
}

.interior-gallery-page .gallery-main-container.filter-hidden {
    flex: 0 0 100%;
    max-width: 100%;
}

/* =====================================================
   FILTER SIDEBAR - COLLAPSIBLE
   ===================================================== */

.interior-gallery-page .filter-sidebar-wrapper {
    transition: all 0.4s ease;
    overflow: hidden;
}

.interior-gallery-page .filter-sidebar-wrapper.visible {
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
    opacity: 1;
    visibility: visible;
}

.interior-gallery-page .filter-sidebar-wrapper.hidden {
    flex: 0 0 0%;
    max-width: 0%;
    opacity: 0;
    visibility: hidden;
    padding: 0 !important;
    margin: 0 !important;
}

.interior-gallery-page .filter-sidebar-wrapper.hidden .primary-sidebar {
    display: none;
}

/* =====================================================
   MOBILE FILTER - SLIDE IN PANEL
   ===================================================== */

@media (max-width: 991px) {
    /* Mobile filter overlay */
    .interior-gallery-page .mobile-filter-overlay {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.5);
        z-index: 99999996 !important;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }
    
    .interior-gallery-page .mobile-filter-overlay.active {
        opacity: 1;
        visibility: visible;
    }
    
    /* Mobile filter panel */
    .interior-gallery-page .filter-sidebar-wrapper {
        position: fixed;
        top: 0;
        right: -100%;
        width: 320px;
        max-width: 90vw;
        height: 100vh;
        background: #ffffff;
        z-index: 99999997 !important;
        overflow-y: auto;
        box-shadow: -5px 0 30px rgba(0, 0, 0, 0.2);
        transition: right 0.3s ease;
        flex: none !important;
        max-width: none !important;
        opacity: 1 !important;
        visibility: visible !important;
        padding: 0 !important;
    }
    
    .interior-gallery-page .filter-sidebar-wrapper.visible {
        right: 0;
        flex: none !important;
        max-width: none !important;
    }
    
    .interior-gallery-page .filter-sidebar-wrapper.hidden {
        right: -100%;
        flex: none !important;
        max-width: none !important;
        opacity: 1 !important;
        visibility: visible !important;
    }
    
    /* RTL Support */
    [dir="rtl"] .interior-gallery-page .filter-sidebar-wrapper {
        right: auto;
        left: -100%;
        box-shadow: 5px 0 30px rgba(0, 0, 0, 0.2);
    }
    
    [dir="rtl"] .interior-gallery-page .filter-sidebar-wrapper.visible {
        left: 0;
    }
    
    [dir="rtl"] .interior-gallery-page .filter-sidebar-wrapper.hidden {
        left: -100%;
    }
    
    /* Mobile filter header */
    .interior-gallery-page .mobile-filter-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 15px 20px;
        background: #19868b;
        color: #ffffff;
        position: sticky;
        top: 0;
        z-index: 10;
    }
    
    .interior-gallery-page .mobile-filter-header h4 {
        margin: 0;
        font-size: 18px;
        font-weight: 600;
    }
    
    .interior-gallery-page .mobile-filter-close {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 36px;
        height: 36px;
        background: rgba(255, 255, 255, 0.2);
        border: none;
        border-radius: 50%;
        color: #ffffff;
        font-size: 18px;
        cursor: pointer;
        transition: all 0.3s ease;
    }
    
    .interior-gallery-page .mobile-filter-close:hover {
        background: rgba(255, 255, 255, 0.3);
    }
    
    /* Mobile filter content */
    .interior-gallery-page .filter-sidebar-wrapper .primary-sidebar {
        display: block !important;
        padding: 20px;
    }
    
    .interior-gallery-page .filter-sidebar-wrapper .primary-sidebar .card-body {
        padding: 0 !important;
    }
    
    /* Gallery container always full width on mobile */
    .interior-gallery-page .gallery-main-container {
        flex: 0 0 100% !important;
        max-width: 100% !important;
    }
}

@media (max-width: 575px) {
    .interior-gallery-page .filter-sidebar-wrapper {
        width: 100%;
        max-width: 100vw;
    }
}

/* Row flex layout */
.interior-gallery-page .row {
    display: flex;
    flex-wrap: wrap;
}

@media (min-width: 992px) {
    .interior-gallery-page .row {
        flex-wrap: nowrap;
    }
}

/* Gallery Grid */
.interior-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

/* When filter is visible - 2 columns */
.interior-gallery-page .gallery-main-container.filter-visible .interior-gallery-grid {
    grid-template-columns: repeat(2, 1fr) !important;
}

/* When filter is hidden - 3 columns (full width) */
.interior-gallery-page .gallery-main-container.filter-hidden .interior-gallery-grid {
    grid-template-columns: repeat(3, 1fr) !important;
}

@media (max-width: 1400px) {
    /* Large screens - keep 3 columns when hidden, 2 when visible */
    .interior-gallery-page .gallery-main-container.filter-hidden .interior-gallery-grid {
        grid-template-columns: repeat(3, 1fr) !important;
    }
}

@media (max-width: 1200px) {
    .interior-gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* On medium screens - 3 columns when hidden, 2 when visible */
    .interior-gallery-page .gallery-main-container.filter-hidden .interior-gallery-grid {
        grid-template-columns: repeat(3, 1fr) !important;
    }
    
    .interior-gallery-page .gallery-main-container.filter-visible .interior-gallery-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 992px) {
    /* Tablet - 2 columns always */
    .interior-gallery-page .gallery-main-container.filter-hidden .interior-gallery-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    
    /* Add horizontal spacing on tablet */
    .interior-gallery-page {
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .interior-gallery-page .container {
        padding-left: 30px;
        padding-right: 30px;
    }
    
    .interior-gallery-page .gallery-main-container {
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .interior-gallery-page .interior-gallery-grid {
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .interior-gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    
    .interior-gallery-page .gallery-main-container.filter-hidden .interior-gallery-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    
    /* Add more horizontal spacing on mobile */
    .interior-gallery-page {
        padding-left: 10px;
        padding-right: 10px;
    }
    
    .interior-gallery-page .container {
        padding-left: 25px;
        padding-right: 25px;
    }
    
    .interior-gallery-page .gallery-main-container {
        padding-left: 12px;
        padding-right: 12px;
    }
    
    .interior-gallery-page .interior-gallery-grid {
        gap: 18px;
    }
}

@media (max-width: 575px) {
    .interior-gallery-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .interior-gallery-page .gallery-main-container.filter-hidden .interior-gallery-grid {
        grid-template-columns: 1fr !important;
    }
    
    /* Add horizontal spacing on small mobile */
    .interior-gallery-page {
        padding-left: 8px;
        padding-right: 8px;
    }
    
    .interior-gallery-page .container {
        padding-left: 20px;
        padding-right: 20px;
    }
    
    .interior-gallery-page .gallery-main-container {
        padding-left: 10px;
        padding-right: 10px;
    }
    
    .interior-gallery-page .interior-gallery-grid {
        gap: 20px;
    }
}

@media (max-width: 480px) {
    /* Extra small mobile */
    .interior-gallery-page {
        padding-left: 5px;
        padding-right: 5px;
    }
    
    .interior-gallery-page .container {
        padding-left: 18px;
        padding-right: 18px;
    }
    
    .interior-gallery-page .gallery-main-container {
        padding-left: 8px;
        padding-right: 8px;
    }
    
    .interior-gallery-page .interior-gallery-grid {
        gap: 18px;
    }
}

/* Gallery Card */
.interior-gallery-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    aspect-ratio: 4/3;
}

.interior-gallery-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

/* Card Image */
.interior-gallery-card .card-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.interior-gallery-card .card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.interior-gallery-card:hover .card-image img {
    transform: scale(1.1);
}

.interior-gallery-card .card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.85) 0%,
        rgba(0, 0, 0, 0.4) 40%,
        rgba(0, 0, 0, 0.1) 70%,
        transparent 100%
    );
    transition: background 0.3s ease;
}

.interior-gallery-card:hover .card-overlay {
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.9) 0%,
        rgba(0, 0, 0, 0.5) 50%,
        rgba(0, 0, 0, 0.2) 100%
    );
}

/* View Button */
.interior-gallery-card .view-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #19868b;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 10;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.interior-gallery-card:hover .view-btn {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
}

.interior-gallery-card .view-btn:hover {
    background: #19868b;
    color: white;
}

/* Card Content */
.interior-gallery-card .card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    z-index: 5;
    transform: translateY(10px);
    opacity: 0.9;
    transition: all 0.3s ease;
}

.interior-gallery-card:hover .card-content {
    transform: translateY(0);
    opacity: 1;
}

/* Category Title - White Text */
.interior-gallery-card .card-category-title {
    color: #ffffff;
    font-size: 18px;
    font-weight: 600;
    margin: 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    line-height: 1.3;
}

/* Card Title */
.interior-gallery-card .card-title {
    color: white;
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 10px 0;
    line-height: 1.3;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Meta Tags */
.interior-gallery-card .card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.interior-gallery-card .meta-tag {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    color: white;
    padding: 4px 10px;
    border-radius: 15px;
    font-size: 11px;
    font-weight: 500;
}

.interior-gallery-card .meta-tag i {
    font-size: 10px;
    opacity: 0.8;
}

/* Gallery Modal */
.interior-gallery-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.95);
    z-index: 999999999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

.interior-gallery-modal.active {
    opacity: 1;
    visibility: visible;
}

.interior-gallery-modal .modal-container {
    display: flex;
    max-width: 1200px;
    max-height: 90vh;
    width: 95%;
    background: white;
    border-radius: 16px;
    overflow: hidden;
    transform: scale(0.9) translateY(30px);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.interior-gallery-modal.active .modal-container {
    transform: scale(1) translateY(0);
}

/* Modal Close Button */
.interior-gallery-modal .modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    font-size: 18px;
    color: #333;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.interior-gallery-modal .modal-close:hover {
    background: #19868b;
    color: white;
    transform: rotate(90deg);
}

/* Modal Image Section */
.interior-gallery-modal .modal-image-section {
    flex: 1.5;
    background: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.interior-gallery-modal .modal-image-section img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Modal Content Section */
.interior-gallery-modal .modal-content-section {
    flex: 1;
    padding: 40px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.interior-gallery-modal .modal-title {
    font-size: 28px;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0 0 15px 0;
    line-height: 1.3;
}

.interior-gallery-modal .modal-bio {
    font-size: 15px;
    color: #666;
    line-height: 1.7;
    margin: 0 0 25px 0;
}

.interior-gallery-modal .modal-category-badge {
    align-self: flex-start;
    background: #19868b;
    color: white;
    padding: 8px 18px;
    border-radius: 20px;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
}

/* Modal Meta */
.interior-gallery-modal .modal-meta {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 25px;
}

.interior-gallery-modal .modal-meta-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 15px;
    background: #f8f9fa;
    border-radius: 10px;
}

.interior-gallery-modal .modal-meta-item i {
    width: 40px;
    height: 40px;
    background: #19868b;
    color: white;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

.interior-gallery-modal .modal-meta-item div {
    display: flex;
    flex-direction: column;
}

.interior-gallery-modal .meta-label {
    font-size: 12px;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.interior-gallery-modal .meta-value {
    font-size: 15px;
    font-weight: 600;
    color: #333;
}

/* Related Project */
.interior-gallery-modal .related-project {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
    margin-top: auto;
}

.interior-gallery-modal .related-project:hover {
    background: linear-gradient(135deg, #19868b 0%, #0d6d71 100%);
    transform: translateX(5px);
}

.interior-gallery-modal .related-project:hover .related-project-label,
.interior-gallery-modal .related-project:hover .related-project-title,
.interior-gallery-modal .related-project:hover i {
    color: white;
}

.interior-gallery-modal .related-project-image {
    width: 60px;
    height: 60px;
    border-radius: 10px;
    overflow: hidden;
    flex-shrink: 0;
}

.interior-gallery-modal .related-project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.interior-gallery-modal .related-project-info {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.interior-gallery-modal .related-project-label {
    font-size: 11px;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
}

.interior-gallery-modal .related-project-title {
    font-size: 15px;
    font-weight: 600;
    color: #333;
    transition: color 0.3s ease;
}

.interior-gallery-modal .related-project i {
    font-size: 18px;
    color: #19868b;
    transition: color 0.3s ease;
}

/* Responsive Modal */
@media (max-width: 992px) {
    .interior-gallery-modal .modal-container {
        flex-direction: column;
        max-height: 95vh;
    }
    
    .interior-gallery-modal .modal-image-section {
        flex: none;
        height: 40vh;
    }
    
    .interior-gallery-modal .modal-content-section {
        flex: 1;
        padding: 25px;
    }
    
    .interior-gallery-modal .modal-title {
        font-size: 22px;
    }
    
    .interior-gallery-modal .modal-category-badge {
        padding: 6px 14px;
        font-size: 15px;
        margin-bottom: 15px;
    }
}

/* No Results */
.interior-gallery-grid .alert {
    grid-column: 1 / -1;
}

/* Body scroll lock when filter open on mobile */
body.filter-open {
    overflow: hidden;
}

/* =====================================================
   HOME SECTION INTERIOR GALLERY STYLES
   ===================================================== */

/* Custom display utility for grid on large screens */
.d-lg-grid {
    display: none !important;
}

@media (min-width: 992px) {
    .d-lg-grid {
        display: grid !important;
    }
}

.interior-gallery-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.interior-gallery-section .heading-divider {
    background: #19868b;
}

.interior-gallery-section .text-primary {
    color: #19868b !important;
}

/* Home section grid - 3 columns on large screens for bigger images */
.interior-gallery-section .interior-gallery-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* Home section cards - use original image aspect ratio (765x432 = ~16:9) */
.interior-gallery-section .interior-gallery-card {
    aspect-ratio: 765 / 432;
    min-height: auto;
}

/* Larger card title for home section */
.interior-gallery-section .interior-gallery-card .card-title {
    font-size: 20px;
    margin-bottom: 8px;
}

/* Larger category title */
.interior-gallery-section .interior-gallery-card .card-category-title {
    font-size: 20px;
}

/* Larger view button */
.interior-gallery-section .interior-gallery-card .view-btn {
    width: 70px;
    height: 70px;
    font-size: 24px;
}

@media (max-width: 1400px) {
    .interior-gallery-section .interior-gallery-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 25px;
    }
    
    .interior-gallery-section .interior-gallery-card {
        min-height: auto;
    }
}

@media (max-width: 1200px) {
    .interior-gallery-section .interior-gallery-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
    
    .interior-gallery-section .interior-gallery-card {
        min-height: auto;
    }
}

@media (max-width: 992px) {
    .interior-gallery-section .interior-gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .interior-gallery-section .interior-gallery-card {
        min-height: auto;
    }
}

@media (max-width: 768px) {
    .interior-gallery-section .interior-gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    
    .interior-gallery-section .interior-gallery-card {
        min-height: auto;
        aspect-ratio: 765 / 432;
    }
    
    .interior-gallery-section .interior-gallery-card .card-title {
        font-size: 16px;
    }
    
    .interior-gallery-section .interior-gallery-card .view-btn {
        width: 50px;
        height: 50px;
        font-size: 18px;
    }
}

@media (max-width: 575px) {
    .interior-gallery-section .interior-gallery-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .interior-gallery-section .interior-gallery-card {
        min-height: auto;
        aspect-ratio: 765 / 432;
    }
    
    .interior-gallery-section .interior-gallery-card .card-title {
        font-size: 18px;
    }
    
    .interior-gallery-section .interior-gallery-card .view-btn {
        width: 60px;
        height: 60px;
        font-size: 20px;
    }
}

/* Home section card bio */
.interior-gallery-section .card-bio {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.85);
    margin: 8px 0 10px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* =====================================================
   INTERIOR SHARE BADGE
   ===================================================== */

.interior-share-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 20;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.interior-gallery-card:hover .interior-share-badge {
    opacity: 1;
    transform: translateY(0);
}

.interior-share-badge .share-actions {
    display: flex;
    align-items: center;
    gap: 6px;
}

.interior-share-badge .share-action-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    color: #333;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    font-size: 13px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.interior-share-badge .share-action-btn:hover {
    transform: scale(1.1);
}

.interior-share-badge .whatsapp-share-btn {
    background: #25D366;
    color: #fff;
}

.interior-share-badge .whatsapp-share-btn:hover {
    background: #128C7E;
}

/* Share Slide Out */
.interior-share-badge .share-slide-wrapper {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.interior-share-badge .share-slide-btn {
    background: rgba(255, 255, 255, 0.95) !important;
    color: #19868b !important;
    z-index: 2;
    position: relative;
}

.interior-share-badge .share-slide-btn:hover {
    background: #19868b !important;
    color: #fff !important;
}

.interior-share-badge .share-slide-icons {
    display: flex;
    align-items: center;
    gap: 4px;
    position: absolute;
    right: 100%;
    top: 50%;
    transform: translateY(-50%);
    padding: 6px 10px;
    margin-right: 6px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    background: rgba(0, 0, 0, 0.8);
    border-radius: 20px;
    backdrop-filter: blur(5px);
}

.interior-share-badge .share-slide-wrapper:hover .share-slide-icons {
    opacity: 1;
    visibility: visible;
}

.interior-share-badge .share-slide-icons .share-action-btn {
    width: 28px;
    height: 28px;
    font-size: 11px;
    background: transparent;
    color: #fff;
    box-shadow: none;
}

.interior-share-badge .share-slide-icons .facebook-btn {
    background: #3b5998 !important;
}

.interior-share-badge .share-slide-icons .facebook-btn:hover {
    background: #2d4373 !important;
}

.interior-share-badge .share-slide-icons .twitter-btn {
    background: #1da1f2 !important;
}

.interior-share-badge .share-slide-icons .twitter-btn:hover {
    background: #0c85d0 !important;
}

.interior-share-badge .share-slide-icons .linkedin-btn {
    background: #0077b5 !important;
}

.interior-share-badge .share-slide-icons .linkedin-btn:hover {
    background: #005885 !important;
}

.interior-share-badge .share-slide-icons .pinterest-btn {
    background: #e60023 !important;
}

.interior-share-badge .share-slide-icons .pinterest-btn:hover {
    background: #c5001e !important;
}

.interior-share-badge .share-slide-icons .email-btn {
    background: #6c757d !important;
}

.interior-share-badge .share-slide-icons .email-btn:hover {
    background: #545b62 !important;
}

/* RTL Support */
[dir="rtl"] .interior-share-badge {
    right: auto;
    left: 15px;
}

[dir="rtl"] .interior-share-badge .share-slide-icons {
    right: auto;
    left: 100%;
    margin-right: 0;
    margin-left: 6px;
}

/* Responsive */
@media (max-width: 768px) {
    .interior-share-badge {
        top: 10px;
        right: 10px;
    }
    
    .interior-share-badge .share-action-btn {
        width: 28px;
        height: 28px;
        font-size: 11px;
    }
    
    .interior-share-badge .share-slide-icons .share-action-btn {
        width: 24px;
        height: 24px;
        font-size: 10px;
    }
    
    [dir="rtl"] .interior-share-badge {
        left: 10px;
    }
}

/* =====================================================
   INTERIOR GALLERY MOBILE SLIDER STYLES
   ===================================================== */

.interior-gallery-slider {
    margin: 0 -15px;
    padding-bottom: 40px;
}

.interior-gallery-slider .interior-slide-item {
    padding: 0 8px;
}

.interior-gallery-slider .interior-gallery-card {
    aspect-ratio: 16 / 10;
    min-height: 220px;
    border-radius: 15px;
    margin-bottom: 0;
    overflow: hidden;
}

.interior-gallery-slider .interior-gallery-card .card-image {
    border-radius: 15px;
}

.interior-gallery-slider .interior-gallery-card .card-image img {
    border-radius: 15px;
}

.interior-gallery-slider .interior-gallery-card .card-content {
    padding: 15px;
}

.interior-gallery-slider .interior-gallery-card .card-category-title {
    font-size: 16px;
}

.interior-gallery-slider .interior-gallery-card .view-btn {
    width: 40px;
    height: 40px;
    font-size: 14px;
}

/* Slider Dots Styling */
.interior-gallery-slider .slick-dots {
    bottom: -30px;
    display: flex !important;
    justify-content: center;
    gap: 8px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.interior-gallery-slider .slick-dots li {
    margin: 0;
    width: auto;
    height: auto;
}

.interior-gallery-slider .slick-dots li button {
    width: 10px;
    height: 10px;
    padding: 0;
    border-radius: 50%;
    background: #ddd;
    border: none;
    font-size: 0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.interior-gallery-slider .slick-dots li button:before {
    display: none;
}

.interior-gallery-slider .slick-dots li.slick-active button {
    background: #19868b;
    width: 24px;
    border-radius: 10px;
}

/* Max 4 dots visible */
.interior-gallery-slider .slick-dots li:nth-child(n+5) {
    display: none !important;
}

/* Center mode styling */
.interior-gallery-slider .slick-slide {
    opacity: 0.6;
    transform: scale(0.92);
    transition: all 0.3s ease;
}

.interior-gallery-slider .slick-slide.slick-current {
    opacity: 1;
    transform: scale(1);
}

/* Tablet adjustments for slider */
@media (max-width: 991px) {
    .interior-gallery-slider {
        padding-bottom: 55px;
    }
    
    .interior-gallery-slider .slick-dots {
        position: relative;
        bottom: auto;
        margin-top: 20px;
    }
}

/* Responsive adjustments for mobile slider */
@media (max-width: 767px) {
    .interior-gallery-slider {
        margin: 0 -10px;
        padding-bottom: 60px;
    }
    
    .interior-gallery-slider .slick-dots {
        position: relative;
        bottom: auto;
        margin-top: 25px;
    }
    
    .interior-gallery-slider .interior-slide-item {
        padding: 0 6px;
    }
    
    .interior-gallery-slider .interior-gallery-card {
        min-height: 200px;
        border-radius: 12px;
    }
    
    .interior-gallery-slider .interior-gallery-card .card-image,
    .interior-gallery-slider .interior-gallery-card .card-image img {
        border-radius: 12px;
    }
    
    .interior-gallery-slider .interior-gallery-card .card-content {
        padding: 12px;
    }
    
    .interior-gallery-slider .interior-gallery-card .card-category-title {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .interior-gallery-slider .interior-slide-item {
        padding: 0 5px;
    }
    
    .interior-gallery-slider .interior-gallery-card {
        min-height: 180px;
        border-radius: 10px;
    }
    
    .interior-gallery-slider .interior-gallery-card .card-image,
    .interior-gallery-slider .interior-gallery-card .card-image img {
        border-radius: 10px;
    }
    
    .interior-gallery-slider .interior-gallery-card .card-content {
        padding: 10px;
    }
    
    .interior-gallery-slider .interior-gallery-card .card-category-title {
        font-size: 13px;
    }
    
    .interior-gallery-slider .interior-gallery-card .view-btn {
        width: 35px;
        height: 35px;
        font-size: 12px;
    }
}
