*{
    margin: 0;
    padding: 0;
}
body{
    background-color: #F5F5DC;
    color: #800000;
    font-family: Arial, Helvetica, sans-serif;
}
#home {
    height: 1px;
    margin-top: -80px
}
.city-card h3, .img-card h3, .highlight-card h3, .highlight-card ul {
    font-family: 'Noto Serif', serif;
}
#subtitle {
    opacity: 0;
    animation: fadeIn 2s ease-in forwards;
}
@keyframes fadeIn {
    to { opacity: 1;}
}
a{
    text-decoration: none;
    color: inherit;
}
.nav-bar{
    background-color: #800000;
    color: #F5F5DC;
    padding: 1rem;
    margin: 0;
    position: sticky;
    top: 0;
}
nav{
     font-size: larger;
     padding: 1rem;
    gap: 20px;
    justify-content: right;
    display: flex;
}
nav a:hover{
    cursor: pointer;
    text-decoration: underline;
    font-weight: bold;
}
.featured{
    background-color: #e2e2b4;
    padding: 50px;
}
.city-grid{
    display: grid;
    grid-template-columns: repeat(2, auto); 
    justify-content: center;
    gap:  2rem;
    margin-top: 30px;
}
.city-card, .img-card, .highlight-card{
    background-color: #fff;
    border: 2px solid #DAA520;
    padding: 1rem;
    text-align: center;
    border-radius: 10px;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease;
}
.city-card, .img-card {
    width: 220px;
    height: 300px;
}
.highlight-card {
    width: 440px;
    height: 500px;
}
.city-card:hover, .img-card:hover, .highlight-card:hover{
    transform: scale(1.05);
    box-shadow:0 8px 20px #800000;
    
}
.city-card img, .img-card img{
    width: 200px;
    height: 150px;
    border-radius: 20px;
}
.gallery{
    background-color: #F5F5DC;
    padding-top: 150px;
    padding-bottom: 150px;
    
}
.img-container{
     display: grid;
     grid-template-columns: repeat(3, auto);
     gap:  2rem;
     justify-content: center;
     padding-top: 30px;
}
.city-highlight{
    background-color: #e2e2b4;
     padding: 50px;
     text-align: center;
}
.highlight-container{
    display: flex;
    justify-content: center;
    margin-top: 60px;
}
.highlight-card img{
    width: 400px;
    height: 250px;
    border-radius: 20px;
}
.highlight-card ul{
    text-align: left;
    margin-top: 15px;
    line-height: 1.6;
    padding-left: 2rem;
}
form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 400px;
    margin: 60px auto;
    padding: 2rem;
    background-color: #fdf5e6;
    border: 2px solid #DAA520;
    border-radius: 10px;
}
input, textarea {
    border: 1px solid #ccc;
    border-radius: 5px;
    transition: all 0.3s ease;
}

input {
    padding: 10px;
}

textarea {
    padding: 0.5rem;
    resize: vertical;
    font-family: inherit;
    font-size: 1rem;
}
input:focus, textarea:focus{
    outline: 2px solid #DAA520;
    background-color: #fff8dc;
}
button {
    margin-top: 15px;
    padding: 10px;
    background-color: #fff;
    border: 2px solid #DAA520;
    border-radius: 5px;
    transition: 0.3s;
}
button:hover {
    background-color: #DAA520;
    color: #fff;
    cursor: pointer;
}
.loader {
    gap: 10px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.dot-container {
    display: flex;
    gap: 8px;
}
.dot {
    width: 12px;
    height: 12px;
    background-color: #DAA520;
    border-radius: 50%;
    animation: bounce 1s infinite alternate;
}

.dot:nth-child(2) {
    animation-delay: 0.2s;
}
.dot:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes bounce {
    to {
        transform: translateY(-10px);
    }
}
.welcome-text {
    margin-top: 10px;
    font-family: 'Noto Serif', serif;
    font-size: 1.2rem;
    color: #8B4513;
    animation: fadeIn 2s ease-in-out forwards;
    opacity: 0;
}
.thanks-message {
    display: none;
    text-align: center;
    color: #8B4513;
    font-family: 'Noto Serif', serif;
    margin-top: 1rem;
    animation: fadeIn 1s ease-in forwards;
}
form:focus-within .thanks-message {
    display: block;
}   
@media (max-width: 600px) {
  .city-grid,
  .img-container {
    grid-template-columns: 1fr;
  }

  nav {
    flex-direction: column;
    gap: 10px;
  }

  .city-card, .img-card, .highlight-card {
    width: 100%;
    height: auto;
  }

  form {
    width: 90%;
    padding: 1rem;
  }

  .featured, .gallery, .city-highlight {
    padding: 20px 10px;
  }
}