/* Reset */
body {
  margin: 0;
  font-family: Arial, sans-serif;
}

/* General Containers */
.container,
.trademark {
  margin: auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.container { max-width: 1200px; }
.trademark { max-width: 80%; }

/* Header */
header {
  background: white;
  padding: 15px 0;
  border-bottom: 1px solid #ddd;
}
nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
}
nav ul li { margin-left: 20px; }
nav ul li a {
  text-decoration: none;
  color: black;
  font-weight: bold;
}

/* Hero Section */
.hero {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  padding: 10px 20px;
  max-width: 1200px;
  margin: auto;
}
.hero-content { width: 50%; }
.hero h1 { font-size: 36px; margin-bottom: 15px; }
.hero p { font-size: 16px; margin-bottom: 20px; color: #555; }
.cta-button {
  display: inline-block;
  background: black;
  color: white;
  padding: 12px 24px;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  margin-top: 10px;
}

/* Slideshow */
.slideshow-container {
  position: relative;
  overflow: hidden;
  width: 100%;
  max-height: 90vh;
  border-radius: 10px;
  margin-top: 20px;
}

.slide {
  display: none;
  width: 100%;
  height: 100%;
  opacity: 0;
}

.slide.active {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 20px;
  width: 100%;
  max-height: 90vh;
  overflow: hidden;
  opacity: 1;
}

.slide img {
  width: 100%;
  height: auto;
  object-fit: cover;
  object-position: center;
  border-radius: 10px;
}

.slide-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.4);
  color: white;
  border: none;
  padding: 10px 15px;
  font-size: 24px;
  cursor: pointer;
  z-index: 10;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

.slide-arrow:hover {
  background-color: rgba(0, 0, 0, 0.7);
}

.slide-arrow.prev {
  left: 15px;
}

.slide-arrow.next {
  right: 15px;
}

/* Responsive Adjustments (max-width: 768px) */
@media (max-width: 768px) {
  .hero { align-items: flex-start; }
  header { padding: 10px 0; }
  .container { flex-direction: column; align-items: center; text-align: center; }
  .logo { font-size: 20px; }
  nav ul { flex-direction: column; padding-top: 10px; }
  nav ul li { margin: 10px 0; }
  .hero-content { width: 100%; }
  .slide-arrow {
    font-size: 18px;
    padding: 8px 12px;
  }
   .slide-arrow.prev { left: 10px; }
   .slide-arrow.next { right: 10px; }
}

/* Middle Section */
.middle-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: auto;
  padding: 20px;
  gap: 40px;
}
.text-content {
  flex: 1;
  max-width: 50%;
}
.text-content h2 { font-size: 28px; margin-bottom: 15px; }
.text-content h3 { font-size: 20px; margin-top: 15px; }
.text-content p { font-size: 16px; color: #555; margin-bottom: 15px; }
.map-image { flex: 1; max-width: 50%; }
.map-image img { width: 100%; border-radius: 10px; }
@media (max-width: 768px) {
  .middle-section { flex-direction: column; text-align: left; }
  .text-content, .map-image { max-width: 100%; }
}

/* Footer */
footer {
  background: #f5f5f5;
  padding: 20px 0;
  border-top: 1px solid #ddd;
  text-align: center;
}
.footer-right ul { list-style: none; padding: 0; }
.footer-right ul li {
  display: inline;
  margin-left: 15px;
}
.footer-right ul li a {
  text-decoration: none;
  color: black;
  font-weight: bold;
}

/* Pricing & Instructions Sections */
.pricing,
.instructions {
  padding: 50px 20px;
}
.pricing .container,
.instructions .container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.pricing h2,
.instructions .section-title {
  font-size: 32px;
  margin-bottom: 20px;
  text-align: left;
}
.pricing-cards,
.instruction-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  width: 100%;
}

/* Pricing Cards */
.card {
  background: white;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  padding: 20px;
  text-align: center;
  width: 250px;
}
.card img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 5px;
}
.card h3 { font-size: 22px; margin: 15px 0; }
.card .price { font-size: 20px; font-weight: bold; color: #333; }

/* Instruction Steps */
.step {
  background: white;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  padding: 20px;
  text-align: left;
  width: 100%;
}
.step h3 { font-size: 22px; margin-bottom: 10px; }
.step p { font-size: 18px; color: #555; line-height: 1.5; }

/* Varauskalenteri Header */
.varauskalenteri-header {
  width: 100%;
  text-align: left;
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 20px;
}

/* Calendar Section */
.calendar-container.small-gap {
  gap: 20px;
}
.calendar-section .section-title {
  text-align: left;
  width: 100%;
}
.calendar-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  max-width: 900px;
  width: 100%;
}
@media (max-width: 600px) {
  .calendar-container { flex-direction: column; }
  .instructions {padding: 0;}
}
.calendar-info {
  text-align: left;
  max-width: 300px;
}
#calendar {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: fit-content;
}
.calendar-section .container { display: block; }
.calendar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin-bottom: 10px;
}
.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 40px);
  gap: 5px;
  text-align: center;
  margin-bottom: 30px;
}
.calendar-day,
.day-label {
  width: 40px;
  height: 40px;
  line-height: 40px;
  text-align: center;
  font-weight: bold;
  border-radius: 5px;
}
.day-label { background-color: #ddd; }
.available { background-color: green; color: white; }
.reserved { background-color: red; color: white; }
.empty-cell { visibility: hidden; }

/* Desktop Adjustments (min-width: 768px) */
@media (min-width: 768px) {
  .container, .hero, .middle-section { max-width: 80%; }
}
