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

:root {
    /* DeepDiveCinema style guide variables */
    --primary-color: #1C1C1C;       /* Main text / dark tone */
    --secondary-color: #F5F5F5;     /* Background for content areas */
    --accent-color: #C41E3A;        /* Accent color (e.g., for headings, borders) */
    --font-family-base: 'Open Sans', sans-serif;
    --font-family-heading: 'Roboto Slab', serif;
    --base-spacing: 1rem;
}



body {
    font-family: 'Special Elite', monospace;
    background: linear-gradient(#0a0a0a, #141414);
    color: #bbb;
    background-image: url('../imgs/background.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-blend-mode: overlay;
    padding-top: 90px;
}

header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(8, 8, 8, 0.95);
    padding: 15px 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.85);
    z-index: 999;

}

header nav{
    align-items: center;
}

header nav ul {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
    margin: 0;
}
header nav ul li {
    list-style: none;
    padding: 10px;
}

.masthead-container {
    width: 99%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.masthead-container h1 {
    font-family: 'Unbounded', sans-serif;
    font-size: 28px;
    color: #ff2c55;
    letter-spacing: 2px;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 1.5rem;
}

nav ul li a {
    color: #999;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: #ff2c55;
}

.search-bar {
    display: flex;
    align-items: center;
    margin-left: 2rem;
}

.search-bar input {
    padding: 6px 10px;
    border-radius: 4px 0 0 4px;
    border: 1px solid #333;
    background-color: #222;
    color: #eee;
    border-right: none;
}

.search-bar button {
    padding: 6px 12px;
    border: 1px solid #333;
    border-left: none;
    border-radius: 0 4px 4px 0;
    background-color: #ff2c55;
    color: #FFD700;
    cursor: pointer;
    transition: background 0.3s;
}

.search-bar button:hover {
    background-color: #e31c45;
}

.content {
    display: grid;
    grid-template-columns: 15% 1fr 15%;
    gap: 2rem;
    width: 99%;
    margin: 40px auto;
    padding-bottom: 80px;
}

.column {
    background: rgba(20, 20, 20, 0.85);
    padding: 20px;
    border: 1px solid rgba(255, 44, 85, 0.1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.column:hover {
    background: rgba(30, 30, 30, 0.95);
    transform: translateY(-4px);
    box-shadow: 0 4px 16px rgba(255, 44, 85, 0.2);
}

h2 {
    color: #ff2c55;
    margin-bottom: 10px;
    font-size: 20px;
    border-bottom: 1px dashed rgba(255, 44, 85, 0.2);
    padding-bottom: 5px;
}

p {
    line-height: 1.6;
    font-size: 14px;
    color: #aaa;
}

footer {
    text-align: center;
    color: #555;
    font-size: 12px;
    margin-top: 40px;
    padding: 20px;
}


a {
    color: #ff2c55;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 0;
    height: 2px;
    background-color: #ff2c55;
    transition: width 0.3s ease;
}

a:hover {
    color: #fff;
}

a:hover::after {
    width: 100%;
}

/* Modal Dialog for Cinema Sage */
/* Chat Modal Styles */
.chat-collapsed {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #ff2c55;
    color: white;
    border: none;
    border-radius: 8px;
    padding: 12px 20px;
    cursor: pointer;
    font-family: 'Special Elite', monospace;
    font-size: 14px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    z-index: 998;
    transition: all 0.3s ease;
}

.chat-collapsed:hover {
    background: #e31c45;
    transform: translateY(-3px);
}

.chat-hidden {
    display: none;
}

.chat-modal {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50vmin;
    height: 50vmin;
    background: rgba(20, 20, 20, 0.95);
    border: 1px solid rgba(255, 44, 85, 0.3);
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.8);
    z-index: 999;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.chat-modal.open {
    display: flex;
}

.chat-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 15px;
    background: rgba(8, 8, 8, 0.9);
    border-bottom: 1px solid rgba(255, 44, 85, 0.2);
}

.chat-modal-header h3 {
    color: #ff2c55;
    margin: 0;
    font-size: 16px;
}

.chat-controls button {
    background: none;
    border: none;
    color: #999;
    font-size: 16px;
    cursor: pointer;
    width: 28px;
    height: 28px;
    margin-left: 5px;
    border-radius: 4px;
    transition: all 0.2s;
}

.chat-controls button:hover {
    background: rgba(255, 44, 85, 0.2);
    color: white;
}

.chat-modal-body {
    flex-grow: 1;
    overflow: hidden;
}

.chat-modal-body iframe {
    width: 100%;
    height: 100%;
    border: none;
}



/* Container for the about section */
.about-container {
    max-width: 960px;
    margin: 0 auto;
    padding: calc(var(--base-spacing) * 2);
    display: flex;
    flex-wrap: wrap;
    gap: calc(var(--base-spacing) * 2);
    background-color: var(--secondary-color);
    color: var(--primary-color);
    font-family: var(--font-family-base);
}

/* Container for the curator's headshot */
.curator-headshot {
    flex: 0 0 250px; /* Fixed width for the headshot area */
    text-align: center;
}

/* Curator image styling */
.curator-image {
    width: 100%;
    max-width: 250px;
    border-radius: 50%;
    border: 4px solid var(--accent-color);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Container for the curator bio */
.curator-bio {
    flex: 1 1 600px; /* Takes up remaining space */
    font-size: 1rem;
    line-height: 1.75;
}

/* Headings within the bio */
.curator-bio h1 {
    font-family: var(--font-family-heading);
    font-size: 2.5rem;
    margin: 0 0 calc(var(--base-spacing) * 1.5);
    color: var(--primary-color);
}

.curator-bio h2 {
    font-family: var(--font-family-heading);
    font-size: 1.75rem;
    margin: 0 0 var(--base-spacing);
    color: var(--accent-color);
}

/* Paragraph styling */
.curator-bio p {
    margin-bottom: var(--base-spacing);
}

/* Blockquote styling */
.curator-bio blockquote {
    margin: calc(var(--base-spacing) * 2) 0;
    padding: var(--base-spacing);
    background-color: #e9e9e9;
    border-left: 5px solid var(--accent-color);
    font-style: italic;
    color: var(--primary-color);
}

.curator-bio blockquote p {
    margin: 0;
}

.curator-bio blockquote footer {
    margin-top: calc(var(--base-spacing) / 2);
    font-size: 0.875rem;
    text-align: right;
}
