/* South Indian Film Awards - Oscar-Inspired Luxury Dark & Gold Theme */
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@500;600;700&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

:root {
  --bg-primary: #08080A;
  --bg-secondary: #101014;
  --bg-card: #141419;
  --bg-card-hover: #1B1B22;
  --gold-light: #F6E27F;
  --gold-primary: #D4AF37;
  --gold-dark: #9E7B1E;
  --text-primary: #F5F3EE;
  --text-secondary: #A9A69E;
  --border-gold: rgba(212, 175, 55, 0.28);
  --border-subtle: rgba(255, 255, 255, 0.08);
  --shadow-gold: 0 12px 35px rgba(212, 175, 55, 0.12);
}

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

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: 'Plus Jakarta Sans', sans-serif;
  line-height: 1.65;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

h1, h2, h3, .serif-title {
  font-family: 'Cinzel', Georgia, serif;
  letter-spacing: 0.04em;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.25s ease;
}

/* Header & Navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(8, 8, 10, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-gold);
}

.nav-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0.95rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.brand img {
  width: 34px;
  height: 44px;
  object-fit: contain;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-family: 'Cinzel', serif;
  font-size: 1.15rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--gold-light), var(--gold-primary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: 0.12em;
}

.brand-sub {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--text-secondary);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  list-style: none;
}

.nav-links a {
  padding: 0.5rem 0.9rem;
  font-size: 0.85rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-secondary);
  border-radius: 4px;
  border: 1px solid transparent;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--gold-light);
  border-color: var(--border-gold);
  background: rgba(212, 175, 55, 0.08);
}

.menu-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border-gold);
  color: var(--gold-primary);
  padding: 0.45rem 0.75rem;
  font-size: 1.2rem;
  border-radius: 4px;
  cursor: pointer;
}

/* Hero Section */
.hero {
  position: relative;
  background: url('../assets/images/hero-bg.svg') center/cover no-repeat;
  border-bottom: 1px solid var(--border-gold);
  padding: 4.5rem 1.5rem;
  text-align: center;
}

.hero-inner {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-trophy {
  width: 115px;
  margin-bottom: 1.25rem;
  filter: drop-shadow(0 10px 25px rgba(212, 175, 55, 0.3));
}

.hero-badge {
  display: inline-block;
  padding: 0.35rem 1rem;
  border: 1px solid var(--border-gold);
  border-radius: 999px;
  font-size: 0.75rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-light);
  background: rgba(212, 175, 55, 0.08);
  margin-bottom: 1.2rem;
}

.hero h1 {
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  font-weight: 700;
  line-height: 1.18;
  margin-bottom: 1rem;
  background: linear-gradient(180deg, #FFFFFF 20%, var(--gold-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  max-width: 680px;
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.85rem;
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold-light), var(--gold-primary));
  color: #09090B;
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.8rem 1.6rem;
  border-radius: 4px;
  border: none;
  cursor: pointer;
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(212, 175, 55, 0.35);
}

.btn-outline {
  background: rgba(20, 20, 25, 0.8);
  color: var(--gold-light);
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.8rem 1.5rem;
  border-radius: 4px;
  border: 1px solid var(--border-gold);
  cursor: pointer;
}

.btn-outline:hover {
  background: rgba(212, 175, 55, 0.14);
}

/* Main Container */
.container {
  max-width: 1240px;
  width: 100%;
  margin: 0 auto;
  padding: 3.5rem 1.5rem;
  flex: 1;
}

.section-header {
  text-align: center;
  margin-bottom: 2.75rem;
}

.section-header .eyebrow {
  color: var(--gold-primary);
  font-size: 0.78rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 0.45rem;
}

.section-header h2 {
  font-size: clamp(1.65rem, 3vw, 2.35rem);
  color: var(--text-primary);
  margin-bottom: 0.6rem;
}

.section-header p {
  color: var(--text-secondary);
  max-width: 640px;
  margin: 0 auto;
}

/* Industry Grid (Home) */
.industry-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 1.75rem;
}

.industry-card {
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.industry-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-gold);
}

.industry-card img {
  width: 100%;
  height: 170px;
  object-fit: cover;
  border-bottom: 1px solid var(--border-gold);
}

.industry-card-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.industry-card-body h3 {
  font-size: 1.3rem;
  color: var(--gold-light);
  margin-bottom: 0.45rem;
}

.industry-card-body p {
  color: var(--text-secondary);
  font-size: 0.92rem;
  margin-bottom: 1.35rem;
  flex: 1;
}

