body{
    min-height: 100vh;
    background-color: white;
    font-family: sans-serif;
    padding: 4.5em 0 0 0;
    margin: 0;
    position: relative;
    cursor: default;
}
header{
    display: flex;
    background-color: white;
    align-items: center;
    padding: 0 11em;
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    z-index: 1000;
}
.title{
    margin: 0;
    font-size: 1.8em;
    cursor: pointer;
}
.spo-blue{
    color: blue;
}
.nav{
    flex: 1;
    display: flex;
    justify-content: flex-end;
    list-style: none;
    margin: 0;
    position: relative;
    padding-left: 1em;
    gap: 0.5em;
}
.nav-li{
    height: 4.5em;
}
.a-head{
    text-decoration: none;
    height: 100%;
    width: 100%;
    display: flex;
    align-items: center;
    padding: 0 1em;
    color: black;
    font-size: 1em;
    transition: 0.2s ease-in;
}
.a-head:hover{
    color: blue;
}
.a-nav:active{
    font-weight: 600;
}
.s{
    font-size: 1.2em;
    margin-left: 0.5em;
}
footer{
    border-top: 1px solid lightgray;
    font-size: 1.1em;
    display: grid;
    padding: 2em 10.1em;
    grid-template-columns: 1fr 1fr 1fr 1fr;
}
.exp-ul{
    list-style: none;
    padding: 0;
}
.exp-li{
    margin: 0 0 0.8em 0;
    display: flex;
}
.exp-a{
    text-decoration: none;
    color: black;
    min-width: 40%;
    transition: 0.2s ease-in;
}
.exp-a:hover{
    transform: translateX(2%);
    color: blue;
}
.trav, .ex-des, .res-des, .conn-des{
    font-weight: 600;
    font-size: 1.1em;
}
.exp-img{
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    transition: 0.2s ease-in;
}
.dest-intro{
    margin:0;
    background-color: #eee;
    padding: 1.5em 11em;
    min-height: 18vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.dest-cat{
    font-weight: 600;
    margin: 0.2em 0;
    font-size: 1.7em;
}
.des-btn{
    font-size: 0.9em;
    padding: 0.8em 1.1em;
    margin: 0 0.7em 0 0;
    background-color: white;
    border: 1px solid lightgrey;
    border-radius: 0.5em;
    font-weight: 600;
    cursor: pointer;
    transition: 0.2s ease-in;
}
.des-btn:hover{
    background-color: black;
    color: white;
    transform: scale(1.05);
}
hr{
    width: 85%;
    border: none;
    height: 1px;
    background-color: lightgray;
}
.schedule{
    padding: 1.7em 11em;
}
.iti-cont{
    padding: 2em 11em;
}
.date-info{
    background-color: #eee;
    display: flex;
    padding: 0 0 1.3em 0;
    border-top-left-radius: 0.6em;
    border-top-right-radius: 0.6em;
    border: 1px solid lightgray;
}
.iti-box{
    margin-bottom: 3.5em;
}
.iti-dur{
    padding: 0; /* Padding now handled by parent .date-info */
    flex: 1;
}
.day-des{
    margin-top: 0;
    margin-bottom: 0.6em;
}
.duration{
    margin-top: 0;
}
.iti-days, .iti-des, .iti-tags{
    margin: 0 2em 0 0;
}
.diff-cont{
    margin: 0;
    padding: 0;
    text-align: end;
    flex: 1;
    min-width: 120px; /* Prevents shrinking too much */
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}
.diff{
    margin-bottom: 0.6em;
    margin-top: 0;
}
.iti-diff{
    margin-top: 0;
}
.highlights-daytoday{
    display: flex;
    border-bottom: 1px solid lightgrey;
    border-left: 1px solid lightgrey;
    border-right: 1px solid lightgrey;
}
.highlights{
    min-width: 23vw;
    padding: 0.5em 1em 1em 1.5em;
    font-size: 1.1em;
}
.iti-ul{
    padding: 0;
    list-style: none;
}
.dot{
    font-size: 2em;
    margin: 0 0.2em 0 0;
    color: blue;
}
.daytoday{
    flex: 1;
    padding: 0.3em 0 0 0;
}
.day-title{
    font-weight: 600;
    font-size: 1.2em;
}
.day-plan{
    display: flex;
    margin: 0 0 1em 0;
    gap: 1em;
}
.day-num{
    background-color: rgb(193, 232, 245);
    text-align: center;
    padding: 0.3em;
    color: blue;
    min-width: 3.5vw;
    border-radius: 0.8em;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    transition: 0.2s ease-in;
}
.day-num:hover{
    background-color: blue;
    color: white;
    transform: translateY(-5%);
    cursor: default;
}
.d{
    margin: 0 0 0.5em 0;
}
.num{
    margin: 0;
}
.sched-plan{
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}
.sched{
    margin: bottom 0.4em;;
    margin-top: 0;
}
.plan{
    margin-top: 0;
    font-size: 1.1em;
}
.others{
    padding: 1.6em;
    border-bottom: 1px solid lightgrey;
    border-left: 1px solid lightgrey;
    border-right: 1px solid lightgrey;
    border-bottom-right-radius: 0.6em;
    border-bottom-left-radius: 0.6em;
}
.search-des{
    background-color: #eee;
    min-height: 35vh;
    margin: 1.5em 0 4.5em 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.cant-find{
    font-size: 1.2em;
    font-weight: 600;
    margin: 0.4em;
}
.spec{
    background-color: black;
    color: white;
}
.des-foc:focus{
    background-color: black;
    color: white;
}
#srch-btn{
    margin: 1.1em 0 0 0;
    font-size: 0.9em;
    padding: 1em 2em;
    background-color: black;
    color: white;
    border-radius: 0.6em;
    cursor: pointer;
    transition: 0.2s ease-in;
    border: none;
}
#srch-btn:hover{
    background-color: blue;
    color: white;
    transform: translateY(-5%);
}
.search-box{
    margin-left: 4em;
    margin-right: 3em;
    flex: 1;
    text-align: end;
    position: relative;
}
.user-inp{
    min-width: 100%;
    height: 3em;
    border-radius: 1.7em;
    outline: none;
    padding-left: 3.3em;
    border: 1px solid grey;
}
.s-hide{
    position: absolute;
    top: 50%;
    left: 1em;
    transform: translateY(-50%);
    pointer-events: none;
    color: #666;
}

