* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background: #f5f5f2;
  color: #1f1f1f;
  line-height: 1.6;
}

.hero {
  min-height: 90vh;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.82) 0%, rgba(0, 0, 0, 0.64) 45%, rgba(0, 0, 0, 0.28) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0) 72%, rgba(0, 0, 0, 0.45) 100%),
    url("/images/citaro-twinliner-hero.jpg");
  background-size: cover;
  background-position: center 52%;
  background-repeat: no-repeat;
  color: white;
  padding: 32px 48px 96px;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 120px;
  gap: 24px;
}

.logo {
  font-size: 20px;
  font-weight: bold;
}

.nav-links a {
  color: white;
  text-decoration: none;
  margin-left: 18px;
  font-size: 14px;
}

.hero-text {
  max-width: 800px;
}

.hero-text h1 {
  font-size: 56px;
  line-height: 1.1;
  margin-bottom: 24px;
}

.hero-text p {
  font-size: 20px;
  max-width: 650px;
  color: #dddddd;
}

main {
  padding: 48px 32px;
  max-width: 1100px;
  margin: auto;
}

.intro,
.about {
  margin-bottom: 56px;
}

h2 {
  font-size: 32px;
  margin-bottom: 16px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 64px;
}

.card {
  background: white;
  padding: 28px;
  border-radius: 18px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.card h3 {
  margin-top: 0;
  font-size: 22px;
}

footer {
  text-align: center;
  padding: 32px;
  background: #111111;
  color: #cccccc;
}

@media (max-width: 800px) {
  nav {
    display: block;
    margin-bottom: 80px;
  }

  .nav-links {
    margin-top: 20px;
  }

  .nav-links a {
    display: inline-block;
    margin: 0 12px 8px 0;
  }

  .hero-text h1 {
    font-size: 38px;
  }

  .grid {
    grid-template-columns: 1fr;
  }
}

.photo-gallery {
  margin-bottom: 64px;
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.photo-grid figure {
  margin: 0;
  background: white;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.photo-grid img {
  width: 100%;
  display: block;
}

.photo-grid figcaption {
  padding: 16px;
  font-size: 14px;
  color: #333333;
}
@media (max-width: 800px) {
  nav {
    display: block;
    margin-bottom: 80px;
  }

  .nav-links {
    margin-top: 20px;
  }

  .nav-links a {
    display: inline-block;
    margin: 0 12px 8px 0;
  }

  .hero {
    min-height: 88vh;
    padding: 32px 28px 88px;
    background-position: 58% center;
  }

  .hero-text h1 {
    font-size: 38px;
  }

  .grid {
    grid-template-columns: 1fr;
  }
}
img {
  max-width: 100%;
  height: auto;
}

.photo-gallery {
  margin: 72px auto;
  max-width: 1100px;
}

.photo-gallery h2 {
  margin-bottom: 28px;
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

.photo-grid figure {
  margin: 0;
  background: white;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.photo-grid img {
  width: 100%;
  height: 360px;
  object-position: center;
  object-fit: cover;
  display: block;
}

.photo-grid figcaption {
  padding: 16px 18px;
  font-size: 15px;
  color: #333333;
}
html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.photo-gallery {
  width: 100%;
  max-width: 1100px;
  margin: 72px auto;
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  width: 100%;
}

.photo-grid figure {
  margin: 0;
  width: 100%;
  max-width: 100%;
  background: white;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.photo-grid img {
  width: 100% !important;
  max-width: 100% !important;
  height: 360px !important;
  max-height: 360px !important;
  object-fit: contain;
  object-position: center;
  background: #111111;
  display: block;
}

.photo-grid figcaption {
  padding: 16px 18px;
  font-size: 15px;
  color: #333333;
}
@media screen and (max-width: 800px) {
  main {
    padding: 40px 22px;
    width: 100%;
    max-width: 100%;
  }

  .photo-gallery {
    margin: 56px auto;
    width: 100%;
    max-width: 100%;
  }

  .photo-grid {
    grid-template-columns: 1fr;
    width: 100%;
    max-width: 100%;
  }

  .photo-grid figure {
    width: 100%;
    max-width: 100%;
  }

  .photo-grid img {
    width: 100% !important;
    max-width: 100% !important;
    height: 240px !important;
    max-height: 240px !important;
    object-fit: contain;
    background: #111111;
  }
}
@media screen and (max-width: 900px) {
  .photo-grid {
    grid-template-columns: 1fr !important;
    gap: 28px;
  }

  .photo-grid figure {
    max-width: 520px;
    margin: 0 auto;
  }

  .photo-grid img {
    width: 100% !important;
    height: auto !important;
    max-height: none !important;
    object-fit: contain;
  }
}
.photo-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  align-items: start;
}

.photo-grid figure {
  margin: 0;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  background: white;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.photo-grid img {
  width: 100% !important;
  height: 320px !important;
  object-fit: cover;
  object-position: center;
  display: block;
}

.photo-grid figcaption {
  padding: 16px 18px;
  font-size: 15px;
  color: #333333;
}
@media screen and (max-width: 900px) {
  .photo-grid {
    grid-template-columns: 1fr !important;
    gap: 28px;
  }

  .photo-grid figure {
    max-width: 520px;
    margin: 0 auto;
  }

  .photo-grid img {
    width: 100% !important;
    height: 260px !important;
    object-fit: cover;
    object-position: center;
  }
}
.photo-jal {
  object-position: center 45%;
}
.photo-fuso {
  object-position: center 50%;
}
.photo-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  align-items: start;
}

.photo-grid figure {
  margin: 0;
  width: 100%;
  min-width: 0;
  background: white;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.photo-grid img {
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  max-height: none !important;
  object-fit: initial !important;
  object-position: initial !important;
  background: transparent !important;
  display: block;
}

.photo-grid figcaption {
  padding: 16px 18px;
  font-size: 15px;
  color: #333333;
}
@media screen and (max-width: 900px) {
  .photo-grid {
    grid-template-columns: 1fr !important;
    gap: 28px;
  }

  .photo-grid figure {
    max-width: 520px;
    margin: 0 auto;
  }

  .photo-grid img {
    width: 100% !important;
    height: auto !important;
    max-height: none !important;
    object-fit: initial !important;
    background: transparent !important;
  }
}
.card-link {
  display: block;
  color: inherit;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card-link:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.12);
}
.page-header {
  background: #111111;
  color: white;
  padding: 32px 48px 96px;
}

.logo a {
  color: white;
  text-decoration: none;
}

.page-title {
  max-width: 900px;
  margin-top: 96px;
}

.page-title h1 {
  font-size: 56px;
  line-height: 1.1;
  margin-bottom: 24px;
}

.page-title p {
  font-size: 20px;
  color: #dddddd;
  max-width: 720px;
}

@media screen and (max-width: 800px) {
  .page-header {
    padding: 32px 28px 72px;
  }

  .page-title {
    margin-top: 72px;
  }

  .page-title h1 {
    font-size: 38px;
  }

  .page-title p {
    font-size: 18px;
  }
}
