/* Clario Project Page Styles */

.back-button-container {
    display: flex;
}
.back-button {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background-color: white;
    color: #1a1a1a;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    border: 1.5px solid #E0E0E0;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    text-decoration: none;
    transition: transform 0.2s ease;
}

.back-button:hover {
    transform: scale(1.05);
}

@media (max-width: 768px) {
    
    .back-button {
        font-size: 0.8rem;
        padding: 0.6rem 1.2rem;
    }
}

/* Project Hero */
.project-hero {
    padding: 10rem 1.5rem 5rem;
}

.project-hero-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.case-study-badge {
    font-size: 0.875rem;
    font-weight: 600;
    color: #C55E2B;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    display: block;
    margin-bottom: 1rem;
}

.project-hero-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 700;
    line-height: 1.1;
    color: #1a1a1a;
    margin: 1rem 0 1.5rem;
}

.project-hero-subtitle {
    font-size: 1.25rem;
    line-height: 1.7;
    color: #666;
    font-weight: 300;
    max-width: 48rem;
    margin: 0 auto 4rem;
}

.project-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
    margin-bottom: 4rem;
}

.meta-item {
    text-align: center;
}

.meta-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: #999;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.meta-value {
    font-size: 1rem;
    font-weight: 500;
    color: #1a1a1a;
}

.project-hero-image {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
    animation: fadeInUp 0.7s ease-out 0.3s backwards;
}

.project-hero-image img {
    width: 100%;
    height: auto;
    display: block;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Project Sections */
.project-section {
    padding: 5rem 1.5rem;
}

.project-section.bg-light {
    background-color: #FAFAFA;
}

.project-container {
    max-width: 64rem;
    margin: 0 auto;
}

.section-number {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.number {
    font-size: 0.875rem;
    font-weight: 600;
    color: #C55E2B;
    letter-spacing: 0.1em;
}

.number-line {
    height: 1px;
    width: 60px;
    background-color: #C55E2B;
}

.project-section-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 2rem;
}

.project-text {
    font-size: 1.125rem;
    line-height: 1.8;
    color: #666;
    font-weight: 300;
    margin-bottom: 1.5rem;
}

.project-text.mb-1 {
    margin-bottom: 1rem;
}

.project-text.mb-3 {
    margin-bottom: 2.5rem;
}

.project-list {
    list-style: none;
    padding-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.project-list li {
    font-size: 1.125rem;
    line-height: 1.8;
    color: #666;
    font-weight: 300;
    position: relative;
    margin-bottom: 0.5rem;
}

.project-list li::before {
    content: "•";
    position: absolute;
    left: -1.5rem;
    color: #C55E2B;
}

/* Problem Section */
.problem-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.problem-item {
    padding-bottom: 2rem;
}

.problem-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 0.75rem;
}

/* Approach Section */
.approach-list {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.approach-item {
    padding-bottom: 2rem;
}

.approach-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 1rem;
}

/* Image Break */
.image-break {
    padding: 3rem 1.5rem;
}

.image-break-container {
    max-width: 1200px;
    margin: 0 auto;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
}

.image-break-container img {
    width: 100%;
    height: auto;
    display: block;
}

/* Metrics */
.metrics-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 2.5rem;
}

.metric-item {
    text-align: center;
}

.metric-value {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    font-weight: 700;
    color: #C55E2B;
    margin-bottom: 0.5rem;
}

.metric-label {
    font-size: 0.95rem;
    color: #666;
    font-weight: 500;
}

@media (max-width: 768px) {
    .metrics-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .metric-value {
        font-size: 2.5rem;
    }
}

/* CTA Section */
.cta-section {
    padding: 5rem 1.5rem;
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
    text-align: center;
}

.cta-container {
    max-width: 48rem;
    margin: 0 auto;
}

.cta-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
}

.cta-subtitle {
    font-size: 1.125rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 300;
    margin-bottom: 2.5rem;
}

.cta-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

.btn-cta-secondary {
    background-color: transparent;
    color: white;
    border: 1.5px solid rgba(255, 255, 255, 0.3);
}

.btn-cta-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
}
