@import url('https://fonts.googleapis.com/css2?family=Vazirmatn&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: 'Vazirmatn', sans-serif;
  direction: rtl;
  background-color: #FFF8DC;
  color: #5B3A00;
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
header {
  background-color: #A0522D;
  padding: 12px 0;
  color: #FCE7C8;
  font-size: 1.5rem;
  font-weight: 600;
  text-align: center;
  user-select: none;
  border-bottom: 3px solid #DAA520;
}
main {
  max-width: 900px;
  margin: 30px auto 50px;
  padding: 0 20px;
}
.gallery-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: #8B4513;
  margin-bottom: 18px;
  border-bottom: 2px solid #DAA520;
  padding-bottom: 6px;
}
.city-day-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
  margin-top: 40px;
}
.city-item {
  flex: 1 1 300px;
  max-width: 400px;
  background-color: #FFF8F0;
  border-radius: 12px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
  padding: 20px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  text-decoration: none;
  color: #333;

}
.city-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.2);
  text-decoration: none;
}
.city-item img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 15px;
}
.city-item h3 {
  margin-top: 0;
  font-size: 1.6rem;
  color: #8B4513;
}
.city-item p {
  font-size: 1rem;
  line-height: 1.6;
}
.city-card {
 flex: 1 1 260px;
  max-width: 280px;
  background-color: #FDF5E6;
  border-radius: 12px;
  box-shadow: 0 3px 10px rgba(139,69,19,0.25);
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
  margin: auto;
  padding: 10px;
}
.city-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 22px rgba(139,69,19,0.4);
}
.city-card img {
  width: 100%;
  height: 170px;
  object-fit: cover;
  border-bottom: 3px solid #DAA520;
  border-radius: 0 0 12px 12px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 2);
}
.city-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center; /* یا space-between یا start */
  padding: 20px;
}
.city-card h3 {
  margin: 15px 0 14px;
  color: #8B4513;
  font-weight: 700;
  font-size: 1.15rem;
}
.city-links {
  display: flex;
  gap: 25px;
  margin-bottom: 40px;
  justify-content: center;
}
.city-links a {
  text-decoration: none;
  background-color: #DAA520;
  color: #FFF8DC;
  padding: 12px 25px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 1.1rem;
  box-shadow: 0 2px 8px rgba(139,69,19,0.4);
  transition: background-color 0.3s ease;
}
.city-links a:hover {
  background-color: #A0522D;
}
.selected-cities {
  border-top: 2px solid #DAA520;
  padding-top: 20px;
}
.selected-cities h2 {
  color: #8B4513;
  font-weight: 700;
  margin-bottom: 20px;
  text-align: center;
  font-size: 1.4rem;
}
.selected-list {
  display: flex;
  justify-content: center;
  gap: 25px;
}
.selected-list div {
  background-color: #FDF5E6;
  padding: 16px 24px;
  border-radius: 12px;
  box-shadow: 0 3px 8px rgba(139,69,19,0.25);
  font-weight: 600;
  color: #5B3A00;
  cursor: pointer;
  transition: background-color 0.3s ease;
}
.selected-list div:hover {
  background-color: #DAA520;
  color: #FFF8DC;
}
form {
  max-width: 500px;
  margin: 20px auto 50px;
  padding: 25px;
  background-color: #FFF0D4;
  border-radius: 14px;
  box-shadow: 0 0 15px rgba(170,130,0,0.3);
}
form label {
  display: block;
  font-weight: 700;
  margin-bottom: 6px;
  color: #8B4513;
}
form input[type="text"],
form textarea {
  width: 100%;
  padding: 10px 12px;
  margin-bottom: 16px;
  border: 1.8px solid #DAA520;
  border-radius: 10px;
  font-size: 1rem;
  font-family: 'Vazirmatn', sans-serif;
  color: #5B3A00;
  resize: vertical;
}
form button {
  background-color: #DAA520;
  border: none;
  padding: 12px 30px;
  border-radius: 12px;
  color: #FFF8DC;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
    font-family: 'Vazirmatn', sans-serif;
}
form button:hover {
  background-color: #A0522D;
}
footer {
  background-color: #A0522D;
  color: #FFF8DC;
  text-align: center;
  padding: 16px 0;
  font-weight: 600;
  font-size: 1rem;
  margin-top: auto;
  box-shadow: 0 -3px 7px rgba(0,0,0,0.2);
}
@media (max-width: 780px) {
  .city-list {
    justify-content: center;
  }
  .city-card {
    max-width: 95%;
    flex-basis: 100%;
  }
  .city-links {
    flex-direction: column;
    gap: 15px;
  }
  .selected-list {
    flex-direction: column;
    gap: 15px;
  }
}
.nav-menu {
    display: flex;
    justify-content: center;
    list-style: none;
    gap: 30px;
}
.nav-menu li a {
    color: #3E2400;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    padding: 6px 12px;
    border-radius: 2px;
    transition: background-color 0.3s ease;
    font-family: 'Vazirmatn', sans-serif;
    background-color: #FCB454
}
.nav-menu li a:hover,
.nav-menu li a.active {
    background-color: #d39a07;
    color: black;
}
.city-day-list a {
  text-decoration: none !important;
  color: inherit !important;
}