/* =======================================
   Torrance Cultural Arts Center Kiosk
   style.css
   ======================================= */

@font-face {
    font-family: 'Friz';
    src: url('fonts/frizquadratatt.ttf') format('truetype');
}

*, *::before, *::after {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    width: 1080px;
    height: 1920px;
    overflow: hidden;
    background: #135891;
    color: #ffffff;
    font-family: 'Friz', Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

#wrapper {
    width: 1080px;
    height: 1920px;
    display: grid;
    grid-template-rows:
        325px   /* Header & Clock */
        182px   /* Title 1 */
        100px   /* Title 2 */
        608px   /* Slideshow */
        705px;  /* Daily Schedule */
}

/* ---------- HEADER ---------- */

#header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 40px;
}

#cityLogo {
    max-height: 240px;
    max-width: 420px;
    object-fit: contain;
}

#clockArea {
    text-align: right;
}

#currentDate {
    font-size: 42px;
}

#currentTime {
    font-size: 62px;
    font-weight: bold;
}

/* ---------- TITLES ---------- */

#title1 {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 64px;
    text-align: center;
    padding: 0 20px;
}

#title2 {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 48px;
    text-align: center;
    padding: 0 20px;
}

/* ---------- SLIDESHOW ---------- */

#slideshow {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 100%;
}

.slideImage {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

#slideA {
    opacity: 1;
}

/* ---------- SCHEDULE ---------- */

#schedule {
    display: flex;
    flex-direction: column;
    padding: 20px 40px;
    overflow: hidden;
}

#schedule h2 {
    text-align: center;
    font-size: 54px;
    margin: 0 0 20px 0;
    font-weight: normal;
}

/* Schedule Table Layout */
#scheduleHeader,
.scheduleRow {
    display: flex;
    align-items: center;
    width: 100%;
}

#scheduleHeader {
    border-bottom: 3px solid #ffffff;
    padding-bottom: 8px;
    margin-bottom: 12px;
    font-size: 28px;
    font-weight: bold;
}

#scheduleRows {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
    overflow: hidden;
}

.scheduleRow {
    font-size: 26px;
    padding: 6px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

/* Shared Column Width Proportions */
.eventColumn {
    flex: 4;
    padding-right: 15px;
    text-align: left;
}

.timeColumn {
    flex: 3.5;
    text-align: center;
    white-space: nowrap; /* Prevents time from wrapping onto line 2 */
}

.locationColumn {
    flex: 3.5;
    padding-left: 15px;
    text-align: left;
}

#archesLogoArea {
    text-align: center;
    margin-top: auto;
    padding-top: 10px;
}

#archesLogo {
    max-height: 90px;
    object-fit: contain;
}
