/*
  Case Studies CSS Document
  Name: Ana M Cardenes
  Last Updated: October 31, 2025
  AMD Digital Designs - Neutral Professional Template
*/
@charset "UTF-8";

/* --- Import Project Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=EB+Garamond:ital,wght@0,400..800;1,400..800&display=swap');

/* --- ✨ Case Study Theme Variables ✨ --- */
:root {
    --font-heading: 'EB Garamond', serif;
    --font-body: 'EB Garamond', serif;
    --color-text-primary: #1a1a1a;
    --color-text-secondary: #666;
    --color-text-light: #999;
    --color-background: #ffffff;
    --color-background-alt: #fafafa;
    --color-border: #e5e5e5;
    --color-border-hover: #999;
}

/* ============================================
   CAPSTONE PROJECT STYLES
   ============================================ */

/* Ensure case study pages have proper background */
.case-capstone {
    background: #fafafa;
}

.capstone-hero {
    position: relative;
    min-height: 700px;
    display: flex;
    align-items: center;
    padding: 0;
    overflow: hidden;
    text-align: center;
    background: linear-gradient(180deg, #004c9d, #5fc7f7);
}

.hero-container {
    position: relative;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    padding: 100px 40px 80px;
    z-index: 2;
}

/* Skills section when placed after hero */
.hero-skills {
    background: #f5f5f5;
    padding: 35px 20px;
    border-top: none;
    border-bottom: 1px solid #e5e5e5;
}

.hero-skills .center-heading {
    font-size: 24px;
    margin-bottom: 20px;
    color: #1a1a1a;
}

.hero-skills .skill-tag {
    background: white;
    padding: 8px 16px;
    font-size: 13px;
}

/* Remove hover effect for hero-skills */
.hero-skills .skill-tag:hover {
    background: white;
    border-color: #e5e5e5;
    color: #666;
    transform: none;
}

.project-tag {
    display: inline-block;
    background: rgba(255, 255, 255, 0.95);
    color: #666;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 24px;
    border: 1px solid #e5e5e5;
}

.capstone-hero h1 {
    font-size: 52px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 24px;
    line-height: 1.2;
    text-shadow: none;
}

.project-specs {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    font-size: 15px;
    color: #ffffff;
    text-shadow: none;
}

.project-specs strong {
    color: #ffffff;
}

/* Impact Banner */
.impact-banner {
    background: #ffffff;
    padding: 60px 20px;
    border-top: 1px solid #e5e5e5;
    border-bottom: 1px solid #e5e5e5;
}

.impact-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.impact-stat {
    text-align: center;
    padding: 20px;
}

.stat-num {
    font-size: 48px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 14px;
    color: #666;
    font-weight: 500;
}

/* Design Process Section */
.design-process {
    padding: 80px 20px;
    background: #fafafa;
}

.design-process h2 {
    text-align: center;
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 60px;
    color: #1a1a1a;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    max-width: 1200px;
    margin: 0 auto;
}

.process-card {
    background: white;
    padding: 35px 25px;
    border-radius: 8px;
    border: 1px solid #e5e5e5;
    text-align: center;
    transition: all 0.3s ease;
}

.process-card:hover {
    border-color: #999;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.process-num {
    display: inline-block;
    width: 45px;
    height: 45px;
    background: #f5f5f5;
    color: #1a1a1a;
    border-radius: 50%;
    line-height: 45px;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
    border: 1px solid #e5e5e5;
}

.process-card h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
    color: #1a1a1a;
}

.process-card p {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
}

/* Work Sections */
.work-section {
    padding: 80px 20px;
    background: #ffffff;
}

.gray-bg {
    background: #fafafa;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2,
.center-heading {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #1a1a1a;
}

.section-header p {
    font-size: 18px;
    color: #666;
}

/* Overview Boxes */
.overview-boxes {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.overview-box {
    background: white;
    padding: 35px;
    border-radius: 8px;
    border: 1px solid #e5e5e5;
    transition: all 0.3s ease;
}

.overview-box:hover {
    border-color: #999;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.overview-box h3 {
    font-size: 22px;
    color: #1a1a1a;
    margin-bottom: 15px;
    font-weight: 600;
}

.overview-box p {
    font-size: 16px;
    color: #666;
    line-height: 1.6;
}

/* Deliverables Section */
.deliverables-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.deliverable-item {
    background: white;
    padding: 30px;
    border-radius: 8px;
    border: 1px solid #e5e5e5;
    transition: all 0.3s ease;
}

.deliverable-item:hover {
    border-color: #999;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.deliverable-tag {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 15px;
    background: #f5f5f5;
    color: #666;
    border: 1px solid #e5e5e5;
}

.deliverable-item h4 {
    font-size: 19px;
    font-weight: 600;
    margin-bottom: 12px;
    color: #1a1a1a;
}

.deliverable-item p {
    font-size: 15px;
    color: #666;
    line-height: 1.6;
}

/* Insights Section */
.insights-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 35px;
}

.insight-box {
    background: white;
    padding: 40px 30px;
    border-radius: 8px;
    border: 1px solid #e5e5e5;
    text-align: center;
    transition: all 0.3s ease;
}

.insight-box:hover {
    border-color: #999;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.insight-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f5f5;
    border-radius: 50%;
    border: 1px solid #e5e5e5;
}

.insight-icon i {
    font-size: 28px;
    color: #1a1a1a;
}

.insight-box h3 {
    font-size: 20px;
    margin-bottom: 15px;
    font-weight: 600;
    color: #1a1a1a;
}

.insight-box p {
    font-size: 15px;
    color: #666;
    line-height: 1.6;
}

/* Skills Section */
.skills-section {
    background: #ffffff;
    padding: 80px 20px;
    border-top: 1px solid #e5e5e5;
}

.skills-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    max-width: 1000px;
    margin: 0 auto;
}

