/* ========================================
   INFO PAGES STYLING
   Enhanced styling for information pages with varied sections
   ======================================== */

/* Info Page Container */
.info-page {
  padding: 0.5rem 3rem 4rem;
  max-width: 1200px;
  margin-left: max(260px, calc(260px + (100vw - 260px - 1200px) / 2));
  margin-right: auto;
  font-family: "Inter", sans-serif;
}

/* Section Base Styles */
.info-section {
  padding: 3rem 0;
  margin-bottom: 0;
  border-radius: 12px;
  transition: all 0.3s ease;
}

/* Section Variants with Different Backgrounds */

/* Default Section - Clean White */
.info-section.default {
  background: var(--snow-white);
}

/* Light Blue Section - Soft Alpine Sky */
.info-section.light-blue {
  background: linear-gradient(135deg, rgba(227, 242, 253, 0.5) 0%, rgba(144, 202, 249, 0.2) 100%);
  padding: 3rem 2.5rem;
  border-left: 4px solid var(--sky-blue);
}

/* Accent Section - Mountain Blue Gradient */
.info-section.accent {
  background: linear-gradient(135deg, rgba(25, 118, 210, 0.08) 0%, rgba(66, 165, 245, 0.05) 100%);
  padding: 3rem 2.5rem;
  border-left: 4px solid var(--mountain-blue);
}

/* Highlight Section - Warm Orange Accent */
.info-section.highlight {
  background: linear-gradient(135deg, rgba(255, 111, 0, 0.06) 0%, rgba(255, 87, 34, 0.03) 100%);
  padding: 3rem 2.5rem;
  border-left: 4px solid var(--sun-orange);
}

/* Feature Section - Brown Chalet Warmth */
.info-section.feature {
  background: linear-gradient(135deg, rgba(141, 110, 99, 0.08) 0%, rgba(188, 170, 164, 0.05) 100%);
  padding: 3rem 2.5rem;
  border-left: 4px solid var(--chalet-brown);
}

/* Premium Section - Deep Blue Elegance */
.info-section.premium {
  background: linear-gradient(135deg, rgba(13, 71, 161, 0.1) 0%, rgba(25, 118, 210, 0.05) 100%);
  padding: 3rem 2.5rem;
  border-left: 4px solid var(--deep-blue);
  box-shadow: 0 4px 12px rgba(13, 71, 161, 0.1);
}

/* Info Section Titles */
.info-section h1 {
  font-family: "Inter", sans-serif;
  font-size: 3rem;
  color: var(--deep-blue);
  margin-bottom: 2rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.5px;
}

.info-section h2 {
  font-family: "Inter", sans-serif;
  font-size: 2.2rem;
  color: var(--mountain-blue);
  margin-top: 3rem;
  margin-bottom: 1.5rem;
  font-weight: 700;
  line-height: 1.3;
}

.info-section h2:first-child {
  margin-top: 0;
}

.info-section h3 {
  font-family: "Inter", sans-serif;
  font-size: 1.6rem;
  color: var(--sky-blue);
  margin-top: 2rem;
  margin-bottom: 1rem;
  font-weight: 600;
  line-height: 1.4;
}

.info-section h4 {
  font-family: "Inter", sans-serif;
  font-size: 1.3rem;
  color: var(--charcoal);
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
  font-weight: 600;
}

/* Paragraph Styles */
.info-section p {
  font-size: 1.05rem;
  line-height: 1.9;
  color: var(--charcoal);
  margin-bottom: 1.5rem;
  max-width: 900px;
}

.info-section p strong {
  color: var(--mountain-blue);
  font-weight: 600;
}

.info-section p em {
  color: var(--sky-blue);
  font-style: italic;
}

/* List Styles */
.info-section ul,
.info-section ol {
  margin-left: 1.5rem;
  margin-bottom: 2rem;
  max-width: 850px;
}

.info-section ul li,
.info-section ol li {
  font-size: 1.05rem;
  line-height: 1.9;
  color: var(--charcoal);
  margin-bottom: 0.75rem;
  padding-left: 0.5rem;
}

.info-section ul li strong {
  color: var(--mountain-blue);
  font-weight: 600;
}

.info-section ul li::marker {
  color: var(--sky-blue);
}

.info-section ol li::marker {
  color: var(--mountain-blue);
  font-weight: 600;
}

