/* CSS Variables */
:root {
  --primary-blue: #0a1f44;
  --primary-blue-dark: #050f22;
  --accent-gold: #d4af37;
  --accent-gold-hover: #b8962d;
  --text-light: #ffffff;
  --text-dark: #333333;
  --font-heading: 'Montserrat', sans-serif;
  --font-body: 'Montserrat', sans-serif;
}

/* Reset & Base */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 800;
  /* Extra Bold like 'Heavy' */
  letter-spacing: -0.02em;
}

/* Utilities */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.btn {
  display: inline-block;
  padding: 12px 24px;
  background-color: transparent;
  border: 2px solid white;
  color: white;
  font-weight: 700;
  text-transform: uppercase;
  transition: all 0.3s ease;
  cursor: pointer;
}

.btn:hover {
  background-color: white;
  color: var(--primary-blue);
}

.btn-primary {
  background-color: var(--primary-blue);
  border-color: var(--primary-blue);
}

.btn-primary:hover {
  background-color: var(--primary-blue-dark);
  color: white;
}

/* Vignette Effect */
.vignette-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  box-shadow: inset 0 0 150px rgba(10, 31, 68, 0.9);
  z-index: 2;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: white;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  height: 80px;
  display: flex;
  align-items: center;
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.logo {
  font-size: 24px;
  font-weight: 900;
  color: var(--primary-blue);
  letter-spacing: 0.1em;
}

.nav-links {
  display: flex;
  gap: 30px;
}

.nav-links li a {
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--primary-blue);
  transition: color 0.3s;
}

.nav-links li a:hover {
  color: var(--accent-gold);
}

.mobile-menu-btn {
  display: none;
  font-size: 24px;
  cursor: pointer;
}

/* Hero Section */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  background-image: url('https://images.unsplash.com/photo-1523580494863-6f3031224c94?ixlib=rb-1.2.1&auto=format&fit=crop&w=1950&q=80');
  /* Placeholder: University/Conference Hall */
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 80px;
  /* Offset fixed header */
}

/* Inner frame for hero content if needed, basically the vignette does the work */

/* Guide Section */
.guide-section {
  padding: 80px 0;
  text-align: center;
  background: white;
  position: relative;
}

.section-title {
  color: var(--primary-blue);
  font-size: 48px;
  margin-bottom: 40px;
  text-transform: uppercase;
}

.guide-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
}

/* Info Section (What is ACMUN?) */
.info-section {
  background-color: var(--accent-gold);
  padding: 100px 0;
  color: var(--primary-blue);
  text-align: center;
}

.info-content {
  max-width: 800px;
  margin: 0 auto;
}

.info-title {
  font-size: 48px;
  margin-bottom: 30px;
  text-transform: uppercase;
}

.info-text {
  font-size: 18px;
  font-weight: 500;
  line-height: 1.8;
}

/* Sponsors */
.sponsors-section {
  padding: 60px 0;
  background: white;
  text-align: center;
}

.sponsors-grid {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.sponsor-logo {
  height: 80px;
  opacity: 0.8;
  filter: grayscale(100%);
  transition: all 0.3s;
}

.sponsor-logo:hover {
  opacity: 1;
  filter: grayscale(0%);
}

/* Footer */
.footer {
  background-color: var(--primary-blue);
  color: white;
  padding: 60px 0 20px;
  text-align: center;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  margin-bottom: 40px;
}

.footer-logo {
  font-size: 32px;
  font-weight: 900;
  margin-bottom: 10px;
}

.footer-info p {
  margin: 5px 0;
  font-size: 14px;
  opacity: 0.8;
}

.social-links {
  display: flex;
  gap: 20px;
  margin-top: 20px;
}

.social-links a {
  font-size: 24px;
  opacity: 0.8;
  transition: opacity 0.3s;
}

.social-links a:hover {
  opacity: 1;
}

.copyright {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
  font-size: 12px;
  opacity: 0.5;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    background: white;
    padding: 20px 0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links li {
    text-align: center;
    padding: 10px 0;
  }

  .mobile-menu-btn {
    display: block;
    color: var(--primary-blue);
  }

  .section-title,
  .info-title {
    font-size: 32px;
  }

  .hero {
    height: 60vh;
  }
}

/* Subpage Styles */
.page-header {
  margin-top: 80px;
  padding: 60px 0;
  text-align: center;
  background-color: white;
}

.page-title {
  color: var(--primary-blue);
  font-size: 42px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.content-section {
  padding: 40px 0 80px;
  background-color: white;
  /* Default */
}

/* Our Story */
.story-text {
  max-width: 800px;
  margin: 0 auto;
  font-size: 18px;
  color: var(--text-dark);
  text-align: justify;
}

.story-text p {
  margin-bottom: 20px;
}

/* Team Grid */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 30px;
  padding: 20px 0;
}

.team-card {
  text-align: center;
}

.team-photo {
  width: 100%;
  aspect-ratio: 3/4;
  background-color: #f0f0f0;
  /* Placeholder */
  object-fit: cover;
  margin-bottom: 15px;
  filter: grayscale(100%);
  transition: filter 0.3s;
}

.team-photo:hover {
  filter: grayscale(0%);
}

.team-name {
  color: var(--primary-blue);
  font-size: 18px;
  font-weight: 700;
  text-transform: uppercase;
}

.team-role {
  color: var(--accent-gold);
  font-size: 14px;
  font-weight: 500;
  margin-top: 5px;
}

/* Contact Form */
.contact-container {
  max-width: 600px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  margin-bottom: 8px;
  color: var(--primary-blue);
  font-weight: 600;
}

.form-control {
  width: 100%;
  padding: 12px;
  border: 1px solid #ccc;
  font-family: var(--font-body);
  font-size: 16px;
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-blue);
}

textarea.form-control {
  resize: vertical;
  min-height: 150px;
}

/* Tables (Schedule/Agenda) */
.schedule-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
  background: white;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.05);
}

.schedule-table th,
.schedule-table td {
  padding: 20px;
  text-align: left;
  border-bottom: 1px solid #eee;
}

.schedule-table th {
  background-color: var(--primary-blue);
  color: white;
  text-transform: uppercase;
  font-size: 14px;
  letter-spacing: 1px;
}

.schedule-table tr:hover {
  background-color: #f9f9f9;
}

.schedule-time {
  color: var(--accent-gold);
  font-weight: 700;
  white-space: nowrap;
}