/* ==========================================
   SWANKY VACAY - FEATURED TABS STYLES
   60's/70's Retro Luxury Design
   ========================================== */

.br-featured-tabs-container {
    position: relative;
}

/* Featured Tabs Component Styles */
.featured-tabs {
    margin: 0;
    position: relative;
    background: linear-gradient(135deg, var(--primary-dark) 0%, #2d5280 100%);
    padding: 80px 0 100px;
    overflow: hidden;
}

/* ==========================================
   RETRO BLOB SHAPES BACKGROUND
   ========================================== */
.featured-tabs::before,
.featured-tabs::after {
    content: '';
    position: absolute;
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    opacity: 0.08;
    z-index: 1;
    pointer-events: none;
}

/* Blob 1 - Top Left */
.featured-tabs::before {
    width: 600px;
    height: 600px;
    background: #FFB6C1;
    top: 200px;
    left: 150px;
    animation: floatBlob1 20s ease-in-out infinite;
}

/* Blob 2 - Bottom Right */
.featured-tabs::after {
    width: 500px;
    height: 500px;
    background: #FFC0CB;
    bottom: -150px;
    right: -100px;
    border-radius: 50% 40% 60% 40% / 50% 60% 40% 50%;
    animation: floatBlob2 25s ease-in-out infinite reverse;
}

/* Blob 3 - Center (via pseudo element on navigation) */
.featured-tabs__navigation::before {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    background: #FFB6C1;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 60% 40% 40% 60% / 60% 50% 50% 40%;
    opacity: 0.08;
    z-index: -1;
    pointer-events: none;
    animation: floatBlob3 30s ease-in-out infinite;
}

@keyframes floatBlob1 {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(30px, -30px) rotate(5deg); }
    66% { transform: translate(-20px, 20px) rotate(-5deg); }
}

@keyframes floatBlob2 {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(-30px, 30px) rotate(-5deg); }
    66% { transform: translate(20px, -20px) rotate(5deg); }
}

@keyframes floatBlob3 {
    0%, 100% { transform: translate(-50%, -50%) rotate(0deg); }
    33% { transform: translate(calc(-50% + 30px), calc(-50% - 30px)) rotate(5deg); }
    66% { transform: translate(calc(-50% - 20px), calc(-50% + 20px)) rotate(-5deg); }
}

/* ==========================================
   WAVY/SCALLOPED BORDERS
   ========================================== */
/* Wavy Top Border */
.featured-tabs {
    clip-path: polygon(
            0 0,
            100% 0,
            100% calc(100% - 40px),
            0 100%
    );
}

.featured-section-header .section-title{
    color: var(--white) !important;
}

/* Add decorative wave using radial gradients */
.featured-tabs__content::before {
    background: linear-gradient(to bottom, rgba(255,255,255,0.1), transparent);
    height: 60px;
}

/* ==========================================
   TAB NAVIGATION WITH RETRO PILLS
   ========================================== */
.featured-tabs__navigation {
    column-gap: 15px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding: 0 var(--content-gap);
    margin-bottom: 60px;
    position: relative;
    z-index: 2;
}

/* Decorative Asterisk/Sparkle */
.featured-tabs__navigation::after {
    content: '✦';
    color: #FFB6C1;
    font-size: 20px;
    margin-left: 10px;
    animation: twinkle 2s ease-in-out infinite;
}

@keyframes twinkle {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.2); }
}

.featured-tabs__tab {
    padding: 12px 32px;
    background: transparent;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--white);
    border-radius: 50px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    letter-spacing: 0.5px;
    position: relative;
    z-index: 2;
}

.featured-tabs__tab.active {
    background-color: #FFB6C1;
    color: #1a3a5c;
    border-color: #FFB6C1;
}

.featured-tabs__tab:not(.active):hover {
    border-color: #FFB6C1;
    background: rgba(255, 182, 193, 0.1);
}

.featured-tabs__tab.active:hover {
    background-color: #FFC0CB;
}

/* ==========================================
   VIEW ALL BUTTON - RETRO STYLE
   ========================================== */
