/* ============================================================
   Photography by Yetish — shared responsive stylesheet
   Used by every page on the site for a consistent, mobile-
   friendly header, navigation, typography and photo grid.
   ============================================================ */

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
}

body {
  background: rgb(66, 66, 66);
  font-family: 'Helvetica Neue', Arial, sans-serif;
  -webkit-text-size-adjust: 100%;
}

a {
  color: rgb(0, 0, 0);
  text-decoration: underline;
}

a:visited {
  color: rgb(1, 25, 147);
}

a:hover {
  color: rgb(148, 17, 0);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  border: none;
}

/* ---------- Page container ---------- */

#site_header,
#site_main,
#site_footer {
  width: 100%;
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
  background: rgb(145, 145, 145);
  padding-left: 24px;
  padding-right: 24px;
  box-sizing: border-box;
}

#site_header {
  padding-top: 30px;
  padding-bottom: 20px;
  text-align: center;
}

#site_footer {
  padding-top: 16px;
  padding-bottom: 24px;
  text-align: center;
  font-size: 14px;
}

#site_footer p {
  margin: 4px 0;
}

#site_footer a {
  color: rgb(0, 0, 0);
}

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

#site_title {
  font-size: clamp(24px, 5vw, 40px);
  font-weight: 400;
  margin: 0 0 18px 0;
  color: rgb(0, 0, 0);
  font-family: 'Helvetica Neue', Arial, sans-serif;
}

#site_title a {
  color: rgb(0, 0, 0);
  text-decoration: none;
}

/* ---------- Navigation ---------- */
/* All nav items share ONE class so every label -- including
   "Gallery" -- renders with identical font, size and weight. */

#site_nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 28px;
  border-top: 1px solid rgba(0, 0, 0, 0.25);
  border-bottom: 1px solid rgba(0, 0, 0, 0.25);
  padding: 12px 0;
}

.nav_link {
  font-family: 'Helvetica Neue', Arial, sans-serif;
  font-size: clamp(15px, 2.5vw, 20px);
  font-weight: 400;
  text-decoration: none;
  color: rgb(0, 0, 0);
  white-space: nowrap;
}

.nav_link:hover {
  color: rgb(148, 17, 0);
}

.nav_current {
  font-weight: 700;
  text-decoration: underline;
}

/* ---------- Draft / orphan-page banner ---------- */

.draft_banner {
  background: rgb(255, 244, 214);
  border: 1px solid rgb(214, 184, 110);
  color: rgb(90, 70, 20);
  font-size: 13px;
  padding: 8px 14px;
  border-radius: 3px;
  margin: 18px 0 0 0;
}

/* ---------- Breadcrumb ---------- */

.breadcrumb {
  margin: 18px 0 0 0;
  font-size: 14px;
}

.breadcrumb a {
  text-decoration: none;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

/* ---------- Main / page title ---------- */

#site_main {
  padding-top: 24px;
  padding-bottom: 24px;
}

.page_title {
  font-size: clamp(24px, 5vw, 36px);
  font-weight: 400;
  text-align: center;
  margin: 8px 0 24px 0;
  color: rgb(0, 0, 0);
  font-family: 'Helvetica Neue', Arial, sans-serif;
}

/* ---------- Banner (Home page) ---------- */

#banner {
  margin-bottom: 24px;
  overflow: hidden;
  border-radius: 2px;
}

#banner img {
  width: 100%;
}

/* ---------- Shared responsive photo grid ---------- */
/* Used for: gallery thumbnail grids AND link-grid pages
   (Home, Travel, etc.) so the visual language matches. */

.photo_grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.photo_tile {
  display: block;
  position: relative;
  overflow: hidden;
  border-radius: 2px;
  aspect-ratio: 3 / 2;
  text-decoration: none;
}

.photo_tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.photo_tile:hover img {
  transform: scale(1.04);
}

.linkgrid .tile_caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 6px 10px;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  font-size: 14px;
  text-align: center;
}

/* ---------- About-style pages (portrait + bio text) ---------- */

.about_layout {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  align-items: flex-start;
}

.about_portrait {
  flex: 0 0 280px;
  grid-template-columns: 1fr;
}

.about_portrait .photo_tile {
  aspect-ratio: 3 / 4;
}

.bio_text {
  flex: 1 1 360px;
  min-width: 0;
}

.bio_text p {
  font-size: 15px;
  line-height: 1.6;
  color: rgb(20, 20, 20);
  margin: 0 0 14px 0;
}

.bio_heading {
  font-size: 16px;
  font-weight: 700;
  margin: 22px 0 8px 0;
  color: rgb(0, 0, 0);
}

.bio_list {
  margin: 0 0 14px 0;
  padding-left: 20px;
  font-size: 15px;
  line-height: 1.6;
  color: rgb(20, 20, 20);
  columns: 2;
  -webkit-columns: 2;
}

/* ---------- Plain text pages (Photo Services, B&W Printing) ---------- */

.text_page {
  max-width: 720px;
  margin: 0 auto;
  font-size: 15px;
  line-height: 1.6;
  color: rgb(20, 20, 20);
}

.text_page h2 {
  font-size: 18px;
  margin: 28px 0 10px 0;
}

.service_list {
  columns: 2;
  -webkit-columns: 2;
  gap: 24px;
  padding-left: 20px;
}

.price_table_wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.price_table {
  border-collapse: collapse;
  width: 100%;
  min-width: 480px;
  font-size: 14px;
}

.price_table th,
.price_table td {
  border: 1px solid rgba(0, 0, 0, 0.25);
  padding: 8px 10px;
  text-align: left;
}

.price_table th {
  background: rgba(0, 0, 0, 0.08);
}

.fine_print {
  font-size: 12px;
  color: rgb(70, 70, 70);
}

/* ---------- Breakpoints ---------- */

@media (max-width: 600px) {
  #site_header,
  #site_main,
  #site_footer {
    padding-left: 14px;
    padding-right: 14px;
  }

  #site_nav {
    gap: 8px 18px;
  }

  .photo_grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 12px;
  }

  .about_layout {
    flex-direction: column;
  }

  .about_portrait {
    flex-basis: auto;
    max-width: 220px;
    margin: 0 auto;
  }

  .service_list {
    columns: 1;
    -webkit-columns: 1;
  }

  .bio_list {
    columns: 1;
    -webkit-columns: 1;
  }
}
