/* Color palette */
:root {
  --ivory: #faf7f2;
  --charcoal: #2b2b2b;
  --gold: #b08d57;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background-color: var(--ivory);
  color: var(--charcoal);
  font-family: "Montserrat", sans-serif;
  font-weight: 300;
  line-height: 1.7;
}

h1,
h2 {
  font-family: "Oxygen", sans-serif;
  font-weight: 600;
}

/* Header and navigation */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 30px;
}

header h1 {
  margin: 0;
}

/* Navigation links */
.main-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
}

.main-nav a {
  color: inherit;
  text-decoration: none;
  font-family: "Oxygen", sans-serif;
  font-size: 1.2rem;
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 0.2em;
}

.main-nav a:hover,
.main-nav a[aria-current="page"] {
  color: var(--gold);
}

/* Video showcase */
.showcase {
  display: flex;
  flex-direction: column;
  align-items: center;
    padding: 0 20px 60px;
  background-color: #000;
}

.showcase-video {
  display: block;
  width: var(--stage);
  max-width: 100%;
  height: auto;
  margin-top: calc(var(--stage) * -0.07);
}

.showcase-link {
  margin-top: 10px;
  padding: 12px 32px;
  border: 1px solid var(--gold);
  color: var(--gold);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.75rem;
  transition:
    background-color 0.3s ease,
    color 0.3s ease;
}

.showcase-link:hover {
  background-color: var(--gold);
  color: #000;
}

.tagline {
  margin: calc(var(--stage) * -0.08) 0 30px;
  color: var(--gold);
  font-family: "Oxygen", sans-serif;
  font-size: 1.1rem;
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  text-align: center;
}

/* Main content */
main {
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 20px;
  text-align: center;
}

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

/* Collection page */
.category {
  margin-top: 60px;
}

.category h3 {
  margin: 0 0 25px;
  color: var(--gold);
  font-family: "Oxygen", sans-serif;
  font-size: 0.9rem;
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 0.3em;
}

.category-feature {
  max-width: 900px;
  margin: 0 auto;
}

.category-feature img {
  width: 100%;
  height: auto;
}

.feature-small {
  max-width: 800px;
  margin: 0 auto;
}

