:root {
    --space-black: #0a0a0f;
    --star-white: #5f6670;
    --ice-blue: #9eb3c2;
    
    --font-title: 'Georgia', serif;
    --font-display: 'Courier New', monospace;
    --font-body: 'Arial', sans-serif;
}

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

body {
    font-family: var(--font-body);
    background-color: var(--space-black);
    color: var(--star-white);
    line-height: 1.6;
}

header {
    background: rgba(0, 0, 0, 1);
    border-bottom: 1px solid var(--ice-blue);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-container {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.nav-links {
    display: flex;
    list-style: none; /* Removes the bullet points */
    gap: 25px;
}

.nav-links a {
    text-decoration: none;
    color: var(--star-white);
    font-family: var(--font-display);
    font-size: 1.2rem;
    text-transform: uppercase;
}

.site-title a {
    text-decoration: none;
    color: var(--star-white);
    font-family: var(--font-title);
    font-size: 1.2rem;
    text-transform: uppercase;
}

/* Hero Section (The movie title and tagline) */
.hero-section {
    height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('../images/cooper-murph-sky.jpeg');
    background-size: cover;
    background-position: 50% 45%;
}

.hero-title {
    font-family: var(--font-title);
    font-size: 4rem;
    letter-spacing: 10px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.logo-subtitle {
    display: block;
    font-family: var(--font-display);
    font-size: 2.0rem;
    color: var( --ice-blue);
}

.hero-tagline {
    margin-top: 20px;
    font-style: italic;
    color: var(--ice-blue);
}

/* Stats Section */
.stats-section {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    padding: 50px 20px;
    background: #111;
}

.stat-card {
    text-align: center;
    border: 2px solid #333;
    padding: 20px;
    min-width: 200px;
    flex: 1;
}

.stat-number {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--ice-blue);
    display: block;
}

.stat-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    color: #888;
}

/* Wh is this my Favorite Section */
.favorite-section {
    padding: 100px 20px;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    border-bottom: 1px solid #222222;
}

.favorite-content {
    font-size: 1.2rem;
    color: var(--ice-blue);
    line-height: 1.8;
}

/* Quote Section */
.quote-section {
    padding: 100px 20px;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    border-bottom: 1px solid #222222;
}

.quote-text {
    font-size: 1.8rem;
    font-family: var(--font-title);
    margin-bottom: 15px;
}

.quote-author {
    color: var(--ice-blue);
    font-family: var(--font-display);
}

/* Movie's Themes Section */
.themes-section {
    padding: 40px 20px;
    max-width: 1100px;
    margin: 0 auto;
}

.themes-section h2 {
    text-align: center;
    margin-bottom: 40px;
    font-family: var(--font-title);
    font-size: 2.5rem;
}

.themes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.theme-card {
    background: #1a1a1a;
    padding: 30px;
    border-top: 3px solid var(--ice-blue);
}

.theme-card h3 {
    margin-bottom: 10px;
    color: var(--star-white);
}

/* Footer */
.main-footer {
    padding: 60px 20px 20px;
    background: #050505;
    border-top: 1px solid #222;
}

.footer-content {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 40px;
    max-width: 1100px;
    margin: 0 auto;
}

.footer-section {
    flex: 1;
    min-width: 250px;
}

.footer-section ul {
    list-style: none;
    margin-top: 10px;
}

.footer-section a {
    color: var(--ice-blue);
    text-decoration: none;
    font-size: 0.9rem;
}

.footer-bottom {
    text-align: center;
    margin-top: 40px;
    font-size: 0.8rem;
    color: #555;
}

/* Section Labels & Headings */
.section-label {
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: #888888;
    margin-bottom: 10px;
}

.section-heading {
    text-align: center;
    font-family: 'Georgia', serif;
    font-size: 2rem;
    color: #ffffff;
    margin-bottom: 50px;
    border-bottom: 1px solid #333333;
    padding-bottom: 15px;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

.page-header {
    text-align: center;
    padding: 50px 20px 30px;
    border-bottom: 1px solid #333333;
}

.page-header h2 {
    font-family: 'Georgia', serif;
    font-size: 2.5rem;
    color: #ffffff;
    margin-bottom: 10px;
}

.page-header p {
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: #888888;
}

.scene {
    display: flex;
    flex-direction: column;
    gap: 20px;                /* controls space between title, images, text */
    padding: 40px 20px;
    max-width: 1100px;
    margin: 0 auto;
    border-bottom: 1px solid #222222;
}

.scene-title h2 {
    margin-bottom: 10px;
}

/* Image Grid */
.scene-image {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    padding: 10px 0;
    margin: 0 auto;
}

/* Image Card */
.scene-image figure {
    background-color: #111111;
    border: 1px solid #333333;
    padding: 10px;
    margin: 0;
}

/* Image */
.scene-image img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    display: block;
}

/* Caption */
.scene-image figcaption {
    text-align: center;
    font-size: 0.85rem;
    color: var(--ice-blue);
    margin-top: 8px;
}

.scene-number {
    font-family: 'Courier New', monospace;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: #555555;
    margin-bottom: 8px;
}

.scene-title h2 {
    font-family: 'Georgia', serif;
    text-align: center;
    font-size: 2rem;
    color: #ffffff;
    margin-bottom: 10px;
}

.scene-text p {
    color: #888888;
    line-height: 1.8;
    margin-bottom: 15px;
}

.scene-details {
    margin-top: 20px;
    border-left: 2px solid #333333;
    padding-left: 15px;
}

.scene-details p {
    color: #666666;
    font-size: 0.95rem;
    line-height: 1.7;
    margin-top: 10px;
}

.clock-container {
    background-color: #1a1a1a;
    border: 2px solid #333333;
    padding: 30px;
    margin: 40px auto;
    max-width: 600px;
    text-align: center;
}

.clock-container h3 {
    font-family: 'Georgia', serif;
    font-size: 1.5rem;
    color: #ffffff;
    margin-bottom: 20px;
}

.clock-desc {
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    color: #888888;
    margin-bottom: 10px;
}

.clock-display {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    margin: 30px 0;
}

.clock-col {
    text-align: center;
}

.clock-label {
    font-family: 'Courier New', monospace;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #888888;
    display: block;
    margin-bottom: 10px;
}

.clock-time {
    font-family: 'Courier New', monospace;
    font-size: 2.5rem;
    color: #ffffff;
    display: block;
}

.clock-divider {
    font-size: 2rem;
    color: #666666;
}

.clock-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 25px;
}

