
:root {
  --primary-color: #1a73e8;
  --secondary-color: #5f6368;
  --background-color: #f1f3f4;
  --text-color: #202124;
  --card-background: #ffffff;
  --shadow: 0 1px 2px 0 rgba(60,64,67,0.302), 0 2px 6px 2px rgba(60,64,67,0.149);
  --glow-shadow: 0 0 10px rgba(26, 115, 232, 0.4);
  --noise-texture: url('data:image/svg+xml;charset=UTF-8,%3csvg width="100%25" height="100%25" xmlns="http://www.w3.org/2000/svg"%3e%3crect width="100%25" height="100%25" fill="none"/%3e%3cpattern id="p" x="0" y="0" width="10" height="10" patternUnits="userSpaceOnUse"%3e%3cpath data-color="outline" fill="%23000000" stroke="%23000000" stroke-width="0.5" d="M5 2.5 L5 7.5"/%3e%3c/pattern%3e%3crect width="100%25" height="100%25" fill="url(%23p)" opacity="0.05"/%3e%3c/svg%3e');
}

body {
  font-family: 'Google Sans', sans-serif;
  background-color: var(--background-color);
  color: var(--text-color);
  margin: 0;
  padding: 2rem;
  background-image: var(--noise-texture);
}

header {
  text-align: center;
  margin-bottom: 3rem;
}

h1 {
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--primary-color);
  letter-spacing: -0.5px;
}

main {
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
}

#travel-form {
  background: var(--card-background);
  padding: 2.5rem;
  border-radius: 12px;
  box-shadow: var(--shadow);
  width: 100%;
  max-width: 600px;
}

.form-group {
  margin-bottom: 1.75rem;
}

label {
  display: block;
  margin-bottom: 0.75rem;
  font-weight: 500;
  color: var(--secondary-color);
}

input[type="text"],
input[type="number"],
select,
textarea {
  width: 100%;
  padding: 1rem;
  border: 1px solid #dadce0;
  border-radius: 8px;
  font-size: 1rem;
  transition: border-color 0.3s;
}

input[type="text"]:focus,
input[type="number"]:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--primary-color);
}

button[type="submit"], #download-pdf {
  width: 100%;
  padding: 1rem;
  background-color: var(--primary-color);
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 1.2rem;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.3s, box-shadow 0.3s;
  margin-top: 1rem;
}

button[type="submit"]:hover, #download-pdf:hover {
  background-color: #1967d2;
  box-shadow: var(--glow-shadow);
}

.floating-request {
  position: fixed;
  right: 2rem;
  top: 50%;
  transform: translateY(-50%);
  width: 320px;
  background: var(--card-background);
  padding: 2.5rem;
  border-radius: 12px;
  box-shadow: var(--shadow);
}

.floating-request h3 {
  margin-top: 0;
  color: var(--primary-color);
  font-size: 1.5rem;
}

#itinerary-output {
  width: 100%;
  max-width: 900px;
}

.itinerary-header {
  text-align: center;
  margin-bottom: 3rem;
}

.itinerary-header h2 {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.subtitle {
  font-size: 1.2rem;
  color: var(--secondary-color);
}

.itinerary-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-bottom: 3rem;
}

@media (max-width: 768px) {
  .itinerary-grid {
    grid-template-columns: 1fr;
  }
}

.card {
  background: var(--card-background);
  padding: 2rem;
  border-radius: 12px;
  box-shadow: var(--shadow);
  margin-bottom: 2rem;
}

.card h3 {
  margin-top: 0;
  color: var(--primary-color);
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.card p {
  line-height: 1.6;
  margin: 0.5rem 0;
}

.day-card {
  display: flex;
  gap: 2rem;
  background: var(--card-background);
  padding: 2rem;
  border-radius: 12px;
  box-shadow: var(--shadow);
  margin-bottom: 2rem;
  transition: transform 0.3s;
}

.day-card:hover {
  transform: translateX(10px);
}

.day-number {
  background: var(--primary-color);
  color: white;
  min-width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 700;
  flex-shrink: 0;
}

.day-content h4 {
  margin-top: 0;
  font-size: 1.3rem;
  color: var(--primary-color);
}

.day-content ul {
  padding-left: 1.5rem;
  margin: 1rem 0 0 0;
}

.day-content li {
  margin-bottom: 0.75rem;
  line-height: 1.5;
}

.card.highlight {
  border-left: 8px solid var(--primary-color);
  background: #f8faff;
}

.toast {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  background: #323232;
  color: white;
  padding: 1rem 2rem;
  border-radius: 4px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  z-index: 1000;
  animation: fadeInOut 3s forwards;
}

@keyframes fadeInOut {
  0% { opacity: 0; bottom: 1rem; }
  15% { opacity: 1; bottom: 2rem; }
  85% { opacity: 1; bottom: 2rem; }
  100% { opacity: 0; bottom: 1rem; }
}

@media (max-width: 1200px) {
  .floating-request {
    position: static;
    transform: none;
    width: 100%;
    max-width: 600px;
    margin: 2rem auto;
  }
}
