/* Coeur de Ville TikTok Case Study Specific Styles */

/* Case Study Hero Section */
.case-study-hero {
    position: relative;
    height: 80vh;
    min-height: 80vh;
    padding: 0;
    display: flex;
    align-items: center;
    background:linear-gradient(135deg, #fbc213 0%, #19365f 50%, #fbc213 100%);
    overflow: hidden;
    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: 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);
}

.case-study-hero-subtitle {
    font-size: 1.5rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

/* Content Section */
.content-section {
    padding: 6rem 0;
    background: #ffffff;
    color: #2c3e50;
}

.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: #2c3e50;
    margin-bottom: 1rem;
}

.services-list {
    font-size: 1rem;
    color: #6c757d;
    line-height: 1.6;
}

.right-side {
    padding-left: 2rem;
}

.project-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 2rem;
    line-height: 1.2;
}

.project-description {
    font-size: 1.1rem;
    color: #6c757d;
    line-height: 1.8;
    margin: 0 0 1.5rem 0;
}

/* Full Width Image Section */
.full-width-image-section {
    padding: 0;
    margin: 0;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    overflow: hidden;
    position: relative;
}

.full-width-image-container {
    position: relative;
    width: 100%;
    height: auto;
    margin: 0 auto;
}

.full-width-image {
    width: 100%;
    height: auto;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* TikTok Videos Section */
.tiktok-videos-section {
    padding: 6rem 0;
    background: #f8f9fa;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 4rem;
    color: #2c3e50;
}

.videos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.video-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: #ffffff;
}

.video-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.tiktok-video {
    width: 100%;
    height: 400px;
    object-fit: cover;
    object-position: center;
    display: block;
}

.video-info {
    padding: 1.5rem;
    text-align: center;
}

.video-info h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.video-info p {
    font-size: 1rem;
    color: #6c757d;
    margin: 0;
}

/* Stats Section */
.stats-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, #ff0050, #ff4081);
    color: #ffffff;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.stat-item {
    padding: 2rem;
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.stat-label {
    font-size: 1.1rem;
    font-weight: 500;
    opacity: 0.9;
}

/* Image Gallery Section */
.image-gallery-section {
    padding: 6rem 0;
    background: #ffffff;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.gallery-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.gallery-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-image {
    transform: scale(1.05);
}

/* 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;
}

/* TikTok Videos Section */
.tiktok-videos-section {
    padding: 6rem 0;
    background: #f8f9fa;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 4rem;
    color: #2c3e50;
}

.videos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.video-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: #ffffff;
}

.video-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.video-container {
    position: relative;
    width: 100%;
    height: 600px;
    overflow: hidden;
}

.tiktok-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.video-info {
    padding: 1.5rem;
    text-align: center;
}

.video-info h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.video-info p {
    font-size: 1rem;
    color: #6c757d;
    margin: 0;
}

/* Vimeo Video Container */
.vimeo-video-container {
    position: relative;
    width: 100%;
    background: #000;
}

/* Hide Vimeo spinner and UI */
.vimeo-video-container iframe {
    pointer-events: auto;
}

.vimeo-video-container .vp-spinner,
.vimeo-video-container [class*="spinner"],
.vimeo-video-container [class*="loading"] {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
}

/* Big Centered Play Button */
.vimeo-video-controls-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 20;
    transition: all 0.3s ease;
}

.vimeo-play-btn-big {
    background: rgba(255, 255, 255, 0.95);
    border: none;
    border-radius: 50%;
    width: clamp(80px, 15vw, 120px);
    height: clamp(80px, 15vw, 120px);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
}

.vimeo-play-btn-big:hover {
    background: rgba(255, 255, 255, 1);
    transform: scale(1.1);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.6);
}

.vimeo-play-btn-big i {
    font-size: clamp(2rem, 5vw, 3rem);
    color: #19365f;
    margin-left: 5px; /* Optical alignment for play icon */
}

/* Bottom Video Controls */
.vimeo-video-controls-bottom {
    position: absolute;
    bottom: 20px;
    right: 20px;
    z-index: 150;
    pointer-events: none;
    display: flex;
    gap: 1rem;
    transition: all 0.3s ease;
}

/* Small Play/Pause Button */
.vimeo-play-btn-small {
    background: rgba(255, 255, 255, 0.95);
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 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.3);
    backdrop-filter: blur(10px);
    pointer-events: auto;
    z-index: 160;
}

.vimeo-play-btn-small:hover {
    background: rgba(255, 255, 255, 1);
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.vimeo-play-btn-small i {
    font-size: 1.2rem;
    color: #2c3e50;
    transition: all 0.3s ease;
}

.vimeo-play-btn-small.playing i {
    color: #27ae60;
}

.vimeo-play-btn-small.paused i {
    color: #e74c3c;
}

/* Volume Button */
.vimeo-volume-btn {
    background: rgba(255, 255, 255, 0.95);
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 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.3);
    backdrop-filter: blur(10px);
    pointer-events: auto;
    z-index: 160;
}

