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

body {
  font-family: 'IBM Plex Sans', sans-serif;
  background: #efefef url('imgs_home/bg.jpg') no-repeat center center fixed;
  background-size: cover;
  color: #332e2f;
  font-size: 1rem;
  line-height: 1.4;
}

a {
      color: #de503e; 
    text-decoration: none; 
}

a:hover {
  color: #de503e;
    text-decoration: underline;
}

/* Container */
.container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 1rem;
}

/* Header */
.logo img {
  width: 100%;
  height: auto;
  max-width: 1500px;
  margin-bottom: 0rem;
}

.menu {
  text-align: right;
  margin-bottom: 1rem;
}

.menu a {
  font-family: 'Archivo', sans-serif;
  font-weight: 900;
  font-size: 1.2rem;
  color: #332e2f;
  text-decoration: none;
  margin-left: 2rem;
  transition: color 0.3s ease;
}

.menu a:hover {
  color: #de503e;
}

.menu a.active {
  color: #de503e;
}

/* Works section using Masonry */
.works {
  column-count: 2;
  column-gap: 2rem;
}

.work {
  break-inside: avoid;
  margin-bottom: 2rem;
}

.work img {
  width: 100%;
  display: block;
  filter: grayscale(100%);
  transition: filter 0.3s ease-in-out;
}

.work img:hover {
  filter: grayscale(0%);
}

.title {
  /*font-family: 'IBM Plex Sans', sans-serif;*/
  font-family: 'Archivo', sans-serif;
  /*font-family: 'Inter', sans-serif;*/
  font-weight: 700;
  font-size: 1.5rem;
  margin-top: 1rem;
}

.description {
  font-family: 'IBM Plex Sans', sans-serif;
  font-weight: 400;
  margin-top: 0.5rem;
}

/* Footer */
footer {
  margin-top: 4rem;
  text-align: center;
  padding-bottom: 2rem;
}

.separator {
  width: 100%;
  height: auto;
  max-width: 1500px;
  margin-bottom: 1rem;
}

.footer-text {
  font-family: 'Archivo', sans-serif;
  font-weight: 400;
  font-size: 2.2rem;
  color: #332e2f;
  text-transform: lowercase;
}

.intro-text {
  max-width: 1000px;
  margin: 1rem auto;
  padding: 0 1rem;
  font-size: 1rem;
  line-height: 1.4;
  color: #332e2f;
}

.intro-text p {
  margin-bottom: 1.5rem;
}

.lang-switcher {
  text-align: right;
  margin-top: 0rem;
  font-size: 1rem;
}

.lang-switcher a {
  color: #332e2f;
  text-decoration: none;
  margin-left: 0.5rem;
}

.lang-switcher a.active {
  font-weight: bold;
}


/* Responsive adjustments */
@media (max-width: 768px) {
  .works {
    column-count: 1;
  }

  .menu {
    text-align: center;
  }

  .menu a {
    display: inline-block;
    margin: 0 1rem;
    font-size: 1.5rem;
  }

  .footer-text {
    font-size: 2rem;
  }
}
