/*  Body/Font  */
body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    background-color: #f4f4f9;
    color: #333;
}

h1,
h2 {
    color: #2c3e50;
}

h1 {
    text-align: center;
    margin-bottom: 40px;
}

/*  Navbar  */
.navbar {
    background-color: #333;
    overflow: hidden;
    width: 100%;
}

.navbar a {
    float: left;
    display: block;
    color: white;
    text-align: center;
    padding: 14px 20px;
    text-decoration: none;
    transition: background-color 0.3s;
}

.navbar a:hover {
    background-color: #575757;
}

/* Main Content  */
.container {
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;

}

/*  Attraction Card   */
.attraction-card {
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
    margin-bottom: 20px;
    transition: transform 0.2s ease-in-out;
}

.attraction-card:hover {
    transform: translateY(-5px);
}

.card-content {
    display: flex;
    align-items: flex-start;
    /* Align items to the top */
    gap: 20px;
}

.attraction-image {
    width: 150px;
    height: 150px;
    object-fit: cover;
    /* Prevents image from stretching */
    border-radius: 8px;
    /* Rounded corners for image */
    border: 2px solid #eee;
}

.attraction-card p {
    line-height: 1.6;
    margin: 0;
}


/*  Footer  */
footer {
    text-align: center;
    padding: 20px;
    margin-top: 40px;
    background-color: #333;
    color: white;
}

/* Page Subtitle */
.subtitle {
    text-align: center;
    margin-bottom: 40px;
    color: #555;
    font-size: 1.1em;
}

/* main welcome message  */
.hero {
    text-align: center;
    padding: 60px 20px;
    background-color: #2c3e50;
    /* A nice dark blue */
    color: white;
}

.hero h1 {
    margin: 0;
    font-size: 2.5em;
    color: white;
}

.hero p {
    font-size: 1.2em;
    color: #bdc3c7;
    /* subtitle */
}

/* Page Links Container (Uses Grid for layout)  */
.page-links-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    /* Responsive columns */
    gap: 20px;
    padding: 20px 0;
}

/*  Page Link Card  */
.page-link-card {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    /* image corners rounded */
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.page-link-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.page-link-card a {
    text-decoration: none;
    color: inherit;
    /* Inherits text color from the parent */
    display: block;
    /* Makes the whole card clickable */
}

.page-link-card .card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.page-link-card .card-text-content {
    padding: 20px;
}

.page-link-card h2 {
    margin-top: 0;
}

/*  Contact Form  */
.contact-form {
    max-width: 600px;
    /* Limits width of form */
    margin: 40px auto;
    /* Centers form on page */
    padding: 20px;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: #555;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1em;
    box-sizing: border-box;
}

.contact-form button {
    display: block;
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 4px;
    background-color: #333;
    color: white;
    font-size: 1.1em;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s;
}

.contact-form button:hover {
    background-color: #575757;
    /* shade on hover */
}