/* Nested Lists */
.info-section ul ul,
.info-section ol ul {
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
  margin-left: 1.5rem;
}

.info-section ul ul li::marker {
  color: var(--jacuzzi-blue);
}

/* Blockquote Styles */
.info-section blockquote {
  border-left: 4px solid var(--mountain-blue);
  padding-left: 2rem;
  margin: 2rem 0;
  font-style: italic;
  color: var(--charcoal);
  background: rgba(227, 242, 253, 0.3);
  padding: 1.5rem 2rem;
  border-radius: 8px;
}

.info-section blockquote p {
  margin-bottom: 0.5rem;
}

/* Highlight Box */
.info-section p.highlight,
.info-section .highlight {
  background: linear-gradient(135deg, rgba(255, 111, 0, 0.1) 0%, rgba(255, 87, 34, 0.05) 100%);
  border-left: 4px solid var(--sun-orange);
  padding: 1.5rem 2rem;
  border-radius: 8px;
  margin: 2rem 0;
  font-weight: 500;
}

.info-section p.highlight strong,
.info-section .highlight strong {
  color: var(--sun-orange);
}

/* Links */
.info-section a {
  color: var(--mountain-blue);
  text-decoration: underline;
  text-decoration-color: transparent;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
  transition: all 0.3s ease;
  font-weight: 500;
}

.info-section a:hover {
  color: var(--deep-blue);
  text-decoration-color: var(--sky-blue);
}

/* Responsive Breakpoints */

/* Breakpoint: Tablet (≤1024px) */
@media (max-width: 1024px) {
  .info-page {
    margin-left: 280px;
    padding: 0.5rem 2rem 3rem;
  }

  .info-section h1 {
    font-size: 2.5rem;
  }

  .info-section h2 {
    font-size: 2rem;
  }

  .info-section h3 {
    font-size: 1.5rem;
  }
}

/* Breakpoint: Mobile (≤768px) */
@media (max-width: 768px) {
  .info-page {
    margin-left: 0;
    margin-top: 60px;
    padding: 0.5rem 1.5rem 2rem;
  }

  .info-section {
    padding: 2rem 0;
  }

  .info-section.light-blue,
  .info-section.accent,
  .info-section.highlight,
  .info-section.feature,
  .info-section.premium {
    padding: 2rem 1.5rem;
  }

  .info-section h1 {
    font-size: 2rem;
  }

  .info-section h2 {
    font-size: 1.75rem;
    margin-top: 2rem;
  }

  .info-section h3 {
    font-size: 1.4rem;
  }

  .info-section h4 {
    font-size: 1.2rem;
  }

  .info-section p,
  .info-section ul li,
  .info-section ol li {
    font-size: 1rem;
    line-height: 1.8;
  }

  .info-section blockquote {
    padding: 1rem 1.5rem;
  }
}

/* Breakpoint: Small Mobile (≤480px) */
@media (max-width: 480px) {
  .info-page {
    padding: 0.5rem 1rem 1.5rem;
  }

  .info-section {
    padding: 1.5rem 0;
    margin-bottom: 0;
  }

  .info-section.light-blue,
  .info-section.accent,
  .info-section.highlight,
  .info-section.feature,
  .info-section.premium {
    padding: 1.5rem 1rem;
  }

  .info-section h1 {
    font-size: 1.75rem;
  }

  .info-section h2 {
    font-size: 1.5rem;
  }

  .info-section h3 {
    font-size: 1.25rem;
  }

  .info-section ul,
  .info-section ol {
    margin-left: 1rem;
  }
}

/* ========================================
   CHALET COMPARISON TABLE STYLES
   ======================================== */

/* Table Wrapper */
.comparison-table-wrapper {
  overflow-x: auto;
  margin: 1rem 0;
}

/* Comparison Table */
.comparison-table {
  width: 100%;
  border-collapse: separate; border-spacing: 0; border-radius: 12px; overflow: hidden;
  background: white;
  font-family: "Inter", sans-serif;
  border: 1px solid rgba(25, 118, 210, 0.3);
}

/* Table Headers */
.comparison-table thead {
  background: linear-gradient(135deg, var(--mountain-blue) 0%, var(--sky-blue) 100%);
  color: white;
}

.comparison-table th {
  padding: 1.5rem 1rem;
  text-align: center;
  font-weight: 600;
  border: 1px solid rgba(13, 71, 161, 0.2);
}

