/* Base Styles and Reset */
:root {
    --red: #9b2321;
    --gold: #d4af37;
    --cream: #f5f5dc;
    --dark: #1a1a1a;
    --light: #f8f8f8;
    --gray: #333333;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Crimson Pro', serif;
    background-color: var(--dark);
    color: var(--light);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

h1, h2, h3, h4 {
    font-family: 'Bebas Neue', sans-serif;
    text-transform: uppercase;
    letter-spacing: 2px;
}

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

/* Film Grain Effect */
.film-grain-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://grainy-gradients.vercel.app/noise.svg');
    opacity: 0.04;
    pointer-events: none;
    z-index: 9999;
}

/* Hero Section */
.hero {
    height: 100vh;
    background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('https://images.unsplash.com/photo-1542204165-65bf26472b9b?ixlib=rb-1.2.1&auto=format&fit=crop&w=1950&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    color: var(--light);
    text-align: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(transparent 50%, black 150%);
}

.hero-content {
    z-index: 1;
    max-width: 800px;
    padding: 20px;
}

.hero h1 {
    font-size: 5rem;
    margin-bottom: 20px;
    color: var(--gold);
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.8);
    letter-spacing: 8px;
}

.hero .tagline {
    font-size: 1.6rem;
    margin-bottom: 30px;
    font-style: italic;
}

.hero .director {
    font-size: 1.2rem;
    letter-spacing: 3px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
}

/* Navigation */
.main-nav {
    background-color: var(--dark);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-container {
    display: flex;
    justify-content: center;
}

.main-nav ul {
    display: flex;
    list-style: none;
}

.main-nav li {
    margin: 0 15px;
}

.main-nav a {
    display: block;
    padding: 20px 10px;
    color: var(--light);
    text-decoration: none;
    font-size: 18px;
    position: relative;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s;
}

.main-nav a:hover {
    color: var(--gold);
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 15px;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: var(--red);
    transition: width 0.3s, left 0.3s;
}

.main-nav a:hover::after {
    width: 100%;
    left: 0;
}

/* Section Styles */
.section {
    padding: 100px 0;
    position: relative;
}

.section h2 {
    font-size: 3rem;
    margin-bottom: 40px;
    color: var(--gold);
    text-align: center;
    position: relative;
}

.section h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--red);
}

/* Synopsis Section */
.synopsis {
    background-color: var(--gray);
}

.film-strip {
    position: relative;
    padding: 40px;
    border: 10px solid var(--dark);
    border-radius: 5px;
    background-color: rgba(0, 0, 0, 0.3);
}

.film-strip::before, .film-strip::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 20px;
    background-image: repeating-linear-gradient(90deg, 
        transparent, transparent 15px, 
        var(--dark) 15px, var(--dark) 30px);
    left: 0;
}

.film-strip::before {
    top: -20px;
}

.film-strip::after {
    bottom: -20px;
}

.synopsis-content {
    font-size: 1.2rem;
    line-height: 1.8;
}

.synopsis-content p {
    margin-bottom: 20px;
}

/* Characters Section */
.characters {
    background-color: var(--dark);
    position: relative;
}

.characters::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://images.unsplash.com/photo-1478720568477-152d9b164e26?ixlib=rb-1.2.1&auto=format&fit=crop&w=1950&q=80');
    background-size: cover;
    background-position: center;
    opacity: 0.1;
}

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

.character {
    background-color: rgba(0, 0, 0, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 5px;
    transition: transform 0.3s;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.character:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
}

.character-image {
    height: 300px;
    background-size: cover;
    background-position: center;
    margin-bottom: 20px;
    border: 5px solid var(--gray);
}

#aldo-raine {
    background-image: url('https://lastfm.freetls.fastly.net/i/u/ar0/917e772be9e777f68819abb55cfdee0a.png');
}

#hans-landa {
    background-image: url('https://i.pinimg.com/736x/8a/82/34/8a8234a3579bc9865cde177462c96d52.jpg');
}

#shosanna {
    background-image: url('https://i.pinimg.com/736x/84/84/b1/8484b190659032b4059ee12c6042d37f.jpg');
}

#donny {
    background-image: url('https://i.pinimg.com/474x/7b/22/86/7b2286bd263698b1740b3d542c3c6b1e.jpg?nii=t');
}

.character h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--red);
}

/* Chapters Section */
.chapters {
    background-color: #0c0c0c;
    position: relative;
}

.chapter-list {
    max-width: 800px;
    margin: 0 auto;
}

.chapter {
    display: flex;
    margin-bottom: 40px;
    position: relative;
}

.chapter-number {
    flex: 0 0 60px;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 3rem;
    color: var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    width: 60px;
    height: 60px;
    margin-right: 20px;
    box-shadow: 0 0 0 5px rgba(212, 175, 55, 0.2);
}

.chapter-content {
    flex: 1;
    padding: 20px;
    background-color: rgba(0, 0, 0, 0.5);
    border-left: 3px solid var(--red);
}

.chapter-content h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--cream);
}

/* Gallery Section */
.gallery {
    background-color: var(--gray);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.gallery-item {
    height: 250px;
    background-size: cover;
    background-position: center;
    border: 5px solid var(--dark);
    transition: all 0.3s;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.gallery-item:hover {
    transform: scale(1.03);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
    border-color: var(--gold);
}

#gallery-1 {
    background-image: url('https://drakiman.wordpress.com/wp-content/uploads/2011/10/revenge.jpg');
}

#gallery-2 {
    background-image: url('https://drakiman.wordpress.com/wp-content/uploads/2011/10/shosanna.jpg');
}

#gallery-3 {
    background-image: url('https://drakiman.wordpress.com/wp-content/uploads/2011/10/if-the-shoe-fits.jpg');
}

#gallery-4 {
    background-image: url('https://drakiman.wordpress.com/wp-content/uploads/2011/10/tear.jpg');
}

#gallery-5 {
    background-image: url('https://drakiman.wordpress.com/wp-content/uploads/2011/10/escape.jpg');
}

#gallery-6 {
    background-image: url('https://i.ytimg.com/vi/7XSkIJDmVhA/maxresdefault.jpg');
}

/* Legacy Section */
.legacy {
    background-color: var(--dark);
    position: relative;
}

.legacy::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://images.unsplash.com/photo-1579541589694-369aa6b8d99f?ixlib=rb-1.2.1&auto=format&fit=crop&w=1950&q=80');
    background-size: cover;
    background-position: center;
    opacity: 0.1;
}

.quote {
    max-width: 800px;
    margin: 0 auto 40px;
    padding: 30px;
    background-color: rgba(0, 0, 0, 0.5);
    border-left: 5px solid var(--red);
    position: relative;
}

.quote blockquote {
    font-size: 1.8rem;
    font-style: italic;
    text-align: center;
    margin-bottom: 20px;
    color: var(--light);
}

.quote cite {
    display: block;
    text-align: right;
    font-size: 1.2rem;
    color: var(--gold);
}

.legacy-content {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.2rem;
    line-height: 1.8;
}

.legacy-content p {
    margin-bottom: 20px;
}

/* Footer */
footer {
    background-color: #000;
    padding: 40px 0;
    text-align: center;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

footer p {
    margin-bottom: 10px;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 3rem;
    }
    
    .main-nav ul {
        flex-direction: column;
        text-align: center;
    }
    
    .character-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }
    
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
    
    .section {
        padding: 60px 0;
    }
    
    .section h2 {
        font-size: 2.5rem;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero .tagline {
        font-size: 1.2rem;
    }
    
    .chapter {
        flex-direction: column;
    }
    
    .chapter-number {
        margin-bottom: 20px;
    }
} 