@font-face {
  font-family: "Allura";
  src: url("fonts/allura-400-normal-latin.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: "Great Vibes";
  src: url("fonts/great-vibes-400-normal-latin.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: "Cormorant Garamond";
  src: url("fonts/cormorant-garamond-400-normal-latin.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: "Josefin Slab";
  src: url("fonts/josefin-slab-400-normal-latin.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
}

body {
  margin: 0;
  font-family: "Josefin Slab", "Cormorant Garamond";
  background-color: #f8f5f1;
  color: #3b3b3b;
}

/* LEFT + RIGHT BACKGROUNDS */
body::before,
body::after {
  content: "";
  position: fixed;
  top: 0;
  width: 20%;
  height: 50%;
  background-size: cover;
  background-position: center;
  z-index: -2;
}

/* LEFT IMAGE */
body::before {
  left: 0;
  background-image: url("images/bkg2.png");
}

/* RIGHT IMAGE */
body::after {
  right: 0;
  background-image: url("images/bkg1.png");
}

header {
  padding: 20px;
  background: transparent;
  text-align: center;

  width: 100%;
  max-width: 800px;
  margin: 0 auto;

  border-radius: 12px 12px 0 0;
}

h1 {
  font-family: "Great Vibes", cursive;
  font-size: 64px;
  color: #333;
  margin-bottom: 10px;
}

nav {
  font-family: "Josefin Slab";
  margin-top: 10px;

  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

nav a {
  font-family: "Josefin Slab";
  margin: 0 10px;
  text-decoration: none;
  color: #333;
  font-weight: bold;
}

nav a:hover {
  font-family: "Josefin Slab";
  color: #b48a78;
}

main {
  position: relative;
  z-index: 1;

  width: min(800px, 92vw);
  margin: 20px auto;

  background: white;
  padding: 24px;
  border-radius: 12px;

  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
  text-align: center;
}

.main-image {
  width: 100%;
  max-width: 700px;
  border-radius: 12px;
  margin: 15px 0;
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}


.date {
  text-align: center;
  margin-bottom: 30px;
  font-size: 2rem;
}

.date h2 {
  margin-bottom: 5px;
  font-size: 2rem;
}

.time {
  color: #8a7a70;
  font-size: 1.5rem;
}

.description {
  margin: 40px 0;
}

.description p {
  margin-bottom: 20px;
}

.location {
  text-align: center;
  margin-bottom: 30px;
}

.location h3 {
  margin-bottom: 10px;
  font-size: 1.5rem;
}

iframe {
  width: 80%;
  height: 200px;
  border: 0;
  border-radius: 16px;
  margin-top: 20px;
}

.buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 35px;
}

.button {
  background-color: #5c4b43;
  color: white;
  text-decoration: none;
  padding: 14px 28px;
  border-radius: 999px;
  transition: 0.3s;
  font-size: 0.95rem;
}

.button:hover {
  background-color: #3f332d;
}

.places-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.place-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.place-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.place-content {
  padding: 25px;
}

.category {
  font-size: 0.8rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #8a7a70;
  margin-bottom: 10px;
}

.place-content h2 {
  font-size: 1.4rem;
  margin-bottom: 15px;
  color: #5c4b43;
}

.place-content p {
  margin-bottom: 18px;
  color: #555;
}

.website-link {
  text-decoration: none;
  color: #5c4b43;
  font-weight: bold;
}

.website-link:hover {
  opacity: 0.7;
}

.lang-switch {
  position: absolute;
  top: 30px;
  right: 250px;
  font-size: 1rem;
  letter-spacing: 1px;
  font-weight: 600;
}

.lang-switch a {
  text-decoration: none;
  color: #5c4b43;
  font-weight: 600;
}

.gifts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.gift-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.gift-card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
}

.gift-content {
  padding: 25px;
}

.category {
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.8rem;
  color: #8a7a70;
  margin-bottom: 10px;
}

.gift-content h2 {
  margin-bottom: 15px;
  color: #5c4b43;
}

.price {
  margin: 20px 0;
  font-size: 1.1rem;
}

.buy-button {
  display: inline-block;
  padding: 12px 24px;
  background: #5c4b43;
  color: white;
  text-decoration: none;
  border-radius: 999px;
  transition: 0.3s;
}

.buy-button:hover {
  background: #3f332d;
}

@media (max-width: 768px) {

  h1 {
    font-size: 42px;
  }

  main {
    padding: 18px;
  }

  iframe {
    width: 100%;
  }

  nav a {
    font-size: 14px;
  }

  .lang-switch {
    right: 20px;
    top: 20px;
    font-weight: 700;
  }
}
