/* Lisbon Film Fest - Editorial Cinema Stylesheet */
:root {
  --bg-dark: #0f1115;
  --bg-surface: #181b22;
  --bg-surface-alt: #20242e;
  --text-primary: #f4f4f6;
  --text-secondary: #a8b0bf;
  --accent: #d4a359;
  --accent-hover: #e5b870;
  --border: #2a2f3b;
  --max-width: 1140px;
  --radius: 8px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-primary);
  line-height: 1.7;
  font-size: 16px;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.2s ease;
}

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

.container {
  width: 92%;
  max-width: var(--max-width);
  margin: 0 auto;
}

/* Header & Navigation */
header {
  background-color: rgba(15, 17, 21, 0.95);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(8px);
}

.nav-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 76px;
}

.brand {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand span {
  color: var(--accent);
}

nav ul {
  display: flex;
  list-style: none;
  gap: 28px;
}

nav a {
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
}

nav a:hover,
nav a.active {
  color: var(--text-primary);
  border-bottom-color: var(--accent);
}

.menu-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  color: var(--text-primary);
  padding: 8px 12px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 1rem;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, #141821 0%, #1e222d 60%, #171514 100%);
  border-bottom: 1px solid var(--border);
  padding: 96px 0 88px;
  text-align: center;
}

.hero-eyebrow {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 16px;
}

.hero h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  line-height: 1.18;
  margin-bottom: 20px;
  color: var(--text-primary);
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
}

.hero p {
  font-size: 1.12rem;
  color: var(--text-secondary);
  max-width: 680px;
  margin: 0 auto 34px;
}

.btn-group {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 13px 26px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.2s ease;
}

.btn-primary {
  background-color: var(--accent);
  color: #111318;
}

.btn-primary:hover {
  background-color: var(--accent-hover);
  color: #111318;
}

.btn-outline {
  border-color: var(--border);
  color: var(--text-primary);
  background: transparent;
}

.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* Page Header (Inner Pages) */
.page-header {
  background: linear-gradient(180deg, #171b24 0%, var(--bg-dark) 100%);
  border-bottom: 1px solid var(--border);
  padding: 64px 0 48px;
}

.breadcrumb {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 14px;
}

.breadcrumb a {
  color: var(--text-secondary);
}

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

.page-header h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin-bottom: 12px;
}

.page-header p {
  color: var(--text-secondary);
  max-width: 720px;
  font-size: 1.05rem;
}

/* Sections & Grids */
section {
  padding: 72px 0;
}

.section-alt {
  background-color: var(--bg-surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-title {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
  margin-bottom: 14px;
}

.section-lead {
  color: var(--text-secondary);
  max-width: 700px;
  margin-bottom: 40px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
}

.card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
}

.section-alt .card {
  background-color: var(--bg-surface-alt);
}

.card h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.3rem;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.card p {
  color: var(--text-secondary);
  font-size: 0.96rem;
}

.card-tag {
  display: inline-block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1.4px;
  color: var(--accent);
  margin-bottom: 10px;
  font-weight: 600;
}

/* Stats Bar */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
  margin-top: 32px;
}

.stat-item {
  background: var(--bg-surface-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
}

.stat-number {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.1rem;
  color: var(--accent);
  font-weight: 700;
  display: block;
}

.stat-label {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-top: 6px;
  display: block;
}

/* Profile Table / Definition List */
.info-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 16px;
}

.info-table th,
.info-table td {
  text-align: left;
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}

.info-table th {
  color: var(--accent);
  font-weight: 600;
  width: 32%;
}

.info-table td {
  color: var(--text-secondary);
}

/* Lists */
.styled-list {
  list-style: none;
  margin-top: 16px;
}

.styled-list li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 14px;
  color: var(--text-secondary);
}

.styled-list li::before {
  content: "•";
  color: var(--accent);
  font-size: 1.3rem;
  position: absolute;
  left: 4px;
  top: -3px;
}

/* Contact Form */
.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  margin-bottom: 6px;
  font-size: 0.92rem;
  color: var(--text-primary);
  font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  background-color: var(--bg-dark);
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--text-primary);
  font-family: inherit;
  font-size: 0.96rem;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
}

.form-status {
  margin-top: 14px;
  font-size: 0.92rem;
  color: var(--accent);
  display: none;
}

/* Footer */
footer {
  background-color: #0b0d10;
  border-top: 1px solid var(--border);
  padding: 56px 0 32px;
  color: var(--text-secondary);
  font-size: 0.92rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 32px;
  margin-bottom: 40px;
}

.footer-col h4 {
  color: var(--text-primary);
  font-family: Georgia, "Times New Roman", serif;
  margin-bottom: 14px;
  font-size: 1.05rem;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 8px;
}

.footer-col a {
  color: var(--text-secondary);
}

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

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.86rem;
}

/* Responsive */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  nav ul {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    background-color: var(--bg-surface);
    border-bottom: 1px solid var(--border);
    padding: 20px 24px;
    gap: 14px;
  }

  nav ul.open {
    display: flex;
  }

  .hero {
    padding: 68px 0 64px;
  }
}
