/* vip.css */

/* Fonts loaded via /styles/vendor/google-fonts/fonts.css */

/* -------------------------------------------------------
   BASE STYLES FOR VIP SECTION
------------------------------------------------------- */
#vip {
    /* Additional margin/padding can be adjusted if needed */
}

#vip h2 {
    color: #FFFFFF;
    text-align: center;
    font-weight: 600;
}

/* Mobile adjustments for heading */
@media (max-width: 768px) {
    #vip h2 {
        margin-bottom: 0;
    }
}

/* -------------------------------------------------------
   CAROUSEL CONTAINER & SLIDES
------------------------------------------------------- */
#vip .carousel-container {
    margin: 0 auto;
    min-height: 290px;
}

@media (min-width: 601px) and (max-width: 1200px) {
    #vip .carousel-container {
        min-height: 470px;
    }
}

@media (max-width: 600px) {
    #vip .carousel-container {
        min-height: 290px;
    }
}

#vip .slide {
    padding: 0 5px;
    box-sizing: border-box;
}

/* Mobile adjustments for heading */
@media (max-width: 768px) {
    #vip .slide {
        padding: 0 2px;
    }
}

/* -------------------------------------------------------
   PROFILE CARD STYLES
   We will control the max-width of the profile-card to match
   our intended image display sizes from the srcset/sizes logic.
------------------------------------------------------- */

/* Default: Up to 400px viewport, target ~165px image width */
#vip .profile-card {
    position: relative;
    width: 100%;
    max-width: 165px;
    /* Matches (max-width:400px) 165px in sizes */
    border-radius: 7px;
    background-color: rgba(38, 38, 38, 0.2);
    overflow: hidden;
    box-sizing: border-box;
    transition: transform 0.3s ease, box-shadow 0.3s ease, outline 0.3s ease;
    margin: 0 auto;
}

#vip .profile-card:hover {
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

/* Increase to 185px for screens between 401px and 600px */
@media (min-width: 401px) and (max-width: 600px) {
    #vip .profile-card {
        max-width: 185px;
    }
}

/* Between 601px and 1200px, target ~300px width */
@media (min-width: 601px) and (max-width:1200px) {
    #vip .profile-card {
        max-width: 300px;
    }
}

/* Above 1200px, allow up to 600px (for large desktops) */
@media (min-width:1201px) {
    #vip .profile-card {
        max-width: 600px;
    }
}

/* -------------------------------------------------------
   IMAGE & OVERLAYS
------------------------------------------------------- */
#vip .image-container {
    position: relative;
}

#vip .profile-image {
    width: 100%;
    height: auto;
    aspect-ratio: 5 / 7;
    /* Keep a consistent aspect ratio */
    object-fit: cover;
    object-position: top;
}

/* Overlays (Top & Bottom) */
#vip .top-overlay,
#vip .bottom-overlay {
    position: absolute;
    left: 0;
    width: 100%;
    color: #fff;
    padding: 8px 10px;
    display: flex;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s;
    z-index: 1;
}

#vip .top-overlay {
    top: 0;
    height: 35px;
    background: rgba(0, 0, 0, 0.6);
}

#vip .bottom-overlay {
    bottom: 0;
    height: 37px;
    background: rgba(75, 0, 130, 0.6);
}

#vip .profile-card:hover .top-overlay,
#vip .profile-card:hover .bottom-overlay {
    opacity: 1;
}

/* Overlay Text */
#vip .escort-type,
#vip .nationality {
    font-size: 14px;
    font-weight: bold;
    text-align: left;
}

/* -------------------------------------------------------
   TOURING BADGE
------------------------------------------------------- */
#vip .touring-badge {
    position: absolute;
    bottom: 7px;
    right: 7px;
    padding: 2px 8px;
    border-radius: 4px;
    color: #FFFFFF;
    font-size: 12px;
    font-weight: bold;
    z-index: 2;
}

#vip .touring-now {
    background-color: green;
}

#vip .touring-soon {
    background-color: orange;
}

/* -------------------------------------------------------
   PROFILE INFO (Name, City, Age, Availability)
------------------------------------------------------- */
#vip .profile-info {
    padding: 5px;
}

#vip .name-and-availability {
    display: flex;
    align-items: center;
}

#vip .available-now-icon {
    color: #00ff00;
    margin-right: 5px;
    animation: blink 2s infinite;
}

#vip .available-now-icon i {
    font-size: 14px;
}

#vip .profile-name {
    font-size: 14px;
    color: #FFFFFF;
    font-weight: 700;
    flex: 1;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

#vip .profile-details {
    display: flex;
    justify-content: space-between;
    margin-top: 5px;
}

#vip .profile-city,
#vip .profile-age {
    font-size: 12px;
    color: #ffc300;
    margin-top: -7px;
}

#vip .profile-age {
    padding-right: 0;
}

/* Blinking animation for 'Available Now' indicator */
@keyframes blink {

    0%,
    50%,
    100% {
        opacity: 1;
    }

    25%,
    75% {
        opacity: 0;
    }
}

/* -------------------------------------------------------
   HEART ICON
------------------------------------------------------- */
#vip .heart-icon {
    position: absolute;
    top: 0px;
    right: 8px;
    z-index: 3;
    font-size: 24px;
    color: #FFFFFF;
    cursor: pointer;
    transition: color 0.3s;
}

#vip .heart-icon:hover i {
    color: red;
}

/* -------------------------------------------------------
   RESPONSIVE ADJUSTMENTS
   We've matched breakpoints to our sizes logic above.
   We no longer enforce arbitrary max-width changes that conflict
   with srcset/sizes logic. Instead, we let the breakpoints
   control .profile-card max-width consistently.
------------------------------------------------------- */

/* MOBILE-ONLY ADJUSTMENTS
   Adjusting carousel for mobile widths. Hide arrows, etc.
*/
@media (max-width: 768px) {

    /* Make carousel full-width on mobile */
    #vip .carousel-container {
        margin: 0;
        padding: 0;
        width: 100%;
    }

    #vip .profile-card {
        max-width: 100%;
        /* On very small screens, card can take full width */
    }

    #vip {
        padding: 0 !important;
        margin: 0 !important;
    }

    .custom-arrow {
        display: none !important;
    }

    /* Hide touring badge on hover on mobile devices - can remain as is */
    #vip .profile-card:hover .touring-badge {
        display: none;
    }
}