/* Shared styles for both language versions */

a:hover {
  color: #89a831;
}

body, html {
  margin: 0;
  padding: 0;
  font-family: 'Teachers', serif;
  background-color: #e8e4db;
  line-height: 1.6;
  overflow-x: hidden;
}

.esittelyteksti p, .esittelyteksti ul {
  font-family: 'Teachers', serif;
}

.esittelyteksti {
  background-color: transparent !important;
}

.hero {
  position: relative;
  top: -84px;
  left: 0;
  width: 100%;
  height: 84vh;
  overflow: visible;
  z-index: 0;
}

.image-slider {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.slider-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.slider-image.active {
  opacity: 1;
}

/* Content sections positioning */
.content-section {
  position: relative;
  z-index: 10;
  background-color: #e8e4db;
  margin-bottom: 0;
  padding-top: 0;
}

.hero-buttons::after {
  content: '';
  display: block;
  width: 100vw;
  height: 8px;
  background-color: #a78c5d;
  position: absolute;
  top: 19px;
  left: 50%;
  transform: translateX(-50%);
  z-index: -1;
}

.hero iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  transform: translate(-50%, -50%);
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
  z-index: 1;
}

.hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: white;
  z-index: 2;
}

.hero video {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: translate(-50%, -50%);
}

.hero-image-overlay {
  position: absolute;
  bottom: 20px;
  right: 20px;
  z-index: 2;
}

@media (max-width: 767px) {
  .hero-image-overlay {
    display: none;
  }
}

.hero-image-overlay img {
  max-width: 300px;
  opacity: 0.85;
}

nav.navbar {
  background-color: transparent;
  backdrop-filter: none;
  height: auto;
  z-index: 1050;
  padding: 1rem 0;
  position: relative;
}

nav.navbar::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  z-index: -1;
}

nav.navbar .navbar-brand {
  font-family: 'Teachers', serif;
  color: #002037;
  font-weight: 800;
  font-size: 1.75rem;
  letter-spacing: 4.5px;
  text-decoration: none;
  text-transform: uppercase;
}

nav.navbar .navbar-brand:hover {
  color: #89a831;
}

nav.navbar .nav-link {
  color: #002037;
  font-family: 'Teachers', serif;
  font-weight: 600;
  font-size: 1.30rem;
}

nav.navbar .nav-link:hover {
  color: #89a831;
}

.language-selector {
  font-family: 'Teachers', serif;
  font-size: 13px;
  position: fixed;
  top: 5px;
  right: 5px;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  z-index: 1050;
  background-color: white;
  padding: 0.25rem 0.5rem;
  border-radius: 6px;
}

/* Piilota yläosan kielivalinta mobiililaitteilla kun hampurilaisvalikko on käytössä */
@media (max-width: 991.98px) {
  .language-selector {
    display: none;
  }
}

.language-selector img {
  height: 20px;
}

.language-selector a {
  color: #1e2d4e;
  text-decoration: none;
  font-weight: bold;
  margin: 0 0.125rem;
}

.language-selector a:hover {
  text-decoration: underline;
  color: #89a831;
}

.season-card .detail {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  color: white;
  padding: 1rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.season-card {
  height: 300px;
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  margin-bottom: 30px;
}

@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2rem;
  }
  .hero-content p {
    font-size: 1rem;
  }
}

.season-card .caption {
  position: absolute;
  bottom: 10px;
  left: 20px;
  right: 20px;
  color: white;
  font-weight: bold;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
  transition: opacity 0.3s ease;
  font-size: 1.5rem;
  margin-top: 30px;
}

.season-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.season-card:hover img {
  transform: scale(1.05);
}

.season-card:hover .detail {
  opacity: 1;
}

.season-card:hover .caption {
  opacity: 0;
}

.hero-buttons {
  position: relative;
  top: -104px !important;
  left: 0;
  margin: 0 auto -104px auto !important;
  z-index: 100;
  flex-direction: row;
  display: flex;
  gap: 1rem;
  justify-content: center;
  width: fit-content;
}

.btn-glass {
  background-color: #a78c5d;
  color: #fff;
  font-weight: 600;
  border-radius: 6px;
  text-transform: uppercase;
  transition: background-color 0.3s ease;
  font-size: 1.2rem;
  border: none;
  text-decoration: none;
  padding: 0.5rem 1rem;
}