.comparison-table th.feature-column {
  text-align: left;
  background: transparent;
  width: 20%;
  min-width: 150px;
  border: none;
}

.comparison-table th.chalet-column {
  width: 26.67%;
  min-width: 200px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.chalet-header h3 {
  margin: 0;
  font-size: 1.4rem;
  font-weight: 700;
  color: white;
}

/* Table Body */
.comparison-table tbody tr {
  transition: background 0.2s ease;
}

.comparison-table tbody tr:hover {
  background: rgba(227, 242, 253, 0.3);
}

.comparison-table tbody tr:nth-child(even) {
  background: rgba(245, 245, 245, 0.5);
}

.comparison-table tbody tr:nth-child(even):hover {
  background: rgba(227, 242, 253, 0.4);
}

.comparison-table td {
  padding: 1.25rem 1rem;
  border: 1px solid var(--border);
  text-align: center;
  vertical-align: top;
}

.comparison-table td:nth-child(2),
.comparison-table td:nth-child(3),
.comparison-table td:nth-child(4) {
  border-left: 1px solid rgba(66, 165, 245, 0.3);
  border-right: 1px solid rgba(66, 165, 245, 0.3);
}

.comparison-table td.feature-label {
  text-align: left;
  font-weight: 600;
  color: var(--mountain-blue);
  background: rgba(227, 242, 253, 0.3);
  font-size: 0.95rem;
  border-right: 1px solid rgba(66, 165, 245, 0.3);
}

.comparison-table td strong {
  color: var(--deep-blue);
  font-weight: 600;
}

.comparison-table td .price {
  font-size: 1.3rem;
  color: var(--sun-orange);
}

.comparison-table td .subtext {
  display: block;
  font-size: 0.85rem;
  color: #666;
  margin-top: 0.25rem;
}

/* CTA Row */
.comparison-table tr.cta-row td {
  padding: 1.5rem 1rem;
  background: rgba(227, 242, 253, 0.5);
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}

/* View Chalet Buttons */
.btn-view-chalet {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
  font-size: 1rem;
  background: var(--mountain-blue);
  color: white !important;
  border: 1px solid var(--mountain-blue);
  position: relative;
  overflow: hidden;
}

.btn-view-chalet::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  transform: translate(-50%, -50%);
  transition: width 0.6s ease, height 0.6s ease, opacity 0.6s ease;
  opacity: 0;
  pointer-events: none;
}

.btn-view-chalet:hover {
  background: var(--deep-blue);
  color: white !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(13, 71, 161, 0.3);
}

.btn-view-chalet:active::after {
  width: 300px;
  height: 300px;
  opacity: 1;
  transition: width 0s, height 0s, opacity 0.3s;
}

.btn-view-chalet:active {
  transform: translateY(0) scale(0.96);
}

/* ========================================
   CALENDAR GRID 2x2 STYLES
   ======================================== */

.calendar-grid-2x2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin: 1rem auto;
  max-width: 700px;
}

.month-block {
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(13, 71, 161, 0.1);
  border: 1px solid var(--border);
}

.month-header {
  background: linear-gradient(135deg, var(--mountain-blue) 0%, var(--sky-blue) 100%);
  padding: 0.5rem;
  text-align: center;
  color: white;
}

.month-header h3 {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 700;
  color: white;
}

.weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  background: rgba(227, 242, 253, 0.3);
  border-bottom: 2px solid var(--sky-blue);
}

.weekday {
  padding: 0.3rem;
  text-align: center;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--mountain-blue);
}

.days-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 1px;
  background: var(--border);
  padding: 1px;
}

.day {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: white;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--charcoal);
  transition: all 0.2s ease;
  cursor: default;
}

.day.empty {
  background: #f8f8f8;
}

.day.chalet-1 {
  background: linear-gradient(135deg, rgba(25, 118, 210, 0.25) 0%, rgba(66, 165, 245, 0.15) 100%);
  color: var(--deep-blue);
  font-weight: 600;
  border: 1px solid rgba(25, 118, 210, 0.3);
}

.day.chalet-3 {
  background: linear-gradient(135deg, rgba(144, 202, 249, 0.35) 0%, rgba(227, 242, 253, 0.25) 100%);
  color: var(--sky-blue);
  font-weight: 600;
  border: 2px solid var(--jacuzzi-blue);
}

