/* ========================================
   CSS CUSTOM PROPERTIES & RESET
   ======================================== */

html {
  scroll-behavior: smooth;
}

:root {
  /* Colors - matching main portfolio */
  --text-color: #111111;
  --bg-color: #f5f5f5;
  --border-color: #dbdbdb;
  --border-light: #eeeeee;
  --link-color: #454545;
  --hover-color: #000000;
  --gray-light: #e1e1e1;
  --gray-med: #383838;
  --accent: #980000;

  /* Typography - matching main portfolio */
  --sans-font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --serif-font: 'Playfair Display', Georgia, serif;

  /* Spacing - matching main portfolio pixel values */
  --sp-2: 2px;
  --sp-3: 3px;
  --sp-4: 4px;
  --sp-8: 8px;
  --sp-12: 12px;
  --sp-16: 16px;
  --sp-20: 20px;
  --sp-24: 24px;
  --sp-32: 32px;
  --sp-40: 40px;
  --sp-48: 48px;
  --sp-64: 64px;
  --sp-80: 80px;
  --sp-120: 120px;

  /* Typography Scale - matching main portfolio */
  --txt-10: 10px;
  --txt-11: 11px;
  --txt-12: 12px;
  --txt-13: 13px;
  --txt-14: 14px;
  --txt-15: 15px;
  --txt-16: 16px;
  --txt-18: 18px;
  --txt-20: 20px;
  --txt-24: 24px;
  --txt-28: 28px;
  --txt-32: 32px;
  --txt-40: 40px;
  --txt-48: 48px;
  --txt-60: 60px;
  --txt-72: 72px;
}

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

html, body {
  overflow-x: hidden;
  max-width: 100%;
  height: 100%;
}

body {
  font-family: var(--sans-font);
  background-color: var(--bg-color);
  color: var(--text-color);
  line-height: 1.6;
  font-size: var(--txt-16);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ========================================
   PRESENTATION CONTAINER
   ======================================== */
.presentation-container {
  display: flex;
  width: 700vw; /* 7 slides */
  height: 100vh;
  transition: transform 0.3s ease;
  transform: translateX(0);
}

.slide {
  width: 100vw;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--sp-80) var(--sp-40);
  position: relative;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.slide.active {
  opacity: 1;
}

.slide-content {
  max-width: 1200px;
  width: 100%;
  text-align: center;
}

/* ========================================
   INTRODUCTION SLIDE
   ======================================== */
.slide-intro {
  background: var(--bg-color);
}

.intro-layout {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}

.intro-text {
  text-align: center;
  max-width: 600px;
}

.intro-title {
  font-family: var(--serif-font);
  font-size: var(--txt-72);
  font-weight: 900;
  color: var(--text-color);
  margin-bottom: var(--sp-24);
  letter-spacing: -0.02em;
  line-height: 0.9;
}

.intro-subtitle {
  font-size: var(--txt-20);
  font-weight: 500;
  color: var(--accent);
  margin-bottom: var(--sp-40);
  line-height: 1.4;
}

.intro-description {
  font-size: var(--txt-16);
  line-height: 1.6;
  color: var(--text-color);
  margin-bottom: var(--sp-48);
  font-weight: 400;
}

.intro-tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-12);
  justify-content: center;
}

.tag {
  background: transparent;
  color: var(--gray-med);
  padding: var(--sp-8) var(--sp-16);
  border: 1px solid var(--border-light);
  border-radius: 0;
  font-size: var(--txt-12);
  font-weight: 500;
  transition: all 0.2s ease;
}

.tag:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* ========================================
   CONTENT SECTIONS
   ======================================== */
.slide-content-section {
  background: var(--bg-color);
}

.section-title {
  font-family: var(--serif-font);
  font-size: var(--txt-60);
  font-weight: 900;
  color: var(--text-color);
  margin-bottom: var(--sp-24);
  letter-spacing: -0.02em;
  line-height: 1;
}

.section-subtitle {
  font-size: var(--txt-20);
  font-weight: 500;
  color: var(--accent);
  margin-bottom: var(--sp-80);
  line-height: 1.4;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.content-placeholder {
  font-size: var(--txt-16);
  color: var(--gray-med);
  font-style: italic;
}

.content-placeholder p {
  margin-bottom: var(--sp-24);
}

/* ========================================
   NAVIGATION
   ======================================== */
.navigation {
  position: fixed;
  bottom: var(--sp-40);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: var(--sp-32);
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  padding: var(--sp-16) var(--sp-32);
  border-radius: 50px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  border: 1px solid var(--border-light);
}

.nav-button {
  background: transparent;
  border: 1px solid var(--border-color);
  color: var(--text-color);
  padding: var(--sp-12) var(--sp-20);
  border-radius: 25px;
  font-size: var(--txt-14);
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: var(--sans-font);
}

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

.slide-indicator {
  font-family: var(--serif-font);
  font-size: var(--txt-16);
  font-weight: 600;
  color: var(--text-color);
  min-width: 60px;
  text-align: center;
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */
@media (max-width: 768px) {
  .slide {
    padding: var(--sp-48) var(--sp-24);
  }
  
  .intro-title {
    font-size: var(--txt-48);
  }
  
  .section-title {
    font-size: var(--txt-40);
  }
  
  .intro-subtitle,
  .section-subtitle {
    font-size: var(--txt-18);
  }
  
  .intro-description {
    font-size: var(--txt-15);
  }
  
  .navigation {
    bottom: var(--sp-24);
    gap: var(--sp-24);
    padding: var(--sp-12) var(--sp-24);
  }
  
  .nav-button {
    padding: var(--sp-8) var(--sp-16);
    font-size: var(--txt-13);
  }
  
  .slide-indicator {
    font-size: var(--txt-14);
    min-width: 50px;
  }
}

@media (max-width: 480px) {
  .slide {
    padding: var(--sp-32) var(--sp-16);
  }
  
  .intro-title {
    font-size: var(--txt-40);
  }
  
  .section-title {
    font-size: var(--txt-32);
  }
  
  .intro-subtitle,
  .section-subtitle {
    font-size: var(--txt-16);
  }
  
  .intro-description {
    font-size: var(--txt-14);
  }
  
  .intro-tags {
    gap: var(--sp-8);
  }
  
  .tag {
    font-size: var(--txt-11);
    padding: var(--sp-6) var(--sp-12);
  }
  
  .navigation {
    bottom: var(--sp-16);
    gap: var(--sp-16);
    padding: var(--sp-8) var(--sp-16);
  }
  
  .nav-button {
    padding: var(--sp-6) var(--sp-12);
    font-size: var(--txt-12);
  }
  
  .slide-indicator {
    font-size: var(--txt-12);
    min-width: 40px;
  }
}

/* ========================================
   UTILITY CLASSES
   ======================================== */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}