/**
 * =====================================================
 * PRICE SECTION COMPONENT STYLES
 * =====================================================
 * Nutzt das zentrale Design-System (design-system.css)
 * =====================================================
 */

.price-section-container {
  padding-top: 40px;
  padding-bottom: 20px;
}  

.price-section-title {
  font-size: var(--font-size-section-title);
  font-weight: 700;
  color: var(--primary);
  text-align: center;
  margin-bottom: 30px;
}

/* Price Cards Wrapper */
.price-cards-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
  height: 100%;
}

/* Price Card */
.price-card {
  background: white;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(71, 127, 186, 0.1);
  padding: 25px;
  transition: all 0.3s ease;
  border-left: 4px solid var(--primary);
}

.price-card:hover {
  box-shadow: 0 4px 20px rgba(71, 127, 186, 0.15);
  transform: translateY(-2px);
}

/* Add margin for summer card (outside wrapper) */
.price-card-summer {
  border-left-color: #ffa500;
  margin-bottom: 20px;
}

@media (max-width: 991px) {
  .price-card-summer {
    margin-bottom: 20px;
  }
}

.price-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 15px;
}

.price-card-icon {
  font-size: var(--icon-size-lg);
  color: var(--primary);
}

.price-card-summer .price-card-icon {
  color: #ffa500;
}

.price-card-header h3 {
  font-size: var(--font-size-subsection);
  font-weight: 600;
  color: var(--primary);
  margin: 0;
}

.price-card-body {
  text-align: center;
  padding: 15px 0;
}

.price-amount {
  font-size: var(--font-size-h2);
  font-weight: 700;
  color: var(--primary);
}

/* Price CTA Section */
.price-cta-section {
  text-align: center;
  margin-top: 20px;
  margin-bottom: 20px;
}

/* Season Dates Container */
.season-dates-container {
  margin-top: 20px;
}

/* Season Card */
.season-card {
  background: white;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(71, 127, 186, 0.1);
  padding: 25px;
  border-left: 4px solid var(--primary);
  transition: all 0.3s ease;
}

/* Mobile: add margin */
@media (max-width: 991px) {
  .season-card {
    margin-top: 20px;
    margin-bottom: 20px;
  }
}

.season-card:hover {
  box-shadow: 0 4px 20px rgba(71, 127, 186, 0.15);
  transform: translateX(5px);
}

