body {
  background: #efe7da;
  min-height: 100vh;
  color: #8b7355;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  margin: 0;
  padding: 20px;
  position: relative;
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #efe7da;
  pointer-events: none;
  z-index: -1;
}

h1 {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 30px;
  color: #b29079;
  font-weight: 300;
  text-shadow: none;
  letter-spacing: -0.5px;
}

.container {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

#location-info {
  background: #f6f5ec;
  border: 1px solid #e1daca;
  border-radius: 20px;
  padding: 30px;
  margin: 20px 0;
  text-align: left;
  box-shadow: 0 2px 8px rgba(177, 144, 121, 0.1);
  transition: all 0.3s ease;
}

#location-info:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(177, 144, 121, 0.15);
}

#location-data {
  background: #b29079;
  color: #f6f5ec;
  padding: 20px;
  border-radius: 15px;
  margin-bottom: 25px;
  text-align: center;
  border: 1px solid #a67c52;
  box-shadow: 0 2px 6px rgba(177, 144, 121, 0.2);
}

#location-data p {
  font-size: 1.3em;
  margin: 12px 0;
  font-weight: 500;
}

#location-data strong {
  color: #f6f5ec;
  font-weight: 600;
}

#holidayResult {
  background: #f6f5ec;
  border: 1px solid #e1daca;
  border-radius: 20px;
  padding: 25px;
  margin-top: 15px;
  box-shadow: 0 2px 8px rgba(177, 144, 121, 0.1);
}

.holiday-info {
  background: #e1daca;
  padding: 25px;
  border-radius: 15px;
  margin-bottom: 25px;
  border: 1px solid #c1b6a4;
  box-shadow: 0 2px 6px rgba(177, 144, 121, 0.1);
  color: #8b7355;
  font-size: 1.2em;
  font-weight: 500;
}

.holiday-info strong {
  color: #b29079;
  font-weight: 600;
}

.weather-info {
  background: #e1daca;
  color: #8b7355;
  padding: 25px;
  border-radius: 15px;
  border: 1px solid #c1b6a4;
  box-shadow: 0 2px 6px rgba(177, 144, 121, 0.1);
  margin-bottom: 25px;
}

.weather-info h3 {
  margin-top: 0;
  color: #b29079;
  text-align: center;
  font-size: 1.4em;
  font-weight: 500;
  margin-bottom: 20px;
}

.weather-info p {
  margin: 12px 0;
  font-size: 1.1em;
  opacity: 0.95;
}

.weather-info strong {
  color: #b29079;
  font-weight: 600;
}

.loading-weather,
.loading-movies {
  background: #c1b6a4;
  padding: 20px;
  border-radius: 15px;
  margin-top: 20px;
  border: 1px solid #b29079;
  text-align: center;
  box-shadow: 0 2px 6px rgba(177, 144, 121, 0.1);
}

.loading-weather p,
.loading-movies p {
  margin: 0;
  font-style: italic;
  color: #8b7355;
  font-size: 1.2em;
  font-weight: 500;
}

.movie-suggestions {
  background: #f6f5ec;
  padding: 30px;
  border-radius: 20px;
  margin-top: 25px;
  border: 1px solid #e1daca;
  box-shadow: 0 2px 8px rgba(177, 144, 121, 0.1);
}

.movie-suggestions h3 {
  margin-top: 0;
  color: #b29079;
  text-align: center;
  font-size: 1.5em;
  font-weight: 500;
  margin-bottom: 25px;
  text-shadow: none;
}

.movies-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.movie-card {
  background: #e1daca;
  border-radius: 15px;
  padding: 15px;
  box-shadow: 0 2px 6px rgba(177, 144, 121, 0.1);
  display: flex;
  align-items: flex-start;
  transition: all 0.3s ease;
  border: 1px solid #c1b6a4;
}

.movie-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 12px rgba(177, 144, 121, 0.2);
}

