/* ============================================
   World History Portal - Main Stylesheet
   ============================================ */

/* CSS Variables */
:root {
  /* Light Mode */
  --bg-primary: #FAF8F5;
  --bg-secondary: #F0EDE8;
  --bg-tertiary: #E8E4DD;
  --text-primary: #2C2C2C;
  --text-secondary: #5A5A5A;
  --text-muted: #8A8A8A;
  --accent-gold: #C9A962;
  --accent-bronze: #B87333;
  --accent-terracotta: #C4705A;
  --border-color: #D4D0C8;
  --card-bg: #FFFFFF;
  --shadow: rgba(0, 0, 0, 0.08);
  --shadow-hover: rgba(0, 0, 0, 0.15);
  
  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-medium: 0.4s ease;
  --transition-slow: 0.6s ease;
}

/* Dark Mode */
[data-theme="dark"] {
  --bg-primary: #1A1A1A;
  --bg-secondary: #242424;
  --bg-tertiary: #2E2E2E;
  --text-primary: #F0F0F0;
  --text-secondary: #B0B0B0;
  --text-muted: #808080;
  --accent-gold: #D4B76A;
  --accent-bronze: #CD853F;
  --accent-terracotta: #D4846A;
  --border-color: #404040;
  --card-bg: #2A2A2A;
  --shadow: rgba(0, 0, 0, 0.3);
  --shadow-hover: rgba(0, 0, 0, 0.5);
}

/* Reset & Base */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: auto;
}

body {
  font-family: 'Georgia', 'Times New Roman', serif;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  transition: background-color var(--transition-medium), color var(--transition-medium);
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', 'Georgia', serif;
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 1rem;
}

a {
  color: var(--accent-gold);
  text-decoration: none;
  transition: color var(--transition-fast);
}

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

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Locomotive Scroll */
html.lenis, html.lenis body {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}

.lenis.lenis-stopped {
  overflow: hidden;
}

.lenis.lenis-smooth iframe {
  pointer-events: none;
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1rem 2rem;
  background: rgba(var(--bg-primary), 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-color);
  transition: all var(--transition-medium);
}

.navbar.scrolled {
  padding: 0.75rem 2rem;
  background: rgba(var(--bg-primary), 0.98);
  box-shadow: 0 2px 20px var(--shadow);
}

.nav-container {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo-icon {
  width: 40px;
  height: 40px;
  background: var(--accent-gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-links a {
  color: var(--text-secondary);
  font-size: 0.95rem;
  font-weight: 500;
  position: relative;
  padding: 0.5rem 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-gold);
  transition: width var(--transition-fast);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

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

.nav-controls {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.theme-toggle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border-color);
  background: var(--card-bg);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: all var(--transition-fast);
}

.theme-toggle:hover {
  background: var(--accent-gold);
  color: white;
  transform: scale(1.05);
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
}

.mobile-menu-btn span {
  width: 25px;
  height: 2px;
  background: var(--text-primary);
  transition: all var(--transition-fast);
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 6rem 2rem 4rem;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero-map {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  max-width: 1200px;
  opacity: 0.08;
}

.hero-map svg {
  width: 100%;
  height: auto;
  fill: var(--text-primary);
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 900px;
}

.hero-subtitle {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 4px;
  color: var(--accent-gold);
  margin-bottom: 1.5rem;
}

.hero-title {
  font-size: clamp(2.5rem, 6vw, 5rem);
  margin-bottom: 1.5rem;
  line-height: 1.1;
}

.hero-title span {
  display: block;
  color: var(--accent-gold);
}

.hero-description {
  font-size: 1.25rem;
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  padding: 1rem 2.5rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 4px;
  cursor: pointer;
  transition: all var(--transition-fast);
  font-family: inherit;
  border: none;
}

.btn-primary {
  background: var(--accent-gold);
  color: white;
}

.btn-primary:hover {
  background: var(--accent-bronze);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(201, 169, 98, 0.3);
}

.btn-secondary {
  background: transparent;
  color: var(--text-primary);
  border: 2px solid var(--border-color);
}

.btn-secondary:hover {
  border-color: var(--accent-gold);
  color: var(--accent-gold);
  transform: translateY(-2px);
}

/* Hero Timeline Highlights */
.hero-timeline {
  position: absolute;
  bottom: 3rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 3rem;
  z-index: 1;
}

.timeline-highlight {
  text-align: center;
  padding: 1rem;
}

.timeline-highlight-year {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent-gold);
  font-family: 'Playfair Display', serif;
}

.timeline-highlight-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Section Styles */
.section {
  padding: 6rem 2rem;
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 4rem;
  opacity: 1 !important;
}

.section-label {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--accent-gold);
  margin-bottom: 1rem;
  display: block;
  opacity: 1 !important;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3.5rem);
  margin-bottom: 1.5rem;
  opacity: 1 !important;
}

