
/* ===== EXTERNAL STYLE SHEET - styles.css ===== */
/* This one file styles ALL pages on the site */

/* Import a nice Google Font */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap');

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

/* Body - base font and background */
body {
    font-family: 'Poppins', Arial, sans-serif;
    background-color: #1a1a2e;
    color: #e0e0e0;
    line-height: 1.8;
    min-height: 100vh;
}

/* ===== HEADER ===== */
header {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: #ffffff;
    text-align: center;
    padding: 40px 20px;
    border-bottom: 4px solid #f6d365;
}

header h1 {
    font-size: 2.5em;
    font-weight: 700;
    letter-spacing: 1px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

header p {
    font-size: 1.1em;
    margin-top: 8px;
    font-weight: 300;
    color: #f0e6ff;
}

/* ===== NAVIGATION BAR ===== */
nav {
    background-color: #16213e;
    text-align: center;
    padding: 15px 10px;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

nav a {
    color: #f6d365;
    text-decoration: none;
    padding: 12px 24px;
    margin: 0 8px;
    font-size: 1em;
    font-weight: 600;
    border-radius: 25px;
    transition: background-color 0.3s, color 0.3s, transform 0.2s;
    display: inline-block;
}

nav a:hover {
    background-color: #f6d365;
    color: #16213e;
    transform: scale(1.05);
}

/* ===== MAIN CONTENT SECTION ===== */
section {
    max-width: 960px;
    margin: 30px auto;
    padding: 35px;
    background-color: #0f3460;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

section h2 {
    color: #f6d365;
    margin-bottom: 12px;
    font-size: 1.6em;
    border-left: 4px solid #667eea;
    padding-left: 12px;
}

section p {
    margin-bottom: 18px;
    font-weight: 300;
    color: #cccccc;
}

/* ===== IMAGES ===== */
img {
    max-width: 300px;
    height: auto;
    border-radius: 12px;
    margin: 15px 0;
    border: 3px solid #667eea;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
    transition: transform 0.3s, box-shadow 0.3s;
}

img:hover {
    transform: scale(1.03);
    box-shadow: 0 6px 20px rgba(246, 211, 101, 0.4);
}

/* ===== LINKS ===== */
section a {
    color: #667eea;
    font-weight: 600;
    text-decoration: none;
    border-bottom: 2px solid transparent;
    transition: border-bottom 0.3s, color 0.3s;
}

section a:hover {
    color: #f6d365;
    border-bottom: 2px solid #f6d365;
}

/* ===== MOVIE CARDS (used on top-picks page) ===== */
.movie-card {
    background-color: #1a1a2e;
    border-radius: 12px;
    padding: 25px;
    margin: 25px 0;
    border-left: 5px solid #f6d365;
    transition: transform 0.3s, box-shadow 0.3s;
}

.movie-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(246, 211, 101, 0.2);
}

.movie-card h2 {
    border-left: none;
    padding-left: 0;
    color: #ffffff;
    font-size: 1.4em;
}

/* ===== RESOURCE LINKS LIST ===== */
.resource-item {
    background-color: #1a1a2e;
    border-radius: 10px;
    padding: 20px;
    margin: 15px 0;
    border: 1px solid #667eea;
    transition: border-color 0.3s, transform 0.2s;
}

.resource-item:hover {
    border-color: #f6d365;
    transform: translateX(5px);
}

/* ===== FUN FACTS BOX ===== */
.fun-facts {
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    border: 2px dashed #f6d365;
    border-radius: 12px;
    padding: 25px;
    margin-top: 25px;
}

.fun-facts h2 {
    color: #f6d365;
    border-left: none;
    text-align: center;
    padding-left: 0;
}

/* ===== FOOTER ===== */
footer {
    background-color: #16213e;
    color: #999999;
    text-align: center;
    padding: 25px 20px;
    margin-top: 30px;
    border-top: 3px solid #667eea;
}

footer p {
    font-size: 0.8em;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