/* Responsive Styles */
@media (min-width: 1045px) and (max-width: 1500px) {
    header {
        padding: 0 4em;
        flex-wrap: nowrap;
    }
    .title {
        flex: 0 0 auto;
        margin-right: 2em;
    }
    .search-box {
        flex: 1 1 auto;
        margin-left: 2em;
        margin-right: 2.5em;
        min-width: 200px;
        max-width: 400px;
    }
    .nav {
        flex: 0 1 auto;
        justify-content: flex-end;
        flex-wrap: nowrap;
    }
    .nav-li {
        flex: 0 0 auto;
    }
    .a-head {
        font-size: 0.95em;
        padding: 0 1em;
        white-space: nowrap;
    }
}

@media (max-width: 1024px) {
    header {
        padding: 0 2em;
        flex-wrap: wrap;
    }
    .title {
        font-size: 1.6em;
        margin-right: 1em;
    }
    .search-box {
        margin-left: 1em;
        margin-right: 2em;
        flex: 0 1 auto;
        min-width: 200px;
        max-width: 300px;
    }
    .nav {
        flex-wrap: wrap;
        justify-content: flex-end;
    }
    .nav-li {
        height: 4em;
    }
    .a-head {
        font-size: 0.9em;
        padding: 0 0.8em;
    }
    .iti-intro {
        padding: 1.5em 3em;
    }
    .iti-cont {
        padding: 2em 3em;
    }
    footer {
        padding: 2em 3em;
        grid-template-columns: 1fr 1fr;
        gap: 2em;
    }
}

@media (max-width: 900px) {
    header {
        padding: 0 1.5em;
    }
    .search-box {
        order: 3;
        width: 100%;
        margin: 0.5em 0 0 0;
        max-width: 100%;
        flex: 1 1 100%;
    }
    .nav {
        order: 2;
        flex: 1 1 100%;
        justify-content: flex-start;
        margin-top: 0.5em;
    }
    .nav-li {
        height: 3.8em;
    }
    .a-head {
        font-size: 0.85em;
        padding: 0 0.7em;
    }
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5em;
    color: black;
    cursor: pointer;
    padding: 0.5em;
    margin-left: 1em;
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    
    header {
        padding: 0 1em;
        flex-wrap: nowrap;
        position: relative;
    }
    .title {
        font-size: 1.4em;
        flex: 1;
    }
    .search-box {
        display: none !important;
    }
    .user-inp {
        width: 100%;
    }
    .nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: white;
        flex-direction: column;
        box-shadow: 0 4px 6px rgba(0,0,0,0.1);
        width: 100%;
        padding: 0;
        z-index: 1000;
        margin-top: 0;
    }
    .nav.active {
        display: flex;
    }
    .nav-li {
        width: 100%;
        height: 3.5em;
        border-bottom: 1px solid #eee;
    }
    .a-head {
        font-size: 1em;
        padding: 0 1.5em;
        width: 100%;
        justify-content: flex-start;
    }
    body {
        padding: 4.5em 0 0 0;
    }
    .iti-intro {
        padding: 1.5em 1.5em;
    }
    .dest-cat {
        font-size: 1.5em;
    }
    .iti-cont {
        padding: 1.5em 1.5em;
    }
    .iti-card {
        flex-direction: column;
    }
    .iti-img {
        width: 100%;
        height: 30vh;
    }
    .iti-des {
        width: 100%;
        padding: 1em 0 0 0;
    }
    footer {
        padding: 1.5em 1.5em;
        grid-template-columns: 1fr;
        gap: 1.5em;
    }
}

@media (max-width: 480px) {
    header {
        padding: 0 0.8em;
    }
    .title {
        font-size: 1.2em;
    }
    .menu-toggle {
        font-size: 1.3em;
        padding: 0.4em;
    }
    body {
        padding: 4.5em 0 0 0;
    }
    .day-title {
        font-size: 1.2em;
    }
    .act-name {
        font-size: 1em;
    }
    .act-des {
        font-size: 0.9em;
    }
}

/* Enhanced date-info layout */
.date-info{
    justify-content: space-between;
    gap: 20px;
    align-items: flex-start;
    padding: 1.3em 1.5em;
} 

.iti-dur{
    flex: 3;
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    justify-content: flex-start;
    padding: 0;
    min-width: 0; /* Prevents flex item overflow */
}

.highlights-daytoday{
    flex: 1;
}

.highlights{
    flex: 1;
}

.best-month{
    flex: 1;
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    justify-content: flex-start;
    gap: 8px;
    min-width: 150px; /* Prevents shrinking too much */
    margin-top: 0; /* Align with other elements */
}

.best-month-title{
    font-weight: 600;
    font-size: 0.9em;
    color: #666;
    margin-top: 0;
    margin-bottom: 0;
}

.best-month-des{
    font-weight: 600;
    font-size: 1em;
    margin-top: 0;
    margin-bottom: 0;
}

.duration{
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: flex-start;
    justify-content: flex-start;
    margin-top: 0.5em;
} 
