*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body{
    margin:0;
    min-height:100vh;
    background-image:url('https://images.unsplash.com/photo-1507525428034-b723cf961d3e');
    background-size:cover;
    background-position:center;
    background-repeat:no-repeat;
    background-attachment:fixed;
    position:relative;
}

body::before{
    content:"";
    position:fixed;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background:rgba(0,0,0,0.55);
    z-index:-1;
}

/* DASHBOARD */
.dashboard-wrapper{
    padding:20px;
}

.top-bar{
    display:flex;
    justify-content:space-between;
    align-items:center;
    background:#fff;
    padding:15px 25px;
    border-radius:10px;
    color:#000;
    box-shadow:0 2px 10px rgba(0,0,0,0.2);
}

.top-bar h2{
    color:#00b894;
}

.user-box a{
    margin-left:15px;
    color:red;
    text-decoration:none;
    font-weight:bold;
}

.hero-card{
    margin-top:20px;
    background:rgba(105,250,117,0.25);
    color:white;
    padding:40px;
    border-radius:15px;
    text-align:center;
}

.hero-card h1{
    font-size:40px;
    margin-bottom:10px;
}

.hero-card p{
    font-size:16px;
    max-width:600px;
    margin:0 auto 20px;
}

.ai-btn{
    padding:15px 25px;
    background:#00b894;
    color:white;
    border:none;
    border-radius:10px;
    cursor:pointer;
    font-size:16px;
}

.ai-btn:hover{
    background:#019875;
}

.logout-btn{
    display:inline-block;
    padding:10px 20px;
    background:red;
    color:white;
    text-decoration:none;
    border-radius:8px;
}

/* CARDS */
.features{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(200px,1fr));
    gap:20px;
    margin-top:30px;
    padding:80px 50px;
    text-align:center;
}

.card{
    background:#f4f4f4;
    padding:30px;
    border-radius:10px;
    box-shadow:0 2px 10px rgba(0,0,0,0.1);
    text-align:center;
    font-size:18px;
    transition:0.3s;
}

.card:hover{
    transform:translateY(-8px);
}

.card h3{
    margin-bottom:15px;
    color:#00b894;
}

.card p{
    color:#555;
}

/* LANDING PAGE */
.hero{
    background-image:url('https://images.unsplash.com/photo-1507525428034-b723cf961d3e');
    background-size:cover;
    background-position:center;
    height:100vh;
}

.overlay{
    width:100%;
    height:100%;
    background:rgba(0,0,0,0.6);
}

nav{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:20px 80px;
}

nav h2{
    color:#fff;
    font-size:32px;
}

.nav-buttons a{
    text-decoration:none;
    margin-left:15px;
}

.btn-login,
.btn-register{
    padding:10px 20px;
    border:1px solid #fff;
    color:#fff;
    border-radius:5px;
    transition:0.3s;
}

.btn-login:hover,
.btn-register:hover{
    background:#fff;
    color:#000;
}

.hero-content{
    text-align:center;
    color:#fff;
    margin-top:140px;
    padding:20px;
}

.hero-content h1{
    font-size:60px;
    margin-bottom:20px;
}

.hero-content p{
    font-size:20px;
    max-width:700px;
    margin:auto;
    line-height:1.6;
}

.hero-buttons{
    margin-top:30px;
}

.btn-primary{
    display:inline-block;
    padding:15px 30px;
    background:#00b894;
    color:#fff;
    text-decoration:none;
    border-radius:5px;
    margin-right:10px;
}

.btn-secondary{
    display:inline-block;
    padding:15px 30px;
    background:#fff;
    color:#000;
    text-decoration:none;
    border-radius:5px;
}

.chat-modal{
    display:none;
    position:fixed;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background:rgba(0,0,0,0.35);
    justify-content:center;
    align-items:center;
    z-index:9000;
}

.chat-frame-wrapper{
    position:relative;
    width:700px;
    height:560px;
}

.close-chat{
    position:absolute;
    top:18px;
    right:25px;
    font-size:28px;
    font-weight:bold;
    color:#000;
    cursor:pointer;
    z-index:9500;
}

.chat-frame{
    width:100%;
    height:100%;
    border:none;
    background:white;
    border-radius:12px;
    box-shadow:0 10px 30px rgba(0,0,0,0.35);
}


/* CHAT PAGE */
.chat-container{
    width:100%;
    max-width:700px;
    margin:0 auto;
    background:#fff;
    padding:20px;
    border-radius:12px;
    box-shadow:0 5px 20px rgba(0,0,0,0.2);
}

.chat-header{
    background:rgba(0,0,0,0.6);
    color:white;
    padding:10px;
    border-radius:8px;
    margin-bottom:10px;
    font-weight:bold;
}

.chat-box{
    height:400px;
    overflow-y:auto;
    border:1px solid #ddd;
    padding:15px;
    background:#f9f9f9;
    margin-bottom:15px;
    border-radius:8px;
}

.bot-message{
    background:#00b894;
    color:white;
    padding:10px;
    border-radius:8px;
    margin:10px 0;
    width:fit-content;
    max-width:90%;
}

.user-message{
    background:#ddd;
    color:#000;
    padding:10px;
    border-radius:8px;
    margin:10px 0;
    margin-left:auto;
    width:fit-content;
    max-width:90%;
}

.chat-form{
    display:flex;
    gap:10px;
}

