*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{

    margin:0;
    padding:0;

    background:#f5f5f5;

    color:#ffffff;

    font-family:Arial, sans-serif;

}

/* MAP */
#map{

    width:100%;

    height: 70vh;

    background:#e9ecef;

    filter:
    brightness(1.35)
    contrast(0.85)
    saturate(0.35);

}

.travel-section{

    position:relative;

    padding:40px 24px 160px;

    background:rgba(1,5,10,0.98);

    color:white;

    z-index:100;

}
.travel-title{
    font-size:32px;
    margin-bottom:24px;
    text-align:center;
    color:#61d9ff;
}

.travel-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit, minmax(260px, 1fr));
    gap:20px;
    max-width:1200px;
    margin:0 auto;
}

.travel-card{
    background:rgba(3,12,22,0.9);
    border-radius:24px;
    overflow:hidden;
    border:1px solid rgba(255,255,255,0.08);
    box-shadow:0 20px 40px rgba(0,0,0,0.35);
    transition: border 0.3s, box-shadow 0.3s;
}

.travel-card.card-active {
    border: 1.5px solid #f1c40f;
    box-shadow: 0 0 20px rgba(241,196,15,0.35);
}

.goto-location {
    margin-top: 12px;
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.2);
    color: #fff;
    padding: 7px 14px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 13px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: background 0.2s, border 0.2s;
}

.goto-location:hover {
    background: rgba(241,196,15,0.15);
    border-color: #f1c40f;
    color: #f1c40f;
}

.coord-info {
    display: block;
    margin-top: 6px;
    font-size: 11px;
    color: #64748b;
    letter-spacing: 0.3px;
}

.travel-card img{
    width:100%;
    height:220px;
    object-fit:cover;
    display:block;
}

.travel-content{
    padding:18px;
}

.travel-content h2{
    font-size:22px;
    margin-bottom:12px;
}

.travel-content p{
    line-height:1.75;
    color:#c9d9e5;
    font-size:15px;
}

/* SIDEBAR */
.sidebar{

    position:fixed;

    left:50%;
    bottom:20px;

    transform:translateX(-50%);

    width:92%;

    height:120px;

    display:flex;

    align-items:center;

    gap:18px;

    padding:16px 22px;

    background:rgba(3,12,22,0.92);

    border-radius:28px;

    overflow-x:auto;

    overflow-y:hidden;

    z-index:9999;

    border:1px solid rgba(255,255,255,0.08);

    backdrop-filter:blur(18px);

}

/* LOGO */

.logo h1{
    font-size:42px;
    line-height:50px;

    color:#f4ffff;

    text-shadow:
    0 0 20px rgba(40,220,255,0.2);
}

.logo p{
    margin-top:15px;

    color:#49d8ff;

    font-size:18px;
}

/* TEXT */

.sidebar-text{
    margin-top:40px;
}

.sidebar-text h2{
    color:#41dfff;

    margin-bottom:20px;

    font-size:34px;
}

.sidebar-text p{
    line-height:34px;

    color:#d7e2e9;

    font-size:20px;
}

/* LOCATION */

.location-list{

    display:flex;

    gap:14px;
    margin-top:0;

}

.location-item{
    padding:14px;

    margin-bottom:14px;

    border-radius:18px;

    background:rgba(255,255,255,0.03);

    border:1px solid rgba(255,255,255,0.04);

    cursor:pointer;

    transition:0.3s;

    font-size:17px;

    backdrop-filter:blur(10px);

    min-width:170px;
}

.location-item:hover{
    background:rgba(50,180,255,0.18);

    transform:translateX(5px);

    border:1px solid rgba(60,220,255,0.3);
}

/* SEARCH */

.search-box{
    position:absolute;

    left:50%;
    top:25px;
    transform:translateX(-50%);

    width:360px;
    height:65px;

    background:rgba(3,12,22,0.78);

    border-radius:20px;

    z-index:1000;

    display:flex;
    align-items:center;

    padding:0 20px;

    color:white;

    backdrop-filter:blur(10px);

    border:1px solid rgba(255,255,255,0.05);

    box-shadow:
    0 0 25px rgba(0,0,0,0.35);
}

.search-box input{
    width:100%;
    height:100%;

    background:transparent;
    border:none;
    outline:none;

    color:white;

    margin-left:15px;

    font-size:18px;
}

/* CARD */

.info-card{
    position:absolute;

    right:40px;
    bottom:40px;

    width:320px;

    background:rgba(3,12,22,0.9);

    border-radius:30px;

    overflow:hidden;

    z-index:1000;

    color:white;

    backdrop-filter:blur(18px);

    border:1px solid rgba(255,255,255,0.08);

    transition:0.4s;

    box-shadow:
    0 0 40px rgba(0,0,0,0.55);
}

.hidden{
    opacity:0;
    pointer-events:none;
    transform:translateY(40px);

    display:none !important;
}

.info-card img{
    width:100%;
    height:220px;

    object-fit:cover;
}

.card-content{
    padding:22px;
}

.card-content h2{
    font-size:42px;

    margin-bottom:18px;
}

