/* ============================================
   MAIN STYLESHEET
   Imports all CSS modules in correct order
   ============================================ */

/* 1. Reset - Remove browser defaults */
@import url('reset.css');

/* 2. Variables - Design tokens */
@import url('variables.css');

/* 3. Typography - Font styles */
@import url('typography.css');

/* 4. Layout - Grid systems and containers */
@import url('layout.css');

/* 5. Components - Reusable UI components */
@import url('components.css');

/* 6. Navigation - Header and menu */
@import url('navigation.css');

/* 7. Footer - Footer styles */
@import url('footer.css');

/* ============================================
   GLOBAL STYLES
   ============================================ */

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: var(--color-bg-primary);
}

main {
  flex: 1;
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
  position: relative;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  color: var(--color-white);
  padding: var(--spacing-16) 0;
  text-align: center;
}

@media (min-width: 768px) {
  .hero {
    padding: var(--spacing-24) 0;
  }
}

.hero-title {
  color: var(--color-white);
  margin-bottom: var(--spacing-6);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.hero-subtitle {
  font-size: var(--font-size-lg);
  color: var(--color-gray-100);
  margin-bottom: var(--spacing-8);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: var(--line-height-relaxed);
}

@media (min-width: 768px) {
  .hero-subtitle {
    font-size: var(--font-size-xl);
  }
}

.hero-cta {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-4);
  align-items: center;
  justify-content: center;
}

@media (min-width: 640px) {
  .hero-cta {
    flex-direction: row;
  }
}

/* ============================================
   SECTION HEADERS
   ============================================ */

.section-header {
  text-align: center;
  margin-bottom: var(--spacing-12);
}

.section-title {
  margin-bottom: var(--spacing-4);
}

.section-subtitle {
  font-size: var(--font-size-lg);
  color: var(--color-text-secondary);
  max-width: 600px;
  margin: 0 auto;
  line-height: var(--line-height-relaxed);
}

/* ============================================
   STATISTICS SECTION
   ============================================ */

.stats-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-8);
}

@media (min-width: 640px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ============================================
   CONTENT WITH IMAGE
   ============================================ */

.content-with-image {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-8);
  align-items: center;
}

@media (min-width: 768px) {
  .content-with-image {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-12);
  }
}

.content-image {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

/* ============================================
   TIMELINE
   ============================================ */

.timeline {
  position: relative;
  padding-left: var(--spacing-8);
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background-color: var(--color-primary);
}

.timeline-item {
  position: relative;
  padding-bottom: var(--spacing-8);
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: calc(var(--spacing-8) * -1 - 6px);
  top: 0;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background-color: var(--color-primary);
  border: 3px solid var(--color-white);
}

.timeline-year {
  font-weight: var(--font-weight-bold);
  color: var(--color-primary);
  margin-bottom: var(--spacing-2);
}

.timeline-content {
  color: var(--color-text-secondary);
}

/* ============================================
   CONTACT INFO
   ============================================ */

.contact-info {
  background-color: var(--color-white);
  padding: var(--spacing-8);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.contact-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: var(--spacing-6);
}

.contact-item:last-child {
  margin-bottom: 0;
}

.contact-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  margin-right: var(--spacing-4);
  color: var(--color-primary);
}

.contact-details h3 {
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-semibold);
  margin-bottom: var(--spacing-1);
}

.contact-details p {
  color: var(--color-text-secondary);
  margin-bottom: 0;
}

/* ============================================
   MAP EMBED
   ============================================ */

.map-container {
  position: relative;
  width: 100%;
  height: 400px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: var(--spacing-8);
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* ============================================
   UTILITY CLASSES
   ============================================ */

.bg-primary {
  background-color: var(--color-primary);
}

.bg-secondary {
  background-color: var(--color-bg-secondary);
}

.bg-white {
  background-color: var(--color-white);
}

.text-white {
  color: var(--color-white);
}

/* Skip to main content link for accessibility */
.skip-to-main {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--color-primary);
  color: var(--color-white);
  padding: var(--spacing-2) var(--spacing-4);
  text-decoration: none;
  z-index: 100;
}

.skip-to-main:focus {
  top: 0;
}
