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

:root {
  --col-sage: #575232;
  --col-paper: #fafaf9;
  --col-wood: #8d785b;
  --col-blueberry: #327eb1;
  --col-royal: #4a545e;
  --radius: 4px;
}

html {
  font-family: "Cormorant Garamond", serif;
  line-height: 1.6;
  color: var(--col-sage);
  background-color: var(--col-paper);
  font-size: 20px;
}

.and {
  font-size: 24px;
  font-family: "Dancing Script", cursive;
  text-transform: none;
}

header {
  text-align: center;
  padding: 100px 20px;
  background: var(--col-royal);
  /* background: linear-gradient(
      rgba(255, 255, 255, 0.8),
      rgba(255, 255, 255, 0.8)
    ),
    url("https://images.unsplash.com/photo-1519225421980-715cb0215aed?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80"); */
  background-size: cover;
  background-position: center;
  margin-bottom: 60px;
  color: white;
}

form {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 15px;
  margin: 20px auto;
  max-width: 300px;
}

input {
  padding: 10px 15px;
  border: 1px solid #d4b78f;
  border-radius: 4px;
  background-color: rgba(255, 255, 255, 0.9);
  width: 100%;
  font-size: 16px;
  color: #333;
  transition: border-color 0.3s;
}

input:focus {
  outline: none;
  border-color: #b89b6d;
  box-shadow: 0 0 5px rgba(184, 155, 109, 0.5);
}

/* .wedding-button {
  font-family: 'Cormorant Garamond', serif;
  background-color: #d4b78f;
  color: white;
  border: none;
  padding: 10px 25px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 16px;
  transition: background-color 0.3s;
  letter-spacing: 1px;
}

.wedding-button:hover {
  background-color: #b89b6d;
} */

h1 {
  /* font-family: "Playfair Display", serif; */
  font-family: "Cormorant Garamond", serif;
  text-transform: uppercase;
  font-weight: 300;
  font-size: 3.5em;
  /* color: #2c3e50; */
  margin-bottom: 10px;
  line-height: 1.2;
}

.date {
  font-size: 1.5em;
  /* color: #7f8c8d; */
}

/* Main content */
.main-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}

section {
  text-align: center;
  margin-bottom: 60px;
  max-width: 900px;
  margin-inline: auto;
  padding-inline: 20px;
}

h2 {
  text-transform: uppercase;
  margin-bottom: 20px;
  text-align: center;
}

.event-details {
  max-width: 600px;
  margin: 30px auto;
  padding: 20px;
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
}

/* Hotels section */
.hotel-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.hotel {
  border: 1px solid var(--col-wood);
  background-color: white;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.hotel h3 {
  margin-bottom: 15px;
}

a {
  display: inline-block;
  color: var(--col-blueberry);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

button {
  font-family: "Cormorant Garamond", serif;
  background-color: #d4b78f;
  color: white;
  border: none;
  padding: 10px 25px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 16px;
  transition: background-color 0.3s;
  letter-spacing: 1px;
}

button:hover {
  background-color: #b89b6d;
}

footer {
  text-align: center;
  padding: 40px 20px;
  background-color: var(--col-royal);
  color: white;
}

/* Responsive design */
@media (max-width: 768px) {
  h1 {
    font-size: 2.5em;
  }

  .hotel-grid {
    grid-template-columns: 1fr;
  }

  .event-details {
    padding: 15px;
  }
}

.qrcode {
  margin-top: 50px;
  margin-bottom: 20px;
  width: 300px;
  height: 300px;
}