.chat-form input{
    flex:1;
    padding:10px;
    border:1px solid #ccc;
    border-radius:5px;
}

.chat-form button{
    padding:10px 20px;
    background:#00b894;
    color:white;
    border:none;
    border-radius:5px;
    cursor:pointer;
}

.chat-box button,
.bot-message button{
    margin-top:10px;
    padding:8px 12px;
    border:none;
    background:#0984e3;
    color:white;
    border-radius:5px;
    cursor:pointer;
}

.chat-box button:hover,
.bot-message button:hover{
    background:#0652dd;
}

/* DASHBOARD BUTTONS */
.dashboard-buttons{
    display:flex;
    justify-content:center;
    gap:15px;
    margin-top:20px;
}

.destination-btn{
    padding:15px 25px;
    background:#0984e3;
    color:white;
    text-decoration:none;
    border-radius:10px;
    font-weight:bold;
    position:relative;
}

.destination-btn span{
    background:red;
    color:white;
    padding:3px 8px;
    border-radius:50%;
    margin-left:8px;
}

/* MAP MODAL */
.map-modal{
    display:none;
    position:fixed;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background:rgba(0,0,0,0.65);
    justify-content:center;
    align-items:center;
    z-index:20000;
}

.map-content{
    background:white;
    width:90%;
    max-width:700px;
    max-height:90vh;
    overflow-y:auto;
    padding:20px;
    border-radius:12px;
    position:relative;
}

.map-close{
    position:absolute;
    top:15px;
    right:20px;
    font-size:30px;
    font-weight:bold;
    cursor:pointer;
    z-index:30000;
    background:white;
    padding:5px 10px;
    border-radius:50%;
}

/* CAROUSEL */
.carousel-box{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:10px;
    margin:15px 0;
}

.carousel-btn{
    padding:10px 14px;
    border:none;
    background:#00b894;
    color:white;
    border-radius:6px;
    cursor:pointer;
}

.carousel-btn:hover{
    background:#019875;
}

.map-image{
    width:100%;
    max-height:250px;
    object-fit:cover;
    border-radius:10px;
    margin:10px 0;
}

/* MAPS */
#map{
    width:100%;
    height:300px;
    margin:15px 0;
    border-radius:10px;
}

#routeMap{
    width:100%;
    height:350px;
    margin-top:15px;
    border-radius:10px;
}

/* SAVED DESTINATIONS */
.saved-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
    gap:20px;
    margin-top:30px;
}

.saved-card{
    background:white;
    padding:20px;
    border-radius:12px;
}

.saved-card img{
    width:100%;
    height:180px;
    object-fit:cover;
    border-radius:10px;
}

/* ADMIN */
.admin-menu{
    display:flex;
    justify-content:center;
    gap:20px;
    margin-top:30px;
}

.admin-btn{
    padding:15px 25px;
    background:#00b894;
    color:white;
    text-decoration:none;
    border-radius:10px;
    font-weight:bold;
    transition:0.3s;
}

.admin-btn:hover{
    background:#019875;
}

.table-container{
    background:white;
    padding:20px;
    border-radius:12px;
    overflow-x:auto;
}

.admin-table{
    width:100%;
    border-collapse:collapse;
}

.admin-table th{
    background:#00b894;
    color:white;
    padding:12px;
    text-align:left;
}

.admin-table td{
    padding:12px;
    border-bottom:1px solid #ddd;
}

.admin-table tr:hover{
    background:#f5f5f5;
}

.edit-btn{
    background:#0984e3;
    color:white;
    padding:8px 12px;
    border-radius:5px;
    text-decoration:none;
    margin-right:5px;
}

.delete-btn{
    background:red;
    color:white;
    padding:8px 12px;
    border-radius:5px;
    text-decoration:none;
}

/* RESPONSIVE */
@media(max-width:768px){
    nav{
        padding:20px;
    }

    .hero-content h1{
        font-size:38px;
    }

    .chat-frame-wrapper{
        width:95%;
        height:85vh;
    }

    .features{
        padding:40px 20px;
    }

    .dashboard-buttons,
    .admin-menu{
        flex-direction:column;
        align-items:center;
    }
}

.carousel-3d{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:12px;
    margin:20px 0;
    position:relative;
}

.carousel-main{
    width:70%;
    height:260px;
    object-fit:cover;
    border-radius:12px;
    cursor:pointer;
    box-shadow:0 8px 25px rgba(0,0,0,0.35);
    transition:1s;
    z-index:2;
}

.carousel-main:hover{
    transform:scale(1.03);
}

.carousel-side{
    width:28%;
    height:190px;
    object-fit:cover;
    border-radius:10px;
    opacity:0.55;
    filter:blur(1px);
    transform:scale(0.9);
    transition:0.9s;
    z-index:1;
}

.carousel-btn{
    padding:10px 14px;
    border:none;
    background:#00b894;
    color:white;
    border-radius:6px;
    cursor:pointer;
    z-index:3;
}

.full-image-modal{
    display:none;
    position:fixed;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background:rgba(0,0,0,0.85);
    justify-content:center;
    align-items:center;
    z-index:50000;
}

.full-image-modal img{
    max-width:90%;
    max-height:90%;
    border-radius:12px;
}

.full-image-close{
    position:absolute;
    top:25px;
    right:35px;
    color:white;
    font-size:35px;
    font-weight:bold;
    cursor:pointer;
}