/* Luxury Apartment Showcase Widget Styles */

/* Import luxury fonts */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;700&family=Poppins:wght@300;400;500&family=FiraGO:wght@400;500;600&display=swap');

/* Main Container */
.las-apartment-showcase {
    position: relative;
    width: 100%;
    height: 480px;
    overflow: hidden;
    cursor: pointer;
    background: #000;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.las-apartment-showcase:hover {
    transform: translateY(-8px);
}

.las-inner-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

/* Cover Image */
.las-cover-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: transform 1.2s cubic-bezier(0.4, 0, 0.2, 1),
                filter 0.6s ease;
}

.las-apartment-showcase:hover .las-cover-image {
    transform: scale(1.1);
    filter: brightness(0.9);
}

/* Overlay */
.las-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, 
                transparent 0%, 
                rgba(0, 0, 0, 0.2) 50%, 
                rgba(0, 0, 0, 0.7) 100%);
    transition: background 0.6s ease;
    display: flex;
    align-items: flex-end;
    padding: 40px;
}

.las-apartment-showcase:hover .las-overlay {
    background: linear-gradient(180deg, 
                transparent 0%, 
                rgba(0, 0, 0, 0.3) 50%, 
                rgba(0, 0, 0, 0.85) 100%);
}

/* Content */
.las-content {
    position: relative;
    z-index: 10;
    width: 100%;
    transform: translateY(0);
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.las-apartment-showcase:hover .las-content {
    transform: translateY(-10px);
}

.las-text-wrapper {
    position: relative;
}

/* Typography */
.las-subtitle {
    font-family: 'Poppins', sans-serif;
    font-size: 12px;
    font-weight: 300;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 8px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 0.2s;
}

.las-title {
    font-family: 'Playfair Display', serif;
    font-size: 32px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 20px 0;
    line-height: 1.2;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 0.3s;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

/* View Gallery Button */
.las-view-gallery {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 0;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 0.4s;
    transition: transform 0.3s ease;
}

.las-apartment-showcase:hover .las-view-gallery {
    transform: translateX(8px);
}

.las-gallery-text {
    font-family: 'FiraGO', sans-serif;
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.9);
    position: relative;
}

.las-gallery-text::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: #ffffff;
    transition: width 0.4s ease;
}

.las-apartment-showcase:hover .las-gallery-text::after {
    width: 100%;
}

.las-gallery-icon {
    width: 20px;
    height: 20px;
    color: rgba(255, 255, 255, 0.8);
    transition: transform 0.3s ease, color 0.3s ease;
}

.las-apartment-showcase:hover .las-gallery-icon {
    transform: translateX(4px);
    color: #ffffff;
}

/* Hover Effect Layer */
.las-hover-effect {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, 
                rgba(255, 255, 255, 0.05) 0%, 
                transparent 70%);
    opacity: 0;
    transition: opacity 0.6s ease;
    pointer-events: none;
}

.las-apartment-showcase:hover .las-hover-effect {
    opacity: 1;
}

/* Lightbox Styles */
.las-lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 999999;
}

.las-lightbox.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.las-lightbox-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    opacity: 0;
    animation: fadeIn 0.5s ease forwards;
}

.las-lightbox-container {
    position: relative;
    width: 90%;
    max-width: 1400px;
    height: 85vh;
    opacity: 0;
    transform: scale(0.9);
    animation: zoomIn 0.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    animation-delay: 0.2s;
}

.las-lightbox-content {
    position: relative;
    width: 100%;
    height: 100%;
}

/* Lightbox Slider */
.las-lightbox-slider {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 8px;
}

.las-lightbox-slides {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.las-lightbox-slide {
    min-width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000;
}

.las-lightbox-slide img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    opacity: 0;
    animation: fadeIn 0.5s ease forwards;
    animation-delay: 0.3s;
}

/* Lightbox Close Button */
.las-lightbox-close {
    position: absolute;
    top: 30px;
    right: 30px;
    z-index: 10;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #ffffff;
}

.las-lightbox-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1) rotate(90deg);
}

/* Lightbox Navigation */
.las-lightbox-navigation {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 30px;
    pointer-events: none;
}

.las-lightbox-prev,
.las-lightbox-next {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #ffffff;
    pointer-events: all;
    opacity: 0.7;
}

.las-lightbox-prev:hover,
.las-lightbox-next:hover {
    background: rgba(255, 255, 255, 0.2);
    opacity: 1;
    transform: scale(1.1);
}

.las-lightbox-prev:disabled,
.las-lightbox-next:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

/* Lightbox Indicators */
.las-lightbox-indicators {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    padding: 15px 25px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.las-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
}

