/* Sonora Film Festival - Cabin in the Woods Style */

:root {
  color-scheme: dark;
  --primary-bg: #2d3e2e;
  --secondary-bg: #4a5c48;
  --cabin-wood: #8b6f47;
  --dark-wood: #5c4a30;
  --forest-green: #3d5a3d;
  --moss: #6b8e6b;
  --accent: #d4a574;
  --text: #f5f0e8;
  --text-muted: #c4b8a0;
  --border: #6b5840;
}

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

/* Global link colors */
a {
  color: var(--accent);
}

a:visited {
  color: var(--accent);
}

a:hover {
  color: var(--text);
}

body {
  font-family: 'Georgia', serif;
  background: linear-gradient(180deg, #2d3e2e 0%, #1f2d20 100%);
  color: var(--text);
  line-height: 1.6;
  background-attachment: fixed;
  min-height: 100vh;
}

/* Header */
header {
  background: linear-gradient(to bottom, var(--cabin-wood), var(--dark-wood));
  border-bottom: 4px solid var(--dark-wood);
  border-top: 3px solid var(--accent);
  padding: 1.5rem 2rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.4);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-link {
  text-decoration: none !important;
  color: inherit;
  display: block;
  transition: opacity 0.3s ease;
}

.header-link:hover {
  opacity: 0.9;
  text-decoration: none !important;
}

.header-link * {
  text-decoration: none !important;
}

.header-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 2rem;
}

.logo {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 3px solid var(--accent);
  box-shadow: 0 0 15px rgba(212, 165, 116, 0.3);
}

.site-title {
  flex: 1;
}

.site-title h1 {
  font-size: 2.5rem;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 3px;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.6);
  font-weight: bold;
}

.site-title p {
  color: var(--text-muted);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-top: 0.3rem;
}

/* Navigation */
nav {
  background: var(--forest-green);
  border-bottom: 3px solid var(--dark-wood);
  padding: 0;
  box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
}

nav a {
  display: block;
  color: var(--text);
  text-decoration: none;
  padding: 1rem 1.5rem;
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 1px;
  border-right: 1px solid var(--dark-wood);
  transition: all 0.3s ease;
  position: relative;
}

nav li:last-child a {
  border-right: none;
}

nav a:hover,
nav a.active {
  background: var(--cabin-wood);
  color: var(--text);
  text-shadow: 1px 1px 2px rgba(0,0,0,0.6);
}

/* Main Content */
main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 2rem;
}

