/* New Itinerary Page Styles */
body {
    font-family: 'Lato', sans-serif;
}

.itinerary-container {
    width: 100%;
}

.day-section {
    position: relative;
    min-height: 100vh;
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* Parallax effect */
    display: flex;
    align-items: center;
    color: #fff;
    text-align: left;
}

.day-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.4)); /* Gradient overlay */
    display: flex;
    align-items: center;
}

.day-content {
    max-width: 800px;
    padding: 3rem 4rem;
    margin-left: 10%;
    transform: translateX(-20px);
    opacity: 0;
    animation: fadeInUp 1s forwards;
    animation-delay: 0.3s;
}

.day-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: 4rem;
    margin-bottom: 2rem;
    font-weight: 700;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.7);
}

.day-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 1.2rem;
}

.day-content ul li {
    margin-bottom: 1.2rem;
    line-height: 1.8;
    display: flex;
    align-items: center;
}

.day-content ul li i {
    margin-right: 20px;
    font-size: 1.5rem;
    width: 25px;
    text-align: center;
    color: #00aaff; /* Icon color */
}

/* Animation */
@keyframes fadeInUp {
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .day-section {
        background-attachment: scroll; /* Disable parallax on mobile to prevent zooming issues */
        padding: 4rem 0; /* Use padding to define height, ensuring it covers the text */
    }

    .day-content {
        margin: 0 auto;
        padding: 2rem 1.5rem; /* Adjust horizontal padding */
        text-align: left; /* Align text left for better readability on mobile */
        margin-left: 0;
        max-width: 100%;
    }

    .day-content h2 {
        font-size: 2.2rem; /* Reduce font size for smaller screens */
    }

    .day-content ul {
        font-size: 1rem; /* Reduce font size for list items */
    }

    .day-content ul li {
        justify-content: flex-start; /* Align items to the start */
        line-height: 1.6;
    }

    .location-desc {
        padding-left: 40px; /* Adjust indentation */
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .day-content h2 {
        font-size: 2rem;
    }

    .day-content ul li i {
        margin-right: 15px;
    }

    .day-one .day-content ul {
        font-size: 0.8rem; /* Further reduce font size for day one on very small screens */
    }
}
