/*
 Theme Name:   Hello Elementor Child
 Theme URI:    https://webspot.fi
 Description:  A child theme for Hello Elementor.
 Author:       Webspot
 Author URI:   https://webspot.fi
 Template:     hello-elementor
 Version:      1.0.0
 Text Domain:  hello-elementor-child
*/

body p {
  font-family: Merriweather, Sans-serif;
  font-weight: 300;
}

.activity-cards-container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between; /* Asettelu suuremmille näytöille */
}

.activity-card {
  width: calc(
    33.333% - 20px
  ); /* Kolme korttia rinnakkain suuremmilla näytöillä */
  border: 1px solid #ddd;
  border-radius: 8px;
  overflow: hidden;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
  background-color: #fff;
}

.activity-card a {
  font-family: inherit;
  color: inherit;
}

.activity-card:hover {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  transform: translateY(-5px); /* Nostaa korttia hieman ylös hover-tilassa */
}

.activity-image img {
  width: 100%;
  height: 250px;
  display: block;
  object-fit: cover;
}

.activity-content {
  padding: 15px;
}

.activity-title {
  font-size: 1.2rem !important;
  font-weight: normal !important;
  margin-bottom: 4px;
  color: #333333;
}

.activity-subtitle {
  font-size: 14px;
  color: var(--e-global-color-text);
  margin-bottom: 8px;
  font-family: Merriweather;
}

.activity-length {
  color: #666;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.activity-length i {
  color: var(--e-global-color-secondary);
}

.learn-more-btn {
  display: inline-block;
  color: var(--e-global-color-secondary) !important;
  text-decoration: underline !important;
  border-radius: 5px;
  transition: background-color 0.3s ease;
  margin-top: 10px;
}

.activity-icon-group {
  display: flex;
  gap: 18px;
  font-size: 16px;
  color: var(--e-global-color-text);
}

/* Mobiiliasettelu */
@media (max-width: 767px) {
  .activity-card {
    width: 100% !important; /* Koko leveys mobiililla */
  }
}

/* Tabletti-asettelu */
@media (max-width: 1024px) {
  .activity-card {
    width: calc(50% - 20px); /* Kaksi korttia rinnakkain tableteilla */
  }
}

/* single safari styles */

.single-safari-container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 48px;
  margin-bottom: 64px;
  margin-top: 48px;
}

@media (max-width: 767px) {
  .single-safari-container {
    padding: 24px;
  }
  .safari-content-with-sidebar {
    display: flex;
    flex-direction: column;
    gap: 48px;
    margin-top: 24px;
  }
  .safari-divider {
    width: 20%;
  }
}

.safari-header img {
  width: 100%;
  max-height: 500px;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid #ddd;
}

.safari-additional-images {
  display: flex;
  gap: 12px;
  margin-top: 8px;
}

.safari-additional-images img {
  max-height: 200px;
  object-fit: cover;
  width: calc(33% - 12px);
  border-radius: 10px;
  cursor: pointer;
  flex: 1;
  border: 1px solid #ddd;
}

.safari-back-button-container {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--e-global-color-4dd4d6a);
  padding-bottom: 16px;
}

.safari-divider {
  height: 10px;
  width: 10%;
  background-color: var(--e-global-color-secondary);
}

.safari-content-with-sidebar {
  display: flex;
  gap: 48px;
  margin-top: 24px;
}

.safari-content {
  display: flex;
  flex: 4;
  flex-direction: column;
  gap: 24px;
}

.safari-pricing-group {
  gap: 12px;
  display: flex;
  flex-direction: column;
}

.safari-detail-group {
  display: flex;
  gap: 16px;
}

.safari-detail-heading {
  font-weight: bold;
  font-size: 1.1em;
  color: #333;
  margin-bottom: 8px;
}

.safari-detail-value {
  font-size: 1em;
  color: #555;
}

.safari-details ul {
  list-style-type: none;
  padding: 0;
  margin: 0;
}

.safari-details li {
  margin: 8px 0;
  font-size: 1em;
}

.safari-faq-container {
  flex: 2;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.safari-faq-sidebar {
  background-color: #f9f9f9;
  padding: 24px;
  border-radius: 10px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  height: fit-content;
}

.safari-faq-sidebar ul {
  list-style-type: none;
  padding: 0;
  margin: 0;
}

.safari-faq-sidebar li a {
  text-decoration: none;
  color: #0077cc;
  font-size: 16px;
}

/* Lightbox-tausta */
.lightbox-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

/* Lightboxin kuva */
.lightbox-overlay img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 8px;
}

.all-safaris {
  margin-top: 64px;
  gap: 12px;
  display: flex;
  flex-direction: column;
}

.all-safaris-divider {
  height: 1px;
  width: 100%;
  background-color: lightgray;
  margin-bottom: 12px;
}

/* polylang language switcher */

.pll-switcher-select {
  background-color: transparent;
  color: white;
  border: none;
  font-family: Merriweather, Sans-serif;
  font-size: 16px;
}

#pll-switcher-select-single-safari .pll-switcher-select {
  background-color: transparent;
  color: var(--e-global-color-4dd4d6a) !important;
  border: none;
}

.perhesafarit-language-switcher ul {
  display: flex;
  gap: 20px;
  list-style: none;
}

.perhesafarit-language-switcher img {
  width: 20px !important;
  height: 14px !important;
}

/* Google review plugin */

body .ti-widget.ti-goog .ti-header span,
body .ti-widget.ti-goog .ti-header strong {
  color: var(--e-global-color-8155478) !important;
}

/* Contact form 7 customizations */

.wpcf7 form {
  width: 100%;
}

.wpcf7 p {
  width: 100%;
}

.wpcf7 label {
  width: 100%;
}

.wpcf7 label textarea,
.wpcf7 label select,
.wpcf7 label input {
  margin-top: 4px;
}

.wpcf7-submit {
  margin-top: 24px;
}

.wpcf7-not-valid-tip {
  padding-top: 8px;
}

.perhesafarit-form-safari-heading p {
  font-weight: 600;
  margin-top: 24px;
  margin-bottom: 12px;
}

/* Footer */

.footer-language-menu a {
  color: var(--e-global-color-4dd4d6a);
}
