/* ===== GENERAL STYLING ===== */
body {
    font-family: 'Open Sans', sans-serif;
    margin: 0;
    background-color: #ffffff;
    color: #222;
    line-height: 1.6;
}

/* ===== HEADER ===== */

/* Top section: Title + Logo */
.header-top {
    background-color: #0077b6;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 40px;
}

.header-top h1 {
    margin: 0;
    color: white;
    font-size: 2em;
    font-weight: bold;
}

.header-top .logo {
    height: 3rem;
    width: auto;
}

/* Bottom section: Navigation */
.header-bottom {
    background-color: #005f8f; /* slightly darker blue */
    padding: 8px 30px;
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 25px;
}

nav ul li {
    display: inline-block;
}

nav a {
    color: white;
    text-decoration: none;
    font-weight: bold;
}

nav a:hover,
nav a.active {
    text-decoration: underline;
}

/* ===== HERO SECTION ===== */
.hero {
    position: relative;
    text-align: center;
}

.hero img {
    width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: cover;
}

.hero-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 20px;
    border-radius: 10px;
}

/* ===== SECTION DIVIDER ===== */
.section-divider {
    height: 4px;
    width: 80px;
    background-color: #0077b6;
    margin: 40px auto;
    border-radius: 2px;
}

/* ===== HIGHLIGHTS SECTION ===== */
.highlights {
    padding: 40px 20px;
    text-align: center;
    background-color: #f9f9f9;
}

.highlights h2 {
    color: #0077b6;
    font-size: 2em;
    margin-bottom: 20px;
}

.cards {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}

