/* Sofitel Case Study Specific Styles */

/* Case Study Hero Section */
.case-study-hero {
    position: relative;
    height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding-top: 0;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
}

.case-study-hero .container {
    max-width: none;
    padding: 0;
    width: 100%;
}

/* Removed background image - now using full-width banner section */


.case-study-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
}

.case-study-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
}

.case-study-hero-text {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
}

.case-study-category {
    display: inline-block;
    background: transparent;
    color: var(--white);
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    
}

.case-study-hero-title {
    font-size: clamp(4rem, 8vw, 4rem);
    font-weight: 700;
    line-height: 1.1;
    margin: 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

/* Content Section */
.content-section {
    padding: 3rem 0;
    background: #19365f;
    color: var(--white);
}

.content-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    max-width: 1200px;
    margin: 0 auto;
    align-items: start;
}

.left-side {
    padding-right: 2rem;
}

.services-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1rem;
}

.services-list {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

.right-side {
    padding-left: 2rem;
}

.project-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 2rem;
    line-height: 1.2;
}

.project-description {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
    margin: 0;
}

/* Image Section */
.golden-berry-image-section {
    padding: 0;
    margin: 0;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    overflow: hidden;
    position: relative;
}

.golden-berry-image-section .container {
    max-width: none;
    padding: 0;
    margin: 0;
    width: 100vw;
}

.golden-berry-image-section .image-content {
    width: 100vw;
    margin: 0;
    padding: 0;
}

.golden-berry-image-section img {
    width: 100vw;
    height: auto;
    object-fit: cover;
    display: block;
    margin: 0;
    padding: 0;
    max-width: none;
}

/* CTA Section */
.cta-section {
    padding: 6rem 0;
    background: #000000;
    color: #ffffff;
}

.cta-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #ffffff;
}

.cta-subtitle {
    font-size: 1.2rem;
    color: #b6bbbf;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn-outline {
    background: transparent;
    color: #ffffff;
    border-color: #fbc213;
}

.btn-outline:hover {
    background: #fbc213;
    color: #2c3e50;
    transform: translateY(-2px);
}

.btn-lg {
    padding: 1.2rem 2.5rem;
    font-size: 1.1rem;
}

.cta-logo {
    text-align: center;
}

.cta-logo img {
    max-width: 200px;
    height: auto;
    opacity: 0.8;
}

/* Large Desktop displays (1920px and below) */
@media screen and (max-width: 1920px) {
    .case-study-hero {
        position: relative;
        height: 80vh !important;
        display: flex;
        align-items: center;
        justify-content: center;
        overflow: hidden;
        padding-top: 0;
        width: 100vw;
        margin-left: calc(-50vw + 50%);
    }

    .case-study-hero-background {
        /* Removed background image - now using full-width banner section */
    }
}

/* 4K and Ultra-wide displays (2160px and below) */
@media screen and (max-width: 2160px) {
    .case-study-hero {
        position: relative;
        height: 80vh !important;
        display: flex;
        align-items: center;
        justify-content: center;
        overflow: hidden;
        padding-top: 0;
        width: 100vw;
        margin-left: calc(-50vw + 50%);
    }

    .case-study-hero-background {
        /* Removed background image - now using full-width banner section */
    }
}

/* Tablet displays (1024px and below) */
@media screen and (max-width: 1024px) {
    .case-study-hero {
        position: relative;
        height: 80vh !important;
        display: flex;
        align-items: center;
        justify-content: center;
        overflow: hidden;
        padding-top: 0;
        width: 100vw;
        margin-left: calc(-50vw + 50%);
    }

    .case-study-hero-background {
        /* Removed background image - now using full-width banner section */
    }
}

/* Mobile Large displays (768px and below) */
@media screen and (max-width: 768px) {
    .case-study-hero {
        position: relative;
        height: 80vh !important;
        display: flex;
        align-items: center;
        justify-content: center;
        overflow: hidden;
        padding-top: 0;
        width: 100vw;
        margin-left: calc(-50vw + 50%);
    }

    .case-study-hero-background {
        /* Removed background image - now using full-width banner section */
    }
}

/* Mobile Medium displays (480px and below) */
@media screen and (max-width: 480px) {
    .case-study-hero {
        position: relative;
        height: 60vh;
        display: flex;
        align-items: center;
        justify-content: center;
        overflow: hidden;
        padding-top: 0;
        width: 100vw;
        margin-left: calc(-50vw + 50%);
    }

    .case-study-hero-background {
        /* Removed background image - now using full-width banner section */
    }
}

/* Additional Content Responsive Styles */
@media (max-width: 1024px) {
    .case-study-hero-title {
        font-size: var(--font-size-5xl); /* 48px - Hero headings */
    }

    .case-study-hero-title {
        font-size: clamp(2.5rem, 8vw, 2.5rem);
    }
}

