/* Case Pages Specific Styling */

/* Hero Section */
.case-hero {
    padding: 160px 0 80px;
    background-color: var(--background-dark);
    color: white;
}

.case-hero .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.case-hero-content {
    max-width: 700px;
    margin-bottom: 40px;
}

.case-hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.case-hero-content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
}

.case-hero-image {
    width: 100%;
    max-width: 500px;
    height: 300px;
}

.case-hero-image model-viewer {
    width: 100%;
    height: 100%;
}

/* Overview Section */
.case-overview {
    padding: 80px 0;
    background-color: var(--background-light);
}

.case-overview h2 {
    text-align: center;
    margin-bottom: 1.5rem;
    font-size: 2.25rem;
}

.case-overview > .container > p {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
    font-size: 1.125rem;
    line-height: 1.7;
}

.benefits-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.benefit-card {
    background-color: #f8f8f8;
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
}

.benefit-card h3 {
    color: var(--text-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.benefit-card p {
    color: #666;
    line-height: 1.6;
}

/* Examples Section */
.case-examples {
    padding: 80px 0;
    background-color: #f0f0f0;
}

.case-examples h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.25rem;
}

.examples-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.example-card {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.example-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.example-card h3 {
    padding: 1.5rem 1.5rem 0.5rem;
    font-size: 1.5rem;
}

.example-card p {
    padding: 0 1.5rem 1.5rem;
    color: #666;
}

/* Case Studies Section */
.case-studies {
    padding: 80px 0;
    background-color: var(--background-dark);
    color: white;
}

.case-studies h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.25rem;
}

.case-study {
    margin-bottom: 2.5rem;
    padding: 2rem;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
}

.case-study h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
    color: var(--primary-color);
}

.case-study p {
    line-height: 1.6;
}

.case-studies .cta-button {
    display: block;
    margin: 3rem auto 0;
}

/* FAQ Section */
.case-faq {
    padding: 80px 0;
    background-color: var(--background-light);
}

.case-faq h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.25rem;
}

.faq-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.faq-item {
    background-color: #f8f8f8;
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.faq-item h3 {
    margin-bottom: 1rem;
    font-size: 1.25rem;
    color: var(--text-color);
}

.faq-item p {
    color: #666;
    line-height: 1.6;
}

/* Our Approach Section */
.case-approach {
    padding: 80px 0;
    background-color: #f9f9f9;
}

.case-approach h2 {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2.25rem;
}

.approach-content {
    max-width: 900px;
    margin: 0 auto;
}

.approach-content > p {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 1.125rem;
    line-height: 1.7;
}

.approach-steps {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

.approach-step {
    background-color: white;
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.approach-step h3 {
    color: var(--text-color);
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.approach-step p {
    color: #666;
    line-height: 1.6;
}

.approach-content .cta-button {
    display: block;
    margin: 0 auto;
}

/* Additional 3D Model Viewer Containment */
.case-hero-image {
    position: relative;
    width: 100%;
    max-width: 500px;
    height: 300px;
    overflow: hidden;
}

/* Responsive Styles */
@media (min-width: 768px) {
    .case-hero .container {
        flex-direction: row;
        text-align: left;
        justify-content: space-between;
        align-items: center;
    }
    
    .case-hero-content {
        margin-bottom: 0;
        margin-right: 3rem;
    }
    
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .examples-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .faq-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .approach-steps {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .case-hero-content h1 {
        font-size: 2.25rem;
    }
    
    .case-overview h2,
    .case-examples h2,
    .case-studies h2,
    .case-approach h2,
    .case-faq h2 {
        font-size: 1.75rem;
    }
} 