.card {
    width: 300px;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 15px;
    background-color: #ffffff;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
    transform: scale(1.03);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.card img {
    width: 100%;
    border-radius: 10px;
}

.card h3 a {
    color: #0077b6;
    text-decoration: none;
}

.card h3 a:hover {
    text-decoration: underline;
}


/* ===== CALL TO ACTION SECTION ===== */
.cta-section {
    text-align: center;
    background-color: #ffffff;
    padding: 50px 20px;
}

.cta-section h2 {
    color: #0077b6;
    font-size: 2em;
    margin-bottom: 10px;
}

.cta-section p {
    color: #444;
    font-size: 1.1em;
    margin-bottom: 20px;
}

.cta-section img {
    width: 100%;
    max-width: 700px;
    border-radius: 10px;
    margin: 20px 0 0 0;
}
.par {
    max-width: 75%;
    justify-self: center;
}
.cta-subtext {
    font-style: italic;
    color: #555;
    margin-bottom: 25px;
}

.cta-button {
    display: inline-block;
    background-color: #0077b6;
    color: white;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.cta-button:hover {
    background-color: #005f8f;
}


/* ===== ATTRACTIONS PAGE ===== */
.page-intro {
    text-align: center;
    padding: 40px 20px;
    background-color: #f9f9f9;
}

.page-intro h2 {
    color: #0077b6;
    font-size: 2em;
    margin-bottom: 10px;
}

.page-intro p {
    font-size: 1.1em;
    color: #444;
    margin-bottom: 25px;
}

.page-intro img {
    width: 100%;
    max-width: 800px;
    border-radius: 10px;
    margin-top: 10px;
}

/* Attractions List */
.attractions-list {
    display: flex;
    flex-direction: column;
    gap: 40px;
    padding: 40px 20px;
    background-color: #ffffff;
}

.attraction {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 25px;
}

.attraction img {
    width: 100%;
    max-width: 400px;
    border-radius: 10px;
    flex-shrink: 0;
}

.attraction-info {
    max-width: 500px;
    text-align: left;
}

.attraction-info h3 {
    color: #0077b6;
    font-size: 1.5em;
    margin-bottom: 10px;
}

.attraction-info p {
    color: #444;
    margin-bottom: 15px;
    line-height: 1.5;
}

.attraction-image {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.attraction-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.img-credit {
    font-size: 0.75em;
    color: #666;
    text-align: center;
    margin-top: 5px;
    font-style: italic;
}


/* Reuse CTA button from homepage */
.cta-button {
    display: inline-block;
    background-color: #0077b6;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.cta-button:hover {
    background-color: #005f8f;
}

/* Responsive Layout */
@media (max-width: 768px) {
    .attraction {
        flex-direction: column;
    }

    .attraction-info {
        text-align: center;
    }
}



/* ===== TRAVEL TIPS PAGE ===== */
.tips-list {
    display: flex;
    flex-direction: column;
    gap: 40px;
    padding: 40px 20px;
    background-color: #ffffff;
}

.tip {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 25px;
}

.tip img {
    width: 100%;
    max-width: 400px;
    border-radius: 10px;
    flex-shrink: 0;
}

.tip-info {
    max-width: 500px;
    text-align: left;
}

.tip-info h3 {
    color: #0077b6;
    font-size: 1.4em;
    margin-bottom: 10px;
}

.tip-info p {
    color: #444;
    margin-bottom: 15px;
    line-height: 1.5;
}

/* Responsive Design */
@media (max-width: 768px) {
    .tip {
        flex-direction: column;
    }

    .tip-info {
        text-align: center;
    }
}



/* ===== FOOD & DRINK PAGE ===== */
.food-list {
    display: flex;
    flex-direction: column;
    gap: 40px;
    padding: 40px 20px;
    background-color: #ffffff;
}

.food-item {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 25px;
}

.food-item img {
    width: 100%;
    max-width: 400px;
    border-radius: 10px;
    flex-shrink: 0;
}

.food-info {
    max-width: 500px;
    text-align: left;
}

.food-info h3 {
    color: #0077b6;
    font-size: 1.4em;
    margin-bottom: 10px;
}

.food-info p {
    color: #444;
    line-height: 1.6;
    margin-bottom: 15px;
}

/* Call-to-Action Button Reuse */
.cta-button {
    display: inline-block;
    background-color: #0077b6;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.cta-button:hover {
    background-color: #005f8f;
}

/* Responsive Design */
@media (max-width: 768px) {
    .food-item {
        flex-direction: column;
    }

    .food-info {
        text-align: center;
    }
}



/* ===== DAY TRIPS PAGE ===== */
.trip-list {
    display: flex;
    flex-direction: column;
    gap: 40px;
    padding: 40px 20px;
    background-color: #ffffff;
}

.trip-item {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 25px;
}

.trip-item img {
    width: 100%;
    max-width: 400px;
    border-radius: 10px;
    flex-shrink: 0;
}

.trip-info {
    max-width: 500px;
    text-align: left;
}

.trip-info h3 {
    color: #0077b6;
    font-size: 1.4em;
    margin-bottom: 10px;
}

.trip-info p {
    color: #444;
    line-height: 1.6;
    margin-bottom: 15px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .trip-item {
        flex-direction: column;
    }

    .trip-info {
        text-align: center;
    }
}


/* ===== CONTACT PAGE ===== */
.contact-section, 
.feedback-section {
    background-color: #f9f9f9;
    padding: 40px 20px;
    max-width: 700px;
    margin: 0 auto 40px auto;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.contact-section h3,
.feedback-section h3 {
    text-align: center;
    color: #0077b6;
    margin-bottom: 20px;
}

.contact-form,
.feedback-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

label {
    font-weight: bold;
    color: #333;
}

input[type="text"],
input[type="email"],
textarea,
select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-family: inherit;
    font-size: 1em;
}

textarea {
    resize: vertical;
}

.newsletter {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95em;
    color: #333;
}

/* Reuse CTA Button */
.cta-button {
    display: inline-block;
    align-self: flex-start;
    background-color: #0077b6;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    font-weight: bold;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.cta-button:hover {
    background-color: #005f8f;
}

/* Responsive */
@media (max-width: 768px) {
    .contact-section, 
    .feedback-section {
        width: 90%;
    }

    .cta-button {
        align-self: center;
    }
}

/* ===== NEWSLETTER SECTION ===== */
.newsletter-section {
    background-color: #f9f9f9;
    text-align: center;
    padding: 40px 20px;
    margin-top: 40px;
    border-top: 1px solid #ddd;
}

.newsletter-section h2 {
    color: #0077b6;
    margin-bottom: 10px;
}

.newsletter-section p {
    color: #444;
    margin-bottom: 20px;
}

.newsletter-form {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
}

.newsletter-form input[type="email"] {
    padding: 10px;
    width: 250px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1em;
}

.newsletter-form button {
    padding: 10px 20px;
    border: none;
    background-color: #0077b6;
    color: white;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.newsletter-form button:hover {
    background-color: #005f8f;
}

/* Responsive */
@media (max-width: 600px) {
    .newsletter-form {
        flex-direction: column;
        align-items: center;
    }

    .newsletter-form input[type="email"] {
        width: 80%;
    }
}
/* Newsletter homepage label */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ===== TABLE ===== */

.daytrip-table {
    text-align: center;
    padding: 40px 20px;
    background-color: #f9f9f9;
}

/*.daytrip-table h2 {
    color: #0077b6;
    margin-bottom: 20px;
}*/

.daytrip-table table {
    width: 90%;
    max-width: 800px;
    margin: 0 auto;
    border-collapse: collapse;
    background-color: #fff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.daytrip-table th, 
.daytrip-table td {
    border: 1px solid #ddd;
    padding: 12px 15px;
}

.daytrip-table th {
    background-color: #0077b6;
    color: white;
    font-weight: bold;
}

.daytrip-table tr:nth-child(even) {
    background-color: #f2f2f2;
}



/* ===== FOOTER ===== */
footer {
    background-color: #f0f0f0;
    color: #333;
    text-align: center;
    padding: 15px 0;
    margin-top: 40px;
    font-size: 0.9em;
    border-top: 1px solid #ddd;
}

footer a {
    color: #0077b6;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}


/* REFERENCES */
.image-credit {
  display: block;
  font-size: 12px;
  text-align: center;
  color: #666;
  line-height: 0;
  margin-top: 4px;;
}

.image-credit a {
  color: #0077B6;
  text-decoration: none;
}

.image-credit a:hover {
  text-decoration: underline;
}



/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
    .header-top {
        flex-direction: column;
        text-align: center;
    }

    .header-top .logo {
        margin-top: 10px;
    }

    nav ul {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .hero-text {
        width: 90%;
        font-size: 0.9em;
        padding: 0;
    }

    .par {
    max-width: 100%;
    justify-self: center;
    }

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

    .card {
        width: 90%;
    }
}