:root {
  --primary-color: #0f1720;
  --secondary-color: #243447;
  --accent-color: #e3b442;
  --background-color: #fdfdf3;
  --text-color: #222;
}

body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: var(--background-color);
  color: var(--text-color);
}

/* ----- Header ----- */
header {
  background: var(--primary-color);
  color: #fff;
  padding: 1em 0;
  text-align: left;
}

.header-content {
  display: flex;
  align-items: center;
  max-width: 900px;
  margin: 0 auto;
  gap: 2em;
}

.site-logo {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.header-title-nav h1 {
  font-size: 2em;
  margin: 0 0 0.5em 0;
  color: #fff;
}

/* ----- Layout ----- */
main {
  max-width: 900px;
  margin: 2em auto;
  padding: 2em;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}

footer {
  text-align: center;
  padding: 1em 0;
  background: var(--secondary-color);
  color: #fff;
}

/* ----- Slideshow ----- */
.slideshow-container {
  margin: 2em auto;
  position: relative;
  max-width: 800px;
}

.slideshow {
  position: relative;
  width: 100%;
  aspect-ratio: 800 / 350; /* maintains correct proportions */
  overflow: hidden;
  border-radius: 8px;
  background: #ddd;
}

.slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
  transform: translateX(100%);
  opacity: 0;
  transition: transform 600ms ease, opacity 600ms ease;
  pointer-events: none;
}

.slide.active {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}

.slide.prev {
  transform: translateX(-100%);
  opacity: 0;
}

/* Dots */
.slideshow-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 12px;
}

.slideshow-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #bdbdbd;
  border: none;
  cursor: pointer;
  padding: 0;
}

.slideshow-dot.active {
  background: var(--accent-color);
  box-shadow: 0 0 0 4px rgba(227, 180, 66, 0.3);
}

/* ----- Responsive tweaks ----- */
@media (max-width: 900px) {
  main {
    padding: 1em;
  }
}

@media (max-width: 600px) {
  .header-content {
    flex-direction: row;
    align-items: flex-start;
    gap: 1em;
  }

  .site-logo {
    width: 40px;
    height: 40px;
  }

  .header-title-nav h1 {
    font-size: 1.3em;
  }
}
