/* Art & Computation Presentation Styles */
/* Brutalist aesthetic matching aac.risd.edu */

/* CSS Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Custom Properties - matching AAC website */
:root {
    --bg-color: #000000;
    --text-color: #FFFFFF;
    --accent-color: #00FF00;
    --border-color: #FFFFFF;
    --slide-width: 1920px;
    --slide-height: 1080px;
}

/* Base Styles */
html {
    scroll-behavior: smooth;
    scroll-snap-type: y mandatory;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    font-size: 18px;
    line-height: 1.5;
    color: var(--text-color);
    background: var(--bg-color);
    overflow-x: hidden;
}

/* ========================================
   SLIDE CONTAINER
   ======================================== */

.slide {
    width: 100vw;
    height: 100vh;
    min-height: 100vh;
    background: var(--bg-color);
    color: var(--text-color);
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 60px 80px;
    scroll-snap-align: start;
    position: relative;
}

.slide-content {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

/* ========================================
   TYPOGRAPHY
   ======================================== */

h1 {
    font-size: 5rem;
    font-weight: bold;
    line-height: 1.05;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

h2 {
    font-size: 4rem;
    font-weight: bold;
    line-height: 1.1;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

h3 {
    font-size: 1.75rem;
    font-weight: bold;
    line-height: 1.2;
    margin-bottom: 0.75rem;
}

p {
    font-size: 1.4rem;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.subtitle {
    font-size: 2rem;
    line-height: 1.4;
    max-width: 700px;
}

.slide-subtitle {
    font-size: 1.75rem;
    line-height: 1.4;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.large-text {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
}

.note {
    font-size: 1.25rem;
    opacity: 0.8;
    margin-top: 2rem;
}

.mono {
    font-family: "Courier New", Monaco, monospace;
}

/* ========================================
   LAYOUT GRIDS
   ======================================== */

.content-grid {
    display: grid;
    gap: 3rem;
    flex: 1;
    align-items: start;
}

.content-grid.two-col {
    grid-template-columns: 1fr 1fr;
}

.content-grid.two-col-wide {
    grid-template-columns: 1.3fr 1fr;
}

.content-grid.two-col-flex {
    grid-template-columns: 1.2fr 1fr;
    gap: 2rem;
}

.text-block {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* ========================================
   IMAGE FRAMES - Brutalist style
   ======================================== */

.image-frame {
    border: 1px solid var(--border-color);
    overflow: hidden;
    background: #111;
}

.image-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.image-frame.small {
    height: 170px;
}

.image-frame.tall {
    height: 100%;
    min-height: 400px;
}

/* Image grid for Make Things slide */
.image-grid-small {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.image-grid-small .image-frame {
    height: 180px;
}

/* ========================================
   TITLE SLIDE (Slide 1)
   ======================================== */

.title-slide {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.title-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.title-image .image-frame {
    height: 500px;
    max-height: 70vh;
}

/* ========================================
   FEATURE LISTS
   ======================================== */

.feature-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.feature-list li {
    font-size: 1.4rem;
    line-height: 1.4;
    padding: 0.6rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.feature-list li:last-child {
    border-bottom: none;
}

.feature-list.compact li {
    font-size: 1.2rem;
    padding: 0.4rem 0;
}

/* ========================================
   CALLOUT BOXES
   ======================================== */

.callout-box {
    border: 1px solid var(--border-color);
    padding: 1.25rem 1.5rem;
    margin-top: 1rem;
}

.callout-box p {
    font-size: 1.2rem;
    margin: 0;
}

.callout-box.wide {
    margin-top: 1.5rem;
}

.callout-box.large {
    padding: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.callout-box.large p {
    font-size: 1.75rem;
    font-weight: bold;
    text-align: center;
}

.callout-box.highlight-box {
    border-color: var(--accent-color);
    background: rgba(0, 255, 0, 0.05);
}

.callout-box.highlight-box p {
    font-size: 1.15rem;
}

/* ========================================
   EMPHASIS BOX (Slide 3)
   ======================================== */

.emphasis-box {
    border: 1px solid var(--border-color);
    padding: 1rem 1.5rem;
    margin-top: 1rem;
}

.emphasis-header {
    font-size: 1.1rem;
    font-weight: bold;
    color: var(--accent-color);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.75rem;
}

.emphasis-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.emphasis-list li {
    font-size: 1.1rem;
    line-height: 1.4;
    padding: 0.35rem 0;
}

.emphasis-list li strong {
    color: var(--accent-color);
}

/* ========================================
   CURRICULUM COLUMNS (Slide 4)
   ======================================== */

.curriculum-columns {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 1.5rem;
    flex: 1;
}

.curriculum-col {
    border: 1px solid var(--border-color);
    padding: 1.5rem;
}

.curriculum-col .year-label {
    font-size: 1.4rem;
    font-weight: bold;
    color: var(--accent-color);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.curriculum-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.curriculum-list li {
    font-size: 1.15rem;
    line-height: 1.4;
    padding: 0.4rem 0;
}

.side-note {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 1rem;
}

.note-label {
    font-size: 0.9rem;
    font-weight: bold;
    color: var(--accent-color);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    white-space: nowrap;
}

.note-text {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* ========================================
   DEGREE BREAKDOWN (Slide 5)
   ======================================== */

.degree-breakdown {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.degree-bar {
    display: flex;
    align-items: center;
    gap: 1rem;
    height: 32px;
}

.bar-fill {
    background: var(--text-color);
    height: 100%;
    display: flex;
    align-items: center;
    padding-left: 0.75rem;
    min-width: 80px;
}

.bar-fill span {
    font-size: 0.85rem;
    font-weight: bold;
    color: var(--bg-color);
    white-space: nowrap;
}

.bar-percent {
    font-size: 1rem;
    font-family: "Courier New", Monaco, monospace;
    color: rgba(255, 255, 255, 0.7);
}

.degree-bar.highlight .bar-fill {
    background: var(--accent-color);
}

.key-numbers {
    display: flex;
    gap: 2rem;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
}

.key-number {
    font-size: 1.1rem;
}

.key-number .num {
    font-size: 2rem;
    font-weight: bold;
    color: var(--accent-color);
    display: block;
}

/* Flexibility boxes */
.flexibility-boxes {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.flex-box {
    border: 1px solid var(--border-color);
    padding: 1rem 1.25rem;
    font-size: 1.1rem;
    line-height: 1.3;
}

/* ========================================
   PATHWAYS DIAGRAM (Slide 6)
   ======================================== */

.pathways-diagram {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(3, 1fr);
    gap: 1rem;
    flex: 1;
    max-height: 500px;
}

.pathway-area {
    border: 1px solid var(--border-color);
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.5rem;
}

.pathway-area .area-label {
    font-size: 1.3rem;
    font-weight: bold;
    color: var(--accent-color);
}

.pathway-area .course-code {
    font-size: 0.95rem;
    opacity: 0.8;
}

.pathway-area.area-1 { grid-column: 2; grid-row: 1; }
.pathway-area.area-2 { grid-column: 1; grid-row: 1; }
.pathway-area.area-3 { grid-column: 1; grid-row: 2; }
.pathway-area.area-4 { grid-column: 1; grid-row: 3; }
.pathway-area.area-5 { grid-column: 3; grid-row: 3; }
.pathway-area.area-6 { grid-column: 3; grid-row: 1; }
.pathway-area.area-center {
    grid-column: 2;
    grid-row: 2;
    background: rgba(0, 255, 0, 0.1);
    border-color: var(--accent-color);
}

.pathway-note {
    margin-top: 1rem;
    font-size: 1.1rem;
    opacity: 0.8;
}

/* Pathways Image Slide (Slide 6 - simplified) */
.pathways-image-slide {
    align-items: center;
    justify-content: center;
}

.pathways-image-container {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    max-height: calc(100vh - 200px);
}

.pathways-image-container img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* ========================================
   AI SHIFT (Slide 7)
   ======================================== */

.ai-content p {
    font-size: 1.25rem;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.ai-content .bottom-line {
    font-weight: bold;
    font-size: 1.2rem;
}

.jig-theory-box {
    border: 1px solid var(--accent-color);
    padding: 1rem 1.25rem;
    margin: 1rem 0;
}

.jig-label {
    font-size: 0.9rem;
    font-weight: bold;
    color: var(--accent-color);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: block;
    margin-bottom: 0.5rem;
}

.jig-theory-box p {
    font-size: 1.1rem;
    margin: 0;
}

/* ========================================
   WORK GRID (Slide 8)
   ======================================== */

.work-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    flex: 1;
}

.work-item {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.work-item span {
    font-size: 1rem;
    font-weight: bold;
}

/* ========================================
   CAREER GRID (Slide 9)
   ======================================== */

.career-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.career-box {
    border: 1px solid var(--border-color);
    padding: 1.25rem;
}

.career-box h3 {
    color: var(--accent-color);
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.career-box p {
    font-size: 1.05rem;
    margin: 0;
    opacity: 0.9;
}

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

.student-example {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.student-label {
    font-size: 1rem;
    font-weight: bold;
    color: var(--accent-color);
}

.student-example p {
    font-size: 1rem;
    margin: 0;
    opacity: 0.9;
}

.industry-note {
    font-size: 1rem;
    opacity: 0.7;
    margin-top: 1rem;
}

/* ========================================
   WHY JOIN NOW (Slide 10)
   ======================================== */

.why-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.why-box {
    border: 1px solid var(--border-color);
    padding: 1.25rem;
}

.why-box h3 {
    color: var(--accent-color);
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.why-box p {
    font-size: 1.05rem;
    margin: 0;
    line-height: 1.4;
}

.community-images {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.community-images .image-frame {
    height: 150px;
}

/* ========================================
   PATHWAY BOXES (Slide 11)
   ======================================== */

.pathway-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    flex: 1;
    align-items: start;
}

.pathway-box {
    border: 1px solid var(--border-color);
    padding: 1.5rem;
    height: fit-content;
    display: flex;
    flex-direction: column;
}

.pathway-box h3 {
    color: var(--accent-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.pathway-box ul {
    list-style: none;
    margin: 0;
    padding: 0;
    flex: 1;
}

.pathway-box li {
    font-size: 1.15rem;
    padding: 0.4rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.pathway-box li:last-child {
    border-bottom: none;
}

.pathway-box.major {
    border-color: var(--accent-color);
}

.pathway-summary {
    border: 1px solid var(--border-color);
    padding: 1rem;
    margin-top: 1rem;
    text-align: center;
}

.pathway-summary p {
    font-size: 1.1rem;
    font-weight: bold;
    margin: 0;
}

.pathway-box.major .pathway-summary {
    border-color: var(--accent-color);
    color: var(--accent-color);
}

.bottom-note {
    text-align: left;
    font-size: 1.3rem;
    margin-top: 1.5rem;
    font-weight: bold;
}

/* ========================================
   INFO GRID (Slide 12)
   ======================================== */

.info-grid {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.info-item {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 1.5rem;
    padding: 0.6rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.info-item .label {
    font-weight: bold;
    color: var(--accent-color);
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
}

.info-item .value {
    font-size: 1.2rem;
}

/* Final section */
.final-section {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    height: 100%;
}

.final-callout {
    border: 2px solid var(--accent-color);
    padding: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.final-callout p {
    font-size: 1.75rem;
    font-weight: bold;
    text-align: center;
    margin: 0;
    color: var(--accent-color);
}

.final-image {
    flex: 1;
    min-height: 200px;
}

/* ========================================
   SLIDE COUNTER (Screen only)
   ======================================== */

.slide-counter {
    position: fixed;
    bottom: 20px;
    right: 30px;
    font-size: 1rem;
    font-family: "Courier New", Monaco, monospace;
    color: rgba(255, 255, 255, 0.5);
    z-index: 1000;
}

.nav-hint {
    position: fixed;
    bottom: 20px;
    left: 30px;
    font-size: 0.85rem;
    font-family: "Courier New", Monaco, monospace;
    color: rgba(255, 255, 255, 0.3);
    z-index: 1000;
}

/* ========================================
   RESPONSIVE ADJUSTMENTS
   ======================================== */

@media (max-width: 1400px) {
    .slide {
        padding: 40px 60px;
    }

    h1 {
        font-size: 4rem;
    }

    h2 {
        font-size: 3rem;
    }

    .subtitle {
        font-size: 1.5rem;
    }

    .slide-subtitle {
        font-size: 1.4rem;
    }

    .large-text {
        font-size: 1.5rem;
    }

    .feature-list li {
        font-size: 1.2rem;
    }

    .work-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 1rem;
    }

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

    .image-frame.small {
        height: 120px;
    }

    .curriculum-columns {
        gap: 1.5rem;
    }

    .pathway-area .area-label {
        font-size: 1.1rem;
    }
}

@media (max-width: 1000px) {
    .slide {
        padding: 30px 40px;
    }

    h1 {
        font-size: 3rem;
    }

    h2 {
        font-size: 2.5rem;
    }

    .content-grid.two-col,
    .content-grid.two-col-wide,
    .content-grid.two-col-flex {
        grid-template-columns: 1fr;
    }

    .title-slide {
        grid-template-columns: 1fr;
    }

    .pathway-grid {
        grid-template-columns: 1fr;
    }

    .curriculum-columns {
        grid-template-columns: 1fr;
    }

    .career-grid {
        grid-template-columns: 1fr 1fr;
    }

    .why-grid {
        grid-template-columns: 1fr;
    }

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

    .pathways-diagram {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: auto;
    }

    .pathway-area.area-1,
    .pathway-area.area-2,
    .pathway-area.area-3,
    .pathway-area.area-4,
    .pathway-area.area-5,
    .pathway-area.area-6,
    .pathway-area.area-center {
        grid-column: auto;
        grid-row: auto;
    }
}

/* ========================================
   PRINT / PDF STYLES
   ======================================== */

@media print {
    @page {
        size: 1920px 1080px;
        margin: 0;
    }

    html {
        scroll-snap-type: none;
    }

    body {
        background: #000000 !important;
        -webkit-print-color-adjust: exact !important;
        print-color-adjust: exact !important;
        color-adjust: exact !important;
    }

    .slide {
        width: 1920px !important;
        height: 1080px !important;
        min-height: 1080px !important;
        max-height: 1080px !important;
        page-break-after: always;
        page-break-inside: avoid;
        break-after: page;
        break-inside: avoid;
        padding: 60px 80px !important;
        background: #000000 !important;
        color: #FFFFFF !important;
        overflow: hidden;
    }

    .slide:last-child {
        page-break-after: auto;
    }

    /* Hide navigation elements */
    .slide-counter,
    .nav-hint {
        display: none !important;
    }

    /* Ensure colors print correctly */
    * {
        -webkit-print-color-adjust: exact !important;
        print-color-adjust: exact !important;
    }

    /* Force background colors */
    .slide,
    body {
        background-color: #000000 !important;
    }

    /* Force text colors */
    h1, h2, h3, p, li, span {
        color: #FFFFFF !important;
    }

    .year-label,
    .info-item .label,
    .pathway-box h3,
    .final-callout p,
    .emphasis-header,
    .jig-label,
    .note-label,
    .student-label,
    .career-box h3,
    .why-box h3,
    .area-label,
    .key-number .num {
        color: #00FF00 !important;
    }

    .emphasis-list li strong {
        color: #00FF00 !important;
    }

    .pathway-box.major .pathway-summary p {
        color: #00FF00 !important;
    }

    /* Ensure borders print */
    .image-frame,
    .callout-box,
    .curriculum-col,
    .pathway-box,
    .career-box,
    .why-box,
    .pathway-area,
    .emphasis-box,
    .flex-box,
    .pathway-summary,
    .tag,
    .job {
        border-color: #FFFFFF !important;
    }

    .final-callout,
    .jig-theory-box,
    .pathway-box.major,
    .pathway-box.major .pathway-summary,
    .callout-box.highlight-box,
    .pathway-area.area-center {
        border-color: #00FF00 !important;
    }

    .bar-fill {
        background: #FFFFFF !important;
    }

    .degree-bar.highlight .bar-fill {
        background: #00FF00 !important;
    }

    .bar-fill span {
        color: #000000 !important;
    }

    /* Reset font sizes for print */
    h1 {
        font-size: 5rem !important;
    }

    h2 {
        font-size: 4rem !important;
    }

    h3 {
        font-size: 1.75rem !important;
    }

    p {
        font-size: 1.4rem !important;
    }

    .subtitle {
        font-size: 2rem !important;
    }

    .slide-subtitle {
        font-size: 1.75rem !important;
    }

    .large-text {
        font-size: 2rem !important;
    }

    .feature-list li {
        font-size: 1.4rem !important;
    }

    /* Ensure grids work in print */
    .content-grid.two-col,
    .content-grid.two-col-wide {
        grid-template-columns: 1fr 1fr !important;
    }

    .content-grid.two-col-flex {
        grid-template-columns: 1.2fr 1fr !important;
    }

    .title-slide {
        grid-template-columns: 1.2fr 1fr !important;
    }

    .pathway-grid {
        grid-template-columns: 1fr 1fr !important;
    }

    .curriculum-columns {
        grid-template-columns: repeat(3, 1fr) !important;
    }

    .work-grid {
        grid-template-columns: repeat(4, 1fr) !important;
    }

    .career-grid {
        grid-template-columns: repeat(4, 1fr) !important;
    }

    .why-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .community-images {
        grid-template-columns: repeat(3, 1fr) !important;
    }

    .pathways-diagram {
        grid-template-columns: repeat(3, 1fr) !important;
        grid-template-rows: repeat(3, 1fr) !important;
    }

    .pathway-area.area-1 { grid-column: 2 !important; grid-row: 1 !important; }
    .pathway-area.area-2 { grid-column: 1 !important; grid-row: 1 !important; }
    .pathway-area.area-3 { grid-column: 1 !important; grid-row: 2 !important; }
    .pathway-area.area-4 { grid-column: 1 !important; grid-row: 3 !important; }
    .pathway-area.area-5 { grid-column: 3 !important; grid-row: 3 !important; }
    .pathway-area.area-6 { grid-column: 3 !important; grid-row: 1 !important; }
    .pathway-area.area-center { grid-column: 2 !important; grid-row: 2 !important; }

    /* Ensure images are visible */
    .image-frame img {
        -webkit-print-color-adjust: exact !important;
        print-color-adjust: exact !important;
    }
}

/* ========================================
   ACCESSIBILITY
   ======================================== */

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}

a:focus,
button:focus {
    outline: 3px solid var(--accent-color);
    outline-offset: 2px;
}

/* ========================================
   LIGHTBOX
   ======================================== */

.lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    cursor: pointer;
}

.lightbox.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-content {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    cursor: default;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10000;
}

.lightbox-close:hover {
    color: #ccc;
}

.work-item .image-frame {
    cursor: zoom-in;
}
