/* ============================= */
/* About Page (themed)            */
/* ============================= */
.about-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.about-heading {
  font-family: 'TAN - PEARL', var(--font-playfair-display), serif;
  color: var(--copper-primary);
  display: inline-block;
  position: relative;
  text-align: center;
  width: 100%;
  padding-bottom: 10px;
}

.about-heading:after {
  content: '';
  position: absolute;
  left: 49%;
  transform: translateX(-50%);
  bottom: 0;
  width: 80px;
  height: 2px;
  background: linear-gradient(90deg, var(--copper-primary), var(--copper-dark));
}
#about-experiences-title.about-heading:after {
  content: '';
  position: absolute;
  left: 56%;
  transform: translateX(-50%);
  bottom: 0;
  width: 80px;
  height: 2px;
  background: linear-gradient(90deg, var(--copper-primary), var(--copper-dark));
}

.about-text {
  color: var(--text-dark);
  opacity: .92;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.about-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  margin-top: 16px;
}

.about-gallery img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, .08);
  transition: transform .25s ease;
}

.about-gallery img:hover {
  transform: scale(1.03);
}

.about-hero {
  height: 60vh;
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  background: linear-gradient(rgba(44, 44, 44, .55), rgba(26, 37, 47, .55)), url('https://i.ibb.co/TF74rv7/large-vecteezy-sea-view-beach-luxury-on-the-beach-with-couches-and-cabanas-26612780-large.jpg') center/cover no-repeat;
}

.about-hero-inner {
  max-width: 880px;
  padding: 0 20px;
}

.about-hero-title {
  font-family: 'TAN - PEARL', var(--font-playfair-display), serif;
  font-size: clamp(34px, 6vw, 66px);
  margin-bottom: 10px;
  letter-spacing: .4px;
  color: rgba(255, 255, 255, 0.808);
}

.about-hero-sub {
  font-size: clamp(16px, 2.2vw, 19px);
  color: #f6f1ee;
  opacity: .95;
}

.about-section {
  padding: 72px 0;
}

.about-page-wrapper {
  position: relative;
  background: #fff;
  z-index: 1;
}

.about-page-wrapper::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: -1;
  background-image: 
    /* Top gradient fade */
    linear-gradient(to bottom, rgba(249, 246, 242, 0.9) 0%, rgba(249, 246, 242, 0.1) 100px, transparent 200px),
    /* Bottom gradient fade */
    linear-gradient(to top, rgba(249, 246, 242, 0.9) 0%, rgba(249, 246, 242, 0.1) 100px, transparent 200px),
    /* Radial gradients */
    radial-gradient(1200px 600px at 20% -10%, rgba(205, 130, 97, 0.08), transparent 60%),
    radial-gradient(900px 500px at 80% 110%, rgba(205, 130, 97, 0.06), transparent 65%),
    /* SVG pattern */
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240' viewBox='0 0 240 240'%3E%3Cg fill='none' stroke='rgba(205,130,97,0.1)' stroke-width='1.1'%3E%3Cpath d='M120 10c25 35 25 70 0 105-25-35-25-70 0-105z'/%3E%3Cpath d='M120 125c25 35 25 70 0 105-25-35-25-70 0-105z'/%3E%3Cpath d='M10 120c35 25 70 25 105 0-35-25-70-25-105 0z'/%3E%3Cpath d='M125 120c35 25 70 25 105 0-35-25-70-25-105 0z'/%3E%3C/g%3E%3C/svg%3E");
  background-repeat: no-repeat, no-repeat, no-repeat, no-repeat, repeat;
  background-size: 100% 200px, 100% 200px, auto, auto, 280px 280px;
  background-position: top, bottom, 20% -10%, 80% 110%, 0 0;
  pointer-events: none;
}

.about-welcome,
.about-legacy,
.about-experiences {
  background: rgba(255, 255, 255, 0%);
  position: relative;
  margin: 2rem 0;
  padding: 3rem 0;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.about-exp-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 26px;
}

.about-exp-card {
  background: rgba(255, 255, 255, .9);
  border: 1px solid rgba(255, 255, 255, .45);
  border-radius: 14px;
  padding: 18px;
  text-align: center;
  box-shadow: 0 12px 30px rgba(0, 0, 0, .08);
  transition: transform .25s ease, box-shadow .3s ease;
}

.about-exp-card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 10px;
}

.about-exp-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 44px rgba(0, 0, 0, .12);
}

.about-exp-card h3 {
  font-family: var(--font-playfair-display);
  color: #c67c59;
  margin-bottom: 6px;
}

.about-cta {
  text-align: center;
  padding: 80px 0;
  background: linear-gradient(rgba(44, 44, 44, .9), rgba(26, 37, 47, .9)), url('https://stoneberry.in/wp-content/uploads/2024/03/third-second.jpg') center/cover no-repeat;
  color: #fff;
}

.about-cta .cta-inner {
  max-width: 920px;
}

.about-cta .cta-text {
  color: #f6f1ee;
  margin-top: 6px;
  margin-bottom: 14px;
}

.about-cta-btn {
  border-radius: 40px;
  padding: 14px 28px;
  box-shadow: 0 12px 40px rgba(205, 130, 97, 0.4);
}

/* Marquee gallery with gradient fades */
.about-marquee {
  position: relative;
  overflow: hidden;
  margin-top: 16px;
  border-radius: 14px;
}

.about-marquee .rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 280px;
  gap: 14px;
  padding: 6px;
  animation: about-scroll 28s linear infinite;
}

.about-marquee img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, .08);
}

.about-marquee .fade {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 12%;
  pointer-events: none;
}

.about-marquee .fade.left {
  left: 0;
  background: linear-gradient(90deg, rgba(249, 246, 242, 1), rgba(249, 246, 242, 0));
}

.about-marquee .fade.right {
  right: 0;
  background: linear-gradient(270deg, rgba(249, 246, 242, 1), rgba(249, 246, 242, 0));
}

@keyframes about-scroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

@media (max-width: 1024px) {
  .about-exp-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-keeper-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .about-exp-grid {
    grid-template-columns: 1fr;
  }

  .about-section {
    padding: 56px 0;
  }

  .about-marquee .rail {
    grid-auto-columns: 220px;
  }
}