.featured-tabs__view-all {
    position: absolute;
    top: 80px;
    right: var(--content-gap);
    z-index: 2;
}

.featured-tabs__view-all-link {
    padding: 14px 40px;
    background: transparent;
    color: #fff;
    border: 2px solid var(--white-trans-40);
    border-radius: 50px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    display: inline-block;
}

.featured-tabs__view-all-link:hover {
    background: var(--secondary-trans-40);
    color: var(--white);
    /*transform: translateY(-2px);*/
    /*box-shadow: 0 5px 20px rgba(255, 182, 193, 0.4);*/
}

.featured-tabs__view-all-link-mobile{
    display:none;
}

/* ==========================================
   CAROUSEL ARROWS WITH SUNBURST
   ========================================== */
.featured-tabs__external-navigation {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    pointer-events: none;
    z-index: 10;
    padding: 0 var(--content-gap);
}

.featured-tabs__nav-button {
    background: rgba(255, 255, 255, 0.95);
    border: none;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    color: #1a3a5c;
    pointer-events: auto;
    position: relative;
}

/* Sunburst Effect */
.featured-tabs__nav-button::before {
    content: '';
    position: absolute;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.featured-tabs__nav-button:hover:not(:disabled)::before {
    opacity: 0.6;
}

.featured-tabs__nav-button:hover:not(:disabled) {
    background: #FFB6C1;
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.featured-tabs__nav-button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.featured-tabs__nav-button svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

/* ==========================================
   TAB CONTENT AREA
   ========================================== */
.featured-tabs__content {
    position: relative;
    min-height: 400px;
    padding: var(--section-space-m) var(--content-gap);
    z-index: 2;
}

.featured-tabs__slider {
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.featured-tabs__slider.active {
    display: block;
    opacity: 1;
}

/* ==========================================
   PROPERTY & RESORT CARDS - RETRO TREATMENT
   ========================================== */
.featured-tabs__slider .property-card,
.resort-card,
.amenity-card {
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s ease;
    position: relative;
    background: #fff;
}

/* Retro corner accent */
.featured-tabs__slider .property-card::after,
.resort-card::after,
.amenity-card::after {
    content: '✦';
    position: absolute;
    top: 15px;
    left: 15px;
    color: #FFB6C1;
    font-size: 18px;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 2;
}

/* Double-line pink border on hover */
.featured-tabs__slider .property-card::before,
.resort-card::before,
.amenity-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: var(--secondary-trans-20);
    border-radius: 20px;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}

.featured-tabs__slider .property-card:hover,
.resort-card:hover,
.amenity-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.featured-tabs__slider .property-card:hover::before,
.resort-card:hover::before,
.amenity-card:hover::before {
    opacity: 1;
}

.featured-tabs__slider .property-card:hover::after,
.resort-card:hover::after,
.amenity-card:hover::after {
    opacity: 0.7;
}

/* Image zoom effect */
.featured-tabs__slider .property-card-image,
.resort-card__image,
.amenity-card__image {
    transition: transform 0.4s ease;
}

.featured-tabs__slider .property-card:hover .property-card-image,
.resort-card:hover .resort-card__image,
.amenity-card:hover .amenity-card__image {
    transform: scale(1.05);
}

/* ==========================================
   RESORT & AMENITY CARD SPECIFIC STYLES
   ========================================== */
.resort-card,
.amenity-card {
    min-height: 450px;
}

.resort-card__image-wrapper,
.amenity-card__image-wrapper {
    position: relative;
    height: 100%;
    overflow: hidden;
}

.resort-card__image,
.amenity-card__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.resort-card__name_content,
.amenity-card__content {
    width: 100%;
    text-align: center;
    position: absolute;
    bottom: 0;
    z-index: 2;
    padding: var(--space-xs);
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
}

.resort-card__name,
.amenity-card__name {
    color: var(--white);
    margin: 0;
    text-align: center;
    font-size: 24px;
    font-weight: 600;
}

/* ==========================================
   SWIPER CUSTOMIZATION
   ========================================== */
.featured-tabs__slider {
    max-width: 85%;
    margin: 0 auto;
    position: relative;
}

.featured-tabs__slider > .swiper {
    position: relative;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.featured-tabs__slider > .swiper.swiper-initialized {
    opacity: 1;
}

.featured-tabs__slider > .swiper .swiper-wrapper {
    display: flex;
}

.featured-tabs__slider > .swiper .swiper-slide {
    height: auto;
    box-sizing: border-box;
    width: 100%;
    flex-shrink: 0;
}

.featured-tabs__slider > .swiper .swiper-slide:not(:last-child) {
    margin-right: 20px;
}

/* Property Card Image Constraint Fix */
.featured-tabs__slider .property-card__img-wrapper {
    height: 200px !important;
    overflow: hidden;
}

.featured-tabs__slider .property-card__img-wrapper .swiper {
    height: 100% !important;
}

.featured-tabs__slider .property-card-image {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}

/* Hide internal navigation */
.property-card .swiper-button-prev,
.property-card .swiper-button-next,
.featured-tabs__slider > .swiper .swiper-button-prev,
.featured-tabs__slider > .swiper .swiper-button-next,
.featured-tabs__slider > .swiper .swiper-pagination {
    display: none !important;
}

.property-card .property-card-headline,
.property-card .property-card-headline .property-card__heading-block,
.property-card .property-card-headline .property-card__heading-block a {
    width: 100%;
    text-align: center;
}

/* Loading and Empty States */
.featured-tabs__loading,
.featured-tabs__empty {
    padding: 40px;
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
    font-style: italic;
}

/* ==========================================
   RESPONSIVE DESIGN
   ========================================== */
@media (max-width: 1440px) {
    .featured-tabs__content {
        padding: var(--section-space-xs) var(--content-gap);
    }

    .featured-tabs__view-all {
        margin-right: 80px;
    }
}

@media (max-width: 1024px) {
    .featured-tabs {
        padding: 60px 0 80px;
    }

    .featured-tabs__navigation {
        padding: 0 var(--content-gap) 0 70px;
    }

    .featured-tabs__content {
        padding: 0 var(--content-gap);
    }

    .featured-tabs__view-all {
        margin-right: 45px;
        top: 60px;
    }

    .featured-tabs__slider {
        max-width: 87%;
    }

    .featured-tabs__slider > .swiper .swiper-slide {
        max-width: 429px;
    }
}

@media (max-width: 990px) {
    .featured-tabs__slider {
        max-width: 88%;
    }

    .featured-tabs__slider > .swiper .swiper-slide {
        max-width: 406px;
    }
}

@media (max-width: 767px) {
    .featured-tabs__view-all-link-mobile{
        display:block;
        width: 100%;
        text-align: center;
    }

    /* Hide blob animations on mobile for performance */
    .featured-tabs::before,
    .featured-tabs::after,
    .featured-tabs__navigation::before {
        display: none;
    }

    .featured-tabs {
        padding: 40px 0 60px;
    }

    .featured-tabs__navigation {
        background-color: transparent;
        overflow-x: auto;
        white-space: nowrap;
        padding: 0 var(--content-gap);
        margin-bottom: 40px;
    }

    .featured-tabs__tab {
        padding: 10px 20px;
        font-size: 14px;
    }

    .featured-tabs__view-all {
        display: none;
    }

    .featured-tabs__view-all-mobile {
        display: block;
        text-align: right;
        padding: 0 var(--content-gap);
        margin-top: 30px;
    }

    .featured-tabs__external-navigation {
        padding: 0 20px;
    }

    .featured-tabs__nav-button {
        width: 50px;
        height: 50px;
    }

    .featured-tabs__nav-button::before {
        width: 60px;
        height: 60px;
    }

    .featured-tabs__nav-button svg {
        width: 20px;
        height: 20px;
    }

    .featured-tabs__slider {
        max-width: 100%;
    }
}


button.featured-tabs__tab{
    display: none;
}