.section-description {
  font-size: 1.1rem;
  color: var(--text-secondary);
  opacity: 1 !important;
}

/* Cards */
.card-grid {
  display: grid;
  opacity: 1 !important;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  max-width: 1400px;
  margin: 0 auto;
}

.card {
  background: var(--card-bg);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border-color);
  transition: all var(--transition-medium);
  cursor: pointer;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px var(--shadow-hover);
}

.card-image {
  width: 100%;
  height: 220px;
  background: var(--bg-tertiary);
  position: relative;
  overflow: hidden;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-medium);
}

.card:hover .card-image img {
  transform: scale(1.05);
}

.card-content {
  padding: 1.5rem;
}

.card-title {
  font-size: 1.35rem;
  margin-bottom: 0.5rem;
}

.card-subtitle {
  font-size: 0.9rem;
  color: var(--accent-gold);
  margin-bottom: 1rem;
}

.card-text {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
}

.card-meta {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-color);
}

.card-meta-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Timeline Slider */
.timeline-section {
  background: var(--bg-secondary);
}

.timeline-slider-container {
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
  opacity: 1 !important;
}

.timeline-slider {
  display: flex;
  gap: 2rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 2rem 0;
  scrollbar-width: none;
  -ms-overflow-style: none;
  opacity: 1 !important;
}

.timeline-slider::-webkit-scrollbar {
  display: none;
}

.timeline-slide {
  flex: 0 0 400px;
  scroll-snap-align: start;
  background: var(--card-bg);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border-color);
}

.timeline-slide-image {
  height: 200px;
  background: var(--bg-tertiary);
  position: relative;
  opacity: 1 !important;
}

.timeline-slide-year {
  position: absolute;
  bottom: -20px;
  left: 1.5rem;
  background: var(--accent-gold);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  font-weight: 700;
}

.timeline-slide-content {
  padding: 2.5rem 1.5rem 1.5rem;
}

.timeline-slide-title {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.timeline-slide-text {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
}

.timeline-slide-category {
  display: inline-block;
  padding: 0.35rem 0.75rem;
  background: var(--bg-tertiary);
  border-radius: 20px;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 1rem;
  text-transform: capitalize;
}

.timeline-nav {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}

.timeline-nav-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 1px solid var(--border-color);
  background: var(--card-bg);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: all var(--transition-fast);
}

.timeline-nav-btn:hover {
  background: var(--accent-gold);
  color: white;
  border-color: var(--accent-gold);
}

/* Region Cards */
.region-card {
  position: relative;
  overflow: hidden;
}

.region-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: var(--region-color, var(--accent-gold));
}

.region-stats {
  display: flex;
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.region-stat {
  text-align: center;
}

.region-stat-value {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent-gold);
  font-family: 'Playfair Display', serif;
}

.region-stat-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.region-events {
  margin-top: 1rem;
}

.region-events-title {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.region-event-list {
  list-style: none;
}

.region-event-list li {
  font-size: 0.9rem;
  color: var(--text-secondary);
  padding: 0.35rem 0;
  padding-left: 1rem;
  position: relative;
}

.region-event-list li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--accent-gold);
}

/* Leader Cards */
.leader-card {
  text-align: center;
}

.leader-image {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  margin: 0 auto 1.5rem;
  overflow: hidden;
  border: 4px solid var(--accent-gold);
}

.leader-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