.skill-tag {
    background: #f5f5f5;
    color: #666;
    padding: 10px 20px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    border: 1px solid #e5e5e5;
    transition: all 0.3s ease;
}

.skill-tag:hover {
    background: white;
    border-color: #999;
    color: #1a1a1a;
    transform: translateY(-2px);
}

/* Presentation Slides Section */
.presentation-section {
    padding: 80px 20px;
    background: #ffffff;
    border-top: 1px solid #e5e5e5;
}

.slides-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.slide-item {
    background: white;
    border-radius: 8px;
    border: 1px solid #e5e5e5;
    overflow: hidden;
    transition: all 0.3s ease;
}

.slide-item:hover {
    border-color: #999;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.slide-item img {
    width: 100%;
    height: auto;
    display: block;
}

.slide-caption {
    padding: 20px;
    background: #fafafa;
}

.slide-caption h4 {
    font-size: 16px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 8px;
}

.slide-caption p {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
}

/* CTA Section */
.capstone-cta {
    background: #fafafa;
    padding: 100px 20px;
    text-align: center;
    border-top: 1px solid #e5e5e5;
}

.cta-content h2 {
    font-size: 40px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 18px;
    color: #666;
    margin-bottom: 40px;
}

.cta-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary,
.btn-secondary {
    padding: 16px 36px;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-primary {
    background: #1a1a1a;
    color: white;
    border: 1px solid #1a1a1a;
}

.btn-primary:hover {
    background: #333;
    border-color: #333;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
    background: white;
    color: #1a1a1a;
    border: 1px solid #1a1a1a;
}

.btn-secondary:hover {
    background: #1a1a1a;
    color: white;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 1024px) {

    .impact-grid,
    .process-grid,
    .overview-boxes,
    .deliverables-grid,
    .insights-row {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .capstone-hero {
        min-height: 500px;
        padding: 0;
    }

    .hero-container {
        padding: 60px 20px;
    }

    .capstone-hero h1 {
        font-size: 32px;
        margin-bottom: 16px;
    }

    .hero-intro {
        font-size: 16px;
        margin-bottom: 30px;
    }

    .project-tag {
        font-size: 12px;
        padding: 6px 16px;
        margin-bottom: 16px;
    }

    .impact-banner {
        padding: 40px 15px;
    }

    .impact-grid,
    .process-grid,
    .overview-boxes,
    .deliverables-grid,
    .insights-row {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .impact-stat {
        padding: 15px;
    }

    .stat-num {
        font-size: 36px;
    }

    .design-process {
        padding: 50px 15px;
    }

    .design-process h2 {
        font-size: 32px;
        margin-bottom: 40px;
    }

    .process-card {
        padding: 25px 20px;
    }

    .work-section {
        padding: 50px 15px;
    }

    .overview-box,
    .deliverable-item,
    .insight-box {
        padding: 25px 20px;
    }

    .project-specs {
        flex-direction: column;
        gap: 8px;
        font-size: 14px;
    }

    .section-header {
        margin-bottom: 35px;
    }

    .section-header h2,
    .center-heading {
        font-size: 28px;
        margin-bottom: 15px;
    }

    .section-header p {
        font-size: 16px;
    }

    .skills-section {
        padding: 50px 15px;
    }

    .presentation-section {
        padding: 50px 15px;
    }

    .slides-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .slide-caption {
        padding: 15px;
    }

    .capstone-cta {
        padding: 60px 15px;
    }

    .cta-content h2 {
        font-size: 28px;
        margin-bottom: 15px;
    }

    .cta-content p {
        font-size: 16px;
        margin-bottom: 30px;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        max-width: 280px;
        padding: 14px 28px;
        font-size: 15px;
    }
}

/* ============================================
   ADDITIONAL CLIENT CASE STUDY STYLES
   (Ready for expansion)
   ============================================ */