.clock-buttons button {
    background-color: #000000;
    color: #ffffff;
    border: 2px solid #555555;
    padding: 10px 25px;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
}

.clock-buttons button:hover {
    border-color: #ffffff;
    background-color: #222222;
}

.director-section {
    padding: 60px 20px;
    max-width: 1100px;
    margin: 0 auto;
}

.director-block {
    display: flex;
    gap: 50px;
    align-items: flex-start;
}

.director-photo img {
    width: 300px;
    height: 380px;
    object-fit: cover;
    display: block;
}

.director-info h2 {
    font-family: 'Georgia', serif;
    font-size: 2.5rem;
    color: #ffffff;
    margin-bottom: 5px;
}

.director-title {
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: #888888;
    margin-bottom: 20px;
}

.director-info p {
    color: #888888;
    line-height: 1.8;
    margin-bottom: 15px;
}

.cast-section {
    padding: 30px 20px;
    max-width: 1100px;
    margin: 0 auto;
    border-top: 1px solid #222222;
}

.cast-member {
    display: flex;
    gap: 60px;
    align-items: flex-start;
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid #222222;
}

.cast-member-reverse {
    flex-direction: row-reverse;
}

.cast-photo img {
    width: 220px;
    height: 280px;
    object-fit: cover;
    display: block;
}

.cast-info {
    flex: 1;
}

.cast-actor {
    font-family: 'Georgia', serif;
    font-size: 1.8rem;
    color: #ffffff;
    margin-bottom: 5px;
}

.cast-character {
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: #888888;
    margin-bottom: 20px;
}

.cast-info p:last-child {
    color: #888888;
    line-height: 1.8;
}

.crew-section {
    padding: 40px 20px;
    max-width: 1100px;
    margin: 0 auto;
}

.crew-member {
    display: flex;
    gap: 40px;
    align-items: flex-start;
    margin-bottom: 60px;
    padding-bottom: 60px;
    border-bottom: 1px solid #222222;
}

.crew-member-reverse {
    flex-direction: row-reverse;
}

.crew-photo img {
    width: 220px;
    height: 280px;
    object-fit: cover;
    display: block;
}

.crew-info {
    flex: 1;
}

.crew-name {
    font-family: 'Georgia', serif;
    font-size: 1.8rem;
    color: #ffffff;
    margin-bottom: 5px;
}

.crew-job {
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: #888888;
    margin-bottom: 20px;
}

/* Wallpaper Page Header */
.page-header {
    text-align: center;
    padding: 50px 20px 30px;
    border-bottom: 1px solid #333333;
}

.page-header h2 {
    font-family: 'Georgia', serif;
    font-size: 2.5rem;
    color: #ffffff;
    margin-bottom: 10px;
}

.page-header p {
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: #888888;
}

/* Wallpaper Grid */

.wallpaper-search {
    text-align: center;
    margin: 30px 0;
}

.wallpaper-search input {
    width: 60%;
    max-width: 400px;
    padding: 10px 15px;
    background-color: #111111;
    border: 1px solid #333333;
    color: #ffffff;
    font-family: var(--font-display);
}

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

.wallpaper-card {
    background-color: #111111;
    border: 1px solid #222222;
}

.wallpaper-card a {
    display: block;
}

.wallpaper-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.wallpaper-title {
    font-family: 'Georgia', serif;
    font-size: 1rem;
    color: #ffffff;
    padding: 12px 12px 4px;
}

.wallpaper-desc {
    font-family: 'Georgia', serif;
    font-size: 0.85rem;
    color: #666666;
    padding: 0 12px 12px;
    line-height: 1.5;
}