.day.chalet-4 {
  background: linear-gradient(135deg, rgba(255, 111, 0, 0.25) 0%, rgba(255, 87, 34, 0.15) 100%);
  color: var(--sun-orange);
  font-weight: 600;
  border: 2px solid var(--fire-orange);
}

.day.overlap {
  background: linear-gradient(
    135deg,
    rgba(144, 202, 249, 0.35) 0%,
    rgba(144, 202, 249, 0.35) 50%,
    rgba(255, 111, 0, 0.25) 50%,
    rgba(255, 111, 0, 0.25) 100%
  );
  border: 2px solid var(--sun-orange);
  border-left: 2px solid var(--jacuzzi-blue);
  font-weight: 700;
}

.calendar-legend {
  margin-top: 2rem;
  padding: 1.5rem;
  background: white;
  border-radius: 12px;
  border: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.legend-color {
  width: 40px;
  height: 30px;
  border-radius: 6px;
  border: 2px solid;
}

.legend-color.chalet-1-bg {
  background: linear-gradient(135deg, rgba(25, 118, 210, 0.25) 0%, rgba(66, 165, 245, 0.15) 100%);
  border-color: var(--mountain-blue);
}

.legend-color.chalet-3-bg {
  background: linear-gradient(135deg, rgba(144, 202, 249, 0.35) 0%, rgba(227, 242, 253, 0.25) 100%);
  border-color: var(--jacuzzi-blue);
}

.legend-color.chalet-4-bg {
  background: linear-gradient(135deg, rgba(255, 111, 0, 0.25) 0%, rgba(255, 87, 34, 0.15) 100%);
  border-color: var(--fire-orange);
}

.legend-item span {
  font-size: 0.95rem;
  color: var(--charcoal);
  font-weight: 500;
}

/* ========================================
   RECOMMENDATION CARDS
   ======================================== */

.recommendation-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

.recommendation-card {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(13, 71, 161, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.recommendation-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(13, 71, 161, 0.15);
}

.recommendation-card h3 {
  color: var(--mountain-blue);
  margin-top: 0;
  margin-bottom: 1.5rem;
  font-size: 1.3rem;
  font-weight: 700;
}

.recommendation-card ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.recommendation-card ul li {
  padding: 0.5rem 0;
  color: var(--charcoal);
  line-height: 1.6;
}

/* ========================================
   FAQ ITEMS
   ======================================== */

.faq-item {
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border);
}

.faq-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.faq-item h4 {
  color: var(--mountain-blue);
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
}

.faq-item p {
  margin: 0;
  color: var(--charcoal);
}

/* ========================================
   RESPONSIVE STYLES FOR COMPARISON
   ======================================== */

/* Breakpoint: Tablet (≤1024px) */
@media (max-width: 1024px) {
  .comparison-table th.feature-column,
  .comparison-table td.feature-label {
    min-width: 130px;
    font-size: 0.9rem;
  }

  .comparison-table th.chalet-column {
    min-width: 180px;
  }

  .chalet-header h3 {
    font-size: 1.2rem;
  }

  .calendar-grid-2x2 {
    gap: 1.5rem;
  }

  .recommendation-grid {
    grid-template-columns: 1fr;
  }
}

/* Breakpoint: Mobile (≤768px) */
@media (max-width: 768px) {
  .comparison-table-wrapper {
    margin: 1.5rem -1.5rem;
  }

  .comparison-table th,
  .comparison-table td {
    padding: 0.5rem 0.25rem;
    font-size: 0.75rem;
  }

  .comparison-table th.feature-column {
    min-width: 40px;
    width: 40px;
    padding: 0.5rem 0.15rem;
  }

  .comparison-table td.feature-label {
    font-size: 1.2rem;
    padding: 0.5rem 0.15rem;
  }

  .comparison-table td.feature-label .feature-text {
    display: none;
  }

  .comparison-table td.feature-label .feature-emoji {
    font-size: 1.2rem;
  }

  .comparison-table th.chalet-column {
    min-width: auto;
    padding: 0.5rem 0.25rem;
  }

  .chalet-header h3 {
    font-size: 0.85rem;
  }

  .chalet-header .chalet-name {
    display: none;
  }

  .comparison-table td .subtext {
    font-size: 0.7rem;
  }

  .btn-view-chalet {
    padding: 0.5rem 0.75rem;
    font-size: 0.75rem;
  }

  .calendar-grid-2x2 {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .day {
    font-size: 0.85rem;
  }

  .weekday {
    font-size: 0.75rem;
  }

  .legend-item span {
    font-size: 0.85rem;
  }

  .recommendation-card {
    padding: 1.5rem;
  }
}

/* Breakpoint: Small Mobile (≤480px) */
@media (max-width: 480px) {
  .comparison-table th,
  .comparison-table td {
    padding: 0.75rem 0.4rem;
    font-size: 0.85rem;
  }

  .comparison-table th.feature-column {
    min-width: 80px;
  }

  .comparison-table th.chalet-column {
    min-width: 110px;
  }

  .chalet-header h3 {
    font-size: 1rem;
  }

  .chalet-header .chalet-name {
    font-size: 0.8rem;
  }

  .btn-view-chalet {
    padding: 0.6rem 1rem;
    font-size: 0.85rem;
  }

  .calendar-grid-2x2 {
    gap: 1rem;
  }

  .month-header h3 {
    font-size: 1rem;
  }

  .day {
    font-size: 0.8rem;
  }

  .weekday {
    font-size: 0.7rem;
    padding: 0.4rem;
  }

  .legend-color {
    width: 30px;
    height: 25px;
  }

  .legend-item span {
    font-size: 0.8rem;
  }

  .calendar-legend {
    padding: 1rem;
    gap: 1rem;
  }
}

/* ========================================
   SKI MAP AND TRANSPORT LINKS
   ======================================== */

.ski-map-link {
  display: block;
  text-align: center;
  margin: 2rem 0;
  text-decoration: none;
}

.ski-map-image {
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}

.ski-map-image:hover {
  transform: scale(1.02);
  box-shadow: 0 6px 16px rgba(0,0,0,0.15);
}

.ski-map-download-text {
  margin-top: 1rem;
  color: var(--mountain-blue);
  font-weight: 600;
}

.transport-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 1.5rem 0;
}

.transport-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 1.5rem;
  background: white;
  border: 1px solid rgba(25, 118, 210, 0.3);
  border-radius: 8px;
  color: var(--mountain-blue);
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
}

