/* Case Study Signature Boutique Specific Styles */

/* Case Study Hero Section */
.case-study-hero {
    position: relative;
    height: 80vh;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 0;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-top: 0;
}

.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;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(20, 42, 74, 0.7) 30%, rgba(251, 194, 19, 0.2) 70%, rgba(25, 54, 95, 0.8) 100%);
    z-index: 2;
}

.case-study-hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: var(--white);
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
}

.case-study-logo {
    margin-bottom: 2rem;
}

.case-study-logo img {
    max-width: 200px;
    height: auto;
    filter: brightness(1.1);
}

.case-study-hero h1 {
    font-size: clamp(4rem, 8vw, 4rem);
    font-weight: 700;
    margin: 0 0 1rem 0;
    line-height: 1.2;
    font-family: var(--font-bold);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.case-study-subtitle {
    font-size: 1.5rem;
    font-weight: 400;
    margin: 0 0 2rem 0;
    opacity: 0.9;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.case-study-tags {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.tag {
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: var(--font-bold);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

/* Universal Content Section Styles */
.case-study-content-section {
    padding: 6rem 0;
    background: #ffffff;
    color: #333;
    position: relative;
    z-index: 2;
}

.case-study-content-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.case-study-content-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    align-items: start;
}

.case-study-services-side {
    padding-right: 2rem;
}

.case-study-services-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #19365f;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.case-study-services-list {
    font-size: 1rem;
    line-height: 1.6;
    color: #666;
    margin: 0;
}

.case-study-project-side {
    padding-left: 2rem;
}

.case-study-project-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #19365f;
    margin-bottom: 2rem;
    line-height: 1.2;
}

.case-study-project-description {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #555;
    margin-bottom: 1.5rem;
}

.case-study-project-description:last-child {
    margin-bottom: 0;
}

/* Responsive Content Section */
@media (max-width: 768px) {
    .case-study-content-section {
        padding: 4rem 0;
    }
    
    .case-study-content-container {
        padding: 0 1rem;
    }
    
    .case-study-content-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .case-study-services-side {
        padding-right: 0;
    }
    
    .case-study-project-side {
        padding-left: 0;
    }
    
    .case-study-project-title {
        font-size: 2rem;
    }
    
    .case-study-project-description {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .case-study-content-section {
        padding: 3rem 0;
    }
    
    .case-study-project-title {
        font-size: 1.8rem;
    }
    
    .case-study-services-title {
        font-size: 1.3rem;
    }
}

/* Case Study Content */
.case-study-content {
    padding: 6rem 0;
    background: #ffffff;
}

.case-study-text {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
}

.case-study-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 2rem;
    line-height: 1.2;
}

.case-study-text h3 {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--text-dark);
    margin: 3rem 0 1.5rem 0;
    line-height: 1.3;
}

.case-study-text p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-gray);
    margin-bottom: 1.5rem;
}

.case-study-text ul {
    margin: 1.5rem 0;
    padding-left: 2rem;
}

.case-study-text li {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-gray);
    margin-bottom: 0.8rem;
}

.case-study-text li strong {
    color: var(--text-dark);
    font-weight: 600;
}

/* Three Videos in One Row Section */
.three-videos-section {
    padding: 4rem 0;
    background: #ffffff;
}

.videos-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.video-wrapper {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.video-wrapper .video-container {
    position: relative;
    width: 100%;
    height: 700px; /* Taller height for portrait videos */
    margin: 0;
}

.portrait-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 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;
}

.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 Controls */
.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: #2c3e50;
    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: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
}

/* 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);
}

.play-pause-btn i {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    color: #2c3e50;
    transition: all 0.3s ease;
}

.mute-btn i {
    font-size: clamp(0.9rem, 2.5vw, 1.2rem);
    color: #2c3e50;
    transition: all 0.3s ease;
}

.play-pause-btn.playing i {
    color: #27ae60;
}

.mute-btn.unmuted i {
    color: #e74c3c;
}

/* Clean Image Slider */
.image-slider-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.slider-container {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    display: flex;
    align-items: center;
    gap: 2rem;
}