.movie-poster {
  width: 70px;
  height: 105px;
  object-fit: cover;
  border-radius: 10px;
  margin-right: 15px;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(177, 144, 121, 0.2);
}

.movie-info {
  flex: 1;
}

.movie-info h4 {
  margin: 0 0 10px 0;
  font-size: 1.1em;
  color: #b29079;
  line-height: 1.3;
  font-weight: 600;
}

.movie-info p {
  margin: 6px 0;
  font-size: 0.9em;
  color: #8b7355;
  line-height: 1.4;
  opacity: 0.9;
}

.movie-info strong {
  color: #b29079;
  font-weight: 600;
}

@media (max-width: 768px) {
  .container {
    max-width: 95%;
    padding: 0 10px;
  }

  h1 {
    font-size: 2em;
  }

  .movies-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .movie-card {
    flex-direction: column;
    text-align: center;
    padding: 20px;
  }

  .movie-poster {
    width: 100px;
    height: 150px;
    margin: 0 auto 15px auto;
  }

  #location-info,
  #holidayResult {
    margin: 15px 0;
    padding: 20px;
  }
}

/* Info Button Styles */
.info-button {
  position: fixed;
  top: 20px;
  right: 20px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #b29079;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(177, 144, 121, 0.3);
  transition: all 0.3s ease;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.info-button svg {
  width: 24px;
  height: 24px;
  fill: #f6f5ec;
  transition: fill 0.3s ease;
}

.info-button:hover {
  background: #a67c52;
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 6px 16px rgba(177, 144, 121, 0.4);
}

.info-button:hover svg {
  fill: #f6f5ec;
}

.info-button:active {
  transform: translateY(0) scale(0.95);
  box-shadow: 0 2px 8px rgba(177, 144, 121, 0.3);
}

/* Blinking animation for first 10 seconds */
.info-button.blink {
  animation: blink 1.5s infinite;
}

@keyframes blink {
  0%,
  50% {
    opacity: 1;
  }
  51%,
  100% {
    opacity: 0.3;
  }
}

/* Info Modal Styles */
.info-modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(193, 182, 164, 0.9);
  backdrop-filter: blur(5px);
}

.info-modal-content {
  background-color: #f6f5ec;
  margin: 5% auto;
  padding: 30px;
  border: 1px solid #e1daca;
  border-radius: 20px;
  width: 80%;
  max-width: 600px;
  position: relative;
  box-shadow: 0 10px 30px rgba(177, 144, 121, 0.3);
  animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: translateY(-50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.info-close {
  color: #8b7355;
  float: right;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  position: absolute;
  top: 15px;
  right: 25px;
  transition: color 0.3s ease;
}

.info-close:hover,
.info-close:focus {
  color: #b29079;
  text-decoration: none;
}

.info-modal h2 {
  color: #b29079;
  margin-top: 0;
  margin-bottom: 20px;
  font-size: 1.8em;
  font-weight: 300;
}

.info-modal h3 {
  color: #a67c52;
  margin-top: 20px;
  margin-bottom: 10px;
  font-size: 1.2em;
}

.info-text {
  line-height: 1.6;
  color: #8b7355;
}

.info-text p {
  margin-bottom: 15px;
}

.info-text ul {
  margin-left: 20px;
  margin-bottom: 15px;
}

.info-text li {
  margin-bottom: 5px;
}

.info-text code {
  background: #e1daca;
  padding: 2px 6px;
  border-radius: 4px;
  font-family: "Courier New", monospace;
  color: #b29079;
}

/* Responsive adjustments for modal */
@media (max-width: 768px) {
  .info-button {
    width: 45px;
    height: 45px;
    top: 15px;
    right: 15px;
  }

  .info-button svg {
    width: 20px;
    height: 20px;
  }

  .info-modal-content {
    width: 95%;
    margin: 10% auto;
    padding: 20px;
  }

  .info-modal h2 {
    font-size: 1.5em;
  }
}
