@charset "UTF-8";
/* gallery sayfa grubu stilleri: eski style.css'ten taşındı (orijinal sıra korunur).
   base.css'ten sonra yüklenir; controller'da pageCss: 'gallery' ile bağlanır. */

/* Gallery page redesign */

.gallery-page {
  max-width: none !important;
  width: 100% !important;
  padding: clamp(1.8rem, 4vw, 3.2rem) clamp(1rem, 5vw, 5rem) !important;
}

.gallery-page > * {
  width: min(100%, 1180px);
  margin-left: auto !important;
  margin-right: auto !important;
}

.gallery-hero {
  position: relative;
  min-height: clamp(290px, 31vw, 420px);
  margin-bottom: clamp(1.8rem, 3.5vw, 3rem) !important;
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(380px, 1.18fr);
  align-items: stretch;
  overflow: hidden;
  border: 1px solid rgba(111, 141, 99, 0.14);
  border-radius: 34px 10px 34px 10px;
  background:
    radial-gradient(circle at 74% 18%, rgba(112, 141, 99, 0.12), transparent 30%),
    linear-gradient(135deg, rgba(255, 255, 252, 0.98), rgba(247, 250, 244, 0.92));
  box-shadow: 0 20px 50px rgba(59, 76, 52, 0.09);
}

.gallery-hero__copy {
  position: relative;
  z-index: 2;
  padding: clamp(2rem, 4.5vw, 4rem);
  display: grid;
  align-content: center;
  justify-items: start;
}

.gallery-hero__copy::after {
  content: "";
  width: 92px;
  height: 74px;
  margin-top: 1.1rem;
  opacity: 0.58;
  background:
    url("data:image/svg+xml,%3Csvg width='120' height='100' viewBox='0 0 120 100' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M18 83C38 50 58 32 93 18' stroke='%23708D63' stroke-width='2' stroke-linecap='round'/%3E%3Cpath d='M42 62C30 59 23 51 20 39C33 39 42 47 42 62Z' stroke='%23708D63' stroke-width='1.7'/%3E%3Cpath d='M64 42C52 38 45 30 43 18C56 19 65 28 64 42Z' stroke='%23708D63' stroke-width='1.7'/%3E%3Cpath d='M82 29C78 17 81 7 91 0C96 12 93 23 82 29Z' stroke='%23708D63' stroke-width='1.7'/%3E%3C/svg%3E")
    left center / contain no-repeat;
}

.gallery-hero__eyebrow {
  margin: 0 0 0.45rem;
  color: #5f7956;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.gallery-hero__eyebrow::before {
  content: "#";
  margin-right: 0.35rem;
  color: #708D63;
}

.gallery-hero h1 {
  margin: 0;
  color: #1f342f !important;
  font-size: clamp(3rem, 6vw, 6rem);
  line-height: 0.96;
}

.gallery-hero__copy > p:not(.gallery-hero__eyebrow) {
  max-width: 410px;
  margin: 1rem 0 1.4rem;
  color: #40584f;
  font-size: clamp(0.95rem, 1vw, 1.06rem);
  line-height: 1.7;
}

.gallery-hero__button {
  display: inline-flex !important;
  align-items: center;
  gap: 0.5rem;
  border-radius: 999px !important;
  background: #708D63 !important;
  border-color: #708D63 !important;
  color: #fff !important;
}

.gallery-hero__media {
  position: relative;
  min-height: 100%;
  margin: 0;
  overflow: hidden;
  border-radius: 44% 0 0 44%;
}

.gallery-hero__media::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(247, 250, 244, 0.58), rgba(247, 250, 244, 0.08) 46%, rgba(247, 250, 244, 0));
  pointer-events: none;
}

.gallery-hero__media img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: clamp(290px, 31vw, 420px);
  object-fit: cover;
  object-position: center;
}

.gallery-page .gallery-grid {
  display: grid !important;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  grid-auto-flow: dense;
  grid-auto-rows: clamp(130px, 12vw, 190px);
  gap: clamp(0.7rem, 1.3vw, 1rem);
}

.gallery-page .gallery-grid a {
  display: block;
  min-height: 0;
  overflow: hidden;
  border-radius: 12px;
  background: rgba(255, 255, 252, 0.78);
  box-shadow: 0 16px 34px rgba(59, 76, 52, 0.1);
}

