/* Case Study Akbar Specific Styles */

/* Image Gallery Styles */
.image-gallery-section {
    margin: 4rem 0;
}

.image-gallery-section h3 {
    font-size: clamp(1.25rem, 4vw, var(--font-size-2xl)); /* Responsive 20px-24px */
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 2rem;
    text-align: center;
}

.image-gallery {
    max-width: 1200px;
    margin: 0 auto;
}

.gallery-main {
    margin-bottom: 2rem;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.gallery-main img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-main img:hover {
    transform: scale(1.02);
}

.gallery-thumbnails {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.thumbnail {
    width: 120px;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    border: 3px solid transparent;
    transition: all 0.3s ease;
    opacity: 0.7;
}

.thumbnail:hover {
    opacity: 1;
    transform: translateY(-2px);
}

.thumbnail.active {
    border-color: var(--primary-color);
    opacity: 1;
    box-shadow: 0 5px 15px rgba(251, 194, 19, 0.3);
}

.thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Responsive Gallery */
@media (max-width: 768px) {
    .gallery-main img {
        height: 300px;
    }
    
    .thumbnail {
        width: 80px;
        height: 60px;
    }
    
    .gallery-thumbnails {
        gap: 0.5rem;
    }
}





/* 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%;
}

.case-study-hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/Akbar/AKBAR merge pic.png');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    min-height: 80vh;
}


.case-study-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(20, 42, 74, 0.6) 30%, rgba(251, 194, 19, 0.1) 70%, rgba(25, 54, 95, 0.8) 100%);
    z-index: 1;
}

.case-study-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
}

.case-study-category {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    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;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
    font-family: var(--font-bold);
}

.case-study-hero-title {
    font-size: clamp(4rem, 8vw, 4rem);
    font-weight: 700;
    margin: 0;
    line-height: 1.2;
    font-family: var(--font-bold);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

/* Responsive Hero Font Sizes */
@media (max-width: 1536px) {
    .case-study-hero-title {
        font-size: clamp(3.5rem, 8vw, 3.5rem);
    }
}

@media (max-width: 1280px) {
    .case-study-hero-title {
        font-size: clamp(3rem, 8vw, 3rem);
    }
}

@media (max-width: 1024px) {
    .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);
    }
}

@media (max-width: 640px) {
    .case-study-hero-title {
        font-size: clamp(1.8rem, 8vw, 1.8rem);
    }
}

@media (max-width: 480px) {
    .case-study-hero-title {
        font-size: clamp(2rem, 8vw, 2rem);
    }

    .slider-slide {
        width: 100%;
        min-width: 100%;
        flex-shrink: 0;
    }
}

@media (max-width: 360px) {
    .case-study-hero-title {
        font-size: clamp(1.2rem, 8vw, 1.2rem);
    }
}


/* Image Section */
.akbar-image-section {
    padding: 0;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
}

.akbar-image-section .container {
    max-width: none;
    padding: 0;
}

.akbar-image-section .image-content {
    width: 100%;
}

.akbar-image-section img {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
}

/* COEUR DE VILLE Image Section */
.coeur-de-ville-image-section {
    padding: 0;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
}

.coeur-de-ville-image-section .container {
    max-width: none;
    padding: 0;
}

.coeur-de-ville-image-section .image-content {
    width: 100%;
}

.coeur-de-ville-image-section img {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
}

/* Full Width Video Section */
/* Full Width Video Section - FIXED */
.full-width-video-section {
    padding: 4rem 0; /* FIXED: Added proper padding to prevent overlap */
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    position: relative;
    z-index: 1;
}

.full-width-video-section .vimeo-video-container {
    margin: 0;
}

/* Responsive Video Section Padding */
@media (max-width: 768px) {
    .full-width-video-section {
        padding: 3rem 0; /* Reduced padding on mobile */
    }
}

@media (max-width: 480px) {
    .full-width-video-section {
        padding: 2rem 0; /* Further reduced padding on small mobile */
    }
}

.video-container {
    position: relative;
    width: 100%;
    height: 100vh;
    margin: 0 auto;
}

.full-width-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(25, 54, 95, 0.3) 0%, rgba(20, 42, 74, 0.2) 50%, rgba(251, 194, 19, 0.1) 100%);
    z-index: 1;
    pointer-events: none;
}

/* Video Hover Overlay */
.video-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 2;
    opacity: 1;
    visibility: visible;
    transition: all 0.3s ease;
}

/* Video Controls - Centered Big Play Button */
.video-controls {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    z-index: 3;
    opacity: 1;
    visibility: visible;
    transition: all 0.3s ease;
}

/* Big centered play button */
.play-pause-btn {
    background: rgba(255, 255, 255, 0.95);
    border: none;
    border-radius: 50%;
    width: clamp(50px, 8vw, 70px);
    height: clamp(50px, 8vw, 70px);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
    color: #19365f;
    font-size: clamp(1.5rem, 4vw, 2.5rem);
}

/* Small bottom controls (initially hidden) */
.mute-btn {
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    width: clamp(35px, 6vw, 50px);
    height: clamp(35px, 6vw, 50px);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    opacity: 0;
    visibility: hidden;
    position: static;
    transform: none;
    color: #19365f;
    font-size: clamp(0.9rem, 2.5vw, 1.2rem);
}

/* When video is playing, move controls to bottom */
.video-container.playing .video-controls {
    top: auto;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
}

.video-container.playing .play-pause-btn {
    width: clamp(50px, 8vw, 70px);
    height: clamp(50px, 8vw, 70px);
    font-size: clamp(1.2rem, 3vw, 1.5rem);
}

.video-container.playing .mute-btn {
    opacity: 1;
    visibility: visible;
    position: static;
    transform: none;
}