.vimeo-volume-btn:hover {
    background: rgba(255, 255, 255, 1);
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.vimeo-volume-btn i {
    font-size: 1.2rem;
    color: #2c3e50;
    transition: all 0.3s ease;
}

.vimeo-volume-btn.muted i {
    color: #e74c3c;
}

.vimeo-volume-btn.unmuted i {
    color: #27ae60;
}

/* Vimeo Controls Responsive */
@media (max-width: 768px) {
    .vimeo-video-controls-bottom {
        gap: 0.8rem;
    }
    
    .vimeo-play-btn-big {
        width: clamp(70px, 15vw, 100px);
        height: clamp(70px, 15vw, 100px);
    }
    
    .vimeo-play-btn-big i {
        font-size: clamp(1.8rem, 5vw, 2.5rem);
    }
    
    .vimeo-play-btn-small,
    .vimeo-volume-btn {
        width: 45px;
        height: 45px;
    }
    
    .vimeo-play-btn-small i,
    .vimeo-volume-btn i {
        font-size: 1rem;
    }

    .case-study-hero-title {
        font-size: clamp(2rem, 8vw, 2rem);
    }
}

@media (max-width: 480px) {
    .vimeo-video-controls-bottom {
        bottom: 15px;
        right: 15px;
        gap: 0.6rem;
    }
    
    .vimeo-play-btn-big {
        width: clamp(60px, 15vw, 80px);
        height: clamp(60px, 15vw, 80px);
    }
    
    .vimeo-play-btn-big i {
        font-size: clamp(1.5rem, 5vw, 2rem);
    }
    
    .vimeo-play-btn-small,
    .vimeo-volume-btn {
        width: 40px;
        height: 40px;
    }
    
    .vimeo-play-btn-small i,
    .vimeo-volume-btn i {
        font-size: 0.9rem;
    }

    .case-study-hero-title {
        font-size: clamp(2rem, 8vw, 2rem);
    }

    .slider-slide {
        width: 100%;
        min-width: 100%;
        flex-shrink: 0;
    }
}

/* Mobile Responsive */
@media (max-width: 1536px) {
    .case-study-hero-background {
        min-height: 75vh;
    }

    .case-study-hero-title {
        font-size: clamp(3.5rem, 8vw, 3.5rem);
    }
}

@media (max-width: 1280px) {
    .case-study-hero {
        height: 80vh;
        min-height: 70vh;
    }
    .case-study-hero-background {
        min-height: 70vh;
    }

    .case-study-hero-title {
        font-size: clamp(3rem, 8vw, 3rem);
    }
}

@media (max-width: 1024px) {
    .case-study-hero {
        height: 80vh;
        min-height: 65vh;
    }
    .case-study-hero-background {
        min-height: 65vh;
    }
    .case-study-hero-title {
        font-size: clamp(2.5rem, 8vw, 2.5rem);
    }
    
    .case-study-hero-subtitle {
        font-size: 1.3rem;
    }
    
    .videos-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
    
    .video-container {
        height: 350px;
    }
}

@media (max-width: 768px) {
    .case-study-hero {
        height: 80vh;
        min-height: 55vh;
        padding: 0;
    }
    .case-study-hero-background {
        min-height: 55vh;
    }
    
    .case-study-hero-title {
        font-size: clamp(2rem, 8vw, 2rem);
    }
    
    .case-study-hero-subtitle {
        font-size: 1.1rem;
    }
    
    .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;
    }
    
    .videos-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .video-container {
        height: 300px;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .gallery-image {
        height: 250px;
    }
    
    .cta-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
}

@media (max-width: 640px) {
    .case-study-hero {
        height: 80vh;
        min-height: 50vh;
    }
    .case-study-hero-background {
        min-height: 50vh;
    }

    .case-study-hero-title {
        font-size: clamp(1.8rem, 8vw, 1.8rem);
    }
}

@media (max-width: 480px) {
        .case-study-hero-background {
                display: none;
            }

    
    .case-study-hero {
        height: 80vh;
        min-height: 40vh;
        padding: 0;
    }
    .case-study-hero-background {
        min-height: 40vh;
    }
    
    .case-study-hero-title {
        font-size: clamp(2rem, 8vw, 2rem);
    }
    
    .case-study-hero-subtitle {
        font-size: 1rem;
    }
    
    .content-section {
        padding: 4rem 0;
    }
    
    .project-title {
        font-size: 1.8rem;
    }
    
    .services-title {
        font-size: 1.2rem;
    }
    
    .tiktok-videos-section,
    .stats-section,
    .image-gallery-section {
        padding: 4rem 0;
    }
    
    .section-title {
        font-size: 2rem;
        margin-bottom: 3rem;
    }
    
    .video-container {
        height: 250px;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .gallery-image {
        height: 200px;
    }
    

    .slider-slide {
        width: 100%;
        min-width: 100%;
        flex-shrink: 0;
    }
}

@media (max-width: 360px) {
    .case-study-hero {
        height: 80vh;
        min-height: 35vh;
    }
    .case-study-hero-background {
        min-height: 35vh;
    }

    .case-study-hero-title {
        font-size: clamp(1.2rem, 8vw, 1.2rem);
    }
}

@media (max-height: 500px) and (orientation: landscape) {
    .case-study-hero {
        height: 80vh;
        min-height: 90vh;
    }
    .case-study-hero-background {
        min-height: 90vh;
    }
}

/* 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);
    }
}

@media (max-width: 360px) {
    .case-study-hero-title {
        font-size: clamp(1.2rem, 8vw, 1.2rem);
    }
}

/* Footer Logo and Paragraph - Match Akbar */
.footer-brand .logo {
    height: 100px !important; /* Reduced from 150px */
    width: 140px !important; /* Reduced from 200px */
}

.footer-brand p {
    margin-bottom: 1rem !important; /* Reduced from 2rem */
}


/* ========================================
   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;
}

/* Video Thumbnail */
.video-thumbnail {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    transition: opacity 0.3s ease;
}

.thumbnail-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.thumbnail-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
}

/* ========================================
   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;
    }
}
