:root {
  --bg: #f6f0e7;
  --surface: #fffaf3;

  --text: #34251f;
  --muted: #6d5b52;

  --accent: #9b6b43;
  --accent-dark: #7c5433;

  --secondary: #2f5d50;
  --gold: #c7a15a;

  --border: #e8dccf;

  --shadow:
    0 12px 32px rgba(30, 20, 10, 0.08);

  --radius: 20px;

  --max-width: 1200px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);

  font-family: "Inter", sans-serif;
  line-height: 1.6;
  
  background:
  linear-gradient(
    rgba(255,255,255,0.65),
    rgba(255,255,255,0.65)
  ),
  url("images/paper-texture.jpg");

background-size: cover;
background-attachment: fixed;
}

img {
  display: block;
  width: 100%;
}

a {
  text-decoration: none;
}

.section {
  width: min(100% - 2rem, var(--max-width));
  margin-inline: auto;
  padding: 6rem 0;
}

.alt-section {
  background: var(--surface);
  width: 100%;
  padding-inline: 1rem;
}

.alt-section .section-header,
.alt-section .card-grid {
  width: min(100%, var(--max-width));
  margin-inline: auto;
}

.section-header {
  margin-bottom: 3rem;
}

.eyebrow {
  letter-spacing: 0.2rem;
  font-size: 0.8rem;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

h1,
h2,
h3 {
  font-family: "Cormorant Garamond", serif;
  line-height: 1.1;
}

h1 {
  font-size: clamp(3rem, 8vw, 5.5rem);
}

h2 {
  font-size: clamp(2rem, 5vw, 3rem);
}

h3 {
  font-size: 1.5rem;
}

p {
  color: var(--muted);
}

/* NAVBAR */

.navbar {
  position: fixed;
  top: 0;

  width: 100%;
  z-index: 100;

  display: flex;
  justify-content: space-between;
  align-items: center;

  padding: 1.25rem 2rem;

  backdrop-filter: blur(12px);
  background: rgba(248, 243, 238, 0.8);

  border-bottom: 1px solid rgba(0,0,0,0.04);
}

.logo {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.3rem;
  font-weight: 700;
}

.nav-links {
  display: flex;
  gap: 1.5rem;
}

.nav-links a {
  color: var(--text);
  transition: opacity 0.2s ease;
}

.nav-links a:hover {
  color: var(--secondary);
}

.nav-links a {
  position: relative;
}

.nav-links a::after {
  content: "";

  position: absolute;
  left: 0;
  bottom: -4px;

  width: 0%;
  height: 1px;

  background: var(--gold);

  transition: width 0.25s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

/* HERO */

.hero {
  position: relative;
  min-height: 100vh;

  display: grid;
  place-items: center;

  overflow: hidden;
}

.signature {
  font-style: italic;
  color: rgba(255,255,255,0.78);

  margin-top: -0.5rem;
}

.hero-image {
  position: absolute;
  inset: 0;

  width: 100%;
  height: 100%;

  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;

  background:
    linear-gradient(
      to bottom,
      rgba(0,0,0,0.35),
      rgba(0,0,0,0.45)
    );
}

.hero-content {
  position: relative;
  z-index: 1;

  text-align: center;
  color: white;

  width: min(90%, 700px);
}

.hero-content p {
  color: rgba(255,255,255,0.85);

  font-size: 1.1rem;

  margin:
    1.5rem auto
    2rem;
}

.hero-button {
  display: inline-block;

  padding:
    0.95rem
    1.5rem;

  border-radius: 999px;

  background: var(--accent);
  color: white;

  font-weight: 600;

  transition:
    transform 0.2s ease,
    background 0.2s ease;
}

.hero-button:hover {
  transform: translateY(-2px);
  background: var(--accent-dark);
}

.divider {
  width: 120px;
  height: 2px;

  margin: 0 auto;

  background:
    linear-gradient(
      to right,
      transparent,
      var(--gold),
      transparent
    );
}

/* ABOUT */

.about-grid {
  display: grid;
  gap: 2rem;

  grid-template-columns:
    repeat(auto-fit, minmax(280px, 1fr));
}

/* CARDS */

.card-grid {
  display: grid;
  gap: 2rem;

  grid-template-columns:
    repeat(auto-fit, minmax(260px, 1fr));
}

.card {
  background: white;

  border-radius: var(--radius);

  overflow: hidden;

  box-shadow: var(--shadow);
}

.card img {
  height: 260px;
  object-fit: cover;
}

.card-content {
  padding: 1.5rem;
}

.card-content p {
  margin-top: 0.5rem;
}

/* GALLERY */

.gallery-grid {
  display: grid;
  gap: 1rem;

  grid-template-columns:
    repeat(auto-fit, minmax(220px, 1fr));
}

.gallery-grid img {
  height: 250px;

  object-fit: cover;

  border-radius: var(--radius);

  transition:
    transform 0.25s ease,
    opacity 0.25s ease;
}

.gallery-grid img:hover {
  transform: scale(1.02);
  opacity: 0.92;
}

/* CONTACT */

.contact-card {
  background: white;

  padding: 2rem;

  border-radius: var(--radius);

  box-shadow: var(--shadow);
}

.contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;

  margin-top: 2rem;
}

.contact-links a {
  padding:
    0.8rem
    1.2rem;

  border-radius: 999px;

  background: var(--bg);

  color: var(--text);

  transition:
    background 0.2s ease,
    transform 0.2s ease;
}

.contact-links a:hover {
  background: var(--border);
  transform: translateY(-2px);
}

/* FOOTER */

.footer {
  padding: 2rem;

  text-align: center;

  color: var(--muted);
}

/* MOBILE */

@media (max-width: 700px) {

  .navbar {
    flex-direction: column;
    gap: 1rem;
  }

  .nav-links {
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
  }

  .hero-content p {
    font-size: 1rem;
  }

}