.gallery-page .gallery-grid a:nth-child(6n + 1),
.gallery-page .gallery-grid a:nth-child(6n + 3) {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery-page .gallery-grid a:nth-child(6n + 2),
.gallery-page .gallery-grid a:nth-child(6n + 4),
.gallery-page .gallery-grid a:nth-child(6n + 5),
.gallery-page .gallery-grid a:nth-child(6n) {
  grid-column: span 2;
  grid-row: span 1;
}

.gallery-page .gallery-grid img {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: auto !important;
  object-fit: cover;
  border-radius: 0 !important;
  transition: transform 260ms ease, filter 260ms ease;
}

.gallery-page .gallery-grid a:hover img,
.gallery-page .gallery-grid a:focus-visible img {
  transform: scale(1.045);
  filter: saturate(1.05);
}

.gallery-instagram-card {
  margin-top: clamp(1rem, 2vw, 1.4rem) !important;
  padding: clamp(1rem, 2vw, 1.4rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border: 1px solid rgba(111, 141, 99, 0.16);
  border-radius: 18px;
  background:
    radial-gradient(circle at 6% 18%, rgba(112, 141, 99, 0.11), transparent 20%),
    rgba(255, 255, 252, 0.82);
  box-shadow: 0 16px 38px rgba(59, 76, 52, 0.08);
}

.gallery-instagram-card > div {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.gallery-instagram-card__icon {
  flex: 0 0 auto;
  width: 54px;
  height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #708D63;
  color: #fff;
  font-size: 1.35rem;
}

.gallery-instagram-card h2 {
  margin: 0 0 0.25rem;
  color: #1f342f;
  font-family: "Inter", system-ui, sans-serif;
  font-size: 1rem;
  font-weight: 900;
}

.gallery-instagram-card p {
  max-width: 520px;
  margin: 0;
  color: #40584f;
  font-size: 0.88rem;
  line-height: 1.55;
}

.gallery-instagram-card > a {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.7rem 1rem;
  border: 1px solid rgba(111, 141, 99, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 252, 0.74);
  color: #40584f;
  font-size: 0.82rem;
  font-weight: 800;
}
@media (max-width: 991.98px) {
  .gallery-hero {
    grid-template-columns: 1fr;
  }
  .gallery-hero__media {
    min-height: 260px;
    border-radius: 42% 0 0 0;
  }
  .gallery-hero__media img {
    min-height: 260px;
  }
  .gallery-page .gallery-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 767.98px) {
  .gallery-page .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: clamp(140px, 36vw, 210px);
  }
  .gallery-page .gallery-grid a,
  .gallery-page .gallery-grid a:nth-child(n) {
    grid-column: span 1;
    grid-row: span 1;
  }
  .gallery-page .gallery-grid a:nth-child(5n + 1) {
    grid-column: span 2;
    grid-row: span 1;
  }
  .gallery-instagram-card {
    align-items: stretch;
    flex-direction: column;
  }
  .gallery-instagram-card > a {
    justify-content: center;
  }
}

@media (max-width: 575.98px) {
  .gallery-page {
    padding-left: 0.85rem !important;
    padding-right: 0.85rem !important;
  }
  .gallery-hero {
    border-radius: 24px 8px 24px 8px;
  }
  .gallery-hero__copy {
    padding: 1.45rem;
  }
}


.gallery-cta-panel {
  margin-top: clamp(1rem, 2vw, 1.4rem) !important;
  padding: clamp(1rem, 2vw, 1.4rem);
  border: 1px solid rgba(111, 137, 100, 0.18);
  border-radius: 24px;
  background: rgba(255, 255, 252, 0.86);
  box-shadow: 0 14px 34px rgba(59, 76, 52, 0.08);
}

.gallery-cta-panel h2 {
  margin: 0 0 1rem;
  color: #1f342f;
  font-size: clamp(1.3rem, 2vw, 1.9rem);
}

.gallery-cta-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.gallery-cta-panel p {
  margin: 0;
  color: #40584f;
  line-height: 1.65;
}

.gallery-cta-panel .btn {
  flex: 0 0 auto;
}
@media (max-width: 767.98px) {
  .gallery-cta-panel {
    align-items: stretch;
    flex-direction: column;
  }
  .gallery-cta-panel .btn {
    justify-content: center;
  }
}
