
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300..700;1,300..700&family=Montserrat:ital,wght@0,100..900;1,100..900&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');


/* GENERALES */

:root {
  --body-font: 'Cormorant Garamond', serif;
  --nav-font: 'Montserrat', sans-serif;
}

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

body {
    background-color: #fffef9;
}

ul {
    list-style-type: none;
}

a {
    text-decoration: none;
    color: rgb(255, 255, 255);
}

/* BASE STYLES */

body {
    font-family: var(--body-font);
}

/* HEADER */

.header {
  background-color: rgba(19, 22, 26, 0);
  z-index: 999;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  transition: background-color 0.5s ease;
}

.header .header__content {
  position: relative;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 30px;
}

/* Both navs take equal space */
.nav {
  flex: 1;
  display: flex;
  align-items: center;
}

.nav--left {
  justify-content: flex-start;
}

.nav--right {
  justify-content: flex-end;
}

.nav__list {
  display: flex;
  column-gap: 40px;
  list-style: none;
}

/* Logo stays centered and doesn't grow */
.logo {
  flex: 0 0 120px;
  display: flex;
  justify-content: center;
}

.logo .logo__img {
  width: 120px;
  transition: width 0.4s ease;
}

.nav__link {
  font-family: var(--nav-font);
  font-weight: 300;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 13px;
  transition: all 0.5s;
}

.nav__link:hover {
  color: black;
}

/* Toggle hidden on desktop */
.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
  margin-left: 20px;
}

.nav__toggle span {
  display: block;
  width: 24px;
  height: 1.5px;
  background-color: white;
  transition: all 0.3s ease;
}
/* HEADER SCROLL */

.header-scrolled {
    background-color: #fffef9;
    /* box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); */
    transition: all 0.4s ease;
}

.header-scrolled .nav__link {
    color: #000; 
}

.header-scrolled .logo img {
    filter: brightness(1);
}

/* HERO */

#hero {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    background-color: rgb(55, 41, 185);
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.5), transparent);
    z-index: 1;
}

#hero .content {
    z-index: 888;
    color: white;
    text-align: center;
}

#hero img {
    z-index: 000;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

/* MAIN SECTION */

.text {
  text-align: center;
  margin-top: 10rem;
  margin-bottom: 5rem;
  padding: 0 20px;
}

.text__label {
  display: block;
  font-family: var(--nav-font);
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: #888;
  margin-bottom: 1rem;
}

.text__title {
  font-family: var(--body-font);
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 300;
  color: #1a1a1a;
  line-height: 1.1;
  margin-bottom: 1.2rem;
}

.text__body {
  font-family: var(--body-font);
  font-style: italic;
  font-size: clamp(1rem, 2vw, 1.3rem);
  color: #555;
  font-weight: 300;
}

.text__divider {
  width: 40px;
  height: 1px;
  background-color: #999;
  margin: 2rem auto 0;
}

/* FEATURED SECTION */
.featured {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-bottom: 80px;
}

.featured__item {
  display: block;
  position: relative;
  width: 100%;
  height: 85vh;
  overflow: hidden;
  text-decoration: none;
}

/* Every other image is narrower and offset to the right */
.featured__item--right .featured__img-wrap {
  margin-left: auto;
  width: 75%;
}

.featured__img-wrap {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.featured__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.8s ease;
}

.featured__item:hover .featured__img-wrap img {
  transform: scale(1.03);
}

.featured__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 50%, rgba(0,0,0,0.4));
  transition: background 0.4s ease;
}

.featured__item:hover .featured__overlay {
  background: linear-gradient(to bottom, transparent 40%, rgba(0,0,0,0.5));
}

.featured__caption {
  position: absolute;
  bottom: 30px;
  left: 40px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.featured__item--right .featured__caption {
  left: auto;
  right: 40px;
  text-align: right;
}

.featured__collection {
  font-family: var(--body-font);
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  font-weight: 300;
  color: white;
  line-height: 1;
}

.featured__cta {
  font-family: var(--nav-font);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  transition: letter-spacing 0.3s, color 0.3s;
}

.featured__item:hover .featured__cta {
  letter-spacing: 0.3em;
  color: white;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .featured__item {
    height: 70vw;
  }

  .featured__item--right .featured__img-wrap {
    width: 100%;
    margin-left: 0;
  }

  .featured__item--right .featured__caption {
    left: 20px;
    right: auto;
    text-align: left;
  }

  .featured__caption {
    left: 20px;
    bottom: 20px;
  }
}

/* FOOTER */

/* FOOTER */
.footer {
  border-top: 1px solid #ddd;
  padding: 50px 20px 30px;
  text-align: center;
  background-color: #fffef9;
  margin-top: 80px;
}

.footer__social {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-bottom: 24px;
}

.footer__social-link img {
  width: 22px;
  height: 22px;
  opacity: 0.5;
  transition: opacity 0.3s;
  filter: grayscale(100%);
}

.footer__social-link:hover img {
  opacity: 1;
}

.footer__info {
  margin-bottom: 24px;
}

.footer__location {
  font-family: var(--body-font);
  font-size: 1rem;
  font-weight: 300;
  color: #888;
  letter-spacing: 0.05em;
  margin-bottom: 10px;
}

.footer__contact {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.footer__link {
  font-family: var(--nav-font);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #888;
  text-decoration: none;
  transition: color 0.3s;
}

.footer__link:hover {
  color: #1a1a1a;
}

.footer__separator {
  color: #ccc;
  font-size: 12px;
}

.footer__copy {
  font-family: var(--nav-font);
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #ccc;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .footer__contact {
    flex-direction: column;
    gap: 6px;
  }

  .footer__separator {
    display: none;
  }
}

/* HAMBURGER BUTTON */
.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
  z-index: 1000;
}

.nav__toggle span {
  display: block;
  width: 24px;
  height: 1.5px;
  background-color: white;
  transition: all 0.3s ease;
}

.header-scrolled .nav__toggle span {
  background-color: #1a1a1a;
}

/* Hamburger open state */
.nav__toggle.open span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}
.nav__toggle.open span:nth-child(2) {
  opacity: 0;
}
.nav__toggle.open span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* MOBILE NAV OVERLAY */
.nav__mobile {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: #fffef9;
  z-index: 998;
  justify-content: center;
  align-items: center;
}

.nav__mobile.open {
  display: flex;
}

.nav__mobile-list {
  list-style: none;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.nav__mobile-link {
  font-family: var(--body-font);
  font-size: clamp(2rem, 6vw, 3rem);
  font-weight: 300;
  color: #1a1a1a;
  letter-spacing: 0.05em;
  transition: color 0.3s;
}

.nav__mobile-link:hover {
  color: #888;
}

/* MEDIA QUERIES */
@media (max-width: 768px) {

  /* Hide nav lists, not the entire nav */
  .nav__list {
    display: none;
  }

  /* Keep the right nav visible for the hamburger */
  .nav--left {
    display: none;
  }

  .nav--right {
    display: flex;
    justify-content: flex-end;
  }

  .nav__toggle {
    display: flex;
  }

  /* Image grid: single column */
  .image-grid {
    grid-template-columns: 1fr;
    grid-template-areas:
      "images1"
      "images2"
      "images3"
      "images4";
    padding: 0 20px 40px;
    gap: 12px;
  }

  /* Text section spacing */
  .text {
    margin-top: 6rem;
    margin-bottom: 3rem;
  }

  /* Footer stacked */
  .footer {
    flex-direction: column;
    text-align: center;
    gap: 1.5rem;
    padding: 2rem 20px;
  }
}