

body {
    font-family: 'Roboto', sans-serif;
    background-color: #121212; /* Dark background */
    color: #fff; /* Light text */
}

header {
    background-color: #121212; /* Dark header background */
    background-image: url('../img/mexicoflag.jpg');
    background-size: contain; /* Fit the entire image within the container */
    background-repeat: no-repeat; /* Prevent image from repeating */
    background-position: center; /* Center the image */
    color: #fff;
    padding: 20px;
    text-align: center;
}

nav {
    background-color: #333; /* Background color for menu */
    padding: 10px 20px; /* Add padding to separate from header */
    text-align: center;
}

nav ul {
    list-style-type: none;
    padding: 0;
}

nav ul li {
    display: inline-block;
    margin-right: 20px;
}

nav ul li a,
a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
}

nav ul li a:hover,
a:hover {
    text-decoration: underline;
}

main {
    padding: 20px;
    height: calc(100vh - 150px); /* Adjust the height to leave space for the footer */
    overflow-y: auto; /* Enable vertical scrolling if needed */
}

footer {
    background-color: #1e1e1e; /* Dark footer background */
    color: #fff;
    text-align: center;
    padding: 10px;
    width: 100%;
    /* Remove position: fixed; bottom: 0; to allow it to flow with the content */
}


.timeline {
    position: relative;
    max-width: 800px;
    margin: 50px auto;
}

.timeline-item {
    border-left: 2px solid #888; /* Adjusted color for dark mode */
    margin-bottom: 50px;
    padding-left: 20px;
    position: relative;
    overflow: hidden; /* Ensure the item contains its floated child */
}

.timeline-content {
    background: #1e1e1e; /* Adjusted background color for dark mode */
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(255, 255, 255, 0.1); /* Adjusted shadow for dark mode */
    overflow: hidden; /* Ensure content doesn't overflow */
}


.timeline-item::before {
    content: "";
    width: 10px;
    height: 10px;
    background: #888; /* Adjusted color for dark mode */
    border-radius: 50%;
    position: absolute;
    left: -6px;
    top: 50%;
    transform: translateY(-50%);
}

.timeline-item::after {
    content: ""; /* Clear the float */
    display: table;
    clear: both;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-item:last-child::before {
    display: none;
}

.timeline-content h3 {
    color: #fff; /* Adjusted color for dark mode */
    margin-top: 0; /* Remove default margin */
}

.timeline-content p {
    color: #ccc; /* Adjusted color for dark mode */
    margin: 10px 0; /* Add margin to create space between lines */
}

.timeline-link {
    text-decoration: none; /* Remove underline */
    color: inherit; /* Inherit text color */
}

.timeline-link:hover {
    text-decoration: underline; /* Add underline on hover */
}

.timeline-image {
    float: left;
    margin-right: 20px;
    width: 100px; /* Adjust image width as needed */
    margin-bottom: 20px; /* Add margin bottom to the image container */
}

.timeline-image img {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
}

#activities,
#airbnb,
#guestlist,
#faq {
    text-align: center; /* Center align all content */
}

#activities h2,
#airbnb h2,
#guestlist h2,
#faq h2 {
    margin-top: 20px; /* Optional: Add some space above the headings */
}

#activities p,
#airbnb p,
#guestlist p,
#faq p {
    margin: 0 auto; /* Center the paragraphs */
    max-width: 600px; /* Adjust maximum width as needed */
}

#guestlist ol {
    list-style-type: decimal; /* Use decimal numbering */
    padding-left: 0px; /* Add left padding */
    max-width: 150px; /* Adjust maximum width as needed */
    margin: auto; /* Center the ordered list horizontally */
}

#guestlist ol li {
    margin-bottom: 5px; /* Add some space between list items */
    color: #f0e8e8; /* Text color for list items */
}

.centered-image {
    text-align: center;
    margin-bottom: 20px; /* Add margin to create space between the image and links */
}

.centered-image img {
    max-width: 500px; /* Set the maximum width of the image */
    height: auto; /* Maintain the aspect ratio */
    display: block; /* Ensure the image is centered horizontally */
    margin: 0 auto; /* Center the image horizontally */
    margin-bottom: 10px; /* Add some space below the image */
}

.grid-images {
    display: grid; /* Use grid layout */
    grid-template-columns: repeat(2, 1fr); /* Two columns with equal width */
    gap: 20px; /* Gap between grid items */
}

.grid-images img {
    max-width: 500px; /* Set the maximum width of the image */
    height: 500px; /* Maintain the aspect ratio */
    display: block; /* Ensure the image is centered horizontally */
    margin: 0 auto; /* Center the image horizontally */
    margin-bottom: 10px; /* Add some space below the image */
}

.image-container {
    position: relative;
    overflow: hidden;
    border-radius: 5px;
    text-align: center; /* Center the content horizontally */
}

.image-container .image {
    display: inline-block; /* Ensure the image and description are displayed inline */
}

.image-container .image img {
    max-width: 600px;
    height: auto;
    display: block;
    border-radius: 5px; /* Adjust border radius */
    transition: transform 0.3s ease; /* Add transition for smooth hover effect */
}

.image-container:hover .image img {
    transform: scale(1.05); /* Enlarge image on hover */
}

.image-container .description {
    position: relative;
    margin-top: 5px; /* Adjust the spacing between the image and description */
}

.image-container .description p {
    margin: 0 auto; /* Center the description horizontally */
    max-width: 600px; /* Adjust maximum width as needed */
    padding: 5px;
    border-radius: 5px;
    font-size: 18px;
    color: #fff;
    text-align: center; /* Center the text horizontally */
}


[id^="day-"] {
    text-align: center; /* Center align all content within day sections */
}

[id^="day-"] h2 {
    margin-top: 20px; /* Optional: Add some space above the headings */
}

[id^="day-"] p {
    margin: 0 auto; /* Center the paragraphs */
    max-width: 600px; /* Adjust maximum width as needed */
}
