﻿ 


/* GLOBAL */
.container{
  width:90%;
  max-width:1200px;
  margin:auto;
}
.gallery-section .container {
  max-width: 1150px; /* 👈 more luxury spacing */
}
/* SECTION */
.gallery-hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  color: #fff;

  background: url('https://images.unsplash.com/photo-1600585154340-be6161a56a0c') center/cover no-repeat;
}

/* OVERLAY (same as investment hero) */
.gallery-hero::before {
  content: "";
  position: absolute;
  inset: 0;

  background: linear-gradient(
    90deg,
    rgba(5,10,20,0.95) 40%,
    rgba(5,10,20,0.7) 60%,
    rgba(5,10,20,0.2) 80%
  );
}

/* CONTAINER FIX */
.gallery-hero .container {
  position: relative;
  z-index: 2;
}

/* CONTENT */
.gallery-hero .hero-content {
  max-width: 580px;
  margin-left: 80px;
}

/* TITLE */
.gallery-hero h1 {
  font-size: 52px;
  font-weight: 400;
}

.gallery-hero h1 span {
  color: #c9a15d;
}

/* DESC */
.hero-desc {
  margin-top: 20px;
  color: #ccc;
  line-height: 1.6;
}

/* BUTTON */
.hero-btn {
  display: inline-block;
  margin-top: 30px;
  padding: 14px 28px;
  border: 1px solid #c9a15d;
  color: #fff;
  text-decoration: none;
  transition: 0.3s;
}

.hero-btn:hover {
  background: #c9a15d;
  color: #000;
}
@media (max-width: 576px) {

  .gallery-hero {
    align-items: flex-end;
    padding: 40px 20px;
  }

  .gallery-hero .hero-content {
    margin-left: 0;
    max-width: 100%;
  }

  .gallery-hero h1 {
    font-size: 30px;
  }

  .hero-btn {
    width: 100%;
    text-align: center;
  }

  /* vertical overlay */
  .gallery-hero::before {
    background: linear-gradient(
      180deg,
      rgba(5,10,20,0.2) 0%,
      rgba(5,10,20,0.85) 70%,
      rgba(5,10,20,0.95) 100%
    );
  }
}


/* SECTION */
.gallery-section {
  background: #f5f3ef;
  padding: 80px 0;
}

/* TABS WRAPPER */
.gallery-tabs {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
  margin-bottom: 60px;
  flex-wrap: wrap;
}

/* TAB */
.tab {
  background: none;
  border: none;
  font-size: 13px;
  letter-spacing: 1px;
  color: #000;
  padding: 10px 18px;
  cursor: pointer;
  transition: 0.3s;
}

/* ACTIVE */
.tab.active {
  background: #c9a15d;
  color: #fff;
  border-radius: 4px;
}

/* SEPARATOR */
.sep {
  width: 1px;
  height: 18px;
  background: #ddd;
}

/* GRID */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
}

/* ITEM */
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  cursor: pointer;
}

/* IMAGE */
.gallery-item img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

/* DARK OVERLAY */
.gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(5,10,20,0.3);
  opacity: 0;
  transition: 0.4s ease;
}

/* HOVER CONTENT */
.gallery-item .overlay {
  position: absolute;
  bottom: 20px;
  left: 20px;
  color: #fff;
  opacity: 0;
  transform: translateY(10px);
  transition: 0.4s ease;
}

.gallery-item .overlay span {
  font-size: 12px;
  letter-spacing: 1px;
  color: #c9a15d;
}

/* HOVER EFFECT */
.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-item:hover::after {
  opacity: 1;
}

.gallery-item:hover .overlay {
  opacity: 1;
  transform: translateY(0);
}

/* ================= */
/* 📱 TABLET */
/* ================= */
@media (max-width: 992px) {

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

}

/* ================= */
/* 📱 MOBILE */
/* ================= */
@media (max-width: 576px) {

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-tabs {
    gap: 10px;
  }

  .sep {
    display: none;
  }
}

