@import url("theme.css");

/* ---------- About Hero Section ---------- */
.hero-section {
  position: relative;
  width: 100%;
  min-height: 100vh;
  background: url("../assets/aham_investment_co_ltd_image_123.webp")
    center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-light);
  text-align: center;
  overflow: hidden;
}

.hero-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    rgba(4, 57, 39, 0.65) 0%,
    rgba(6, 70, 53, 0.55) 60%,
    rgba(0, 0, 0, 0.6) 100%
  );
  z-index: 1;
}

.hero-section .container {
  position: relative;
  z-index: 2;
}

/* Transparent Info Cards */
.about-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  padding: 1.8rem;
  backdrop-filter: blur(10px);
  color: var(--color-text-light);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.35);
}

/* Card Text */
.about-card h5 {
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.about-card p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--color-text-light-muted);
}

/* -------- About Us More Section -------- */
.about-us-more {
  background: var(--color-bg-light);
  color: var(--color-text-dark);
  min-height: 100vh;
}

.about-us-more h2 {
  font-size: 1.8rem;
  color: var(--color-text-dark);
}

.about-us-more p {
  font-size: 1rem;
  color: var(--color-text-muted);
  line-height: 1.7;
}

.about-us-more .row {
  align-items: stretch;
}

.about-img-wrap {
  height: 100%;
  display: flex;
}

.about-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.about-img-wrap img:hover {
  transform: scale(1.03);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* ---------- About Us Final Section ---------- */
.about-us-final {
  position: relative;
  width: 100%;
  min-height: 70vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

/* Mobile background image */
.about-us-final .final-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(4, 57, 39, 0.85), rgba(0, 0, 0, 0.9)),
    url("../assets/aham_investment_co_ltd_image_173.webp") center/cover
      no-repeat;
  z-index: 0;
}

/* Content layer */
.about-us-final .final-content {
  z-index: 2;
  padding: 2rem;
}

/* Desktop override */
@media (min-width: 992px) {
  .about-us-final {
    background: var(--color-brand-dark-alt);
  }

  .about-us-final .final-bg {
    display: none;
  }

  .about-us-final .final-content {
    color: var(--color-text-dark);
  }
}

/* Mobile typography */
@media (max-width: 991.98px) {
  .about-us-final h2 {
    font-size: 1.8rem;
  }

  .about-us-final p {
    font-size: 1rem;
    line-height: 1.7;
  }
}

/* -------- Collage Section -------- */
.collage-section {
  background: var(--color-brand-dark-alt);
  padding: 100px 5vw;
}

/* Masonry container */
.collage-container {
  column-count: 5;
  column-gap: 1.2rem;
  width: 100%;
}

/* Masonry items */
.collage-item {
  break-inside: avoid;
  margin-bottom: 1.2rem;
  width: 100%;
}

/* Frame */
.img-frame {
  background: white;
  padding: 4px;
  border-radius: 14px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
  overflow: hidden;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.img-frame img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  object-fit: cover;
}

/* Hover effect (safe & subtle) */
.img-frame:hover {
  transform: translateY(-4px) scale(1.015);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
}
/* Outro Section */
.about-us-outro {
  position: relative;
  width: 100%;
  min-height: 80vh;
  background: url("../assets/aham_investment_co_ltd_image_122.webp")
    center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

/* Subtle dark overlay to ensure readability */
.about-us-outro .overlay {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(4, 57, 39, 0.75) 0%,
    rgba(6, 70, 53, 0.9) 100%
  );
  z-index: 1;
}

.about-us-outro .content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 2rem;
  animation: fadeInOverlay 1.8s ease-in-out;
}

.about-us-outro h2 {
  color: var(--color-text-light);
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.6);
}

.about-us-outro p {
  color: var(--color-text-light-muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

.about-us-outro .btn-brand-warning {
  font-size: 1.1rem;
  padding: 0.75rem 2rem;
  border-radius: 50px;
  box-shadow: 0 0 25px rgba(126, 200, 80, 0.4);
  transition: all 0.4s ease;
}

.about-us-outro .btn-brand-warning:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 35px rgba(126, 200, 80, 0.7);
}

@media (max-width: 991.98px) {
  .about-us-more {
    padding: 3rem 1rem;
  }

  .about-us-more h2 {
    font-size: 1.5rem;
  }

  .about-us-more p {
    font-size: 0.95rem;
  }

  .about-us-more img {
    margin-top: 1.5rem;
  }
  .about-us-outro {
    min-height: 60vh;
    padding: 2rem 1rem;
  }

  .about-us-outro h2 {
    font-size: 1.8rem;
  }

  .about-us-outro p {
    font-size: 0.95rem;
  }

  .hero-section h1 {
    font-size: 2rem;
  }

  .hero-section p {
    font-size: 1rem;
  }
}

.outro-logo {
  width: 80px;
  height: 80px;
  border-radius: 10px;
}

@media (max-width: 1600px) {
  .collage-container {
    column-count: 4;
  }
}

@media (max-width: 1200px) {
  .collage-container {
    column-count: 3;
  }
}

@media (max-width: 768px) {
  .collage-section {
    padding: 80px 4vw;
  }

  .collage-container {
    column-count: 2;
    column-gap: 1rem;
  }
}

@media (max-width: 480px) {
  .collage-container {
    column-count: 1;
  }
}

/* -------- Collage Section END-------- */
