* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

:root {
  --text-color-light: #fefefd;
  --text-color-dark: #322d22;
  --text-color-accent: #576b33;
  --main-background-color: #fdfcf8;
  --second-background-color: #f9f7ec;
  --header-background-color: rgba(255,255,255, 0.9);
  --section-border-color: rgba(0,0,0,0.06);
  --button-border-color: #ffffff;
  --content-width: 1100px;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, sans-serif;
  font-size: 1.05rem;
  color: var(--text-color-dark);
  line-height: 1.7;
  background-color: var(--main-background-color);
}

h1, h2 {
  margin-top: 0;
}

h1 { 
  margin-bottom: 1rem;
  font-size: 2.6rem;
  font-weight: 400;
  letter-spacing: 0.02em;
}

h2 { 
  margin-bottom: 2rem;
  font-size: 3.5rem;
  font-weight: 300;
  letter-spacing: 0.04em;
  color: var(--text-color-accent); 
}

p {
  margin: 0 0 1.2rem 0;
  opacity: 90%;
}

a {
  color: var(--text-color-dark);
  opacity: 90%;
}

/* HEADER */

header {
  position: sticky;
  top: 0;
  background-color: var(--header-background-color);
  backdrop-filter: blur(6px);
  z-index: 10;
  transition: background 0.4s ease, opacity 0.4s ease;
}

nav {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 1rem 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1rem;
}

.nav-title {
  text-decoration: none; 
  color: var(--text-color-dark); 
  letter-spacing: 0.1em;
  font-size: 1.4rem;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.4rem;
  cursor: pointer;
  color: var(--text-color-dark); 
}

.nav-links a {
  margin-left: 1.5rem;
  text-decoration: none;
  color: var(--text-color-accent);
  transition: color 0.3s ease;

  &:hover { 
    color: var(--text-color); 
  }
}

/* MAIN */

/* HERO */