.intro {
  text-align: center;
  margin-bottom: 4rem;
  padding: 2rem;
  background: linear-gradient(135deg, rgba(74, 92, 72, 0.6), rgba(61, 90, 61, 0.6));
  border: 3px solid var(--dark-wood);
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.intro h2 {
  font-size: 2rem;
  color: var(--accent);
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.intro p {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 800px;
  margin: 0 auto;
}

/* Year Sections */
.year-section {
  margin-bottom: 4rem;
}

.year-header {
  background: linear-gradient(to right, var(--cabin-wood), var(--dark-wood));
  color: var(--text);
  padding: 1rem 2rem;
  margin-bottom: 2rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 1.8rem;
  border: 3px solid var(--dark-wood);
  border-radius: 4px;
  box-shadow: 3px 3px 8px rgba(0,0,0,0.4);
}


/* Movie Grid */
.movie-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.movie-card {
  background: linear-gradient(to bottom, var(--cabin-wood), var(--dark-wood));
  border: 3px solid var(--dark-wood);
  border-radius: 6px;
  overflow: hidden;
  transition: all 0.3s ease;
  position: relative;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.movie-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  border-color: var(--accent);
}

.movie-poster {
  width: 100%;
  aspect-ratio: 2/3;
  background: linear-gradient(135deg, var(--forest-green) 0%, var(--primary-bg) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 3px solid var(--dark-wood);
  position: relative;
  overflow: hidden;
}

.movie-poster::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at center, transparent 40%, rgba(0,0,0,0.3));
}

.movie-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.poster-title {
  font-size: 1.3rem;
  color: var(--accent);
  text-align: center;
  padding: 1rem;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-shadow: 2px 2px 6px rgba(0,0,0,0.9);
  position: relative;
  z-index: 1;
}

.movie-info {
  padding: 1.5rem;
}

.movie-title {
  color: var(--accent);
  font-weight: bold;
  font-size: 1.1rem;
  margin-bottom: 0.3rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.movie-year {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.movie-credits {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-bottom: 0.2rem;
}

.movie-description {
  color: var(--text);
  font-size: 0.95rem;
  line-height: 1.5;
  font-style: italic;
  border-left: 3px solid var(--accent);
  padding-left: 1rem;
}

/* Awards Page */
.awards-section {
  margin-bottom: 4rem;
  background: linear-gradient(135deg, rgba(74, 92, 72, 0.4), rgba(61, 90, 61, 0.4));
  border: 3px solid var(--dark-wood);
  border-radius: 8px;
  padding: 2rem;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.awards-intro {
  background: linear-gradient(to right, rgba(139, 111, 71, 0.2), transparent);
  border-left: 5px solid var(--accent);
  border-radius: 4px;
  padding: 1.5rem;
  margin-bottom: 3rem;
  font-style: italic;
  color: var(--text);
}

.award-list {
  list-style: none;
  padding-left: 0;
}

.award-list li {
  padding: 1rem;
  margin-bottom: 1rem;
  background: linear-gradient(to right, rgba(92, 74, 48, 0.3), rgba(61, 90, 61, 0.2));
  border-left: 4px solid var(--accent);
  border: 2px solid var(--dark-wood);
  border-left-width: 4px;
  border-radius: 4px;
  transition: all 0.2s ease;
}

.award-list li:hover {
  background: linear-gradient(to right, rgba(139, 111, 71, 0.4), rgba(61, 90, 61, 0.3));
  transform: translateX(5px);
}

.award-name {
  color: var(--accent);
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.award-winner {
  color: var(--text);
  margin-left: 1rem;
}

/* Awards Navigation */
.awards-nav {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
  padding: 1.5rem;
}

.awards-nav a {
  color: var(--accent);
  padding: 0.75rem 1.5rem;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 1.2rem;
  font-weight: bold;
  transition: all 0.3s ease;
}

.awards-nav a:hover {
  color: var(--text);
}

/* Best Picture Highlight */
.best-picture {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, rgba(212, 165, 116, 0.2), rgba(139, 111, 71, 0.3));
  border: 4px solid var(--accent);
  border-radius: 8px;
  flex-wrap: wrap;
  box-shadow: 0 0 15px rgba(212, 165, 116, 0.3);
}

.best-picture-poster {
  width: 100px;
  height: 150px;
  object-fit: cover;
  border-radius: 4px;
  border: 2px solid var(--accent);
  box-shadow: 0 4px 10px rgba(0,0,0,0.4);
}

.best-picture-info {
  flex: 1;
  min-width: 200px;
}

.best-picture-info .award-name {
  font-size: 1.2rem;
}

.best-picture-info .award-winner {
  font-size: 1.3rem;
  font-weight: bold;
  display: block;
  margin-top: 0.5rem;
  margin-left: 0;
}

/* Year Header Links */
.year-header a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}

.year-header a:hover {
  color: var(--accent);
}

/* About Page */
.about-content {
  background: linear-gradient(135deg, rgba(74, 92, 72, 0.4), rgba(61, 90, 61, 0.4));
  border: 3px solid var(--dark-wood);
  border-radius: 8px;
  padding: 3rem;
  margin-bottom: 3rem;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.about-content h3 {
  color: var(--accent);
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 1.5rem;
}

.about-content p {
  color: var(--text);
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 2rem;
}

.bylaws {
  background: linear-gradient(to bottom, rgba(92, 74, 48, 0.3), rgba(61, 90, 61, 0.3));
  border: 3px solid var(--dark-wood);
  border-radius: 8px;
  padding: 2rem;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.bylaws h3 {
  color: var(--accent);
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.bylaws ol {
  counter-reset: bylaw-counter;
  list-style: none;
  padding-left: 0;
}

.bylaws li {
  counter-increment: bylaw-counter;
  padding: 1rem;
  margin-bottom: 1rem;
  background: rgba(45, 62, 46, 0.4);
  border-left: 4px solid var(--accent);
  border-radius: 4px;
  position: relative;
  padding-left: 3rem;
}

.bylaws li::before {
  content: counter(bylaw-counter);
  position: absolute;
  left: 1rem;
  color: var(--accent);
  font-weight: bold;
  font-size: 1.2rem;
}

/* Footer */
footer {
  background: linear-gradient(to bottom, var(--dark-wood), #1f2d20);
  border-top: 4px solid var(--cabin-wood);
  padding: 2rem;
  text-align: center;
  margin-top: 4rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.9rem;
}

footer a {
  color: var(--text-muted);
  text-decoration: underline;
}

footer a:hover {
  color: var(--accent);
}

/* Responsive */
@media (max-width: 768px) {
  header {
    padding: 0.75rem 1rem;
    position: static;
  }

  .header-content {
    gap: 1rem;
  }

  .logo {
    width: 50px;
    height: 50px;
  }

  .site-title h1 {
    font-size: 1.3rem;
    letter-spacing: 1px;
  }

  .site-title p {
    font-size: 0.7rem;
    letter-spacing: 1px;
  }

  nav {
    padding: 0.25rem 0.5rem;
  }

  nav ul {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0;
  }

  nav a {
    padding: 0.5rem 0.75rem;
    font-size: 0.75rem;
    border-right: none;
    border-bottom: none;
  }

  main {
    padding: 1.5rem 1rem;
  }

  .intro {
    padding: 1rem;
    margin-bottom: 2rem;
  }

  .intro h2 {
    font-size: 1.3rem;
  }

  .movie-grid {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1.5rem;
  }

  .year-header {
    font-size: 1.4rem;
  }

  .awards-nav {
    gap: 1rem;
    padding: 1rem;
  }

  .awards-nav a {
    font-size: 1rem;
  }

  .best-picture {
    flex-direction: column;
    text-align: center;
  }
}

