body {
  font-family: 'Poppins', sans-serif;
  background: #fff;
  color: #222;
}

/* =============================================
   ABOUT INTRO  (replaces the old centered hero)
   Figma: full-width resort photo with a solid-black 650×635 card (corner
   radius 0, "Clip content") pinned to the right. The card overlaps the photo
   and dips below it into the white page, anchoring the intro copy.
   ============================================= */
.about-intro {
  position: relative;
  width: 100%;
  /* Reserves room for the card's lower edge to hang below the photo (overhang)
     plus a gap before the next section. 140px = 100px overhang + 40px gap. */
  padding-bottom: 140px;
  background: #fff;
}

/* Full-bleed background photo behind the card */
.about-intro__bg {
  width: 100%;
  /* Same height as the Home page hero photo - both read --hero-h (defined in style.css).
     Do not hard-code a pixel height here or the two pages will drift apart again. */
  height: var(--hero-h);
  background: url("../assets/images/DSC_0090.JPG") center/cover no-repeat;
}

/* Solid black info card — pinned to the right, straddling the photo's BOTTOM
   edge so part of the card sits over the photo and part hangs below it onto the
   white page (matching the Figma frame). Anchoring from the bottom keeps that
   overhang fixed (~100px) no matter how tall the copy makes the card.
   The right offset hugs a 1280px content rail (matching the rest of the page)
   so the card stays glued to the right edge on wide screens. */
.about-intro__card {
  position: absolute;
  bottom: 40px;                /* 40px above the section's padded bottom → photo overhang ≈ 100px */
  right: max(24px, calc(50% - 640px + 24px));
  width: 560px;
  box-sizing: border-box;
  background: #000;              /* Figma Fill: Black */
  color: #fff;
  padding: 54px 56px;
  text-align: center;

  display: flex;
  flex-direction: column;
  justify-content: center;
}

.about-intro__title {
  font-family: 'Poppins', sans-serif;
  font-size: 34px;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 28px;
}

.about-intro__text {
  font-size: 16px;
  line-height: 1.9;
  color: #fff;
  margin-bottom: 22px;
}

.about-intro__text:last-child {
  margin-bottom: 0;
}

/* Elegant handwritten accent for "Welcome" / "together" */
.about-intro__script {
  font-family: 'Great Vibes', cursive;
  font-size: 26px;
  font-weight: 400;
  color: #fff;
}

/* Brand name highlighted in the resort's orange accent */
.about-intro__brand {
  color: #E45A2B;
  font-weight: 600;
}

/* ABOUT SECTION */

.about-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 20px;

  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 50px;
}

.event-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 20px;

  display: grid;
  align-items: center;
  gap: 50px;
}

.about-section.reverse {
  flex-direction: row-reverse;
}

.about-image {
  flex: 1;
}

.about-image img {
  width: 100%;
  border-radius: 8px;
}

.about-content {
  flex: 1;
}

.about-content h2 {
  font-size: 34px;
  margin-bottom: 20px;
}

.about-content p {
  font-size: 16px;
  line-height: 1.8;
  color: #666;
}

/* =============================================
   ABOUT INTRO — RESPONSIVE
   Below ~900px the overlapping layout can't breathe, so the card stops being
   absolutely positioned and stacks directly under the photo (full width). This
   keeps the photo and the black card both fully visible on tablets/phones.
   ============================================= */
@media (max-width: 900px) {
  .about-intro {
    padding-bottom: 0;
  }

  .about-intro__card {
    position: static;          /* leave the overlap behind — flow under the photo */
    width: 100%;
    padding: 48px 28px;
  }
}

@media (max-width: 480px) {
  .about-intro__card {
    padding: 40px 22px;
  }

  .about-intro__title {
    font-size: 28px;
    margin-bottom: 22px;
  }

  .about-intro__text {
    font-size: 15px;
    line-height: 1.85;
  }

  .about-intro__script {
    font-size: 23px;
  }
}

/* MOBILE — existing alternating content sections
   These rows are a 2-column CSS grid, so they must collapse with
   grid-template-columns (flex-direction has no effect on a grid). Stacking to a
   single column prevents the image/text columns from being squeezed off-screen
   on phones. */

@media (max-width: 768px) {

  .about-section,
  .about-section.reverse {
    grid-template-columns: 1fr;
    gap: 30px;
  }

}