.leader-region {
  display: inline-block;
  padding: 0.35rem 1rem;
  background: var(--bg-tertiary);
  border-radius: 20px;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.leader-achievements {
  list-style: none;
  text-align: left;
  margin-top: 1rem;
}

.leader-achievements li {
  font-size: 0.9rem;
  color: var(--text-secondary);
  padding: 0.4rem 0;
  padding-left: 1.5rem;
  position: relative;
}

.leader-achievements li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent-gold);
  font-weight: bold;
}

.leader-quote {
  font-style: italic;
  color: var(--text-muted);
  margin-top: 1rem;
  padding: 1rem;
  background: var(--bg-secondary);
  border-radius: 8px;
  font-size: 0.9rem;
  position: relative;
}

.leader-quote::before {
  content: '"';
  font-size: 3rem;
  position: absolute;
  top: -10px;
  left: 10px;
  color: var(--accent-gold);
  opacity: 0.3;
  font-family: 'Playfair Display', serif;
}

/* War Cards */
.war-card {
  position: relative;
}

.war-duration {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--accent-terracotta);
  color: white;
  padding: 0.35rem 0.75rem;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 600;
}

.war-belligerents {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 1rem 0;
  padding: 1rem;
  background: var(--bg-secondary);
  border-radius: 8px;
}

.war-side {
  flex: 1;
  text-align: center;
}

.war-side-name {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
}

.war-vs {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
}

.war-casualties {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--accent-terracotta);
  margin-top: 1rem;
}

.war-battles {
  margin-top: 1rem;
}

