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

body {
  font-family: 'Inter', sans-serif;
  color: #111;
  background: #fff;
  line-height: 1.4;
}

/* ------------------------
   TOP BAR (SOCIAL + SEARCH)
------------------------ */
.top-bar {
  width: 100%;
  padding: 1rem 2rem;
}

.top-bar-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.social-links {
  display: flex;
  gap: 1.2rem;
}

.social-links svg {
  width: 20px;
  height: 20px;
  fill: #000;
  opacity: 0.75;
  transition: opacity 0.2s ease;
}

.social-links a:hover svg {
  opacity: 1;
}

.site-search {
  border: none;
  border-bottom: 1px solid #ccc;
  padding: 0.3rem 0;
  font-size: 0.9rem;
  outline: none;
  width: 220px;
  background: transparent;
}

.site-search::placeholder {
  color: #888;
}

/* ------------------------
   HERO SECTION
------------------------ */
.hero {
  position: relative;
  min-height: 80vh;
  background-image: url("images/great-east.jpg");
  background-size: cover;
  background-position: center 60%; /* crop bottom by raising focal point */
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Soft overlay + gradient for bottom crop */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.65) 70%, #fff 100%);
}

/* Hero inner content */
.hero-content {
  position: relative;
  max-width: 1200px;
  padding: 0 2rem 2rem;
  text-align: center;
  z-index: 2;
}

/* ------------------------
   TITLE & TAGLINE
------------------------ */
.site-title {
  font-size: clamp(3rem, 12vw, 5rem);
  font-weight: 1000;
  letter-spacing: -0.04em;
  margin-bottom: 0.5rem;
}

.site-tagline {
  font-size: clamp(1.6rem, 4vw, 1.9rem);
  font-weight: 500;
  color: #111; /* black for readability */
  margin-bottom: 1.5rem;
}

.hero-separator {
  width: 350px;
  height: 2px;
  background: #ccc;
  margin: 2rem auto;
}

/* ------------------------
   INTRO TEXT
------------------------ */
.intro {
  font-size: 0.85rem;
  line-height: 1.4;
  max-width: 880px;
  margin: 0 auto 2rem;
  color: #111; /* black for desktop readability */
}

/* ------------------------
   BOOK BUTTON
------------------------ */
.book-shoot-btn {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.7rem 1.6rem;
  border: 1px solid #E63946;
  text-decoration: none;
  color: #000;
  font-size: 0.95rem;
  transition: all 0.25s ease;
}

.book-shoot-btn:hover {
  background: #E63946;
  color: #fff;
}

/* ------------------------
   FEATURED GALLERY
------------------------ */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  padding: 0 3rem 5rem;
  max-width: 1400px;
  margin: 0 auto;
}

.photo {
  display: flex;
  flex-direction: column;
  position: relative;
  margin-bottom: 2rem;
  transition: opacity 0.3s ease;
}

.photo img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
  border-radius: 4px;
  transition: filter 0.3s ease;
}

.photo-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-top: 0.8rem;
}

.photo-story {
  font-size: 0.95rem;
  color: #444;
  line-height: 1.4;
  margin-top: 0.5rem;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transform: translateY(6px);
  transition:
    max-height 0.4s ease,
    opacity 0.3s ease,
    transform 0.3s ease;
  padding-bottom: 0.8rem;
}

.photo:hover .photo-story {
  max-height: 200px;
  opacity: 1;
  transform: translateY(0);
}

.photo-actions {
  display: flex;
  justify-content: space-between;
  margin-top: -0.4rem;
}

.photo-actions a {
  padding: 0.35rem 0.8rem;
  font-size: 0.8rem;
  font-weight: 500;
  border-radius: 4px;
  text-decoration: none;
  text-align: center;
  transition: all 0.25s ease;
}

.btn-download {
  background-color: #000;
  color: #fff;
  border: 1px solid #000;
}

.btn-download:hover {
  background-color: #333;
  border-color: #333;
}

.btn-buy {
  background-color: #E63946;
  color: #fff;
  border: 1px solid #E63946;
}

.btn-buy:hover {
  background-color: #c5303c;
  border-color: #c5303c;
}

/* ------------------------
   SECONDARY GALLERY
------------------------ */
.secondary-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
  max-width: 1400px;
  margin: 0 auto 4rem;
  padding: 0 2rem;
}

.secondary-photo {
  position: relative;
}

.secondary-photo img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 4px;
  display: block;
}

.secondary-download {
  position: absolute;
  top: 0.5rem;
  left: 0.5rem;
  width: 18px;
  height: 18px;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 1;
  background: rgba(0, 0, 0, 0.35);
  border-radius: 4px;
  padding: 2px;
}

.secondary-download svg {
  width: 18px;
  height: 18px;
  stroke: #fff;
}

.secondary-photo-title {
  margin-top: 0.6rem;
  font-size: 1rem;
  font-weight: 600;
  text-align: center;
  color: #111;
}

/* ------------------------
   MEET THE PHOTOGRAPHER
------------------------ */
.photographer {
  padding: 4rem 2rem;
  background: #fafafa;
}

.photographer-inner {
  max-width: 900px;
  margin: 0 auto;
}

.photographer-header {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  margin-bottom: 1.2rem;
}

.photographer-image img {
  width: 90px;
  height: 90px;
  object-fit: cover;
  border-radius: 4px;
}

.photographer-title {
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 1.1;
}

.photographer-text p {
  font-size: 0.95rem;
  line-height: 1.45;
  color: #333;
  max-width: 720px;
}

/* ------------------------
   RESPONSIVE TWEAKS
------------------------ */
@media (max-width: 900px) {
  .gallery {
    grid-template-columns: 1fr;
  }
  .secondary-gallery {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .hero {
    background-position: center 50%;
  }

  .intro {
    color: #fff;
  }

  .book-shoot-btn {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.85);
  }

  .book-shoot-btn:hover {
    background: #fff;
    color: #000;
  }
}

@media (max-width: 500px) {
  .secondary-gallery {
    grid-template-columns: 1fr;
  }
  .photo-actions a {
    padding: 0.3rem 0.6rem;
    font-size: 0.75rem;
  }
  .secondary-photo-title {
    font-size: 0.9rem;
  }
  .site-title {
    font-size: clamp(3rem, 12vw, 4rem);
  }
  .site-tagline {
    font-size: clamp(1.4rem, 4vw, 1.7rem);
    margin-bottom: 1rem;
  }
}

/* ------------------------
   MOBILE HERO TEXT BLOCK FULL-WIDTH
------------------------ */
@media (max-width: 600px) {
  .hero-text-block {
    display: block;
    width: 100vw;
    margin-left: -2rem;
    margin-right: -2rem;
    padding: 1.5rem 2rem;
    box-sizing: border-box;
    border-radius: 0;
    background: rgba(0, 0, 0, 0.82);
    text-align: center;
    z-index: 2;
  }

  .intro {
    color: #fff;
    line-height: 1.4;
    margin-bottom: 1rem;
  }

  .book-shoot-btn {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.85);
  }

  .book-shoot-btn:hover {
    background: #fff;
    color: #000;
  }
}

@media (min-width: 601px) {
  .hero-text-block {
    display: none;
  }
}