/* XENIT - Museum-Inspired Educational Resource */
/* Color Palette */
:root {
  --deep-forest-green: #224229;
  --muted-gold: #B58F01;
  --stone-grey: #8D8B88;
  --warm-cream: #F5F0E1;
  --white: #ffffff;
  --black: #000000;
  
  /* Typography */
  --serif-font: 'Georgia', 'Garamond', serif;
  --sans-serif-font: 'Segoe UI', 'Helvetica Neue', sans-serif;
}

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  font-family: var(--serif-font);
  color: var(--deep-forest-green);
  background-color: var(--warm-cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Typography Hierarchy */
h1 {
  font-family: var(--sans-serif-font);
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--deep-forest-green);
  line-height: 1.2;
  margin-bottom: 40px;
  letter-spacing: -0.5px;
}

h2 {
  font-family: var(--sans-serif-font);
  font-size: 2.5rem;
  font-weight: 600;
  color: var(--deep-forest-green);
  line-height: 1.3;
  margin: 60px 0 30px 0;
  letter-spacing: -0.3px;
}

h3 {
  font-family: var(--sans-serif-font);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--deep-forest-green);
  margin: 30px 0 15px 0;
  line-height: 1.4;
}

p {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 20px;
  color: var(--deep-forest-green);
}

a {
  color: var(--deep-forest-green);
  text-decoration: none;
  transition: all 0.3s ease;
  border-bottom: 1px solid transparent;
}

a:hover {
  color: var(--muted-gold);
  border-bottom: 1px solid var(--muted-gold);
}

/* Layout */
body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main {
  flex: 1;
  width: 100%;
}

.container {
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
  padding: 0 40px;
}

/* Header Styles */
header {
  position: fixed;
  top: 0;
  width: 100%;
  background-color: var(--deep-forest-green);
  z-index: 1000;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 40px;
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
}

.logo {
  font-family: var(--sans-serif-font);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--warm-cream);
  letter-spacing: 1px;
  text-transform: uppercase;
}

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

nav a {
  font-family: var(--sans-serif-font);
  color: var(--warm-cream);
  font-size: 0.95rem;
  border-bottom: 2px solid transparent;
  padding-bottom: 2px;
  transition: all 0.3s ease;
}

nav a:hover,
nav a.active {
  color: var(--muted-gold);
  border-bottom: 2px solid var(--muted-gold);
}

/* Main Content */
main {
  margin-top: 70px;
  padding-top: 40px;
}

/* Section Styling */
.section {
  padding: 80px 0;
  border-bottom: 1px solid rgba(34, 66, 41, 0.1);
}

.section:last-child {
  border-bottom: none;
}

.section-full-width {
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  padding: 80px 40px;
}

.section-with-bg {
  background-color: var(--deep-forest-green);
  color: var(--warm-cream);
}

.section-with-bg p,
.section-with-bg h2,
.section-with-bg h3 {
  color: var(--warm-cream);
}

.section-with-bg a {
  color: var(--muted-gold);
  border-bottom-color: transparent;
}

.section-with-bg a:hover {
  color: var(--warm-cream);
  border-bottom-color: var(--muted-gold);
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--deep-forest-green) 0%, rgba(34, 66, 41, 0.95) 100%);
  color: var(--warm-cream);
  padding: 120px 40px;
  text-align: center;
  margin-top: 70px;
}

.hero h1 {
  color: var(--warm-cream);
  font-size: 4rem;
  margin-bottom: 30px;
}

.hero p {
  color: var(--warm-cream);
  font-size: 1.3rem;
  max-width: 700px;
  margin: 0 auto 40px;
  font-weight: 300;
}

/* Image Styles */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

.image-section {
  width: 100%;
  overflow: hidden;
  margin: 60px 0;
}

.image-cinematic {
  width: 100%;
  height: 400px;
  object-fit: cover;
  display: block;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.image-section-large {
  width: 100%;
  height: 500px;
  object-fit: cover;
  display: block;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35);
}

/* Grid Layouts */
.grid-2-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin: 60px 0;
}

.grid-3-col {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin: 60px 0;
}

.card {
  border: 1px solid var(--stone-grey);
  padding: 30px;
  background-color: var(--white);
  transition: all 0.3s ease;
}

.card:hover {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transform: translateY(-4px);
}

.card h3 {
  margin-top: 0;
  color: var(--deep-forest-green);
}

/* Buttons */
button, .btn, a.btn {
  display: inline-block;
  background-color: var(--deep-forest-green);
  color: var(--warm-cream);
  padding: 14px 32px;
  border: 1px solid var(--deep-forest-green);
  font-family: var(--sans-serif-font);
  font-size: 1rem;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  border-radius: 0;
}

button:hover, .btn:hover, a.btn:hover {
  background-color: var(--muted-gold);
  border-color: var(--muted-gold);
  color: var(--deep-forest-green);
}

.btn-secondary {
  background-color: transparent;
  color: var(--deep-forest-green);
  border: 1px solid var(--stone-grey);
}

.btn-secondary:hover {
  background-color: var(--deep-forest-green);
  color: var(--warm-cream);
  border-color: var(--deep-forest-green);
}

/* Footer */
footer {
  background-color: var(--deep-forest-green);
  color: var(--warm-cream);
  padding: 60px 40px 40px;
  margin-top: 60px;
}

.footer-content {
  max-width: 1280px;
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(245, 240, 225, 0.1);
}

.footer-section h3 {
  color: var(--warm-cream);
  font-size: 1.1rem;
  margin-bottom: 15px;
}

.footer-section p {
  color: var(--warm-cream);
  font-size: 0.95rem;
  line-height: 1.7;
}

.footer-section a {
  color: var(--muted-gold);
}

.footer-section a:hover {
  color: var(--warm-cream);
  border-bottom-color: var(--muted-gold);
}

.footer-bottom {
  text-align: center;
  font-size: 0.9rem;
  color: rgba(245, 240, 225, 0.7);
}

.disclaimer {
  background-color: rgba(141, 139, 136, 0.1);
  border-left: 3px solid var(--muted-gold);
  padding: 20px 25px;
  margin: 40px 0;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Lists */
ul, ol {
  margin: 20px 0 20px 40px;
}

ul li, ol li {
  margin-bottom: 12px;
  line-height: 1.7;
}

/* Blockquote */
blockquote {
  border-left: 4px solid var(--muted-gold);
  padding-left: 30px;
  margin: 40px 0;
  font-style: italic;
  font-size: 1.2rem;
  color: var(--deep-forest-green);
}

/* Responsive */
@media (max-width: 1024px) {
  .container {
    padding: 0 30px;
  }

  h1 {
    font-size: 2.8rem;
  }

  h2 {
    font-size: 2rem;
  }

  .grid-2-col,
  .grid-3-col {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  nav ul {
    gap: 20px;
  }

  nav a {
    font-size: 0.85rem;
  }
}

@media (max-width: 768px) {
  .header-content {
    padding: 15px 20px;
  }

  nav ul {
    display: none;
  }

  .hero {
    padding: 80px 20px;
  }

  .hero h1 {
    font-size: 2rem;
  }

  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  .section {
    padding: 40px 0;
  }

  .image-cinematic {
    height: 250px;
  }

  .image-section-large {
    height: 300px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
}