.about-content ul {
    list-style-type: disc;
    padding-left: 20px;
}

.about-content li {
    margin-bottom: 8px;
}

.cta-banner__email{
    color:#fff;
    text-decoration:none;
    font-size:2.8rem;
    font-weight:700;
    margin:8px 0;
}

.cta-banner__email:hover{
    color:#d4af37;
}

.cta-banner__icon{
    color:#fff;
    margin-bottom:25px;
}

.cta-banner__icon svg{
    width:70px;
    height:70px;
}

/* =============================================
   ABOUT STORY ROWS  (Stay & Comfort, Weddings & Celebrations,
   Cultural & Event Spaces, Dining & Hospitality)
   Business purpose: each row pairs one resort photo with a short paragraph
   telling guests what the resort offers; rows alternate photo-left /
   photo-right so the page reads with a rhythm.
   Figma: photo 475 x 335 (square corners), copy column ~670 wide, Poppins
   SemiBold ~40px headings, ~20px / 1.8 grey (#6D6D6D) body.
   SCOPED to .about-story on purpose: event.html reuses .about-section /
   .about-image / .about-content, so those base rules must not change.
   ============================================= */
.about-section.about-story {
  /* Photo : copy kept in the Figma 475 : 670 ratio. Using fr (not fixed px)
     lets both columns shrink together on tablets instead of squeezing the copy. */
  grid-template-columns: 475fr 670fr;
  align-items: start;           /* copy sits at the top, level with the photo */
  gap: 24px;
}

/* Photo on the RIGHT: swap the column ratio. (The old `.reverse { flex-direction }`
   rule never worked because these rows are a grid - the left/right order only
   came from the HTML order. Text-first HTML + this ratio keeps that order.) */
.about-section.about-story.reverse {
  grid-template-columns: 670fr 475fr;
}

/* Neutral grey box shows if a photo file is missing (dining.jpg is, right now)
   instead of leaving a collapsed gap in the layout. */
.about-story .about-image {
  background: #eee;
}

/* Photo fills a fixed 475:335 box and is cropped to fit - its shape never
   depends on the file's own proportions. Square corners per Figma (the
   generic rule above rounds to 8px). */
.about-story .about-image img {
  display: block;
  width: 100%;
  aspect-ratio: 475 / 335;
  object-fit: cover;
  border-radius: 0;
}

.about-story .about-content {
  padding-top: 20px;            /* Figma: heading starts slightly below the photo's top edge */
}

.about-story .about-content h2 {
  font-size: clamp(28px, 3.4vw, 40px);   /* 40px at desktop, scales down smoothly */
  font-weight: 600;
  line-height: 1.2;
  color: #000;
  margin-bottom: 24px;
}

.about-story .about-content p {
  font-size: clamp(16px, 1.7vw, 20px);   /* 20px at desktop */
  line-height: 1.8;
  color: #6d6d6d;                        /* Figma "Text" grey */
}

/* Photo-right rows: copy is right-aligned so it hugs the photo (per Figma). */
.about-story.reverse .about-content {
  text-align: right;
}

/* "SANTU RESORT" highlighted in the resort's orange (colour sampled from Figma) */
.about-story__brand {
  color: #eb4d26;
  font-weight: 600;
}

/* =============================================
   ABOUT INFO BAND  (Arrival & Departure / Parking / Location)
   Business purpose: the practical pre-booking facts - arrival and departure
   times, parking, how to get here - placed last so guests who read the story
   rows end on the details they need to plan the trip.
   Figma frame 1920 x 1244: no frame fill, rectangle fill D9C5B2 @ 10% opacity
   (= #FBF9F7 over white), corner radius 0, full-bleed. Copy sits in a centered
   column ~68% of the page wide (max 1290px).
   ============================================= */
.about-info {
  width: 100%;
  background: rgba(217, 197, 178, 0.10);   /* Figma: D9C5B2 at 10% */
  padding: 96px 20px;
}

.about-info__inner {
  width: 68%;
  max-width: 1290px;
  margin: 0 auto;
}

.about-info__title {
  font-size: clamp(28px, 3.4vw, 40px);     /* same heading style as the story rows */
  font-weight: 600;
  line-height: 1.2;
  color: #000;
  margin: 64px 0 24px;                     /* 64px = breathing room between the 3 topics */
}

/* First topic has no neighbour above it - the band's own padding spaces it */
.about-info__title:first-child {
  margin-top: 0;
}