@media (max-width: 768px) {
    .case-study-hero-title {
        font-size: clamp(2rem, 8vw, 2rem);
    }
    
    .case-study-category {
        font-size: 0.8rem;
        padding: 0.4rem 1rem;
    }
    
    .content-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .left-side,
    .right-side {
        padding: 0;
    }
    
    .cta-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .case-study-hero-title {
        font-size: var(--font-size-2xl); /* 24px - Medium headings */
    }
    
    .content-section {
        padding: 4rem 0;
    }
    
    .project-title {
        font-size: 1.5rem;
    }
    
    .services-title {
        font-size: 1.2rem;
    }

    .case-study-hero-title {
        font-size: clamp(2rem, 8vw, 2rem);
    }

    .slider-slide {
        width: 100%;
        min-width: 100%;
        flex-shrink: 0;
    }
        .mobile-slider-section{
            padding: 2rem !important;
        }
                .image-slider {
                    padding: 2rem  !important;
                
                }
   .image-slider .container {
       padding: 0rem !important;

   }
}

/* Image Slider Styles */
.image-slider {
    padding: 80px 0;
    background: var(--light-gray);
}

.slider-container {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius);
    /* Allow natural scrolling behavior */
    touch-action: manipulation;
    -webkit-overflow-scrolling: touch;
}

.slider-wrapper {
    display: flex;
    transition: transform 0.5s ease-in-out;
    gap: 1.5rem;
    /* Allow natural scrolling behavior */
    touch-action: manipulation;
    -webkit-overflow-scrolling: touch;
}

.slider-slide {
    min-width: calc(33.333% - 1rem);
    flex: 0 0 calc(33.333% - 1rem);
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-slide:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.slider-slide img {
    width: 100%;
    height: 600px;
    object-fit: cover;
    object-position: center;
    transition: var(--transition);
}

.slider-slide:hover img {
    transform: scale(1.05);
}

.slider-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-top: 2rem;
}

.slider-btn {
    background: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    font-size: 1.2rem;
}

.slider-btn:hover {
    background: var(--secondary-color);
    transform: scale(1.1);
}

.slider-btn:disabled {
    background: var(--text-light);
    cursor: not-allowed;
    transform: none;
}

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--text-light);
    cursor: pointer;
    transition: var(--transition);
}

.slider-dot.active {
    background: var(--primary-color);
    transform: scale(1.2);
}

/* Slider Responsive Design */
@media (max-width: 768px) {
    .slider-slide {
        min-width: calc(50% - 0.75rem);
        flex: 0 0 calc(50% - 0.75rem);
    }
}

@media (max-width: 480px) {
    .slider-wrapper {
        gap: 0;
    }
    
    .slider-slide {
        width: 100%;
        min-width: 100%;
        flex: 0 0 100%;
        flex-shrink: 0;
    }
    
    .slider-slide img {
        height: 100%;
        object-fit: cover;
        object-position: center;
    }
    
    .slider-slide:hover img {
        transform: none;
    }
}


/* ========================================
   FOOTER SIZE REDUCTION
   ======================================== */

/* Footer Logo Size Reduction */
.footer-brand .logo {
    height: 100px !important;
    width: 140px !important;
}

/* Footer Paragraph Spacing Reduction */
.footer-brand p {
    margin-bottom: 1rem !important;
}
/* ========================================
   FULL WIDTH BANNER IMAGE SECTION
   ======================================== */

.full-width-banner-section {
    padding: 0;
    margin: 0;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    overflow: hidden;
}

.banner-image-container {
    width: 100%;
    position: relative;
}

.banner-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* ========================================
   MOBILE SLIDER SECTION
   ======================================== */

/* Mobile Slider Section */
.mobile-slider-section {
    padding: 0;
    margin: 0;
    background: var(--light-gray);
    width: 100vw;
    margin-left: calc(-50vw + 50%);
}

.mobile-slider-section .container {
    max-width: none;
    padding: 0;
    margin: 0;
    width: 100%;
}

.mobile-slider-container {
    max-width: none;
    margin: 0;
    padding: 0;
    position: relative;
    overflow: hidden;
    width: 100%;
}

.mobile-slider-wrapper {
    display: flex;
    transition: transform 0.5s ease-in-out;
    gap: 0;
}

.mobile-slider-slide {
    min-width: calc(33.333%);
    flex: 0 0 calc(33.333%);
    overflow: hidden;
}

.mobile-slider-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.mobile-slider-controls {
    display: none; /* Hidden on desktop */
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    pointer-events: none;
    z-index: 10;
}

.mobile-slider-btn {
    background: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    font-size: 1.2rem;
    pointer-events: auto;
    position: absolute;
}

.mobile-slider-btn.prev {
    left: 1rem;
}

.mobile-slider-btn.next {
    right: 1rem;
}

.mobile-slider-btn:hover {
    transform: scale(1.1);
}

.mobile-slider-btn:disabled {
    background: var(--text-light);
    cursor: not-allowed;
    opacity: 0.5;
}

/* Mobile Slider: Show controls and enable slider at 800px and below */
@media (max-width: 800px) {
    .mobile-slider-wrapper {
        gap: 0;
    }
    
    .mobile-slider-slide {
        min-width: 100%;
        flex: 0 0 100%;
        /* border-radius removed */
    }
    
    .mobile-slider-controls {
        display: flex; /* Show controls on mobile */
    }
    
    /* Hide the desktop-only full width image on mobile */
    .desktop-only-image {
        display: none !important;
    }
    
    /* Position mobile slider above footer */
    body {
        display: flex;
        flex-direction: column;
    }
    
    .mobile-slider-section {
        order: 999; /* Move to end, just before footer */
    }
    
    footer {
        order: 1000; /* Ensure footer is last */
    }
}

