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

body {
  background-color: #0d0d0d;
  color: #ffffff;
  font-family: 'Inter', sans-serif; 
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  
  /* Center the layout container on massive monitors */
  display: flex;
  justify-content: center;
  align-items: center;
}

/* ========================================== */
/* Desktop Layout (Fixed & Centered Grid)     */
/* ========================================== */
.landing-container {
  display: grid;
  /* Columns: 
     - 1fr: Flexible left spacing to push content right
     - 600px: Fixed width for your central image area 
     - 200px: The exact gap offset between your image and links 
     - 150px: Fixed width area for your links to live in 
  */
  grid-template-columns: 1fr 600px 200px 150px;
  grid-template-rows: auto 120px; /* Row 1: Image/Links, Row 2: Bottom Title */
  
  width: 100%;
  max-width: 1400px; /* Limits maximum spread on wide screens */
  height: 100vh;
  padding: 40px;
}

/* Position Image Area strictly in column 2 */
.image-area {
  grid-column: 2;
  grid-row: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.center-image {
  width: 100%;
  max-height: 60vh;
  object-fit: cover;
  border-radius: 8px;
}

/* Position Links strictly in column 4 (200px away from the image) */
.links-area {
  grid-column: 4;
  grid-row: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start; /* Left-align links so they look cohesive */
}

.nav-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 25px;
}

/* Position Title across the core center area at the bottom */
.title-area {
  grid-column: 2;
  grid-row: 2;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  padding-bottom: 20px;
}

.website-title {
  font-size: 3.5rem; 
  font-weight: 300;
  letter-spacing: 1px;
  text-align: center;
  text-transform: lowercase; 
}

.nav-links a {
  color: #888888;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 300;
  letter-spacing: 0.5px;
  text-transform: lowercase; 
  transition: color 0.4s ease;
}

.nav-links a:hover {
  color: #ffffff;
}

/* ========================================== */
/* Mobile Layout (Remains stacked perfectly)  */
/* ========================================== */
@media (max-width: 900px) {
  body {
    display: block; /* Disable global body center centering on mobile */
  }

  .landing-container {
    display: flex;
    flex-direction: column;
    height: auto;
    min-height: 100vh;
    padding: 40px 20px;
    gap: 40px;
  }

  .image-area {
    order: 1;
    width: 100%;
  }

  .center-image {
    max-height: 45vh;
  }

  .title-area {
    order: 2;
    width: 100%;
    align-items: center;
    padding-bottom: 0;
  }

  .website-title {
    font-size: 2.2rem;
  }

  .links-area {
    order: 3;
    align-items: center; /* Center navigation on mobile viewports */
  }

  .nav-links {
    align-items: center;
    gap: 20px;
  }
}