.hero {
  background-image: url('background.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.hero__content {
  max-width: 1000px;
  margin: auto;
  text-align: center;
  padding: 8rem 3.5rem 14rem;
  font-size: 1.1rem;
  color: var(--text-color-light);
}

.hero__title {
  font-size: 6rem;
  font-weight: 350;
  margin-bottom: 0;
}

.hero__tagline {
  font-size: 2rem;
  padding-bottom: 1rem;
}

/* SECTION */

.section {
  padding: 5rem 1.5rem;
}

.section--grey {
  background-color: var(--second-background-color);
}

.section__content {
  max-width: var(--content-width);
  margin: auto;
  display: flex;
  gap: 4rem;
  align-items: flex-start;
}

.section__content--map {
  max-width: 350px;
}

.section__content--wide-gap {
  gap: 8rem;
}

.section__text {
  flex: 1;
}

.section__quote {
  text-align: center;
  color: var(--text-color-accent);
  font-size: 1.6rem;
  font-style: italic;
  font-weight: 380;
}

.section__image {
  max-width: 350px;
  margin-bottom: 1.5rem;
}

.section__image img {
  width: 100%;
  object-fit: cover;
  opacity: 0.95;
  border-radius: 28px;
  transition: filter 0.4s ease, opacity 0.4s ease;
}

.section__image--right {
  margin-top: 8rem;
}

.section__image--left {
  margin-top: 1rem;
}

.section__image--wide {
  max-width: 450px;
}

/* MISC */

.button {
  margin-top: 0.5rem;
  padding: 0.4rem 1.5rem 0.5rem;
  border-radius: 999px;
  border: 1px solid var(--button-border-color);
  cursor: pointer;
  transition-duration: 0.4s;
  text-decoration: none;
  color: var(--text-color-light);
  display: inline-block;
}

.button:hover {
  background-color: rgba(0,0,0,0.3);
  border: 1px solid var(--button-border-color);
}

.nav-anchor {
  position: relative;
  top: -8rem;
}

.quote-block {
  padding: 0 2rem;
  margin: 1rem 0;
  color: var(--text-color-accent);
  font-size: 1.6rem;
  font-style: italic;
  font-weight: 380;
}

.contact-invitation {
  font-size: 1.3rem;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.contact-icon {
  max-width: 1.3rem;
  height: 100%;
  opacity: 0.9;
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--text-color-accent);
}


.map-wrapper {
  margin-top: 2rem;
  border-radius: 24px;
  overflow: hidden;

  box-shadow:
    0 12px 40px rgba(0,0,0,0.05);
}

.map-wrapper iframe {
  width: 100%;
  height: 320px;
  border: 0;

  filter:
    sepia(25%)
    saturate(0.9)
}

/* FOOTER */

.footer {
  text-align: center;
}

.footer__content {
  padding: 2rem 1rem;
  background-color: var(--second-background-color);
}

.footer__container {
  max-width: 900px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4rem;
}

.footer__column h3 {
  color: var(--text-color-accent);
  margin-top: 0;
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
  letter-spacing: 0.08em;
  font-weight: 500;
}

.footer__column a,
.footer__column p {
  display: block;
  margin-bottom: 0.25rem;
  text-decoration: none;
}

.footer__bottom {
  padding: 0.5rem 0;
  font-size: 0.85rem;
  color: var(--text-color);
  text-decoration: none;
  background-color: #ece8d7;
}

/* SMALL SCREEN */

@media (max-width: 1000px) {
  .section__image {
    max-width: 200px;
  }

  .quote-block {
    font-size: 1.4rem;
    padding: 0 0.5rem;
  }

  .section__content--wide-gap {
    gap: 4rem;
  }
}

/* MOBILE */

@media (max-width: 750px) {

  h2 {
    margin-bottom: 1.5rem;
    font-size: 2.5rem;
    text-align: center;
  }

  /* NAV */

  .nav-toggle { display: block; }
  .nav-toggle::after { content: '☰'; }
  .nav-toggle.is-open::after { content: '✕'; }
  
  .nav-links {
    position: absolute;
    top: 100%;
    right: 0;
    width: 100%;
    flex-direction: column;
    background-color: white;
    border-top: 1px solid var(--section-border-color);
    padding: 0 1.5rem;
    gap: 1.4rem;
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
    font-size: 1.1rem;
    overflow: hidden;
    opacity: 0;
    display: flex;
    max-height: 0;
    transition: max-height 0.3s ease, opacity 0.2s ease, padding 0.3s ease;
  }

  .nav-links.is-open { 
    opacity: 1;
    max-height: 500px;
    padding: 1.5rem;
  }

  .nav-anchor {
    top: -6rem;
  }

  /* SECTION */

  .hero {
    background-attachment: scroll;
  }

  .hero__content {
    padding: 2rem 1.5rem 6rem;
  }

  .section { 
    padding: 2rem 1.5rem;
  }

  .section__content {
    flex-direction: column;
    gap: 0;
  }

  .section__image {
    max-width: 350px;
    order: -1;
    margin: auto;
    padding-bottom: 1rem;
  }

  .section__content--map {
    order: 2;
    width: 100%;
    max-width: 450px;
    padding-top: 2rem;
    border-top: 1px solid rgba(0,0,0,0.1);
    margin-top: 1rem;
  }

  .section__content--map h2 {
    display: none;
  }

  .section__quote {
    padding: 1rem 0;
  }

  .map-wrapper iframe {
    height: 280px;
  }

  .quote-block {
    display: none;
  }

  /* FOOTER */

  .footer__container {
    gap: 0;
  }
}

@media (max-width: 600px) {
  .footer__container {
    grid-template-columns: none;
    margin-bottom: 1rem;
  }

  .footer__column {
    margin-top: 1rem;
  }

  .footer__column h3,
  .footer__column a {
    margin: 0;
  }
}