/**
 * FIDU Properties - Main Stylesheet
 *
 * @package FIDU
 * @since 1.0.0
 */

/* ========================================
   Page Container
   ======================================== */

.fidu-page-wrapper {
    width: 100%;
    overflow-x: hidden;
}

/* Remove background from Chrome autofill */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
textarea:-webkit-autofill,
select:-webkit-autofill {
    -webkit-box-shadow: 0 0 0px 1000px transparent inset !important;
    -webkit-text-fill-color: white !important;
    transition: background-color 5000s ease-in-out 0s;
}

/* ========================================
   Hero Section Styles
   ======================================== */

.hero-heading {
    font-size: 32px;
    font-weight: 700;
}

@media (min-width: 1024px) {
    .hero-heading {
        font-size: 43px;
        line-height: 1.25;
    }
}

.glass-panel {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.no-scrollbar::-webkit-scrollbar {
    display: none;
}

.no-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* ========================================
   Swiper Customizations
   ======================================== */

.projects-swiper {
    padding-bottom: 2rem;
}

.projects-swiper .swiper-slide {
    height: 520px;
    transition: all 0.4s ease;
    opacity: 0.5;
    border-radius: 20px;
}

@media (min-width: 768px) {
    .projects-swiper .swiper-slide {
        height: 600px;
    }
}

.projects-swiper .swiper-slide-active {
    transform: scale(1);
    opacity: 1;
}

.projects-swiper .swiper-slide-prev {
    transform: scale(0.90) translateX(-6%);
    opacity: 0.75;
}

.projects-swiper .swiper-slide-next {
    transform: scale(0.90) translateX(6%);
    opacity: 0.75;
}

.projects-swiper .swiper-slide:not(.swiper-slide-active):not(.swiper-slide-next):not(.swiper-slide-prev) {
    transform: scale(0.80);
    opacity: 0.55;
}

.secondary-swiper {
    padding-bottom: 2rem;
}

.secondary-swiper .swiper-slide {
    height: auto;
    border-radius: 30px;
    overflow: visible;
}

.rent-swiper {
    padding-bottom: 2rem;
}

.rent-swiper .swiper-slide {
    height: auto;
    border-radius: 30px;
    overflow: visible;
}

.awards-swiper {
    padding-bottom: 2.5rem;
    overflow: visible;
}

.awards-swiper .swiper-wrapper {
    transition-timing-function: linear;
}

.awards-swiper .swiper-slide {
    height: auto;
}

/* ========================================
   Header Currency Dropdown
   ======================================== */

.fidu-currency-trigger i {
    transition: transform 0.2s ease;
}

.fidu-currency-dropdown.is-open .fidu-currency-trigger i {
    transform: rotate(180deg);
}

.fidu-currency-option.is-active {
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
}

.fidu-price-option.is-active {
    background: linear-gradient(180deg, #363636 0%, #2F3466 100%);
    color: #ffffff;
}

.fidu-hero-tab.is-active {
    background: #ffffff;
    color: #131313;
    border-color: #ffffff;
}

/* ========================================
   Floating Contact Buttons
   ======================================== */

.fidu-floating-contact {
    position: fixed;
    right: 16px;
    bottom: 16px;
    z-index: 9999;
    width: 82px;
    padding: 8px 6px;
    border-radius: 44px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    background: linear-gradient(180deg, rgba(168, 177, 193, 0.46) 0%, rgba(120, 130, 149, 0.58) 100%);
    border: 1px solid rgba(255, 255, 255, 0.35);
    box-shadow: 0 20px 34px rgba(29, 45, 74, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.fidu-floating-contact__btn {
    width: 66px;
    height: 66px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 22px rgba(20, 30, 48, 0.25);
    transition: transform 0.2s ease;
}

.fidu-floating-contact__btn:hover {
    transform: translateY(-2px);
}

.fidu-floating-contact__btn:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.9);
    outline-offset: 2px;
}

.fidu-floating-contact__btn img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.fidu-floating-contact__btn--whatsapp {
    background: #35be4a;
}

.fidu-floating-contact__btn--call {
    background: #1388cf;
}

/* Exclusive Section : HOME */
.fidu-exclusive-swiper .swiper-pagination-bullet .fidu-bullet-inner {
    display: none;
}

.fidu-exclusive-swiper .swiper-pagination-bullet-active .fidu-bullet-inner {
    display: block;
}

.stats-swiper .swiper-slide {
    transition: all 0.5s ease;
    opacity: 0.6;
    transform: scale(0.85);
}

/* Review Section: HOME */
.stats-swiper .swiper-slide-active {
    opacity: 1;
    transform: scale(1);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(24px);
    border-color: rgba(255, 255, 255, 0.2);
}

.stats-swiper .swiper-slide.swiper-slide-prev {
    transform: translateX(40px) scale(0.85);
    opacity: 0.6;
}

.stats-swiper .swiper-slide.swiper-slide-next {
    transform: translateX(-40px) scale(0.85);
    opacity: 0.6;
    z-index: -1;
}

/* ABOUT: Contact Form */
.about-form .wpforms-field-large {
    height: 57px ;
    padding: 1rem 1.5rem !important;
    border-radius: 0.75rem !important;
    border: 1px solid #e5e7eb !important;
    outline: none !important;
    transition: border-color 0.15s ease-in-out !important;
    color: #424242 !important;
    font-weight: 400 !important;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05) !important;
    width: 100%;
    &:focus {
        border-color: #9ca3af !important;
    }
    &::placeholder {
        color: #9ca3af !important;
    }
}

.about-form .wpforms-field-checkbox ul {
   margin-bottom: 20px !important;
}

.about-form .wpforms-submit {
    height: 47px !important;
    background: linear-gradient(180deg, #363636 0%, #2F3466 100%);
    color: white;
    padding: 0.75rem 2rem !important;
    border-radius: 0.5rem !important;
    transition: all 0.15s ease-in-out !important;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06) !important;
    &:hover {
        background: #1E2445;
        transform: translateY(-2px) !important;
    }
}

/* Large screens */
@media (min-width: 1024px) {
    .stats-swiper .stats-number {
        font-size: 35px;
    }
}

@media (min-width: 768px) {
    .fidu-floating-contact {
        right: 24px;
        bottom: 24px;
    }
}