.transport-link:hover {
  background: var(--mountain-blue);
  color: white;
}

/* Rounded corners for table cells */
.comparison-table thead tr:first-child th:first-child {
  border-top-left-radius: 10px;
}

.comparison-table thead tr:first-child th:last-child {
  border-top-right-radius: 10px;
}

.comparison-table tbody tr:last-child td:first-child {
  border-bottom-left-radius: 10px;
}

.comparison-table tbody tr:last-child td:last-child {
  border-bottom-right-radius: 10px;
}

/* ========================================
   SKI PASS PARTNERSHIPS
   ======================================== */

.ski-pass-partnerships {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.partnership-domain {
  background: white;
  padding: 1.5rem;
  border-radius: 8px;
  border: 1px solid rgba(25, 118, 210, 0.15);
  transition: all 0.3s ease;
}

.partnership-domain:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(13, 71, 161, 0.1);
  border-color: rgba(25, 118, 210, 0.3);
}

.partnership-domain h4 {
  color: var(--mountain-blue);
  margin: 0 0 0.75rem 0;
  font-size: 1.1rem;
  font-weight: 600;
}

.partnership-domain .resort-list {
  margin: 0;
  color: var(--charcoal);
  font-size: 0.95rem;
  line-height: 1.6;
}

}

/* Quick navigation links */
.quick-nav {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin: 2rem 0;
  padding: 1.5rem;
  background: linear-gradient(135deg, rgba(227, 242, 253, 0.5) 0%, rgba(144, 202, 249, 0.2) 100%);
  border-radius: 8px;
  border-left: 4px solid var(--mountain-blue);
}

.quick-nav-link {
  padding: 0.5rem 1rem;
  background: white;
  color: var(--mountain-blue);
  text-decoration: none;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid rgba(25, 118, 210, 0.2);
  transition: all 0.2s ease;
}

.quick-nav-link:hover {
  background: var(--mountain-blue);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(13, 71, 161, 0.2);
}

@media (max-width: 768px) {
  .quick-nav {
    flex-direction: column;
  }
  
  .quick-nav-link {
    text-align: center;
  }
}
