/* ==========================================================================
   Rainbow Guest House - Experience the Life of Kolkata City Section Styles
   ========================================================================== */

:root {
  /* Section-specific color tokens */
  --kolkata-bg: #F5F2F8;              /* Pale lavender-gray background */
  --kolkata-heading-color: #191323;   /* Very dark purple-black */
  --kolkata-text-color: #454B69;      /* Dark muted blue-gray */
  --kolkata-card-radius: 12px;        /* Corner radius matching reference */
  --kolkata-shadow-card: 0 14px 34px rgba(25, 19, 35, 0.08), 0 2px 8px rgba(0, 0, 0, 0.04);
  --kolkata-placeholder-bg: #EAE5F0;  /* Neutral placeholder fallback */
}

/* --------------------------------------------------------------------------
   Section Wrapper & Container
   -------------------------------------------------------------------------- */
.kolkata-experience-section {
  position: relative;
  width: 100%;
  background-color: var(--kolkata-bg);
  color: var(--kolkata-text-color);
  padding-top: 100px;
  padding-bottom: 100px;
  overflow: hidden;
}

.kolkata-experience-container {
  /* Inherits max-width: 1300px and horizontal padding from common.css */
  width: 100%;
}

/* --------------------------------------------------------------------------
   Two-Column Grid Layout
   -------------------------------------------------------------------------- */
.kolkata-experience-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  column-gap: 64px;
  align-items: start;
}

/* --------------------------------------------------------------------------
   Left Column: Kolkata City Building Image & Guide Description
   -------------------------------------------------------------------------- */
.kolkata-experience-left {
  display: flex;
  flex-direction: column;
}

/* Paragraph sitting below the first image */
.kolkata-experience-left-paragraph {
  color: var(--kolkata-text-color);
  font-size: 16.5px;
  line-height: 1.55;
  font-weight: 400;
  margin-top: 45px;
  max-width: 580px;
  letter-spacing: -0.1px;
}

/* --------------------------------------------------------------------------
   Right Column: Heading, Cultural Description & Rene Tower Building Image
   -------------------------------------------------------------------------- */
.kolkata-experience-right {
  display: flex;
  flex-direction: column;
}

/* Main Section Heading */
.kolkata-experience-title {
  color: var(--kolkata-heading-color);
  font-size: 48px;
  font-weight: 700;
  line-height: 1.22;
  letter-spacing: -0.4px;
  margin-top: 0;
  margin-bottom: 0;
  padding-top: 4px; /* Optical alignment with the top of left image */
}

.kolkata-experience-title-line {
  display: block;
}

/* Description paragraph below the heading */
.kolkata-experience-right-description {
  color: var(--kolkata-text-color);
  font-size: 16.5px;
  line-height: 1.55;
  font-weight: 400;
  margin-top: 26px;
  margin-bottom: 42px;
  max-width: 590px;
  letter-spacing: -0.1px;
}

/* --------------------------------------------------------------------------
   Image Cards & Placeholders
   --------------------------------------------------------------------------
   HOW TO SWAP / UPDATE IMAGES:
   - Image 1 (Left): Place your file at 'web/assets/Experience the Life of Kolkata City 1.webp'
     or update the <img> src in 'WEB-INF/jsp/master/kolkata-experience.jsp'.
   - Image 2 (Right): Place your file at 'web/assets/Experience the Life of Kolkata City 2.webp'
     or update the <img> src in 'WEB-INF/jsp/master/kolkata-experience.jsp'.
   If the <img> tag is removed or commented out, the card will display a styled
   neutral placeholder with the label defined in data-placeholder.
   -------------------------------------------------------------------------- */
.kolkata-experience-image-card {
  position: relative;
  width: 100%;
  border-radius: var(--kolkata-card-radius);
  overflow: hidden;
  box-shadow: var(--kolkata-shadow-card);
  background-color: var(--kolkata-placeholder-bg);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Left Image Desktop Height: ~613px */
.kolkata-experience-image-card--tall {
  height: 613px;
}

/* Right Image Desktop Height: ~505px */
.kolkata-experience-image-card--medium {
  height: 505px;
}

/* Image Element Styles */
.kolkata-experience-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  border-radius: inherit;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Subtle premium interactive micro-hover */
.kolkata-experience-image-card:hover .kolkata-experience-image {
  transform: scale(1.015);
}

/* Fallback placeholder text if image is not present inside card */
.kolkata-experience-image-card:empty::before,
.kolkata-experience-image-card.is-placeholder::before {
  content: attr(data-placeholder);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: #726884;
  background-color: #ECE7F3;
  border: 2px dashed #C8BFD7;
  border-radius: inherit;
  width: 100%;
  height: 100%;
}

/* --------------------------------------------------------------------------
   Responsive Design
   -------------------------------------------------------------------------- */

/* Large Tablets & Laptops (1024px – 1199px) */
@media (max-width: 1199px) {
  .kolkata-experience-section {
    padding-top: 80px;
    padding-bottom: 80px;
  }

  .kolkata-experience-grid {
    column-gap: 40px;
  }

  .kolkata-experience-title {
    font-size: 42px;
  }

  .kolkata-experience-image-card--tall {
    height: 540px;
  }

  .kolkata-experience-image-card--medium {
    height: 440px;
  }

  .kolkata-experience-left-paragraph {
    margin-top: 36px;
  }

  .kolkata-experience-right-description {
    margin-top: 22px;
    margin-bottom: 36px;
  }
}

/* Medium Tablets (768px – 1023px) */
@media (max-width: 1023px) {
  .kolkata-experience-grid {
    column-gap: 32px;
  }

  .kolkata-experience-title {
    font-size: 38px;
    line-height: 1.24;
  }

  .kolkata-experience-left-paragraph,
  .kolkata-experience-right-description {
    font-size: 16px;
  }

  .kolkata-experience-image-card--tall {
    height: 460px;
  }

  .kolkata-experience-image-card--medium {
    height: 380px;
  }
}

/* Mobile Devices (Below 768px) */
@media (max-width: 767px) {
  .kolkata-experience-section {
    padding-top: 60px;
    padding-bottom: 60px;
  }

  .kolkata-experience-grid {
    grid-template-columns: 1fr;
    row-gap: 36px;
  }

  .kolkata-experience-title {
    font-size: 34px;
    line-height: 1.25;
    padding-top: 0;
  }

  .kolkata-experience-left-paragraph {
    margin-top: 24px;
    font-size: 15.5px;
    line-height: 1.52;
  }

  .kolkata-experience-right-description {
    margin-top: 18px;
    margin-bottom: 28px;
    font-size: 15.5px;
    line-height: 1.52;
  }

  .kolkata-experience-image-card--tall {
    height: 360px;
  }

  .kolkata-experience-image-card--medium {
    height: 320px;
  }
}

/* Small Mobile (Below 480px) */
@media (max-width: 479px) {
  .kolkata-experience-section {
    padding-top: 48px;
    padding-bottom: 48px;
  }

  .kolkata-experience-grid {
    row-gap: 30px;
  }

  .kolkata-experience-title {
    font-size: 29px;
  }

  .kolkata-experience-image-card--tall {
    height: 290px;
  }

  .kolkata-experience-image-card--medium {
    height: 260px;
  }

  .kolkata-experience-left-paragraph,
  .kolkata-experience-right-description {
    font-size: 15px;
  }
}