.war-battles-title {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.war-battle-list {
  list-style: none;
}

.war-battle-list li {
  font-size: 0.85rem;
  color: var(--text-secondary);
  padding: 0.25rem 0;
  padding-left: 1rem;
  position: relative;
}

.war-battle-list li::before {
  content: '⚔';
  position: absolute;
  left: 0;
  font-size: 0.7rem;
}

/* Cultural Evolution */
.culture-tabs {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.culture-tab {
  padding: 0.75rem 1.5rem;
  background: transparent;
  border: 1px solid var(--border-color);
  border-radius: 30px;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--text-secondary);
  transition: all var(--transition-fast);
}

.culture-tab:hover {
  border-color: var(--accent-gold);
  color: var(--accent-gold);
}

.culture-tab.active {
  background: var(--accent-gold);
  border-color: var(--accent-gold);
  color: white;
}

.culture-content {
  max-width: 1400px;
  margin: 0 auto;
}

.culture-era {
  display: none;
}

.culture-era.active {
  display: block;
}

.culture-era-header {
  text-align: center;
  margin-bottom: 3rem;
}

.culture-era-title {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.culture-era-period {
  color: var(--accent-gold);
  font-size: 1.1rem;
}

.culture-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.culture-category {
  background: var(--card-bg);
  border-radius: 12px;
  padding: 1.5rem;
  border: 1px solid var(--border-color);
}

.culture-category-title {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.culture-category-icon {
  width: 36px;
  height: 36px;
  background: var(--accent-gold);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

.culture-works {
  display: grid;
  gap: 1rem;
  margin-top: 1rem;
}

.culture-work {
  display: flex;
  gap: 1rem;
  padding: 1rem;
  background: var(--bg-secondary);
  border-radius: 8px;
  transition: all var(--transition-fast);
}

.culture-work:hover {
  background: var(--bg-tertiary);
}

.culture-work-image {
  width: 80px;
  height: 80px;
  border-radius: 8px;
  background: var(--bg-tertiary);
  flex-shrink: 0;
  overflow: hidden;
}

.culture-work-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.culture-work-info {
  flex: 1;
}

.culture-work-title {
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.culture-work-creator {
  font-size: 0.85rem;
  color: var(--accent-gold);
}

.culture-work-year {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* About & Contact */
.about-section {
  background: var(--bg-secondary);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto 4rem;
}

.team-card {
  background: var(--card-bg);
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  border: 1px solid var(--border-color);
  transition: all var(--transition-medium);
}

.team-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px var(--shadow-hover);
}

.team-image {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  margin: 0 auto 1.5rem;
  overflow: hidden;
  border: 3px solid var(--accent-gold);
}

.team-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-name {
  font-size: 1.25rem;
  margin-bottom: 0.25rem;
}

.team-role {
  color: var(--accent-gold);
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.team-specialization {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.team-bio {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.team-stats {
  display: flex;
  justify-content: center;
  gap: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-color);
}

.team-stat {
  text-align: center;
}

.team-stat-value {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent-gold);
  font-family: 'Playfair Display', serif;
}

.team-stat-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
}

/* Contact Section */
.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  max-width: 1200px;
  margin: 0 auto;
}

.contact-info {
  padding-right: 2rem;
}

.contact-title {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.contact-text {
  color: var(--text-secondary);
  margin-bottom: 2rem;
  line-height: 1.7;
}

.contact-details {
  list-style: none;
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.contact-detail-icon {
  width: 48px;
  height: 48px;
  background: var(--accent-gold);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.contact-detail-content h4 {
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.contact-detail-content p {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.contact-form {
  background: var(--card-bg);
  padding: 2.5rem;
  border-radius: 12px;
  border: 1px solid var(--border-color);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 1rem;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  background: var(--bg-primary);
  color: var(--text-primary);
  font-family: inherit;
  font-size: 1rem;
  transition: border-color var(--transition-fast);
}

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

.form-textarea {
  min-height: 150px;
  resize: vertical;
}

/* Newsletter */
.newsletter-section {
  background: var(--bg-tertiary);
  padding: 4rem 2rem;
}

.newsletter-container {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.newsletter-title {
  font-size: 1.75rem;
  margin-bottom: 1rem;
}

.newsletter-text {
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

.newsletter-form {
  display: flex;
  gap: 1rem;
}

.newsletter-input {
  flex: 1;
  padding: 1rem 1.5rem;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  background: var(--card-bg);
  color: var(--text-primary);
  font-family: inherit;
  font-size: 1rem;
}

.newsletter-input:focus {
  outline: none;
  border-color: var(--accent-gold);
}

/* Footer */
.footer {
  background: var(--bg-secondary);
  padding: 4rem 2rem 2rem;
  border-top: 1px solid var(--border-color);
}

.footer-container {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 3rem;
}

.footer-brand {
  max-width: 300px;
}

.footer-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.footer-text {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
}

.footer-title {
  font-size: 1rem;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: var(--text-secondary);
  font-size: 0.95rem;
  transition: color var(--transition-fast);
}

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

.footer-bottom {
  max-width: 1400px;
  margin: 3rem auto 0;
  padding-top: 2rem;
  border-top: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-copyright {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.footer-social {
  display: flex;
  gap: 1rem;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--card-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: all var(--transition-fast);
}

.footer-social a:hover {
  background: var(--accent-gold);
  color: white;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .footer-container {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .contact-container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .contact-info {
    padding-right: 0;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--bg-primary);
    flex-direction: column;
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-color);
    gap: 0;
  }
  
  .nav-links.active {
    display: flex;
  }
  
  .nav-links li {
    width: 100%;
  }
  
  .nav-links a {
    display: block;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-color);
  }
  
  .mobile-menu-btn {
    display: flex;
  }
  
  .hero-timeline {
    display: none;
  }
  
  .timeline-slide {
    flex: 0 0 320px;
  }
  
  .footer-container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .footer-brand {
    max-width: 100%;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
  
  .newsletter-form {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .hero-buttons {
    flex-direction: column;
  }
  
  .btn {
    width: 100%;
  }
  
  .section {
    padding: 4rem 1.5rem;
  }
  
  .card-grid {
    grid-template-columns: 1fr;
  }
  
  .culture-tabs {
    flex-direction: column;
    align-items: center;
  }
  
  .culture-tab {
    width: 100%;
    max-width: 200px;
  }
}

/* Utility Classes */
.text-center {
  text-align: center;
}

.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }

.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }

.hidden {
  display: none !important;
}

/* Loading Animation */
.loading {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--bg-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.loading-spinner {
  width: 50px;
  height: 50px;
  border: 3px solid var(--border-color);
  border-top-color: var(--accent-gold);
  border-radius: 50%;
}

/* Scroll Progress */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: var(--accent-gold);
  z-index: 1001;
  transform-origin: left;
}
