@import url('https://fonts.googleapis.com/css2?family=Lexend:wght@400;500;600;700&display=swap');

/* ==========================================================================
   CSS Custom Properties (Variables)
   ========================================================================== */

:root {
  --bg-primary: #ececec;
  --bg-secondary: #f4f4f4;
  --text-primary: #111111;
  --text-secondary: #4b5563;
  --shadow: 0 18px 60px rgba(0, 0, 0, 0.12);
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg-primary: #181818;
    --bg-secondary: #111111;
    --text-primary: #ececec;
    --text-secondary: #b8b8b8;
    --shadow: 0 18px 60px rgba(0, 0, 0, 0.45);
  }
}

/* ==========================================================================
   CSS Reset & Base Styles
   ========================================================================== */

*,
*::before,
*::after {
  box-sizing: border-box;
}

* {
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Lexend', sans-serif;
  background-color: var(--bg-secondary);
  color: var(--text-primary);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ==========================================================================
   Layout & Components
   ========================================================================== */

body {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.container {
  text-align: center;
  background-color: var(--bg-primary);
  padding: 40px;
  border-radius: 12px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(255, 255, 255, 0.06);
  max-width: 600px;
}

.image-container {
  margin: 0 0 24px 0;
}

.image-container img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  max-height: 300px;
  object-fit: contain;
  display: block; /* Remove bottom margin from inline elements */
}

h1 {
  color: var(--text-primary);
  margin-top: 48px;
  margin-bottom: 0;
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.1;
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */

/* Extra small screens */
@media (max-width: 480px) {
  .container {
    padding: 20px;
  }

  .image-container {
    margin: 0 0 16px 0;
  }

  .image-container img {
    max-height: 200px;
  }
}

/* Small screens */
@media (min-width: 481px) and (max-width: 767px) {
  .image-container img {
    max-height: 250px;
  }
}

/* Medium screens and up */
@media (min-width: 768px) {
  h1 {
    font-size: 3.5rem;
  }

  .image-container img {
    max-height: 350px;
  }
}

p {
  color: var(--text-secondary);
  font-size: 1.1rem;
  line-height: 1.6;
  font-weight: 400;
}
