/* ============================================================
   Futuredge Estates LLP (FELLP) — shared stylesheet
   Font: Lato (Google Fonts)
   ============================================================ */

:root {
  --orange: #E0932E;
  --dark-text: #4a4a4a;
  --darker-text: #333333;
  --white: #ffffff;
  --border-grey: #e5e5e5;
  --max-width: 100%;
  --side-padding: 50px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Lato', Arial, Helvetica, sans-serif;
  color: var(--dark-text);
  background: var(--white);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
}

.wrapper {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--side-padding);
}

/* ---------------- Header ---------------- */

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 48px;
  max-width: 100%;
  margin: 0 auto;
}

.logo {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1;
}

.logo img {
  height: 42px;
  width: auto;
  transform: scale(2.25);
  transform-origin: left center;
}

.logo-text {
  font-size: 15px;
  letter-spacing: 3px;
  color: var(--darker-text);
  font-weight: 400;
}

.main-nav {
  display: flex;
  gap: 40px;
}

.main-nav a {
  font-size: 16px;
  font-weight: 700;
  color: var(--darker-text);
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--orange);
  border-bottom-color: var(--orange);
}

/* ---------------- Hero (index page) ---------------- */

.hero {
  position: relative;
  padding: 70px var(--side-padding) 60px;
  max-width: 100%;
  margin: 0 auto;
  overflow: hidden;
  min-height: 50vh;
}

.hero.has-photo {
  padding: 90px var(--side-padding) 40px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-color: #cfcfcf;
  background-image:
    repeating-linear-gradient(0deg, rgba(0, 0, 0, 0.05) 0 2px, transparent 2px 12px);
  background-size: cover;
  background-position: center;
}

/* When a real photo is dropped in, add class "has-photo" to .hero
   and set the background-image on .hero-bg (or swap the div for an <img>). */

.hero.has-photo .hero-bg {
  background-color: #1a1a1a;
}

.hero.has-photo .hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.25) 55%, rgba(0, 0, 0, 0.05) 100%);
}

.hero-title {
  font-size: 76px;
  font-weight: 400;
  line-height: 1.05;
  color: var(--darker-text);
  margin-bottom: 28px;
  max-width: 620px;
}

.hero.has-photo .hero-title {
  color: var(--white);
}

.hero-desc {
  font-size: 17px;
  line-height: 1.7;
  max-width: 1060px;
  color: var(--dark-text);
}

.hero.has-photo .hero-desc {
  color: var(--white);
  max-width: 1060px;
}

.image-placeholder-note {
  display: inline-block;
  margin-top: 18px;
  font-size: 12px;
  letter-spacing: 0.5px;
  color: rgba(255, 255, 255, 0.75);
  border: 1px dashed rgba(255, 255, 255, 0.5);
  padding: 4px 10px;
  border-radius: 3px;
}

.hero:not(.has-photo) .image-placeholder-note {
  color: #8a8a8a;
  border-color: #b5b5b5;
}

/* ---------------- Info footer strip ---------------- */

.info-strip {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 40px var(--side-padding);
  display: grid;
  grid-template-columns: 1.1fr 1fr 1.2fr;
  gap: 40px;
}

.info-block.info-block-gap {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.info-block h4 {
  color: var(--orange);
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 10px;
}

.info-block p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--dark-text);
}

.info-block+.info-block {
  border-left: 0;
}

.hover-effect-a:hover {
  /* font-weight: 600; */
  color: var(--orange);
  text-decoration: underline;
}

/* ---------------- Page header (Collection / Gallery interior pages) ---------------- */

.page-hero {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 20px var(--side-padding) 40px;
}

.page-hero h1 {
  font-size: 46px;
  font-weight: 400;
  color: var(--darker-text);
  margin-bottom: 14px;
}

.page-hero p {
  font-size: 16px;
  max-width: 800px;
  color: var(--dark-text);
}

/* ---------------- Gallery grid ---------------- */

.gallery-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 10px var(--side-padding) 70px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.gallery-item {
  position: relative;
  display: block;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 2px;
  background: #e7e7e7;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-item .placeholder-fill {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: #9a9a9a;
  background: repeating-linear-gradient(0deg, #ececec 0 2px, #e2e2e2 2px 14px);
  text-align: center;
  padding: 10px;
}

.fancybox__footer {
  display: none !important;
}

@media (max-width: 1300px) {
  .logo img {
    height: 42px;
    width: auto;
    transform: scale(1.5);
    transform-origin: left center;
  }
}

@media (max-width: 1000px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .logo img {
    height: 72px;
    width: auto;
    transform: scale(1.15);
    transform-origin: left center;
  }
}

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

/* ---------------- Collection list ---------------- */

.collection-list {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 10px var(--side-padding) 70px;
}

.collection-table {
  width: 100%;
  border-collapse: collapse;
}

.collection-table th,
.collection-table td {
  text-align: left;
  padding: 16px 14px;
  border-bottom: 1px solid var(--border-grey);
  font-size: 15px;
}

.collection-table th {
  color: var(--orange);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.5px;
}

.collection-note {
  margin: 0 0 24px;
  padding: 14px 18px;
  border: 1px dashed #c9c9c9;
  border-radius: 3px;
  font-size: 14px;
  color: #7a7a7a;
  background: #fafafa;
}

/* ---------------- Footer ---------------- */

.site-footer {
  border-top: 1px solid var(--border-grey);
  padding: 16px var(--side-padding);
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: #9a9a9a;
}

.site-footer a {
  color: var(--orange);
  font-weight: 700;
}

.mobile-hero-banner {
  display: none;
}

.web-hero-banner {
  display: block;
}

/* ---------------- Responsive ---------------- */

@media (max-width: 1450px) {
  .site-header {
    padding: 22px var(--side-padding);
  }
}

@media (max-width: 900px) {
  .mobile-hero-banner {
    display: block;
  }

  .web-hero-banner {
    display: none;
  }

  .mobile-container {
    margin-top: 48px;
  }

  .mobile-banner {
    margin-top: 24px;
  }

  .mobile-container p,
  .mobile-container h1 {
    padding: 0 var(--side-padding);
  }

  :root {
    --side-padding: 16px;
  }

  .info-strip {
    padding: 40px 16px;
  }

  .hero-title {
    font-size: 48px;
  }

  .info-strip {
    grid-template-columns: 1fr;
    gap: 28px;
  }
.page-hero h1{
  font-size: 40px;
}

main {
  padding-top: 48px;
}
  .hero-desc,
  .info-block p {
    font-size: 16px;
  }

  .mobile-banner img {
    height: 50vh;
    object-fit: cover;
    object-position: left;
  }

  .main-nav {
    gap: 24px;
  }
}