.about-info__text {
  font-size: clamp(16px, 1.7vw, 20px);
  line-height: 1.8;
  color: #6d6d6d;
}

/* Location distances: bullets sit flush with the paragraph's left edge */
.about-info__list {
  margin-top: 16px;
  list-style: disc inside;
  font-size: clamp(16px, 1.7vw, 20px);
  line-height: 1.8;
  color: #6d6d6d;
}

/* =============================================
   ABOUT STORY + INFO - RESPONSIVE
   <= 900px : the info column fills the page (68% would be too narrow to read).
   <= 820px : story rows stack - photo first, then copy, all left-aligned.
   <= 480px : tighter vertical rhythm for phones.
   Selectors repeat the desktop specificity so these reliably win.
   ============================================= */
@media (max-width: 900px) {
  .about-info {
    padding: 72px 24px;
  }

  .about-info__inner {
    width: 100%;
  }
}

@media (max-width: 820px) {
  .about-section.about-story,
  .about-section.about-story.reverse {
    grid-template-columns: 1fr;   /* single column */
    padding: 48px 20px;
    gap: 24px;
  }

  /* Photo-right rows have the copy first in the HTML; on a phone the photo
     should lead every row, so move it to the top. */
  .about-story.reverse .about-image {
    order: -1;
  }

  .about-story .about-content {
    padding-top: 0;
  }

  /* Right-aligned copy only makes sense beside a photo - stacked, read left-to-right */
  .about-story.reverse .about-content {
    text-align: left;
  }
}

@media (max-width: 480px) {
  .about-info {
    padding: 56px 20px;
  }

  .about-info__title {
    margin-top: 48px;
  }
}

/* =============================================
   EVENT PAGE ADDITIONS
   Small helpers used by the extra Event-page sections (Create Memories,
   Dining Experience, Stay in Comfort, Why Choose). They use NEW class names,
   so nothing already styled on the About or Event pages changes.
   ============================================= */

/* Photo-right rows in the design have their copy right-aligned, hugging the photo */
.about-section--align-right .about-content {
  text-align: right;
}

/* Bold-ish dark label inside grey body copy ("Main Dining Hall", "Room Categories:") */
.about-label {
  color: #000;
  font-weight: 500;
}

/* Plain list (no bullets) - used for the room category names */
.about-content ul.about-list--plain {
  list-style: none;
  padding-left: 0;
}

/* Space between consecutive paragraphs. The site-wide reset removes all paragraph
   margins, which made the multi-paragraph sections run together. The intro
   ("Celebrate Every Occasion") gets a full blank-line gap as in the design; the
   smaller sections get a tighter one. Only affects blocks that have 2+ paragraphs. */
.about-content p + p {
  margin-top: 10px;
}

.event-section .about-content p + p {
  margin-top: 20px;
}

/* Stacked on phones/tablets the copy sits under its photo - read left to right */
@media (max-width: 768px) {
  .about-section--align-right .about-content {
    text-align: left;
  }
}

/* Event page hero photo. The About page shares .about-intro__bg, so the Event photo is set via a
   modifier class instead of changing the shared rule. The photo is already darkened in the file. */
.about-intro__bg--event {
  background-image: url("../assets/images/event-hero.webp");
  background-position: center;
}

/* =============================================
   EVENT PAGE - BOTTOM EMAIL BANNER PHOTO
   The cta-banner is shared with the Home and Rooms pages (photo set in style.css), so the Event
   page's own photo is set through the cta-banner--event modifier instead of changing the shared rule.
   To change this photo: replace assets/images/footer.webp (same name, ~1280 x 424).
   The photo already has its dark-to-pale shading built in, so the page's own shading layer is
   switched off here - leaving both on would stack the effect. (Hover blur still works.)
   ============================================= */
.cta-banner--event .cta-banner__card::before {
  background-image: url("../assets/images/footer.webp");
}

.cta-banner--event .cta-banner__overlay {
  background: none;
}

/* The email addresses are 2.8rem (about 45px) on every screen, so on phones the long addresses were
   wider than the banner card and got cut off at its edges. Scale the size down with the screen
   (still the full 2.8rem on desktop) and allow a break as a last resort. */
.cta-banner__email {
  font-size: min(2.8rem, 4.3vw);
  max-width: 100%;
  overflow-wrap: anywhere;
}
