@import url('https://fonts.googleapis.com/css2?family=Pacifico&display=swap');

body {
  margin: 0;
  font-family: 'Playfair Display', serif;
  background-color: #fceeee;
  background-image: url(kuvat/tausta.png);
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: #5e2d3a;
  line-height: 1.6;
}

/* Header */
header {
  text-align: center;
  padding: 2rem 1rem;
  background-color: #fceeee;
  border-bottom: 2px solid #cba6a4;
}

header img {
  max-width: 170px;
  height: auto;
  margin-bottom: 1rem;
}

header h1 {
  margin: 0;
  font-weight: 500;
  font-size: 2.5rem;
  color: #5e2d3a;
  font-family: "Pacifico", cursive;
}

/* Navigointi */
nav {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  background-color: #f7d9d7;
  padding: 1rem 1rem;
  border-bottom: 1px solid #cba6a4;
}

nav a {
  text-decoration: none;
  color: #5e2d3a;
  font-weight: 700;
  padding: 0.3rem 0.6rem;
  border-radius: 4px;
  transition: background-color 0.3s, color 0.3s;
}

nav a:hover,
nav a:focus {
  background-color: #cba6a4;
  color: white;
}

section {
  background-color: transparent;
  padding: 1.8rem 2rem;
  margin-bottom: 2.5rem;
  border-radius: 8px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.7);
  text-align: center;
  max-width: 70%;
  margin: 2rem auto;
}

section h2 {
  font-size: 1.9rem;
  margin-bottom: 1rem;
  border-bottom: 2px solid #cba6a4;
  padding-bottom: 0.3rem;
  color: #5e2d3a;
}

section h3 {
  font-size: 1.4rem;
  margin-top: 1.2rem;
  margin-bottom: 0.6rem;
  color: #5e2d3a;
}

section p {
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

section ul {
  list-style: inside disc;
  padding-left: 1rem;
  margin-top: 1rem;
}

section ul li {
  margin-bottom: 0.7rem;
  font-size: 1.1rem;
  list-style: none;
}

/* Hinnasto listan tyylittely */
section ul[style*="list-style: none"] {
  list-style: none;
  padding-left: 0;
}

section ul[style*="list-style: none"] li {
  padding-left: 0;
  margin-bottom: 1rem;
  font-weight: 600;
  font-size: 1.1rem;
}

.no-list-style li {
  padding-bottom: 16px;
  margin-bottom: 16px;
  border-bottom: 1px solid #5e2d3a;
}


/* Nappulat */
.btn-book {
  display: inline-block;
  background-color: #cba6a4;
  color: white;
  padding: 1rem 2rem;
  border: none;
  border-radius: 5px;
  font-size: 1rem;
  cursor: pointer;
  margin: 1rem 0;
  text-decoration: none;
  transition: background-color 0.3s;
}

.btn-book:hover,
.btn-book:focus {
  background-color: #a77977;
}

/* Footer */
footer {
  background-color: #f7f0f0;
  color: #444;
  text-align: center;
  padding: 2rem 1rem;
  font-family: 'Playfair Display', serif;
  border-top: 1px solid #ddd;
  margin-top: 3rem;
}

.footer-content a {
  color: #a56c7c;
  text-decoration: none;
  margin: 0 0.3rem;
  font-weight: 600;
}

.footer-content a:hover,
.footer-content a:focus {
  text-decoration: underline;
}

.profile {
  text-align: center;
}

.profile-img {
  max-width: 250px;
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  margin-bottom: 1.5rem;
}

.profile-text {
  text-align: center;
  max-width: 100%;
  margin: 0 auto;
  font-size: 1.1rem;
  line-height: 1.7;
}


/* Responsiivisuus */

@media (max-width: 600px) {
  nav {
    flex-direction: column;
    align-items: center;
  }

  .gallery {
    flex-direction: column; /* pakottaa allekkain */
    align-items: center; /* keskittää kuvat */
  }

  .gallery img {
    max-width: 100% !important; /* täysi leveys */
    width: 100%;
  }

  nav a {
    margin: 0.3rem 0;
  }

  main.section {
    padding: 0 1rem;
  }

  section {
    padding: 1.5rem 1.5rem;
    max-width: 78%;
  }
}

/* Fade-in animaatio */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.fade-in {
  opacity: 0;
  animation: fadeIn 1s ease-out forwards;
}

/* Pieni viive eri osille */
.fade-in-delay-1 { animation-delay: 0.2s; }
.fade-in-delay-2 { animation-delay: 0.4s; }
.fade-in-delay-3 { animation-delay: 0.6s; }
.fade-in-delay-4 { animation-delay: 0.8s; }
.fade-in-delay-5 { animation-delay: 1.0s; }
.fade-in-delay-6 { animation-delay: 1.2s; }
.fade-in-delay-7 { animation-delay: 1.4s; }
.fade-in-delay-8 { animation-delay: 1.6s; }

.dropdown-content {
  display: none;
  margin-top: 1rem;
  text-align: center;
}

.dropdown-toggle {
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.9rem;
}

.dropdown-toggle .arrow {
  margin-left: 10px;
  transition: transform 0.3s ease;
}

/* Kun avataan */
.open .dropdown-content {
  display: block;
}

.open .arrow {
  transform: rotate(180deg);
}

.blog-content {
  display: none;
  margin-top: 1rem;
  padding: 1rem;
  background-color: #fff6f6;
  border-radius: 8px;
  box-shadow: inset 0 0 10px rgba(0,0,0,0.05);
  animation: fadeIn 0.5s ease-out;
}

.toggle-button {
  background-color: #cba6a4;
  color: white;
  padding: 0.5rem 1rem;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 1rem;
  margin-top: 0.5rem;
  transition: background-color 0.3s;
}

.toggle-button:hover {
  background-color: #a77977;
}

.footer-links {
  text-align: center;
  margin-bottom: 2.5rem;
  font-size: 0.95rem;
}

.gallery {
  display: flex;
  justify-content: center;
  gap: 1rem; 
  flex-wrap: wrap; 
}

.gallery img {
  max-width: 48%; 
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}