.slider-viewport {
    flex: 1;
    overflow: hidden;
    border-radius: 15px;
    padding: 10px 0;
}

.slider-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
}

.slider-item {
    flex: 0 0 calc(33.333% - 13.33px);
    margin-right: 20px;
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-item:last-child {
    margin-right: 0;
}

.slider-item:hover {
    transform: translateY(-5px);
}

.slider-item img {
    width: 100%;
    height: 600px;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
}

.slider-item:hover img {
    transform: scale(1.02);
}

.slider-nav {
    background: #19365f;
    color: white;
    border: none;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.slider-nav:hover {
    background: #fbc213;
    color: #19365f;
    transform: scale(1.1);
}

.slider-nav:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
}

.slider-nav:disabled:hover {
    background: #ccc;
    transform: none;
}


/* CTA Section */
.cta-section {
    background: linear-gradient(172deg, #19365f 0%, #142a4a 50%, #fbc213 100%);
    color: white;
    padding: 8rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.cta-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 2;
}

.cta-text h2 {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
    color: #ffffff;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.cta-text p {
    font-size: 1.2rem;
    line-height: 1.6;
    color: #ffffff;
    margin-bottom: 2.5rem;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.btn-outline-white {
    background: transparent;
    color: white;
    border: 2px solid white;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    font-size: 1rem;
}

.btn-outline-white:hover {
    background: white;
    color: #000000;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.2);
}

.cta-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 300px;
}

.cta-logo img {
    max-width: 300px;
    height: auto;
    opacity: 0.9;
    filter: brightness(1.1);
}

/* Slider Responsive Design */
@media (max-width: 1200px) {
    .slider-container {
        gap: 1.5rem;
    }
    
    .slider-nav {
        width: 50px;
        height: 50px;
        font-size: 1rem;
    }
}

@media (max-width: 900px) {
    .slider-item {
        flex: 0 0 calc(50% - 10px);
        margin-right: 15px;
    }
    
    .slider-item img {
        height: 500px;
        object-position: center;
    }
}

@media (max-width: 600px) {
    .slider-container {
        gap: 1rem;
    }
    
    .slider-nav {
        width: 45px;
        height: 45px;
        font-size: 0.9rem;
    }
    
    .slider-item {
        flex: 0 0 100%;
        margin-right: 0;
        gap: 0;
    }
    
    .slider-item img {
        height: 400px;
        object-position: center;
    }
}

@media (max-width: 1024px) {
    .case-study-hero {
        height: 80vh;
        min-height: 80vh;
        margin-top: 0;
    }
    
    .case-study-hero-bg {
        height: 80vh;
        min-height: 80vh;
    }
    
    .case-study-hero h1 {
        font-size: 2.5rem;
    }
    
    .videos-row {
        gap: 1.5rem;
    }
    
    .video-wrapper .video-container {
        height: 500px;
    }

    .case-study-hero-title {
        font-size: clamp(2.5rem, 8vw, 2.5rem);
    }
}

@media (max-width: 1024px) {
    .videos-row {
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem;
    }
    
    .video-wrapper .video-container {
        height: 500px;
    }
    
    /* Hide third video on tablet, show only 2 */
    .videos-row .video-wrapper:nth-child(3) {
        display: none;
    }
}

@media (max-width: 768px) {
    .case-study-hero {
        height: 80vh;
        min-height: 80vh;
        margin-top: 0;
    }
    
    .case-study-hero-bg {
        height: 80vh;
        min-height: 80vh;
    }
    
    .case-study-hero h1 {
        font-size: 2rem;
    }
    
    .case-study-subtitle {
        font-size: 1.2rem;
    }
    
    .case-study-text h2 {
        font-size: 2rem;
    }
    
    .case-study-text h3 {
        font-size: 1.5rem;
    }
    
    .case-study-text p {
        font-size: 1rem;
    }
    
    .case-study-text li {
        font-size: 1rem;
    }
    
    
    .videos-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .video-wrapper .video-container {
        height: 400px;
    }
    
    /* Show all videos on mobile in single column */
    .videos-row .video-wrapper:nth-child(3) {
        display: block;
    }
    
    
    .play-pause-btn, .mute-btn {
        width: clamp(35px, 6vw, 50px);
        height: clamp(35px, 6vw, 50px);
    }
    
    .play-pause-btn i, .mute-btn i {
        font-size: 1.8rem;
    }
    
    .cta-section {
        padding: 4rem 0;
    }
    
    .cta-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .cta-text h2 {
        font-size: 2.2rem;
    }
    
    .cta-text p {
        font-size: 1.1rem;
    }
    
    .cta-buttons {
        justify-content: center;
    }
    
    .cta-logo {
        height: 250px;
    }
    
    .cta-logo img {
        max-width: 250px;
    }

    .case-study-hero-title {
        font-size: clamp(2rem, 8vw, 2rem);
    }
}

@media (max-width: 480px) {
    .case-study-hero {
        height: 80vh;
        min-height: 80vh;
    }
    
    .case-study-hero-bg {
        height: 80vh;
        min-height: 80vh;
    }
    
    .case-study-hero h1 {
        font-size: 2rem;
    }
    
    .case-study-subtitle {
        font-size: 1rem;
    }
    
    .tag {
        padding: 0.4rem 1rem;
        font-size: 0.8rem;
    }
    
    .case-study-text h2 {
        font-size: 1.8rem;
    }
    
    .case-study-text h3 {
        font-size: 1.3rem;
    }
    
    .cta-section {
        padding: 3rem 0;
    }
    
    .cta-content {
        padding: 0 1rem;
    }
    
    .cta-text h2 {
        font-size: 1.8rem;
    }
    
    .cta-text p {
        font-size: 1rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-outline-white {
        width: 200px;
        text-align: center;
    }
    
    .cta-logo {
        height: 200px;
    }
    
    .cta-logo img {
        max-width: 200px;
    }
    

    .slider-slide {
        width: 100%;
        min-width: 100%;
        flex-shrink: 0;
    }

    .case-study-hero-title {
        font-size: clamp(2rem, 8vw, 2rem);
    }
}

@media (max-width: 1536px) {
    .case-study-hero {
        height: 80vh;
        min-height: 80vh;
    }
    
    .case-study-hero-bg {
        height: 80vh;
        min-height: 80vh;
    }

    .case-study-hero-title {
        font-size: clamp(2rem, 8vw, 2rem);
    }
}

@media (max-width: 1280px) {
    .case-study-hero {
        height: 80vh;
        min-height: 80vh;
    }
    
    .case-study-hero-bg {
        height: 80vh;
        min-height: 80vh;
    }

    .case-study-hero-title {
        font-size: clamp(2rem, 8vw, 2rem);
    }
}

@media (max-width: 640px) {
    .case-study-hero {
        height: 80vh;
        min-height: 80vh;
    
    .case-study-hero-title {
        font-size: clamp(2rem, 8vw, 2rem);
    }
}
    
    .case-study-hero-bg {
        height: 80vh;
        min-height: 80vh;
    }
}

@media (max-width: 360px) {
    .case-study-hero {
        height: 80vh;
        min-height: 80vh;
    
    .case-study-hero-title {
        font-size: clamp(1.2rem, 8vw, 1.2rem);
    }
}
    
    .case-study-hero-bg {
        height: 80vh;
        min-height: 80vh;
    }
}

@media (orientation: landscape) and (max-height: 500px) {
    .case-study-hero {
        height: 80vh;
        min-height: 100vh;
    }
    
    .case-study-hero-bg {
        height: 100vh;
        min-height: 100vh;
    }
}


/* ========================================
   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;
}

/* Hide banner on mobile 800px and below */
@media (max-width: 800px) {
    .full-width-banner-section {
        display: none !important;
    }
}

