*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f4f4f4;
}

header nav {
    background-color: #333;
    padding: 2rem;
}

header nav ul {
    list-style-type: none;
    display: flex;
    justify-content: center;
}

header nav ul li {
    margin: 0 1rem;
}

header nav ul li a {
    color: white;
    text-decoration: none;
    font-size: 1.2rem;
}

#hero {
    display: flex;
    justify-content: center;
    text-align: center;
    background-color: #1F442E;
    color: white;
    padding: 60px 20px;
}

#hero img {
    width: 50%;
    height: 50vh;
    opacity: 0.4;
}

.hero-content {
    max-width: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    z-index: 10;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.5rem;
    margin-bottom: 30px;
}

.cta-button {
    background-color: #ff6347;
    color: white;
    padding: 10px 20px;
    font-size: 1.2rem;
    text-decoration: none;
    border-radius: 5px;
}


#introduction {
    text-align: center;
    padding: 40px 20px;
    background-color: #ffffff;
}

#introduction h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

#introduction p {
    font-size: 1.2rem;
    margin-bottom: 20px;
}

#accommodations, #attractions, #dining{
    margin: 20px 20px;
  
}

.card-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 20px;
    padding: 20px;
   
}

.card {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 22%;
    text-align: center;
    padding: 20px;
    transition: transform 0.3s;
    text-decoration: none;
    color: black;
}

.card:hover {
    transform: scale(1.05);
}

.card img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.card h3 {
    font-size: 1.5rem;
    margin-top: 10px;
}

.card p {
    font-size: 1rem;
    margin-top: 10px;
    color: #666;
}


footer {
    text-align: center;
    padding: 20px 25px;
    background-color: #333;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    
}

.nav-links{
     display: flex;
     list-style-type: none;
     justify-content: space-between;
     align-items: center;
     gap: 25px;
}

.nav-links li a{
    text-decoration: none;
    color: white;
}

.nav-links li a:hover{
    
    color: #ff6347;
}


@media (max-width: 768px) {

     #hero img {
    width: 100%;
    height: 60vh;
    opacity: 0.4;
}

    .card-container {
        flex-direction: column;
        align-items: center;
    }

      header nav ul {
        flex-direction: column;
        align-items: center;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1.2rem;
    }

    .cta-button {
        font-size: 1rem;
    }

    #introduction h2 {
        font-size: 2rem;
    }

    #introduction p {
        font-size: 1rem;
    }

    .card {
        width: 80%;
        margin-bottom: 20px;
    }
}

@media (max-width: 480px) {

   #hero img {
    width: 100%;
    height: 46vh;
    opacity: 0.4;
}

    .card {
        width: 90%;
    }

      .hero-content h1 {
        font-size: 1.5rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .cta-button {
        font-size: 1rem;
        padding: 8px 16px;
    }

    #introduction h2 {
        font-size: 1.8rem;
    }

    #introduction p {
        font-size: 0.9rem;
    }

    footer{
        display: flex;
        flex-direction: column;
        gap: 25px;
    }
    .nav-links{
     display: flex;
     list-style-type: none;
     flex-direction: column;
     align-items: center;
     gap: 5px;
}
}