@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400&display=swap');

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Cormorant Garamond', Georgia, serif;
  -webkit-font-smoothing: antialiased;
  background: #ffffff;
  color: #1a1a1a;
}

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

/* -------------------------------------------------- Navbar */

#navbar {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 10;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 20px 40px;
}

/* Left: logo + brand name */
.nav-left {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
}

.nav-logo {
  height: 62px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}

.nav-brand {
  color: #ffffff;
  font-size: 21px;
  font-weight: 400;
  letter-spacing: 0.03em;
  white-space: nowrap;
  transform: translateY(-3px);
}

/* Center: section links */
.nav-center {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-link {
  color: #ffffff;
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  position: relative;
  padding-bottom: 5px;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 10%;
  width: 80%;
  height: 1px;
  background: #ffffff;
  opacity: 0;
  transition: opacity 0.25s;
}

.nav-link:hover::after {
  opacity: 1;
}

/* Right: icon links */
.nav-right {
  display: flex;
  align-items: center;
  gap: 18px;
  justify-self: end;
}

.nav-right a {
  display: flex;
  align-items: center;
}

.nav-right img {
  height: 20px;
  width: 20px;
  filter: brightness(0) invert(1);
  opacity: 0.85;
  transition: opacity 0.2s;
}

.nav-right a:hover img {
  opacity: 1;
}

/* -------------------------------------------------- Hero */

#hero {
  position: relative;
  width: 100vw;
  height: 100vh;
  background-size: cover;
  background-position: 60% center;
  background-repeat: no-repeat;
  overflow: hidden;
}

/* Dark overlay for text legibility */
#hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.25);
  z-index: 1;
}

.hero-text {
  position: absolute;
  z-index: 2;
  top: 60%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #ffffff;
  width: 92vw;
  pointer-events: none;
}

.hero-name {
  font-size: clamp(44px, 9.5vw, 148px);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.01em;
}

.hero-subtitle {
  font-size: clamp(16px, 3.1vw, 50px);
  font-weight: 300;
  line-height: 1.3;
  margin-top: 0.4em;
  letter-spacing: 0.05em;
}

.hero-location {
  font-size: clamp(13px, 2.5vw, 38px);
  font-weight: 300;
  line-height: 1.3;
  margin-top: 0.15em;
  letter-spacing: 0.05em;
}

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

#gallery {
  background: #ffffff;
  padding: 80px 6%;
}

.section {
  margin-top: 6rem;
  scroll-margin-top: 20px;
}

.section:first-child {
  margin-top: 0;
}

.section-header-wrapper {
  margin-bottom: 2rem;
}

.section-title {
  font-size: clamp(22px, 2.2rem, 48px);
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.section-description {
  margin-top: 0.5rem;
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.5;
  color: #555555;
}

.section-images {
  margin-top: 2rem;
  opacity: 0;
  transition: opacity 0.4s ease;
}

/* Required for JustifiedGrid */
.section-image {
  display: block;
  background: #ebebeb;
}

.section-image img {
  width: 100%;
  display: block;
}

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

footer {
  margin: 5rem 0 4rem;
  text-align: center;
}

footer p {
  font-size: 0.9rem;
  font-weight: 300;
  letter-spacing: 0.04em;
  color: #999999;
}

/* -------------------------------------------------- Mobile */

@media (max-width: 768px) {
  #navbar {
    padding: 14px 20px;
  }

  .nav-center {
    display: none;
  }

  .nav-brand {
    font-size: 18px;
  }

  .nav-logo {
    height: 49px;
  }

  .nav-right {
    gap: 14px;
  }

  .nav-right img {
    height: 18px;
    width: 18px;
  }

  .hero-text {
    top: 58%;
    width: 96vw;
  }

  #gallery {
    padding: 60px 4%;
  }
}