/* Filter & Search Controls (Language Pages) */
.page-banner {
  background: linear-gradient(180deg, #131318 0%, #08080A 100%);
  border-bottom: 1px solid var(--border-gold);
  padding: 3.2rem 1.5rem 2.6rem;
  text-align: center;
}

.page-banner h1 {
  font-size: clamp(1.9rem, 3.8vw, 2.8rem);
  color: var(--gold-light);
  margin-bottom: 0.5rem;
}

.page-banner p {
  color: var(--text-secondary);
  max-width: 650px;
  margin: 0 auto;
}

.controls-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  background: var(--bg-secondary);
  border: 1px solid var(--border-gold);
  border-radius: 8px;
  padding: 1.1rem 1.35rem;
  margin-bottom: 2.25rem;
}

.year-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.year-btn {
  background: var(--bg-card);
  color: var(--text-secondary);
  border: 1px solid var(--border-subtle);
  padding: 0.55rem 1.25rem;
  border-radius: 5px;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.year-btn:hover {
  border-color: var(--border-gold);
  color: var(--gold-light);
}

.year-btn.active {
  background: linear-gradient(135deg, var(--gold-light), var(--gold-primary));
  color: #09090B;
  border-color: var(--gold-primary);
}

.search-box {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex: 1;
  max-width: 380px;
  min-width: 240px;
}

.search-box input,
.filter-select {
  width: 100%;
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  color: var(--text-primary);
  padding: 0.62rem 0.95rem;
  border-radius: 5px;
  font-size: 0.9rem;
  outline: none;
}

.search-box input:focus,
.filter-select:focus {
  box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.25);
}

/* Winners Grid */
.winners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
}

.winner-card {
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: 8px;
  padding: 1.6rem;
  position: relative;
  cursor: pointer;
  transition: all 0.28s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.winner-card:hover {
  background: var(--bg-card-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-gold);
}

.category-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--gold-primary);
  margin-bottom: 0.75rem;
}

.winner-name {
  font-family: 'Cinzel', serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.35rem;
}

.winner-film {
  font-size: 0.95rem;
  color: var(--gold-light);
  font-weight: 500;
  margin-bottom: 0.9rem;
}

.winner-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 0.85rem;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.view-details {
  color: var(--gold-primary);
  font-weight: 600;
}

/* Modal */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.82);
  backdrop-filter: blur(6px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  z-index: 2000;
}

.modal-backdrop.open {
  display: flex;
}

.modal-card {
  background: #131318;
  border: 1px solid var(--gold-primary);
  border-radius: 10px;
  max-width: 560px;
  width: 100%;
  padding: 2rem;
  position: relative;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.85);
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: 1px solid var(--border-gold);
  color: var(--gold-light);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.1rem;
}

.modal-card h3 {
  font-size: 1.65rem;
  color: var(--gold-light);
  margin: 0.4rem 0;
}

.modal-citation {
  background: rgba(212, 175, 55, 0.06);
  border-left: 3px solid var(--gold-primary);
  padding: 0.9rem 1rem;
  margin: 1.1rem 0;
  color: var(--text-primary);
  font-size: 0.94rem;
}

.nominees-list {
  margin-top: 0.6rem;
  padding-left: 1.2rem;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

/* Content Pages (About & Terms) */
.prose-card {
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: 8px;
  padding: 2.25rem;
  max-width: 920px;
  margin: 0 auto;
}

.prose-card h2 {
  color: var(--gold-light);
  font-size: 1.4rem;
  margin: 1.6rem 0 0.65rem;
}

.prose-card h2:first-child {
  margin-top: 0;
}

.prose-card p,
.prose-card li {
  color: var(--text-secondary);
  margin-bottom: 0.85rem;
  font-size: 0.96rem;
}

.prose-card ul {
  padding-left: 1.35rem;
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.25rem;
  margin: 2rem 0;
}

.stat-box {
  background: var(--bg-secondary);
  border: 1px solid var(--border-gold);
  border-radius: 6px;
  padding: 1.25rem;
  text-align: center;
}

.stat-box .num {
  font-family: 'Cinzel', serif;
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--gold-light);
}

.stat-box .label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-secondary);
}

/* Footer */
.site-footer {
  background: #060608;
  border-top: 1px solid var(--border-gold);
  padding: 2.75rem 1.5rem 2rem;
  margin-top: auto;
}

.footer-inner {
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.25rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.35rem;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.footer-links a:hover {
  color: var(--gold-light);
}

.copyright {
  font-size: 0.8rem;
  color: #6E6C66;
}

@media (max-width: 880px) {
  .menu-toggle {
    display: block;
  }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #0C0C10;
    border-bottom: 1px solid var(--border-gold);
    flex-direction: column;
    padding: 1rem;
  }
  .nav-links.open {
    display: flex;
  }
  .nav-links a {
    width: 100%;
    text-align: center;
  }
}
