/* ================================================
   MANARE RESIDENCE — Sections 03 and 04 (Vanilla)
   The "White Theme" Adaptation
   ================================================ */

/* ---------- SECTION 03: ABOUT (LuxuryAbout) ---------- */
.about-section {
  position: relative;
  min-height: 100vh;
  background-color: var(--color-white);
  color: var(--color-blue-dark);
  padding: 3rem 1.5rem;
  display: flex;
  align-items: center;
  margin-bottom: 100px; /* Added spacing to section 4 */
}

@media (min-width: 768px) {
  .about-section { padding: 4rem 3rem; }
}

@media (min-width: 1024px) {
  .about-section { padding: 6rem; }
}

.about__container {
  width: 100%;
  max-width: 1600px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  height: 100%;
}

@media (min-width: 768px) {
  .about__container {
    grid-template-columns: repeat(12, 1fr);
    gap: 2rem;
  }
}

/* Left Column - Title */
.about__left {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 300px;
  order: 2;
}

@media (min-width: 768px) {
  .about__left {
    grid-column: span 4;
    order: 1;
    min-height: 400px;
  }
}

.about__label {
  font-family: var(--font-secondary);
  font-style: italic;
  letter-spacing: 0.15em;
  font-size: 0.85rem;
  color: var(--color-grey-dark);
  text-transform: uppercase;
  margin-bottom: 2rem;
}

.about__title {
  font-family: var(--font-secondary);
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  font-weight: 400; /* Regular serif weight for light backgrounds */
  margin-top: auto;
}

/* Center Column - Slideshow */
.about__center {
  width: 100%;
  height: 60vh;
  min-height: 400px;
  order: 1;
  overflow: hidden;
}

@media (min-width: 768px) {
  .about__center {
    grid-column: span 4;
    order: 2;
    height: 100%;
    min-height: 600px;
  }
}

/* Base Slideshow Styling */
.vanilla-slideshow {
  position: relative;
  width: 100%;
  height: 100%;
}

.vanilla-slideshow img {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0;
  will-change: opacity;
  transition: opacity 1.5s ease-in-out;
}

.vanilla-slideshow img.is-active {
  opacity: 1;
}

/* Right Column - Text Content */
.about__right {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  order: 3;
}

@media (min-width: 768px) {
  .about__right {
    grid-column: span 4;
    padding-top: 3rem;
  }
}

.about__desc {
  font-size: 0.9rem;
  font-weight: 300;
  line-height: 1.7;
  color: var(--color-grey-dark);
  margin-bottom: 2rem;
  max-width: 400px;
}

.about__action {
  margin-top: 1rem;
}

/* Button variant for light themes */
.btn-sharp {
  padding: 0.8rem 2rem;
  border: 1px solid var(--color-blue-dark);
  background-color: transparent;
  color: var(--color-blue-dark);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  transition: all var(--transition-fast);
  cursor: pointer;
}

.btn-sharp:hover {
  background-color: var(--color-blue-dark);
  color: var(--color-white);
}

/* ---------- SECTION 04: VISION (VisionInspiredLiving) ---------- */
.vision-section {
  position: relative;
  width: 100%;
  height: 100vh;
  background-color: var(--color-white);
  color: var(--color-blue-dark);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

@media (min-width: 768px) {
  .vision-section {
    flex-direction: row;
  }
}

/* Left - Slideshow Panel */
.vision__panel-image {
  width: 100%;
  height: 50vh;
  position: relative;
  overflow: hidden;
}

@media (min-width: 768px) {
  .vision__panel-image {
    width: 50%;
    height: 100%;
  }
}

/* Right - Info Panel */
.vision__panel-info {
  display: none; /* Desktop first for complex part */
}

@media (min-width: 768px) {
  .vision__panel-info {
    display: flex;
    width: 50%;
    height: 100%;
    flex-direction: column;
    justify-content: space-between;
    padding: 3rem 6rem;
    position: relative;
    z-index: 10;
  }
}

.vision__label {
  text-align: right;
  font-size: 0.875rem;
  letter-spacing: 0.15em;
  font-style: italic;
  text-transform: uppercase;
  color: var(--color-grey-dark);
}

.vision__content-box {
  margin-top: auto;
  margin-bottom: 3rem;
  margin-left: 0;
  width: fit-content;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2rem;
}

.vision__desc {
  font-size: 0.9rem;
  color: var(--color-grey-dark);
  font-weight: 300;
  line-height: 1.8;
  max-width: 400px;
  text-align: justify;
  text-align-last: left;
}

/* Mobile version of info */
.vision__mobile-info {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 2rem;
  height: 50vh;
  width: 100%;
}

@media (min-width: 768px) {
  .vision__mobile-info { display: none; }
}

/* Giant Center Overlapping Title */
.vision__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 30;
  pointer-events: none;
  padding: 0 1rem;
}

.vision__title {
  font-family: var(--font-secondary);
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.1;
  text-align: left;
  color: var(--color-blue-dark);
  font-weight: 400;
  margin: 0;
}