.video-container.playing::before {
    opacity: 0;
    visibility: hidden;
}

.play-pause-btn:hover, .mute-btn:hover {
    background: rgba(255, 255, 255, 1);
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .case-study-hero {
        height: 80vh;
    }
    
    .full-width-video-section .video-container {
        height: 60vh;
    }
    
    /* Video controls will scale automatically with clamp() */
}

@media (max-width: 768px) {
    .case-study-hero {
        height: 80vh;
    }
    
    .full-width-video-section .video-container {
        height: 50vh;
    }
    
    /* Video controls will scale automatically with clamp() */
}

@media (max-width: 480px) {
    .case-study-hero {
        height: 45vh;
        padding: 2rem;
    }
        .case-study-hero-background {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-image: url('../images/Akbar/mob-slider/IMG\ 1-01\ \(1\).png');
            background-size: cover;
            background-position: center;
            background-repeat: no-repeat;
            min-height: 40vh;
        }
  
    .full-width-video-section .video-container {
        height: 40vh;
    }
    
    /* Video controls will scale automatically with clamp() */
}

@media (max-width: 768px) {
    /* Hero Section */
    .case-study-hero {
      
    }
    
    /* Hero title will scale automatically with clamp() */
    
    /* Content Section */
    .content-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .content-section {
        padding: 4rem 0;
    }
    
    /* CTA Section */
    .cta-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .cta-section {
        padding: 60px 0;
    }
    
    /* Image Section */
    .akbar-image-section {
        padding: 0px 0;
    }
}

@media (max-width: 480px) {
    /* Hero Section */
.case-study-hero {
        transform: scale(1.25);
    }
    /* Hero title will scale automatically with clamp() */
    
    /* Content Section */
    .content-section {
        padding: 3rem 0;
    }
    
    .services-title {
        font-size: clamp(1.25rem, 4vw, 1.5rem);
    }
    
    .project-title {
        font-size: clamp(1.25rem, 4vw, var(--font-size-2xl));
    }
    
    /* CTA Section */
    .cta-section {
        padding: 40px 0;
    }
    
    .cta-title {
        font-size: clamp(1.5rem, 5vw, 1.8rem);
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    
    /* Image Section */
    .akbar-image-section {
        padding: 0px 0;
    }
}

/* ========================================
   FOOTER SIZE REDUCTION
   ======================================== */

/* Footer Logo Size Reduction */
.footer-brand .logo {
    height: 100px !important; /* Reduced from 150px */
    width: 140px !important; /* Reduced from 200px */
}

/* Footer Paragraph Spacing Reduction */
.footer-brand p {
    margin-bottom: 1rem !important; /* Reduced from 2rem */
}


/* ========================================
   CASE STUDY CONTENT SECTION - UNIVERSAL
   ======================================== */

/* Content Section */
.case-study-content-section {
    padding: 6rem 0;
    background: #19365f;
    color: #ffffff;
    position: relative;
    z-index: 1;
    min-height: 400px;
    overflow: visible;
}

.case-study-content-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.case-study-content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: start;
}

/* Left Side - Services */
.case-study-services-side {
    text-align: left;
}

.case-study-services-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 1rem 0;
    font-family: var(--font-bold);
}

.case-study-services-list {
    font-size: 1.1rem;
    color: #ffffff;
    line-height: 1.6;
    margin: 0;
    font-weight: 400;
}

/* Right Side - Project Description */
.case-study-project-side {
    text-align: left;
}

.case-study-project-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 2rem 0;
    line-height: 1.3;
    font-family: var(--font-bold);
}

.case-study-project-description {
    font-size: 1.1rem;
    color: #ffffff;
    line-height: 1.8;
    margin: 0;
    font-weight: 400;
}

/* Responsive Design */
@media (max-width: 768px) {
    .case-study-content-section {
        padding: 4rem 0;
    }
    
    .case-study-content-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .case-study-project-title {
        font-size: 1.8rem;
    }
    
    .case-study-services-title {
        font-size: 1.3rem;
    }
    
    .case-study-services-list,
    .case-study-project-description {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .case-study-content-section {
        padding: 3rem 0;
    }
    
    .case-study-content-grid {
        gap: 2rem;
    }
    
    .case-study-project-title {
        font-size: 1.5rem;
    }
    
    .case-study-services-title {
        font-size: 1.2rem;
    }
    
    .case-study-services-list,
    .case-study-project-description {
        font-size: 0.95rem;
    }
}

/* ========================================
   THREE IMAGES SECTION (DESKTOP)
   ======================================== */

.akbar-three-images {
    width: 100%;
    padding: 0;
    margin: 0;
    background: var(--light-gray);
}

.three-images-container {
    display: flex;
    gap: 0; /* No gap between images */
    width: 100%;
    margin: 0;
    padding: 0;
}

.image-item {
    flex: 1;
    min-width: 33.333%;
    overflow: hidden;
}

.image-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ========================================
   MOBILE SLIDER SECTION
   ======================================== */

/* Mobile Slider Section - Hidden on desktop */
.mobile-slider-section {
    padding: 0;
    margin: 0;
    background: var(--light-gray);
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    display: none; /* Hidden on desktop by default */
}

.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: 100%;
    flex: 0 0 100%;
    overflow: hidden;
}

.mobile-slider-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.mobile-slider-controls {
    display: none;
    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/Tablet: Hide 3 images, show slider at 800px and below */
@media (max-width: 800px) {
    /* Hide desktop 3-image section */
    .akbar-three-images {
        display: none !important;
    }
    
    /* Show mobile slider */
    .mobile-slider-section {
        display: block;
    }
    
    
    
    .mobile-slider-controls {
        display: flex;
    }
}