.las-indicator.active {
    width: 24px;
    border-radius: 4px;
    background: #ffffff;
}

.las-indicator:hover {
    background: rgba(255, 255, 255, 0.7);
}

/* Animations */
@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

@keyframes zoomIn {
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .las-overlay {
        padding: 30px;
    }
    
    .las-title {
        font-size: 26px;
    }
    
    .las-subtitle {
        font-size: 11px;
        letter-spacing: 2px;
    }
    
    .las-lightbox-container {
        width: 95%;
        height: 80vh;
    }
    
    .las-lightbox-close {
        top: 20px;
        right: 20px;
        width: 40px;
        height: 40px;
    }
    
    .las-lightbox-navigation {
        padding: 0 15px;
    }
    
    .las-lightbox-prev,
    .las-lightbox-next {
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 480px) {
    .las-apartment-showcase {
        height: 400px;
    }
    
    .las-overlay {
        padding: 25px;
    }
    
    .las-title {
        font-size: 22px;
    }
    
    .las-gallery-text {
        font-size: 11px;
    }
}

/* Elementor Editor Specific Styles */
body.elementor-editor-active .las-lightbox {
    display: none !important;
}

/* ========================================
   Toggle Buttons (GEL/USD, 3D/2D) Styles
   Override Elementor default pink colors
   ======================================== */

/* Toggle Container */
.las-toggle-container {
    display: inline-flex;
    border-radius: 8px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
}

/* Toggle Button Base State */
.las-toggle-btn,
.las-currency-toggle,
.las-view-toggle,
[class*="toggle-btn"],
[class*="currency-toggle"],
[class*="view-toggle"] {
    background-color: rgba(255, 255, 255, 0.05) !important;
    color: rgba(255, 255, 255, 0.7) !important;
    border: none !important;
    padding: 10px 20px !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    font-family: 'FiraGO', 'Poppins', sans-serif !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    outline: none !important;
    box-shadow: none !important;
}

/* Toggle Button Hover State */
.las-toggle-btn:hover,
.las-currency-toggle:hover,
.las-view-toggle:hover,
[class*="toggle-btn"]:hover,
[class*="currency-toggle"]:hover,
[class*="view-toggle"]:hover {
    background-color: rgba(255, 255, 255, 0.15) !important;
    color: rgba(255, 255, 255, 0.9) !important;
}

/* Toggle Button Active/Selected State */
.las-toggle-btn.active,
.las-toggle-btn.selected,
.las-toggle-btn[aria-pressed="true"],
.las-currency-toggle.active,
.las-currency-toggle.selected,
.las-view-toggle.active,
.las-view-toggle.selected,
[class*="toggle-btn"].active,
[class*="toggle-btn"].selected,
[class*="currency-toggle"].active,
[class*="view-toggle"].active {
    background-color: rgba(255, 255, 255, 0.2) !important;
    color: #ffffff !important;
}

/* Toggle Button Active + Hover State */
.las-toggle-btn.active:hover,
.las-toggle-btn.selected:hover,
.las-currency-toggle.active:hover,
.las-currency-toggle.selected:hover,
.las-view-toggle.active:hover,
.las-view-toggle.selected:hover,
[class*="toggle-btn"].active:hover,
[class*="toggle-btn"].selected:hover,
[class*="currency-toggle"].active:hover,
[class*="view-toggle"].active:hover {
    background-color: rgba(255, 255, 255, 0.25) !important;
    color: #ffffff !important;
}

/* Toggle Button Focus State */
.las-toggle-btn:focus,
.las-currency-toggle:focus,
.las-view-toggle:focus,
[class*="toggle-btn"]:focus,
[class*="currency-toggle"]:focus,
[class*="view-toggle"]:focus {
    outline: none !important;
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.2) !important;
    background-color: rgba(255, 255, 255, 0.1) !important;
}

/* Toggle Button Disabled State */
.las-toggle-btn:disabled,
.las-currency-toggle:disabled,
.las-view-toggle:disabled,
[class*="toggle-btn"]:disabled,
[class*="currency-toggle"]:disabled,
[class*="view-toggle"]:disabled {
    background-color: rgba(255, 255, 255, 0.02) !important;
    color: rgba(255, 255, 255, 0.3) !important;
    cursor: not-allowed !important;
}

/* ========================================
   Search & Select Fields Styles
   Override Elementor default pink colors
   ======================================== */