.card-content p{
    line-height:30px;

    color:#d9e5ec;

    font-size:18px;
}

.card-icons{
    display:flex;
    justify-content:space-between;

    margin-top:25px;
    margin-bottom:25px;

    color:#49d8ff;
}

.card-content button{
    width:100%;
    height:56px;

    border:none;

    border-radius:16px;

    background:linear-gradient(90deg,#127ca8,#0d4d7a);

    color:white;

    cursor:pointer;

    font-size:18px;

    transition:0.3s;
}

.card-content button:hover{
    transform:scale(1.03);
}

/* CLOSE */

.close-btn{
    position:absolute;

    top:15px;
    right:15px;

    width:42px;
    height:42px;

    border:none;

    border-radius:50%;

    background:rgba(0,0,0,0.6);

    color:white;

    cursor:pointer;

    z-index:1001;

    font-size:18px;
}

/* MENU */

.bottom-menu{
    position:absolute;

    bottom:20px;
    left:50%;

    transform:translateX(-50%);

    display:flex;
    gap:20px;

    background:rgba(3,12,22,0.78);

    padding:18px 28px;

    border-radius:24px;

    color:white;

    z-index:1000;

    backdrop-filter:blur(12px);

    border:1px solid rgba(255,255,255,0.06);

    box-shadow:
    0 0 25px rgba(0,0,0,0.35);
}

.bottom-menu div{
    cursor:pointer;

    transition:0.3s;

    font-size:18px;
}

.bottom-menu div:hover{
    color:#49d8ff;
}

/* LEAFLET */

.leaflet-control-zoom{
    margin-top:120px !important;
    margin-right:20px !important;
}

.leaflet-control-zoom a{
    background:rgba(3,12,22,0.92) !important;

    color:white !important;

    border:none !important;

    width:50px !important;
    height:50px !important;

    line-height:50px !important;

    font-size:22px !important;
}

/* POPUP */

.leaflet-popup-content-wrapper{
    background:rgba(3,12,22,0.95);

    color:white;

    border-radius:18px;
}

.leaflet-popup-tip{
    background:rgba(3,12,22,0.95);
}.theme-toggle{
    position:absolute;

    top:100px;
    left:370px;

    z-index:1000;

    width:180px;
    height:50px;

    border:none;

    border-radius:16px;

    background:#127ca8;

    color:white;

    cursor:pointer;

    font-size:16px;
}
.favorite-btn{
    width:100%;

    margin-top:15px;

    height:50px;

    border:none;

    border-radius:14px;

    background:#ff4f7a;

    color:white;

    cursor:pointer;

    font-size:16px;
}.weather-box{
    margin-top:20px;

    background:rgba(255,255,255,0.04);

    padding:16px;

    border-radius:16px;
}

.weather-box h3{
    margin-bottom:10px;

    color:#49d8ff;
}
.music-btn{
    position:absolute;

    top:160px;
    left:370px;

    z-index:1000;

    width:140px;
    height:50px;

    border:none;

    border-radius:16px;

    background:#0d4d7a;

    color:white;

    cursor:pointer;
}
.sunset-box{
    margin-top:15px;

    background:rgba(255,255,255,0.04);

    padding:14px;

    border-radius:14px;

    color:#ffd27a;
}
@media(max-width:900px){

    .sidebar{

        width:95%;

        left:50%;

        bottom:10px;

        transform:translateX(-50%);

        height:110px;

}

    .info-card{
        width:90%;
        right:5%;
    }

    .search-box{
        width:90%;
        left:5%;
        top:300px;
    }

    .bottom-menu{
        width:95%;

        overflow-x:auto;
    }
}
/* GÜNDÜZ */

.light-map .leaflet-tile{

    filter:
    brightness(0.70)
    contrast(1.20)
    saturate(2.0)
    hue-rotate(28deg);

}

/* GECE */

.dark-map .leaflet-tile{

    filter:
    brightness(0.65)
    contrast(1.80)
    saturate(1.0);

}
.favorites-box{

    margin-top:20px;

    background:rgba(255,255,255,0.04);

    border-radius:16px;

    padding:16px;

}

.favorites-box h3{

    margin-bottom:14px;

    color:#ff7aa2;

}

#favoritesList{

    list-style:none;

}

#favoritesList li{

    margin-bottom:10px;

    color:#ffffff;

    background:rgba(255,255,255,0.05);

    padding:10px;

    border-radius:10px;

}/* FAVORİLER */

.favorites-sidebar{

    margin-top:20px;

}

