/* Basic reset and styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: Arial, sans-serif;
    background-color: #040d6e; /* Update to new background color */
    position: relative; /* Set the body as the positioning context for absolute positioning of footer */
    min-height: 100vh; /* Ensure the body takes at least the height of the viewport */
}

header {
    background-color: #ffffff; /* Update header background color to white */
    padding: 20px;
    display: flex;
    justify-content: space-between; /* Add space between logo and social icons */
    align-items: center; /* Center vertically */
}

.logo {
    max-width: 100%;
}

.logo img {
    max-width: 40%;
    height: auto;
}

.social-icons {
    padding-right: 20px; /* Add 20px padding to the right */
}

.social-icons a {
    margin-left: 10px; /* Add some space between icons */
}

.social-icons img {
    width: 30px; /* Adjust the size of social icons */
    height: auto;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    padding-bottom: 100px; /* Add padding to the bottom of the container */
}

.category {
    position: relative; /* Positioning context for absolute positioning of h2 */
    width: calc(45% - 20px); /* Adjusted thumbnail width with spacing */
    margin-bottom: 20px;
    text-align: center;
    overflow: hidden; /* Ensures uniform thumbnail heights */
    height: 250px; /* Set a fixed height for the category containers */
    border: 4px solid gold; /* Thick gold-colored border around the thumbnails */
    border-radius: 8px; /* Rounded corners for all sides */
}

.category a {
    display: block;
    height: 100%; /* Ensure anchor fills its parent container */
}

.category img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensure the image covers the entire container */
}

.category h2 {
    position: absolute;
    bottom: 20px; /* Gap at the bottom */
    left: 20px; /* Gap at the left end */
    right: 20px; /* Gap at the right end */
    margin: 0;
    padding: 10px; /* Add padding to improve readability */
    background-color: rgba(50, 50, 50, 0.7); /* Semi-transparent dark grey background */
    font-size: 1.8rem; /* 25% smaller font size */
    color: gold; /* Font color as gold */
    border-radius: 8px; /* Rounded corners for the h2 box */
}

/* Hover effect */
.category a:hover img {
    opacity: 0.7; /* Reduce opacity on hover */
    transition: opacity 0.3s ease; /* Smooth transition effect */
}

/* Article box styles */
.article-box {
    background: #ffffff;
    padding: 40px;
    margin-top: 40px; /* Increase margin-top for more spacing */
    margin-bottom: 20px;
    max-width: 90%; /* Adjust the width as needed */
    margin-left: auto;
    margin-right: auto;  
}

.article-box h2 {
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.article-box h3 {
    margin-bottom: 15px;
    margin-top: 20px;
}

.article-text {
    margin-bottom: 25px;
}

.article-image {
    max-width: 80%; /* Ensure the image does not exceed its container width */
    height: auto; /* Maintain aspect ratio */
    display: block; /* Ensure the image is displayed as a block element */
    margin: 0 auto; /* Center the image horizontally */
    border-radius: 8px; /* Apply rounded corners to the image */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Add a subtle box shadow for depth */
    margin-top: 25px;
    margin-bottom: 25px;
}

.bold {
    font-weight: bold;
}

ul {
    list-style-type: disc; /* Change bullet style (e.g., disc, circle, square) */
    margin: 0; /* Remove default margin */
    padding: 0; /* Remove default padding */
    padding-left: 70px; /* Adjust the value for indentation */
    padding-right: 70px;
    margin-bottom: 30px;
}

/* Style for ordered list */
ol {
    list-style-type: decimal; /* Change numbering style (e.g., decimal, lower-alpha, upper-roman) */
    margin: 0; /* Remove default margin */
    padding: 0; /* Remove default padding */
}

li {
    margin-bottom: 10px; /* Add spacing between list items */
    /* Add any other styles you want for list items */
}

/* Footer styles */
footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    background-color: #ffffff; /* Update footer background color to white */
    padding: 20px;
}

.footer-content {
    text-align: center;
}

.footer-text {
    font-size: 0.9rem;
}

.banner {
    /* ADVERTISING BANNER DIV */
}


/* Style for the card container */
.card {
    border: 1px solid #ccc;
    border-radius: 5px;
    margin: 10px;
    padding: 10px;
    width: 350px;
    display: inline-block;
    background-color: #ffffff;
    position: relative; /* Position relative for absolute positioning */
}

/* Style for the destination name */
.destination {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
}

/* Style for the description */
.description {
    margin-bottom: 10px;
	margin-bottom: 30px; /* Add some bottom margin */
    padding-bottom: 30px; /* Add some bottom padding */
}

/* Style for the image */
.card img {
    width: 100%;
    height: auto;
    border-radius: 5px;
    margin-bottom: 10px;
}



/* Style for the affiliate link */
.affiliate-link {
    text-align: center; /* Center the buttons */
    position: absolute;
    bottom: 15px; /* Add space at the bottom */
    left: 0;
    right: 0;
}

/* Style for the affiliate link button */
.affiliate-link a {
    display: inline-block;
    padding: 10px;
    background-color: #4CAF50;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s;
    width: calc(100% - 20px); /* Adjust button width */
    margin: 0 auto; /* Center the button */
}

/* Hover effect */
.affiliate-link a:hover {
    background-color: #45a049;
}






/* Media queries for responsiveness */
@media (max-width: 767px) {
    .container {
        flex-direction: column;
    }
    .category {
        width: calc(100% - 20px); /* Adjusted thumbnail width with spacing */
    }

    ul {
        padding-left: 10px;
        padding-right: 10px;
    }

    .social-icons {
        display: flex;
        justify-content: center;
    }
    .social-icons a {
        margin: 0 10px; /* Adjust the margin between social icons */
    }
    .social-icons img {
        width: 25px; /* Adjust the size of social icons */
        height: auto;
    }
}

@media (min-width: 768px) {
    .container {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-around;
    }
    .category {
        width: calc(45% - 20px); /* Adjusted width for desktop devices */
    }
}