/* Search Input Base State */
.las-search-field,
.las-select-field,
[class*="search-input"],
[class*="select-field"],
.elementor-search-form__input,
.elementor-field-textual {
    background-color: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: #ffffff !important;
    padding: 12px 16px !important;
    border-radius: 8px !important;
    font-family: 'FiraGO', 'Poppins', sans-serif !important;
    font-size: 14px !important;
    transition: all 0.3s ease !important;
    outline: none !important;
    box-shadow: none !important;
}

/* Search/Select Placeholder */
.las-search-field::placeholder,
.las-select-field::placeholder,
[class*="search-input"]::placeholder,
[class*="select-field"]::placeholder,
.elementor-search-form__input::placeholder,
.elementor-field-textual::placeholder {
    color: rgba(255, 255, 255, 0.4) !important;
}

/* Search/Select Hover State */
.las-search-field:hover,
.las-select-field:hover,
[class*="search-input"]:hover,
[class*="select-field"]:hover,
.elementor-search-form__input:hover,
.elementor-field-textual:hover {
    background-color: rgba(255, 255, 255, 0.08) !important;
    border-color: rgba(255, 255, 255, 0.2) !important;
}

/* Search/Select Focus State */
.las-search-field:focus,
.las-select-field:focus,
[class*="search-input"]:focus,
[class*="select-field"]:focus,
.elementor-search-form__input:focus,
.elementor-field-textual:focus {
    background-color: rgba(255, 255, 255, 0.1) !important;
    border-color: rgba(255, 255, 255, 0.3) !important;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.1) !important;
    outline: none !important;
}

/* Select Dropdown Base */
.las-select-field,
select[class*="select"],
.elementor-field-type-select select {
    background-color: rgba(255, 255, 255, 0.05) !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='rgba(255,255,255,0.6)' d='M6 8L1 3h10z'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 12px center !important;
    padding-right: 36px !important;
    appearance: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
}

/* Select Option Styles */
.las-select-field option,
select[class*="select"] option,
.elementor-field-type-select select option {
    background-color: #1a1a1a !important;
    color: #ffffff !important;
    padding: 10px !important;
}

/* Select Option Hover */
.las-select-field option:hover,
select[class*="select"] option:hover,
.elementor-field-type-select select option:hover {
    background-color: rgba(255, 255, 255, 0.1) !important;
}

/* Select Option Selected/Checked */
.las-select-field option:checked,
select[class*="select"] option:checked,
.elementor-field-type-select select option:checked {
    background-color: rgba(255, 255, 255, 0.15) !important;
    color: #ffffff !important;
}

/* ========================================
   Override Elementor Accent/Pink Colors
   ======================================== */

/* Override Elementor's default accent colors */
.elementor-widget-container input:focus,
.elementor-widget-container select:focus,
.elementor-widget-container textarea:focus,
.elementor-widget-container button:focus {
    border-color: rgba(255, 255, 255, 0.3) !important;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.1) !important;
    outline: none !important;
}

/* Override Elementor button hover states */
.elementor-widget-container button:hover,
.elementor-widget-container .elementor-button:hover {
    background-color: rgba(255, 255, 255, 0.15) !important;
}

/* Override any pink/accent colored elements */
.elementor-widget-container [style*="pink"],
.elementor-widget-container [style*="#e91e63"],
.elementor-widget-container [style*="#d81b60"],
.elementor-widget-container [style*="rgb(233, 30, 99)"] {
    background-color: rgba(255, 255, 255, 0.1) !important;
}

/* Custom Select2 Dropdown Override (if using Select2) */
.select2-container--default .select2-selection--single {
    background-color: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 8px !important;
}

.select2-container--default .select2-selection--single:hover {
    background-color: rgba(255, 255, 255, 0.08) !important;
    border-color: rgba(255, 255, 255, 0.2) !important;
}

.select2-container--default.select2-container--focus .select2-selection--single {
    background-color: rgba(255, 255, 255, 0.1) !important;
    border-color: rgba(255, 255, 255, 0.3) !important;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.1) !important;
}

.select2-container--default .select2-results__option--highlighted[aria-selected] {
    background-color: rgba(255, 255, 255, 0.15) !important;
    color: #ffffff !important;
}

.select2-container--default .select2-results__option[aria-selected="true"] {
    background-color: rgba(255, 255, 255, 0.1) !important;
    color: #ffffff !important;
}

.select2-dropdown {
    background-color: #1a1a1a !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.select2-search--dropdown .select2-search__field {
    background-color: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: #ffffff !important;
}

.select2-search--dropdown .select2-search__field:focus {
    background-color: rgba(255, 255, 255, 0.1) !important;
    border-color: rgba(255, 255, 255, 0.3) !important;
    outline: none !important;
}