.favorites-sidebar-btn{

    width:100%;

    height:60px;

    border:none;

    border-radius:18px;

    background:linear-gradient(90deg,#ff4f7a,#ff7aa2);

    color:white;

    font-size:18px;

    cursor:pointer;

    font-weight:bold;
}

.favorites-panel{

    margin-top:15px;

    background:rgba(255,255,255,0.05);

    border-radius:18px;

    padding:15px;

}

.favorites-panel ul{

    list-style:none;
}

.favorites-panel li{

    margin-bottom:12px;

    padding:12px;

    border-radius:12px;

    background:rgba(255,255,255,0.05);

    color:white;
}

.hidden{

    display:none;
}
.favorite-btn{

    width:100%;

    height:55px;

    border:none;

    border-radius:16px;

    margin-top:18px;

    margin-bottom:18px;

    background:linear-gradient(90deg,#ff4f7a,#ff7aa2);

    color:white;

    font-size:17px;

    cursor:pointer;

    font-weight:bold;
}.favorite-btn{

    width:100%;

    height:55px;

    border:none;

    border-radius:16px;

    margin-top:18px;

    margin-bottom:18px;

    background:linear-gradient(90deg,#ff4f7a,#ff7aa2);

    color:white;

    font-size:17px;

    cursor:pointer;

    font-weight:bold;
}
/* AUTH */

.auth-buttons{

    position:absolute;

    top:20px;
    right:20px;

    z-index:2000;

    display:flex;

    gap:10px;
}

.auth-buttons button{

    width:110px;
    height:38px;

    border:none;

    border-radius:12px;

    background:#127ca8;

    color:white;

    cursor:pointer;
    font-size:13px;
}

.auth-section{

    position:absolute;
    top:70px;
    right:20px;
    display:grid;
    grid-template-columns:repeat(2, minmax(200px, 240px));
    gap:8px;
    width:min(500px, calc(100vw - 420px));
    z-index:1000;
}

.auth-card{

    width:100%;
    max-width:240px;
    background:#0f1720;
    border-radius:16px;
    padding:12px;
    display:flex;
    flex-direction:column;
    gap:10px;
    box-shadow:0 14px 28px rgba(0,0,0,0.18);
}

.auth-card.auth-tab{
    cursor:pointer;
    transition:transform 0.2s ease, background 0.2s ease;
}

.auth-card.auth-tab:hover{
    transform:translateY(-2px);
    background:rgba(18,124,168,0.18);
}

.auth-card h2{

    margin:0;
    color:white;
    text-align:center;
    font-size:18px;
}

.auth-card p{
    margin:0;
    color:#a9d5f3;
    text-align:center;
    font-size:13px;
}

.auth-card input{

    width:100%;
    height:36px;
    border:none;
    border-radius:10px;
    padding:0 12px;
    font-size:14px;
    background:#15233a;
    color:white;
}

.auth-card button{

    height:38px;
    border:none;
    border-radius:12px;
    background:#127ca8;
    color:white;
    font-size:14px;
    cursor:pointer;
}

.auth-modal{

    position:fixed;

    inset:0;

    background:rgba(0,0,0,0.6);

    display:flex;

    justify-content:center;

    align-items:center;

    z-index:5000;
}

.auth-box{

    width:400px;

    background:#0f1720;

    padding:30px;

    border-radius:20px;

    display:flex;

    flex-direction:column;

    gap:16px;
}

.auth-box h2{

    color:white;

    text-align:center;
}

.auth-box input{

    height:50px;

    border:none;

    border-radius:12px;

    padding-left:15px;

    font-size:16px;
}

.auth-box button{

    height:50px;

    border:none;

    border-radius:12px;

    background:#127ca8;

    color:white;

    font-size:16px;

    cursor:pointer;
}

.modal-close{
    position:absolute;
    right:18px;
    top:18px;
    width:32px;
    height:32px;
    border:none;
    border-radius:50%;
    background:rgba(0,0,0,0.15);
    color:#fff;
    font-size:16px;
    cursor:pointer;
}

.auth-box{
    position:relative;
}

.forgot-link{

    display:block;

    margin-top:15px;

    color:#127ca8;

    text-decoration:none;

    font-size:14px;

    text-align:center;
}

.forgot-link:hover{

    text-decoration:underline;

}
.user-box{

    position:absolute;

    top:20px;
    right:20px;

    z-index:9999;

    background:#127ca8;

    color:white;

    padding:12px 20px;

    border-radius:12px;

    font-weight:bold;

}
#openFavorites{

    position:fixed;

    bottom:20px;
    left:20px;

    z-index:9999;

    background:#127ca8;

    color:white;

    border:none;

    padding:14px 18px;

    border-radius:14px;

    cursor:pointer;

}

#favoritesPanel{

    position:fixed;

    bottom:80px;
    left:20px;

    width:260px;

    background:white;

    padding:20px;

    border-radius:18px;

    z-index:9999;

    box-shadow:0 0 20px rgba(0,0,0,0.2);

}

.hidden{

    display:none;

}
#logoutBtn{

    margin-left:10px;

    background:red;

    color:white;

    border:none;

    padding:6px 10px;

    border-radius:8px;

    cursor:pointer;

}
.logo,
.sidebar-text{

    display:none;
}
.leaflet-container{

    background:#e9ecef !important;

}

.leaflet-tile{

    filter:
    brightness(1.35)
    contrast(0.85)
    saturate(0.35);

}
.sidebar,
.bottom-bar,
.place-card,
.travel-section{

    color:white;

}



.place-card{
    width:320px;
    background:#111827;
    border-radius:20px;
    overflow:hidden;
    color:white;
}

.place-image{
    width:100%;
    height:220px;
    object-fit:cover;
    display:block;
}

.place-content{
    padding:15px;
}