body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background: linear-gradient(to right, #ff7e5f, #feb47b); /* Gradient from left to right */
    color: #333;
}

header {
    background: url('laoag.jpg') no-repeat center center/cover;
    color: #fff;
    text-align: center;
    padding: 50px 0;
}

header h1 {
    font-size: 3rem;
    margin: 0;
}

header p {
    font-size: 1.2rem;
    margin: 10px 0 0;
}

nav {
    background-color: #333;
    padding: 10px 0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Adds shadow to make the nav stand out */
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

nav ul li {
    margin: 0 20px;
    position: relative;
}

nav ul li a {
    text-decoration: none;
    color: #fff;
    font-size: 1.1rem;
    font-weight: bold;
    text-transform: uppercase;
    transition: color 0.3s ease, transform 0.3s ease; /* Smooth transition */
}

nav ul li a:hover {
    color: #ffcc00;
    transform: scale(1.1); /* Slight zoom effect */
}

nav ul li a::before {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #ffcc00;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

nav ul li a:hover::before {
    transform: scaleX(1); /* Animation of the underline */
}

section {
    padding: 20px;
    max-width: 1200px;
    margin: 20px auto;
}

#about {
    text-align: center;
}

#about h2 {
    font-size: 2rem;
    font-weight: bold;
}

#about p {
    font-size: 1.2rem;
    font-weight: normal;
    line-height: 1.6;
    margin: 0 auto;
    max-width: 800px;
}

.attractions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.attraction {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}

.attraction:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.2);
}

.attraction img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

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

.attraction p {
    margin: 0 10px 10px;
    font-size: 1rem;
    line-height: 1.6;
}

footer {
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 10px 0;
    margin-top: 20px;
}

footer p {
    margin: 0;
    font-size: 0.9rem;
}
