/* =============================================================
   VIBE.CSS — The Vibe: European Romance Section
   The Ozasco | Premium Asymmetrical Alternating Layout
   ============================================================= */

#vibe {
  position: relative;
  background-color: var(--clr-ivory); /* Ivory background instead of stark white */
  color: var(--clr-espresso);
  padding-block: clamp(5rem, 9vw, 9rem);
  overflow: hidden;
  border-top: 1px solid rgba(142, 140, 130, 0.1);
}

/* Background glow effects */
#vibe::before {
  content: '';
  position: absolute;
  top: -20%;
  left: -20%;
  width: 70%;
  height: 80%;
  background: radial-gradient(ellipse, rgba(142, 140, 130, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

#vibe::after {
  content: '';
  position: absolute;
  bottom: -20%;
  right: -20%;
  width: 70%;
  height: 80%;
  background: radial-gradient(ellipse, rgba(17, 17, 17, 0.03) 0%, transparent 70%);
  pointer-events: none;
}

/* ── Inner layout ── */
.vibe__container {
  position: relative;
  z-index: 1;
}

/* Two-column grid (Image Left, Text Right) */
.vibe__grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(var(--sp-8), 6vw, var(--sp-20));
  align-items: center;
}

/* ── Right: Text column ── */
.vibe__text-col {
  display: flex;
  flex-direction: column;
  gap: var(--sp-5);
}

.vibe__text-col .section-title {
  color: var(--clr-espresso);
}

.vibe__text-col .section-divider {
  margin-inline: 0;
  margin-top: var(--sp-4);
}

.vibe__body {
  font-family: var(--font-sans);
  font-size: var(--text-base);
  font-weight: 300;
  line-height: 1.9;
  color: var(--clr-muted-dark);
}

/* ── Atmosphere tags (Travertine Themed) ── */
.vibe__tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
  margin-top: var(--sp-2);
}

.vibe__tag {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: var(--sp-2) var(--sp-5);
  font-family: var(--font-accent);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--clr-espresso);
  border: 1px solid rgba(142, 140, 130, 0.3); /* Travertine midtone outline */
  border-radius: var(--radius-full);
  background: rgba(142, 140, 130, 0.06);
  transition: all var(--ease-base);
}

.vibe__tag:hover {
  background: var(--clr-espresso);
  border-color: var(--clr-espresso);
  color: var(--clr-text-light);
  transform: translateY(-2px);
}

.vibe__tag-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--clr-gold);
}

/* ── Quote block (Warm Travertine theme) ── */
.vibe__quote {
  margin-top: var(--sp-4);
  padding: var(--sp-5) var(--sp-7);
  border-left: 2px solid var(--clr-gold-light);
  background: rgba(250, 248, 245, 0.85);
  border: 1px solid rgba(142, 140, 130, 0.15);
  border-left: 2px solid var(--clr-gold-light);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.vibe__quote p {
  font-family: var(--font-serif);
  font-size: var(--text-base);
  font-style: italic;
  font-weight: 400;
  line-height: 1.6;
  color: var(--clr-espresso);
}

/* ── Left: Image column ── */
.vibe__image-col {
  position: relative;
  padding-left: var(--sp-5); /* Push right to allow room for the left-offset underlay */
}

/* Asymmetrical Travertine Underlay */
.vibe__image-underlay {
  position: absolute;
  top: var(--sp-5);
  left: 0;
  width: calc(100% - var(--sp-5));
  height: 100%;
  background-color: var(--clr-cream);
  border: 1px solid rgba(142, 140, 130, 0.25);
  border-radius: var(--radius-lg);
  z-index: 0;
}

.vibe__image-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  box-shadow: 
    0 15px 40px rgba(24, 24, 22, 0.06),
    0 4px 10px rgba(0, 0, 0, 0.01);
  z-index: 1; /* Sit above underlay */
}

.vibe__image-frame::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    transparent 70%,
    rgba(24, 24, 22, 0.2) 100%
  );
  z-index: 2;
}

.vibe__image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.vibe__image-frame:hover img {
  transform: scale(1.04);
}

/* Decorative corner frames (Travertine Gold lines) */
.vibe__image-deco {
  position: absolute;
  top: -12px;
  right: -12px;
  width: 80px;
  height: 80px;
  border-top: 2px solid var(--clr-gold-light);
  border-right: 2px solid var(--clr-gold-light);
  border-radius: 0 var(--radius-lg) 0 0;
  opacity: 0.7;
  z-index: 2;
  transition: transform 0.3s ease;
}

.vibe__image-col:hover .vibe__image-deco {
  transform: translate(3px, -3px);
}

.vibe__image-deco--bottom {
  top: auto;
  right: auto;
  bottom: -12px;
  left: 8px; /* Offset adjusted for padding-left */
  border-top: none;
  border-right: none;
  border-bottom: 2px solid var(--clr-gold-light);
  border-left: 2px solid var(--clr-gold-light);
  border-radius: 0 0 0 var(--radius-lg);
}

.vibe__image-col:hover .vibe__image-deco--bottom {
  transform: translate(-3px, 3px);
}

/* Caption badge on image */
.vibe__image-caption {
  position: absolute;
  bottom: var(--sp-6);
  left: var(--sp-6);
  right: var(--sp-6);
  z-index: 3;
  background: rgba(250, 248, 245, 0.88);
  border-radius: var(--radius-md);
  padding: var(--sp-3) var(--sp-4);
  border: 1px solid rgba(142, 140, 130, 0.2);
}

.vibe__image-caption p {
  font-family: var(--font-sans);
  font-size: var(--text-xs);
  color: var(--clr-espresso);
  font-weight: 500;
  text-align: center;
  letter-spacing: 0.05em;
}

/* ── Responsive ── */
@media (max-width: 900px) {
  #vibe {
    padding-block: var(--sp-12) var(--sp-8);
  }

  .vibe__grid {
    grid-template-columns: 1fr;
    gap: var(--sp-10);
  }

  .vibe__image-col {
    order: -1;
    padding-left: 0;
    max-width: 600px;
    margin-inline: auto;
    width: 100%;
  }

  .vibe__image-underlay {
    top: var(--sp-4);
    left: var(--sp-4);
    width: calc(100% - var(--sp-4));
  }

  .vibe__image-frame {
    aspect-ratio: 16 / 10;
  }

  .vibe__image-deco--bottom {
    left: -12px;
  }
}

@media (max-width: 600px) {
  #vibe {
    padding-block: var(--sp-10) var(--sp-6);
  }

  .vibe__image-frame {
    aspect-ratio: 4 / 3;
  }
}