/* Gallery grid */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.gallery img {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gallery img:hover {
  transform: scale(1.03);
}

/* Collection: even grid with featured photos */
.gallery-all {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-flow: dense;
  gap: 20px;
  margin-top: 40px;
}

.gallery-all img {
  width: 100%;
  height: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gallery-all img:hover {
  transform: scale(1.03);
}

.gallery-all .feature {
  grid-column: span 2;
  grid-row: span 2;
}

/* Collection: closing note */
.collection-note {
  max-width: 620px;
  margin: 80px auto 0;
}

.collection-note p {
  font-size: 1.1rem;
  margin: 0 0 30px;
}

.note-link {
  display: inline-block;
  padding: 12px 32px;
  border: 1px solid var(--gold);
  color: var(--gold);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.75rem;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.note-link:hover {
  background-color: var(--gold);
  color: var(--ivory);
}

/* Gallery: two columns of landscape photos */
.gallery-landscape {
  grid-template-columns: repeat(2, 1fr);
}

.gallery-landscape img {
  aspect-ratio: 4 / 3;
}

/* If the last photo is alone on its row, center it */
.gallery-landscape img:last-child:nth-child(odd) {
  grid-column: 1 / -1;
  justify-self: center;
  width: calc(50% - 10px);
}

/* Gallery: tall photos */
.gallery-portrait {
  margin-top: 40px;
}

.gallery-portrait img {
  aspect-ratio: 3 / 4;
}

/* Contact page */
.contact-details {
  font-style: normal;
  font-size: 1.05rem;
  line-height: 1.8;
}

.contact-label {
  margin: 40px 0 8px;
  color: var(--gold);
  font-family: "Oxygen", sans-serif;
  font-size: 0.75rem;
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 0.3em;
}

.contact-details a {
  color: inherit;
  text-decoration: none;
}

.contact-details a:hover {
  color: var(--gold);
}

.contact-details p {
  margin-top: 0;
}

/* Contact page: two columns */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: start;
  text-align: left;
}

.contact-layout h2 {
  margin-top: 0;
  margin-bottom: 30px;
}

/* Contact form */
.contact-form {
  max-width: 600px;
}

.contact-form input,
.contact-form textarea {
  display: block;
  width: 100%;
  margin-bottom: 20px;
  padding: 14px 16px;
  border: 1px solid rgba(176, 141, 87, 0.4);
  border-radius: 2px;
  background-color: #fff;
  color: var(--charcoal);
  font-family: "Montserrat", sans-serif;
  font-size: 1rem;
  font-weight: 300;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid var(--gold);
  outline-offset: 1px;
  border-color: var(--gold);
}

.contact-form button {
  padding: 14px 40px;
  border: none;
  background-color: var(--charcoal);
  color: var(--ivory);
  font-family: "Oxygen", sans-serif;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.contact-form button:hover {
  background-color: var(--gold);
}

/* Hide the spam trap from everyone */
.hidden {
  display: none;
}

/* Hide visually, but keep for screen readers */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

/* About page */
.about-story {
  max-width: 680px;
  margin: 0 auto;
  font-size: 1.1rem;
}

.about-services {
  margin-top: 80px;
}

.services {
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;;
  gap: 40px;
  margin: 40px 0 0;
  padding: 0;
  list-style: none;
}

.services h3 {
  margin: 0 0 10px;
  color: var(--gold);
  font-family: "Oxygen", sans-serif;
  font-size: 0.8rem;
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 0.25em;
}

.services p {
  margin: 0;
}

.services-photo img {
  width: 100%;
  height: 100%;
  aspect-ratio: 12 / 5;
  object-fit: cover;
}

/* Center the two services beside the photo */
.services li:nth-child(4),
.services li:nth-child(6) {
  align-self: center;
}

.services li:nth-child(5) {
  align-self: center;
}

.about-invite {
  margin-top: 80px;
  font-size: 1.05rem;
}

.about-invite a {
  color: var(--gold);
}

/* Footer */
.site-footer {
  margin-top: 80px;
  padding: 40px 20px 30px;
  border-top: 1px solid rgba(176, 141, 87, 0.4);
  text-align: center;
  font-size: 0.85rem;
}

.footer-line {
  margin: 0;
}

.copyright {
  margin: 20px 0 0;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  opacity: 0.6;
}

/* Logo */
.logo {
  display: block;
  width: 180px;
  max-width: 45vw;
  height: auto;
}

/* Home page */
.home {
  --stage: min(640px, 100vw - 40px);
  background-color: #000;
  color: var(--ivory);
}

.home header {
  position: relative;
  flex-direction: column;
  justify-content: center;
    padding: 40px 20px 0;
}

.home .logo {
  width: calc(var(--stage) * 0.76);
  max-width: none;
  transform: translateX(-11px);
}

/* Home page: links on the left, logo stays centered */
.home .main-nav {
  position: absolute;
  top: 50%;
  left: 30px;
  transform: translateY(-50%);
}

/* Centered navigation: links across the top center */
.centered-nav header {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}

.centered-nav .main-nav {
  grid-column: 2;
  flex-direction: row;
  gap: 40px;
}

.centered-nav header h1 {
  grid-column: 3;
  justify-self: end;
}

/* Phones */
@media (max-width: 700px) {
  header {
    flex-direction: column;
    gap: 20px;
  }

  .centered-nav header {
    display: flex;
  }

  .centered-nav .main-nav {
    gap: 12px 20px;
  }

  .home .main-nav {
    position: static;
    transform: none;
  }

  .main-nav {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px 20px;
  }

  .contact-layout {
    grid-template-columns: 1fr;
    gap: 50px;
  }

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

  .gallery-landscape img:last-child:nth-child(odd) {
    width: 100%;
  }

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

/* About services: one column on tablets and phones */
@media (max-width: 900px) {
  .services {
    grid-template-columns: 1fr;
  }

  .services-photo {
    grid-column: auto;
  }
}
