:root {
    --primary-blue: #007bff; /* Buzz's blue */
    --secondary-red: #dc3545; /* Woody's red */
    --accent-yellow: #ffc107; /* Toy Story yellow */
    --light-gray: #f8f9fa;
    --dark-gray: #343a40;
    --text-color: #212529;
    --header-bg: #1a237e; /* Darker blue */
    --footer-bg: #0d1a2a; /* Even darker blue */
}

body {
    font-family: 'Open Sans', sans-serif;
    margin: 0;
    padding: 0;
    background-color: var(--light-gray);
    color: var(--text-color);
    line-height: 1.6;
}

h1, h2, h3 {
    font-family: 'Bangers', cursive;
    color: var(--dark-gray);
    text-align: center;
    margin-bottom: 20px;
}

h1 {
    font-size: 3.5em;
    color: white;
    text-shadow: 3px 3px 5px rgba(0,0,0,0.5);
}

h2 {
    font-size: 2.5em;
    color: var(--primary-blue);
}

h3 {
    font-size: 1.8em;
    color: var(--secondary-red);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

header {
    background-color: var(--header-bg);
    color: white;
    padding: 15px 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    position: sticky;
    top: 0;
    z-index: 1000;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo {
    height: 60px;
    max-width: 100%;
    margin-right: 20px;
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

nav ul li {
    margin: 0 15px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    padding: 5px 0;
    transition: color 0.3s ease;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

nav ul li a:hover {
    color: var(--accent-yellow);
}

.hero {
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('hero_background.png') no-repeat center center/cover;
    color: white;
    text-align: center;
    padding: 150px 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 70vh; /* Ensure it takes a good portion of the viewport height */
}

.hero-content {
    max-width: 800px;
}

.hero p {
    font-size: 1.5em;
    margin-bottom: 30px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    margin: 10px;
    transition: transform 0.3s ease, background-color 0.3s ease;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.btn-primary {
    background-color: var(--primary-blue);
    color: white;
    border: 2px solid var(--primary-blue);
}

.btn-primary:hover {
    background-color: #0056b3;
    transform: translateY(-3px);
}

.btn-secondary {
    background-color: var(--accent-yellow);
    color: var(--dark-gray);
    border: 2px solid var(--accent-yellow);
}

.btn-secondary:hover {
    background-color: #e0a800;
    transform: translateY(-3px);
}

.section-padded {
    padding: 80px 0;
}

.bg-light {
    background-color: var(--light-gray);
}

#about p, #trailer p, #tickets p {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 20px auto;
    font-size: 1.1em;
}

.character-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.character-card {
    background-color: white;
    border-radius: 15px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
    padding: 20px;
    text-align: center;
    transition: transform 0.3s ease;
}

.character-card:hover {
    transform: translateY(-10px);
}

.character-card img {
    max-width: 150px;
    height: auto;
    border-radius: 50%;
    margin-bottom: 15px;
    border: 4px solid var(--accent-yellow);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.character-card h3 {
    margin-top: 0;
    color: var(--dark-gray);
}

.character-card p {
    font-size: 0.95em;
    color: #555;
}

.more-characters-text {
    text-align: center;
    margin-top: 30px;
    font-style: italic;
    color: #777;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    max-width: 900px;
    margin: 0 auto;
    background-color: black; /* Placeholder background */
    border-radius: 10px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.3);
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.trailer-note, .ticket-info {
    font-style: italic;
    color: #777;
    margin-top: 20px;
    font-size: 0.9em;
}

.large-btn {
    padding: 18px 40px;
    font-size: 1.2em;
}

footer {
    background-color: var(--footer-bg);
    color: white;
    text-align: center;
    padding: 30px 0;
    font-size: 0.9em;
    margin-top: 50px;
}

footer p {
    margin: 0;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    h1 {
        font-size: 2.5em;
    }

    h2 {
        font-size: 2em;
    }

    header .container {
        flex-direction: column;
        text-align: center;
    }

    .logo {
        margin-bottom: 15px;
        height: 50px;
    }

    nav ul {
        flex-direction: column;
        margin-top: 10px;
    }

    nav ul li {
        margin: 5px 0;
    }

    .hero {
        padding: 100px 20px;
        min-height: 50vh;
    }

    .hero p {
        font-size: 1.2em;
    }

    .btn-primary, .btn-secondary {
        padding: 12px 25px;
        font-size: 0.9em;
        margin: 5px;
    }

    .section-padded {
        padding: 50px 0;
    }

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