.btn-glass:hover {
  background-color: #89a831;
  color: #fff;
}

.btn-glass:active {
  background-color: #89a831;
  color: #fff;
}

.btn-glass:focus {
  background-color: #89a831;
  color: #fff;
  box-shadow: none;
}

@media (max-width: 768px) {
  .hero-buttons {
    gap: 0.5rem;
  }
  .btn-glass {
    font-size: 1rem;
    padding: 0.375rem 0.75rem;
  }
}

.overlay-video {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}

.overlay-video.show {
  opacity: 1;
  visibility: visible;
}

.video-container {
  position: relative;
  max-width: 90%;
  max-height: 90%;
  background: black;
}

.close-video {
  position: absolute;
  top: -40px;
  right: 0;
  color: white;
  font-size: 2rem;
  cursor: pointer;
  z-index: 10000;
}

.bg-light {
  background-color: #f8f9fa;
}

.dropdown-menu {
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
}

.dropdown-item:hover {
  background-color: rgba(137, 168, 49, 0.1);
  color: #89a831;
}

.success-message {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
  border-radius: 0.375rem;
  padding: 1rem 2rem;
  font-size: 1.1rem;
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.success-message.visible {
  opacity: 1;
  visibility: visible;
}
/* Cache bust - updated at 2025-09-16 11:22:27 */

/* Product Cards Styles */
.product-card {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.product-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 15px;
}

.category-badge {
  background: rgba(0, 32, 55, 0.9);
  color: white;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
  text-transform: capitalize;
}

.product-card.sport .category-badge {
  background: rgba(76, 175, 80, 0.9);
}

.product-card.relax .category-badge {
  background: rgba(33, 150, 243, 0.9);
}

.category-icons {
  display: flex;
  gap: 8px;
}

.category-icon {
  font-size: 20px;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.product-image {
  height: 220px;
  overflow: hidden;
  position: relative;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-content {
  padding: 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.product-title {
  font-family: 'Teachers', serif;
  font-size: 24px;
  font-weight: 700;
  color: #002037;
  margin-bottom: 12px;
  line-height: 1.2;
}

.product-description {
  font-size: 14px;
  color: #666;
  margin-bottom: 16px;
  line-height: 1.4;
  flex-grow: 1;
}

.product-details {
  margin-bottom: 16px;
}

.detail-item {
  font-size: 12px;
  margin-bottom: 3px;
  color: #a78c5d;
  line-height: 1.3;
}

.detail-item strong {
  color: #002037;
  font-weight: 600;
}

.product-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
}

.product-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.price-amount {
  font-size: 28px;
  font-weight: 700;
  color: #002037;
}

.price-unit {
  font-size: 16px;
  color: #666;
}

.btn-buy {
  background: #a78c5d;
  color: white;
  padding: 12px 24px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.btn-buy:hover {
  background: #89a831;
  color: white;
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(137, 168, 49, 0.3);
}

.btn-explore {
  background: #89a831;
  color: white;
  padding: 18px 36px;
  border-radius: 35px;
  text-decoration: none;
  font-weight: 600;
  font-size: 20px;
  font-family: 'Teachers', serif;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  display: inline-block;
}

.btn-explore:hover {
  background: #a78c5d;
  color: white;
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(167, 140, 93, 0.3);
}

@media (max-width: 768px) {
  .product-card {
    margin-bottom: 20px;
  }
  
  .product-title {
    font-size: 20px;
  }
  
  .price-amount {
    font-size: 24px;
  }
  
  .btn-buy {
    padding: 10px 20px;
    font-size: 14px;
  }
}

/* Season Icons Styles */
.season-icons-container {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
  margin: 50px 0;
}

.season-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 120px;
  height: 60px;
  border-radius: 15px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.season-icon.winter {
  background: #4fc3f7;
}

.season-icon.spring {
  background: #66bb6a;
}

.season-icon.summer {
  background: #ffca28;
}

.season-icon.autumn {
  background: #ff7043;
}

.season-icon-content {
  display: flex;
  align-items: center;
  gap: 8px;
}

.season-emoji {
  font-size: 24px;
}

.season-name {
  color: white;
  font-family: 'Teachers', serif;
  font-weight: 600;
  font-size: 18px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.season-icon:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
  text-decoration: none;
}

.season-icon:hover .season-name {
  color: white;
}

@media (max-width: 768px) {
  .season-icons-container {
    gap: 15px;
  }
  
  .season-icon {
    width: 100px;
    height: 50px;
  }
  
  .season-emoji {
    font-size: 20px;
  }
  
  .season-name {
    font-size: 14px;
  }
}

/* Updated Season Icons Styles - like in the mockup */
.season-icons-container {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  margin: 50px 0;
}

.season-icon-link {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.season-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 12px;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.season-icon.winter {
  background: #4fc3f7;
}

.season-icon.spring {
  background: #66bb6a;
}

.season-icon.summer {
  background: #ffca28;
}

.season-icon.autumn {
  background: #ff7043;
}

.season-emoji {
  font-size: 24px;
}

.season-name {
  color: #a78c5d;
  font-family: 'Teachers', serif;
  font-weight: 600;
  font-size: 18px;
}

.season-icon-link:hover {
  transform: translateY(-2px);
  text-decoration: none;
}

.season-icon-link:hover .season-icon {
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.season-icon-link:hover .season-name {
  color: #89a831;
}

@media (max-width: 768px) {
  .season-icons-container {
    gap: 20px;
    flex-direction: column;
    align-items: center;
  }
  
  .season-icon {
    width: 40px;
    height: 40px;
  }
  
  .season-emoji {
    font-size: 20px;
  }
  
  .season-name {
    font-size: 16px;
  }
}

/* Final Season Icons Styles - Updated colors and sizes */
.season-icons-container {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  margin: 50px 0;
}

.season-icon-link {
  display: flex;
  align-items: center;
  gap: 15px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.season-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 15px;
  transition: all 0.3s ease;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
}

.season-icon.winter {
  background: #1390d1;
}

.season-icon.spring {
  background: #3faf61;
}

.season-icon.summer {
  background: #fdc322;
}

.season-icon.autumn {
  background: #ef7652;
}

.season-emoji {
  font-size: 28px;
}

.season-name {
  color: #a78c5d;
  font-family: 'Teachers', serif;
  font-weight: 600;
  font-size: 36px;
}

.season-icon-link:hover {
  transform: translateY(-3px);
  text-decoration: none;
}

.season-icon-link:hover .season-icon {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.season-icon-link:hover .season-name {
  color: #89a831;
}

@media (max-width: 768px) {
  .season-icons-container {
    gap: 25px;
    flex-direction: column;
    align-items: center;
  }
  
  .season-icon {
    width: 50px;
    height: 50px;
  }
  
  .season-emoji {
    font-size: 24px;
  }
  
  .season-name {
    font-size: 28px;
  }
}

/* Season Image Styles */
.season-image {
  width: 30px;
  height: 30px;
  object-fit: contain;
  filter: brightness(0) invert(1); /* Makes images white */
}

@media (max-width: 768px) {
  .season-image {
    width: 24px;
    height: 24px;
  }
}

/* Updated Season Image Styles - 20% larger */
.season-image {
  width: 36px;
  height: 36px;
  object-fit: contain;
  filter: brightness(0) invert(1); /* Makes images white */
}

@media (max-width: 768px) {
  .season-image {
    width: 29px;
    height: 29px;
  }
}

/* Footer Styles */
footer {
  background-color: #a78c5d;
  background-image: url('../img/alatausta.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-blend-mode: overlay;
  color: white;
  padding: 60px 0 40px 0;
  position: relative;
}

footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(167, 140, 93, 0.85);
  z-index: 1;
}

footer .container {
  position: relative;
  z-index: 2;
}

/* Footer logo styles */
footer .logo {
  width: 320px;
  height: auto;
  margin-bottom: 20px;
  margin-left: -40px;
  margin-top: -30px;
}

/* Footer text styles */
footer h5 {
  color: white;
  font-family: 'Teachers', serif;
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

footer p, footer li, footer a {
  color: rgba(255, 255, 255, 0.9);
  font-family: 'Teachers', serif;
  font-size: 14px;
  line-height: 1.6;
}

footer a {
  text-decoration: none;
  transition: color 0.3s ease;
}

footer a:hover {
  color: #89a831;
  text-decoration: none;
}

/* Footer navigation links */
footer .footer-nav {
  list-style: none;
  padding: 0;
  margin: 0;
}

footer .footer-nav li {
  margin-bottom: 8px;
}

footer .footer-nav a {
  display: block;
  padding: 3px 0;
  transition: all 0.3s ease;
}

footer .footer-nav a:hover {
  color: #89a831;
  padding-left: 5px;
}

/* Footer social links */
footer .social-links {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

footer .social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  transition: all 0.3s ease;
}

footer .social-links a:hover {
  background: #89a831;
  transform: translateY(-2px);
}

/* Footer bottom section */
footer .footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  margin-top: 40px;
  padding-top: 20px;
  text-align: center;
}

footer .footer-bottom p {
  margin: 0;
  font-size: 12px;
  opacity: 0.8;
}

/* Mobile responsive */
@media (max-width: 768px) {
  footer {
    padding: 40px 0 30px 0;
  }
  
  footer .logo {
    width: 260px;
    margin-bottom: 15px;
    margin-left: -30px;
    margin-top: -20px;
  }
  
  footer h5 {
    font-size: 16px;
    margin-bottom: 12px;
  }
  
  footer p, footer li, footer a {
    font-size: 13px;
  }
  
  footer .social-links {
    justify-content: center;
  }
}

/* Hero Image Section Styles */
.hero-image-section {
  width: 100%;
  height: 800px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Specific background images for different pages */
.hero-image-section.about {
  background-image: url('../img/ilmakuva.jpg');
}

.hero-image-section.tour-operator {
  background-image: url('../img/spasuites.jpg');
  margin-top: -70px;
}

.hero-image-section.terms {
  background-image: url('../img/kesa.jpg');
}

.hero-image-section.finland {
  background-image: url('../img/talvi.jpg');
}

.hero-image-section.contact {
  background-image: url('../img/syksy.jpg');
}

@media (max-width: 768px) {
  .hero-image-section {
    height: 400px;
  }
}


/* Hero Image Section Styles */
.hero-image-section {
  width: 100%;
  height: 800px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  margin-top: -70px;
}

/* Specific background images for different pages */
.hero-image-section.about {
  background-image: url("../img/ilmakuva.jpg");
}

.hero-image-section.tour-operator {
  background-image: url("../img/spasuites.jpg");
}

.hero-image-section.terms {
  background-image: url("../img/kesa.jpg");
}

.hero-image-section.finland {
  background-image: url("../img/talvi.jpg");
}

.hero-image-section.contact {
  background-image: url("../img/syksy.jpg");
}

@media (max-width: 768px) {
  .hero-image-section {
    height: 400px;
  }
}

/* Location-specific badge colors */
.product-card.tahko .category-badge {
  background: rgba(231, 76, 60, 0.9); /* Red */
}

.product-card.bomba .category-badge {
  background: rgba(46, 204, 113, 0.9); /* Green */
}

.product-card.koli .category-badge {
  background: rgba(52, 152, 219, 0.9); /* Blue */
}

.product-card.iisalmi .category-badge {
  background: rgba(155, 89, 182, 0.9); /* Purple */
}

.product-card.kuopio .category-badge {
  background: rgba(230, 126, 34, 0.9); /* Orange */
}

.product-card.leppavirta .category-badge {
  background: rgba(26, 188, 156, 0.9); /* Turquoise */
}

.product-card.varkaus .category-badge {
  background: rgba(241, 196, 15, 0.9); /* Yellow */
}

.product-card.vuokatti .category-badge {
  background: rgba(192, 57, 43, 0.9); /* Dark Red */
}

.product-card.popular .category-badge {
  background: rgba(0, 32, 55, 0.9); /* Default dark blue */
}

/* Product season icons */
.product-season-icon {
  width: 20px;
  height: 20px;
  object-fit: contain;
  filter: brightness(0) invert(1); /* Makes images white */
  margin-right: 2px;
}

.product-season-icon:last-child {
  margin-right: 0;
}

/* Season icon containers in product cards */
.category-icons {
  display: flex;
  align-items: center;
  gap: 2px;
}

/* Mobile navbar brand text smaller */
@media (max-width: 991.98px) {
  nav.navbar .navbar-brand {
    font-size: 1.4rem; /* 20% smaller than 1.75rem */
    letter-spacing: 3.6px; /* Proportionally smaller letter spacing */
  }
}
