/* Web Case Studies Styles */

/* Case Study Hero Section */
.case-study-hero {
    
    padding: 200px 0 80px;
    position: relative;
    overflow: hidden;
    text-align: center;
    height: 80vh;
    display: flex;
    align-items: center;
}

.case-study-hero-background-model {

    background-image: url('../images/web/stylish.webp');
    background-size: cover;
    background-position: top center;
    background-repeat: no-repeat;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
}



.case-study-hero-background-breathing-soul {
    background-image: url('../images/web/bsheroweb.png');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
}

.case-study-hero-background-cas {
    background-image: url('../images/web/casbanner.jpg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
}

.case-study-hero-background-iris {
    background-image: url('../images/web/irisbanner.jpg');
    background-size: cover;
    background-position: top center;
    background-repeat: no-repeat;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
}

.case-study-hero-background-leo {
    background-image: url('../images/web/leobanner.jpg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
}

.case-study-hero-background-procare {
    background-image: url('../images/web/procarebanner.jpg');
    background-size: cover;
    background-position: top center;
    background-repeat: no-repeat;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
}

.case-study-hero-background-kishkinda {
    background-image: url('../images/web/kishbanner.jpg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
}

.case-study-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
}

.case-study-hero-content {
    position: relative;
    z-index: 3;
    max-width: 800px;
    margin: 0 auto;
}

.case-study-category {
    display: inline-block;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    font-size: var(--font-size-sm);
    font-weight: 600;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.case-study-hero-title {
    font-family: var(--font-bold);
    font-size: clamp(4rem, 8vw, 4rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

/* Content Section */
.content-section {
    padding: 100px 0;
    background: #19365f;
}

.content-layout {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    align-items: start;
}

/* Left Side - Technologies & Link */
.left-side {
    position: sticky;
    top: 120px;
}

.services-title {
    font-family: var(--font-bold);
    font-size: var(--font-size-xl);
    color: #ffffff;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.services-list {
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 2.5rem;
    font-size: var(--font-size-base);
}

/* Removed project-link styles - button moved to image section */

/* Right Side - Project Description */
.right-side {
    padding-left: 2rem;
}

.project-title {
    font-family: var(--font-bold);
    font-size: 2.5rem;
    color: #ffffff;
    line-height: 1.2;
    margin-bottom: 2rem;
}

.project-description {
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 2rem;
    font-size: var(--font-size-base);
}

.project-description:last-child {
    margin-bottom: 0;
}

/* CTA Section */
.cta-section {
    background: #000000;
    padding: 100px 0;
}

.cta-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.cta-title {
    font-family: var(--font-bold);
    font-size: 2.5rem;
    color: #ffffff;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.cta-subtitle {
    color: var(--text-gray);
    line-height: 1.7;
    margin-bottom: 2.5rem;
    font-size: var(--font-size-base);
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    justify-content: flex-start;
}

.cta-logo {
    text-align: center;
}

.cta-logo img {
    max-width: 200px;
    height: auto;
}

/* Image Section */
.web-image-section {
    padding: 120px 0;
    background: var(--white);
}

.image-content {
    text-align: center;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
}

.image-content img {
    width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.image-content:hover img {
    transform: translateY(-5px);
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.15);
}

/* Website Link Button - positioned below image */
.website-link-container {
    text-align: center;
    margin-top: 2rem;
}

.website-link {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    font-size: var(--font-size-base);
    padding: 1rem 2rem;
    border: 2px solid var(--primary-color);
    border-radius: 25px;
    transition: all 0.3s ease;
    background: var(--primary-color);
    box-shadow: 0 4px 15px rgba(251, 194, 19, 0.3);
}

.website-link:hover {
    background: transparent;
    color: var(--primary-color);
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(251, 194, 19, 0.4);
}

.website-link i {
    font-size: 1rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .content-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .left-side {
        position: static;
        order: 2;
        margin-top: 2rem;
        padding-top: 2rem;
        border-top: 2px solid var(--light-gray);
    }
    
    .right-side {
        padding-left: 0;
        order: 1;
    }
    
    .cta-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .project-title {
        font-size: 2rem;
    }
    
    .case-study-hero-title {
        font-size: clamp(2.5rem, 8vw, 2.5rem);
    }
}

@media (max-width: 768px) {
    .case-study-hero {
        padding: 150px 0 60px;
        height: auto;
        min-height: 80vh;
    }
    
    .case-study-hero-title {
        font-size: clamp(2rem, 8vw, 2rem);
    }
    
    .content-section {
        padding: 60px 0;
    }
    
    .project-title {
        font-size: 1.75rem;
    }
    
    .cta-section {
        padding: 60px 0;
    }
    
    .cta-title {
        font-size: 2rem;
    }
    
    .cta-buttons {
        justify-content: flex-start;
    }
    
    .web-image-section {
        padding: 80px 0;
    }
    
    .image-content {
        max-width: 1200px;
    }
}

@media (max-width: 480px) {
    .case-study-hero-title {
        font-size: clamp(2rem, 8vw, 2rem);
    }
    
    .project-title {
        font-size: 1.5rem;
    }
    
    .cta-title {
        font-size: 1.75rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .btn {
        width: 100%;
        max-width: 280px;
        text-align: center;
    }
    
    .image-content .website-link {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .web-image-section {
        padding: 60px 0;
    }
    
    .image-content {
        max-width: 100%;
    }
}

/* Case Study Title Styling */
.case-study-title {
    font-family: var(--font-bold);
    font-size: 1.25rem;
    color: var(--text-dark);
    margin: 0;
    padding: 1rem 0;
    text-align: center;
}

/* Service Tags in Case Studies */
.case-study-services {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    padding: 0 1rem 1.5rem;
}

.service-tag {
    background: var(--primary-color);
    color: var(--white);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: var(--font-size-sm);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Case Study Logo Container */
.case-study-logo-container {
    padding: 1.5rem 1rem 1rem;
    text-align: center;
    background: var(--white);
}

/* Ensure portfolio grid uses case study cards */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    max-width: 1400px;
    margin: 0 auto;
}

/* Import existing case study styles from work.css */
.case-study-card {
    background: #ffffff;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    width: 100%;
    min-width: 350px;
}

.case-study-item {
    border-radius: 24px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0, 0, 0, 0.05);
    text-align: center;
    position: relative;
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
    min-width: 350px;
}

.case-study-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    text-decoration: none;
    color: inherit;
}

.case-study-image {
    position: relative;
    height: auto;
    overflow: hidden;
}

.case-study-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(25, 54, 95, 0.1) 0%, rgba(251, 194, 19, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
}

.case-study-item:hover .case-study-image::after {
    opacity: 1;
}

.case-study-image img {
    width: 100%;
    height: 600px;
    object-fit: cover;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.case-study-item:hover .case-study-image img {
    transform: scale(1.05);
}


/* ========================================
   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;
}