/* Combined Season Card (one card with both seasons) */
.season-card-combined {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Desktop: Seasons side by side */
@media (min-width: 992px) {
  .season-card-combined {
    flex-direction: row;
    gap: 0;
  }
}

/* Season Section (Hauptsaison / Zwischensaison within card) */
.season-section {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* Mobile: Border bottom */
.season-section:not(:last-child) {
  padding-bottom: 12px;
  border-bottom: 2px solid #f0f0f0;
}

/* Desktop: Border right */
@media (min-width: 992px) {
  .season-section:not(:last-child) {
    padding-bottom: 0;
    padding-right: 15px;
    border-bottom: none;
    border-right: 2px solid #f0f0f0;
  }

  .season-section:last-child {
    padding-left: 15px;
  }
}

.season-section-title {
  font-size: var(--font-size-subsection);
  font-weight: 700;
  color: var(--primary);
  margin: 0 0 12px 0;
  text-align: center;
}

.season-card-dates {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.season-date-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 15px;
  background: white;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.season-date-item:hover {
  background: white;
}

.season-date-item i {
  font-size: var(--font-size-subsection);
  color: var(--primary);
  flex-shrink: 0;
}

.season-date-item span {
  font-size: var(--font-size-base);
  color: #555;
  line-height: 1.5;
}

/* Individual Offer Section */
.individual-offer-section {
  margin-top: 40px;
}

/* Modern Info Block */
.modern-info-block {
  background: linear-gradient(135deg, #f8fbff 0%, #e8f4ff 100%);
  border-left: 4px solid var(--primary);
  border-radius: 12px;
  padding: 20px 25px;
  box-shadow: 0 2px 12px rgba(71, 127, 186, 0.1);
  transition: all 0.3s ease;
}

.modern-info-block:hover {
  box-shadow: 0 4px 20px rgba(71, 127, 186, 0.15);
  transform: translateY(-2px);
}

.info-block-header {
  display: flex;
  align-items: center;
  gap: 12px;
}

.info-block-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.info-block-icon i {
  font-size: var(--icon-size-md);
  color: white;
}

.info-block-title {
  font-size: var(--font-size-subsection);
  font-weight: 700;
  color: var(--primary);
  margin: 0;
}

.info-block-content {
  color: #555;
  line-height: 1.6;
  margin: 0;
}

.info-block-content p {
  margin: 0;
}

/* Mobile Optimizations for Price Section */
@media (max-width: 767.98px) {
  /* Modern Info Block Mobile */
  .modern-info-block {
    padding: 18px 15px;
    border-radius: 10px;
    margin-left: -5px;
    margin-right: -5px;
  }

  .info-block-icon {
    width: 36px;
    height: 36px;
  }

  .info-block-icon i {
    font-size: var(--icon-size-md);
  }

  .info-block-title {
    font-size: var(--font-size-subsection);
  }

  .info-block-content {
    font-size: var(--font-size-body-md);
  }

  /* Reduce container padding on mobile for full width usage */
  .price-section-container,
  .season-dates-container {
    padding-left: 10px;
    padding-right: 10px;
  }

  .price-section-title {
    font-size: var(--font-size-section-title);
    margin-bottom: 20px;
  }

  .price-cards-wrapper {
    gap: 15px;
  }

  .price-card {
    padding: 20px;
    margin-left: 0;
    margin-right: 0;
  }

  .price-amount {
    font-size: var(--font-size-h3);
  }

  .season-card {
    padding: 20px;
    margin-left: 0;
    margin-right: 0;
  }

  .season-section-title {
    font-size: var(--font-size-body-md);
  }

  .season-date-item {
    padding: 6px 8px;
  }

  .season-date-item i {
    font-size: var(--font-size-body-sm);
  }

  .season-date-item span {
    font-size: var(--font-size-body-xs);
  }

  /* CTA buttons full width on mobile */
  .price-cta-section {
    margin-top: 20px;
  }

  .price-cta-section .btn {
    width: 100%;
    max-width: 100%;
    margin-top: 20px;
  }
}

/* ===================================
   Segmented Control (Season Toggle)
   =================================== */

/* Container for the segmented control */
.season-toggle-container {
  display: flex;
  justify-content: center;
  margin-bottom: 30px;
  padding: 0 10px;
}

/* Segmented Control - iOS style */
.season-segmented-control {
  background: white;
  border-radius: 12px;
  padding: 4px;
  display: inline-flex;
  gap: 4px;
  box-shadow: 0 2px 8px rgba(71, 127, 186, 0.1);
  width: 100%;
  max-width: 400px;
}

/* Tab Button */
.season-tab-btn {
  flex: 1;
  padding: 12px 30px;
  border: none;
  background: transparent;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 600;
  font-size: var(--font-size-button);
  color: var(--secondary);
  outline: none;
}

.season-tab-btn:hover {
  color: var(--primary);
}

.season-tab-btn:focus {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.season-tab-btn:focus:not(:focus-visible) {
  outline: none;
}

.season-tab-btn.active {
  background: white;
  color: var(--primary);
  box-shadow: 0 2px 8px rgba(71, 127, 186, 0.15);
}

/* Season Content - Hidden by default */
.season-content {
  display: none;
}

.season-content.active {
  display: block;
  animation: fadeIn 0.3s ease;
}

/* Season Info Content - for Important Information block */
.season-info-content {
  display: none;
}

.season-info-content.active {
  display: block;
}

/* Fade-in animation */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Mobile optimizations for Segmented Control */
@media (max-width: 767.98px) {
  .season-segmented-control {
    width: 100%;
    max-width: none;
  }

  .season-tab-btn {
    padding: 10px 20px;
    font-size: var(--font-size-button-sm);
  }

  .season-toggle-container {
    margin-bottom: 20px;
  }
}
