/* Importar fontes elegantes do Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@300;400;600&family=Montserrat:wght@300;400;500&display=swap');

* {
  box-sizing: border-box;
}

body {
  font-family: 'Montserrat', sans-serif;
  background: #F5F2ED;
  color: #3D3D3D;
  margin: 0;
  padding: 0;
  line-height: 1.6;
}

/* Cabeçalho decorativo */
.header {
  text-align: center;
  padding: 40px 20px 30px;
  background: linear-gradient(to bottom, #F5F2ED 0%, #FAF8F5 100%);
  border-bottom: 2px solid #E5DDD5;
  position: relative;
}

.header::before,
.header::after {
  content: '✿';
  position: absolute;
  top: 20px;
  font-size: 24px;
  color: #E5A3A3;
  opacity: 0.6;
}

.header::before { left: 20px; }
.header::after { right: 20px; }

.header h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.8em;
  font-weight: 300;
  color: #6B8E6F;
  margin: 0 0 10px;
  letter-spacing: 1px;
}

.header .couple-names {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3.5em;
  font-weight: 400;
  background: linear-gradient(135deg, #E5A3A3 0%, #D4908F 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin: 5px 0;
  letter-spacing: 2px;
}

.header .subtitle {
  font-family: 'Montserrat', sans-serif;
  font-size: 1em;
  color: #7A7A7A;
  font-weight: 300;
  margin-top: 10px;
  letter-spacing: 0.5px;
}

.container {
  max-width: 900px;
  margin: 30px auto;
  background: #FFFFFF;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(107, 142, 111, 0.1);
}

h1, h2, h3 {
  font-family: 'Cormorant Garamond', serif;
  color: #6B8E6F;
  font-weight: 400;
}

h1 {
  font-size: 2.5em;
  margin-top: 0;
  text-align: center;
  border-bottom: 2px solid #E5DDD5;
  padding-bottom: 15px;
}

h2 {
  font-size: 2em;
  margin-top: 30px;
  color: #7A9E7E;
}

h3 {
  font-size: 1.5em;
  margin-top: 25px;
}

/* Lista de itens */
.items {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin: 20px 0;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.items thead {
  background: linear-gradient(135deg, #6B8E6F 0%, #7A9E7E 100%);
  color: #FFFFFF;
}

.items th {
  padding: 15px;
  text-align: left;
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  font-size: 0.95em;
  letter-spacing: 0.5px;
}

.items td {
  padding: 12px 15px;
  border-bottom: 1px solid #F0EDE8;
}

.items tbody tr {
  transition: background 0.2s;
}

.items tbody tr:hover {
  background: #FAF8F5;
}

.items tbody tr:last-child td {
  border-bottom: none;
}

/* Checkbox customizado */
input[type="checkbox"] {
  width: 20px;
  height: 20px;
  cursor: pointer;
  accent-color: #E5A3A3;
}

/* Formulários */
.form-row {
  margin: 20px 0;
}

label {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  color: #6B8E6F;
  margin-bottom: 8px;
  font-size: 0.95em;
}

input[type="text"],
input[type="tel"] {
  width: 100%;
  max-width: 300px;
  padding: 12px 15px;
  border: 2px solid #E5DDD5;
  border-radius: 8px;
  font-family: 'Montserrat', sans-serif;
  font-size: 1em;
  transition: border-color 0.3s;
}

input[type="text"]:focus,
input[type="tel"]:focus {
  outline: none;
  border-color: #E5A3A3;
}

/* Centralização para formulários de reserva */
.reservation-form {
  max-width: 500px;
  margin: 0 auto;
  text-align: center;
  padding: 20px;
}

.reservation-form h2 {
  text-align: center;
  margin-bottom: 30px;
}

.reservation-form h3 {
  text-align: center;
  margin-bottom: 20px;
}

.reservation-form .form-row {
  text-align: center;
  margin: 20px 0;
}

.reservation-form label {
  display: block;
  text-align: center;
  margin-bottom: 10px;
}

.reservation-form input {
  margin: 0 auto;
  display: block;
}

.reservation-form p {
  text-align: center;
  max-width: 400px;
  margin: 0 auto 20px auto;
  line-height: 1.5;
}

/* Botões */
.btn {
  display: inline-block;
  padding: 12px 28px;
  background: linear-gradient(135deg, #6B8E6F 0%, #7A9E7E 100%);
  color: #FFFFFF;
  text-decoration: none;
  border-radius: 25px;
  border: none;
  cursor: pointer;
  margin-right: 10px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  font-size: 0.95em;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(107, 142, 111, 0.2);
}

.btn:hover {
  color: #000000;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(107, 142, 111, 0.3);
}

.btn-danger {
  background: linear-gradient(135deg, #E5A3A3 0%, #D4908F 100%);
  box-shadow: 0 4px 10px rgba(229, 163, 163, 0.2);
}

.btn-danger:hover {
  color: #000000;
  box-shadow: 0 6px 15px rgba(229, 163, 163, 0.3);
}

button.btn {
  margin-top: 10px;
}

/* Avisos */
.notice {
  padding: 15px 20px;
  background: #FFF9F0;
  border-left: 4px solid #E5A3A3;
  border-radius: 6px;
  margin: 20px 0;
  font-size: 0.95em;
  color: #5D5D5D;
}

/* Listas */
ol, ul {
  line-height: 1.8;
  color: #5D5D5D;
}

ol li, ul li {
  margin-bottom: 10px;
}

/* Links */
a {
  color: #6B8E6F;
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: #E5A3A3;
}

/* Footer */
footer {
  text-align: center;
  margin-top: 40px;
  padding-top: 20px;
  border-top: 2px solid #E5DDD5;
  font-size: 0.9em;
  color: #999;
  font-family: 'Montserrat', sans-serif;
  font-weight: 300;
}

/* Decorações florais */
.floral-divider {
  text-align: center;
  margin: 30px 0;
  color: #E5A3A3;
  font-size: 1.5em;
  opacity: 0.6;
}

/* Responsivo */
@media (max-width: 768px) {
  .container {
    padding: 20px 15px;
    margin: 10px 5px;
    border-radius: 8px;
  }
  
  .header {
    padding: 20px 15px 15px;
  }
  
  .header h1 {
    font-size: 1.8em;
  }
  
  .header .couple-names {
    font-size: 2.2em;
    letter-spacing: 1px;
  }
  
  .header .subtitle {
    font-size: 0.9em;
  }
  
  /* Páginas de resultado/confirmação */
  .container h1 {
    font-size: 1.8em;
    margin-bottom: 15px;
  }
  
  .container p {
    font-size: 1em !important;
    padding: 15px 10px !important;
    line-height: 1.5;
  }
  
  .floral-divider {
    font-size: 1.2em;
    margin: 20px 0;
  }
  
  .items {
    font-size: 0.9em;
  }
  
  .items th,
  .items td {
    padding: 8px 5px;
    font-size: 0.85em;
  }
  
  .btn {
    display: block;
    width: 100%;
    margin: 8px 0;
    text-align: center;
    padding: 15px 20px;
    font-size: 1em;
  }
  
  footer {
    margin-top: 30px;
    padding-top: 15px;
    font-size: 0.85em;
  }
}