/* Sup-hosts - Supermarket Hostess Services Case Study - Unique Design */

/* ========================================
   HERO SECTION - Split Screen: Content Left, Image Right (Desktop)
   ======================================== */

.sup-hosts-hero {
    position: relative;
    min-height: 80vh;
    padding: 0;
    overflow: hidden;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    display: flex;
    align-items: center;
}

/* Mobile Hero Section - Hidden by default, shown only on mobile */
.sup-hosts-hero-mobile {
    display: none;
}

/* Ensure desktop hero is visible on desktop */
.sup-hosts-hero-desktop {
    display: flex;
}

.sup-hosts-hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 80vh;
    width: 100%;
    position: relative;
}

.sup-hosts-hero-left {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem;
    background: linear-gradient(135deg, #19365f 0%, #142a4a 50%, #0d1f35 100%);
    position: relative;
    z-index: 2;
}

.sup-hosts-hero-content {
    max-width: 600px;
    color: #ffffff;
    text-align: left;
}

.sup-hosts-hero-right {
    position: relative;
    overflow: hidden;
    background: #000;
    height: 100%;
}

.sup-hosts-hero-image {
    width: 100%;
    height: 100%;
    position: relative;
}

.sup-hosts-hero-image img {
    width: 100%;
    height: 950px;
    object-fit: cover;
    object-position: top center;
    display: block;
}

.sup-hosts-category {
    display: inline-block;
    background: rgba(251, 194, 19, 0.2);
    color: #fbc213;
    padding: clamp(0.4rem, 2vw, 0.5rem) clamp(1rem, 4vw, 1.5rem);
    border-radius: 25px;
    font-size: clamp(0.8rem, 2.5vw, 0.9rem);
    font-weight: 600;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 1px solid rgba(251, 194, 19, 0.3);
    backdrop-filter: blur(10px);
}

.sup-hosts-hero-title {
    font-size: clamp(3rem, 8vw, 3rem);
    font-weight: 700;
    margin: 0 0 1rem 0;
    line-height: 1.2;
    color: #ffffff;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.sup-hosts-hero-subtitle {
    font-size: 1.5rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    font-style: italic;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

/* ========================================
   CONTENT SECTION
   ======================================== */

.sup-hosts-content {
    padding: 5rem 0;
    background: #ffffff;
}

.sup-hosts-content-wrapper {
    max-width: 1200px;
    margin: 0 auto;
}

.sup-hosts-services-section {
    margin-bottom: 4rem;
}

.sup-hosts-section-title {
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 700;
    color: #19365f;
    margin: 0 0 2rem 0;
    text-align: center;
}

.sup-hosts-services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    max-width: 600px;
    margin: 0 auto;
}

.sup-hosts-service-item {
    background: linear-gradient(135deg, #19365f 0%, #142a4a 100%);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 15px rgba(25, 54, 95, 0.2);
}

.sup-hosts-service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(25, 54, 95, 0.3);
}

.sup-hosts-service-name {
    font-size: 1.25rem;
    font-weight: 600;
    color: #ffffff;
    display: block;
}

.sup-hosts-description-section {
    max-width: 900px;
    margin: 0 auto;
}

.sup-hosts-description-text {
    font-size: clamp(1rem, 2vw, 1.125rem);
    line-height: 1.8;
    color: #333;
    margin: 0;
    text-align: center;
}

/* ========================================
   GALLERY SECTION - 2x2 Grid Layout (Desktop) / Slider (Mobile)
   ======================================== */

.sup-hosts-gallery {
    padding: 4rem 0;
    background: #f8f9fa;
}

/* Desktop: 2x2 Grid */
.sup-hosts-gallery-desktop {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.sup-hosts-gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.sup-hosts-gallery-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.sup-hosts-gallery-image {
    width: 100%;
    height: 800px;
    overflow: hidden;
    position: relative;
}

.sup-hosts-gallery-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.sup-hosts-gallery-item:hover .sup-hosts-gallery-image img {
    transform: scale(1.08);
}

/* Mobile: Slider Layout */
.sup-hosts-gallery-mobile {
    display: none;
}

.sup-hosts-slider-container {
    position: relative;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 1rem;
    width: 100%;
}

.sup-hosts-slider-track {
    display: flex;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    width: 100%;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
}

.sup-hosts-slider-track::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

.sup-hosts-slider-slide {
    min-width: 100%;
    width: 100%;
    flex-shrink: 0;
    flex-grow: 0;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    border-radius: 15px;
    overflow: hidden;
    height: 400px;
    background: #000;
    box-sizing: border-box;
}

.sup-hosts-slider-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.sup-hosts-slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.sup-hosts-slider-btn:hover {
    background: #ffffff;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.sup-hosts-slider-btn i {
    font-size: 1.2rem;
    color: #19365f;
}

.sup-hosts-slider-prev {
    left: 1rem;
}

.sup-hosts-slider-next {
    right: 1rem;
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

@media (max-width: 1280px) {
    .sup-hosts-hero-container {
        min-height: 70vh;
    }

    .sup-hosts-hero-left {
        padding: 3rem;
    }

    .sup-hosts-gallery-image {
        height: 450px;
    }
}

@media (max-width: 1024px) {
    .sup-hosts-hero-container {
        min-height: 60vh;
    }

    .sup-hosts-hero-left {
        padding: 2.5rem;
    }

    .sup-hosts-content {
        padding: 4rem 0;
    }

    .sup-hosts-gallery-image {
        height: 400px;
    }
}

@media (max-width: 768px) {
    /* Hide desktop hero on mobile */
    .sup-hosts-hero-desktop {
        display: none;
    }

    /* Show mobile hero on mobile */
    .sup-hosts-hero-mobile {
        display: block;
        position: relative;
        min-height: 70vh;
        width: 100vw;
        margin-left: calc(-50vw + 50%);
        background-image: url('../images/Sup-hosts/Sup-hosts1.jpeg');
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        overflow: hidden;
    }

    .sup-hosts-hero-mobile::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient(180deg, rgba(25, 54, 95, 0.4) 0%, rgba(20, 42, 74, 0.5) 100%);
        z-index: 1;
    }

    .sup-hosts-hero-mobile-container {
        position: relative;
        min-height: 70vh;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 2rem 1.5rem;
        z-index: 2;
    }

    .sup-hosts-hero-mobile-content {
        max-width: 100%;
        color: #ffffff;
        text-align: center;
    }

    .sup-hosts-hero-mobile-content .sup-hosts-category {
        display: inline-block;
        background: rgba(251, 194, 19, 0.2);
        color: #fbc213;
        padding: clamp(0.4rem, 2vw, 0.5rem) clamp(1rem, 4vw, 1.5rem);
        border-radius: 25px;
        font-size: clamp(0.8rem, 2.5vw, 0.9rem);
        font-weight: 600;
        margin-bottom: 1.5rem;
        text-transform: uppercase;
        letter-spacing: 1px;
        border: 1px solid rgba(251, 194, 19, 0.3);
        backdrop-filter: blur(10px);
    }

    .sup-hosts-hero-mobile-content .sup-hosts-hero-title {
        font-size: clamp(2rem, 8vw, 2.5rem);
        font-weight: 700;
        margin: 0 0 1rem 0;
        line-height: 1.2;
        color: #ffffff;
        text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    }

    .sup-hosts-hero-mobile-content .sup-hosts-hero-subtitle {
        font-size: clamp(1.1rem, 4vw, 1.3rem);
        font-weight: 400;
        color: rgba(255, 255, 255, 0.95);
        margin: 0;
        font-style: italic;
        text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
    }

    .sup-hosts-content {
        padding: 2rem 0;
    }

    .sup-hosts-services-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .sup-hosts-gallery {
        padding: 2rem 0;
    }

    /* Hide desktop layout, show mobile slider */
    .sup-hosts-gallery-desktop {
        display: none;
    }

    .sup-hosts-gallery-mobile {
        display: block;
    }

    .sup-hosts-slider-slide {
        height: 400px;
    }
}

@media (max-width: 480px) {
    .sup-hosts-hero-mobile {
        min-height: 60vh;
    }

    .sup-hosts-hero-mobile-container {
        min-height: 60vh;
        padding: 1.5rem 1rem;
    }

    .sup-hosts-hero-mobile-content .sup-hosts-hero-title {
        font-size: clamp(1.8rem, 8vw, 2rem);
    }

    .sup-hosts-hero-mobile-content .sup-hosts-hero-subtitle {
        font-size: clamp(1rem, 4vw, 1.1rem);
    }

    .sup-hosts-content {
        padding: 2rem 0;
    }

    .sup-hosts-gallery {
        padding: 2rem 0;
    }

    .sup-hosts-slider-slide {
        height: 350px;
    }
}

@media (max-width: 360px) {
    .sup-hosts-hero-mobile {
        min-height: 55vh;
    }

    .sup-hosts-hero-mobile-container {
        min-height: 55vh;
        padding: 1rem;
    }

    .sup-hosts-hero-mobile-content .sup-hosts-hero-title {
        font-size: clamp(1.5rem, 8vw, 1.8rem);
    }

    .sup-hosts-hero-mobile-content .sup-hosts-hero-subtitle {
        font-size: clamp(0.95rem, 4vw, 1rem);
    }

    .sup-hosts-slider-slide {
        height: 300px;
    }
}

