/* ===========================================
   BookAExpert AI - Gemini Inspired
=========================================== */
:root{
    --bg:#0f1117;
    --bg2:#141925;
    --card:#1d212b;
    --border:#2b3242;
    --text:#f3f4f6;
    --muted:#9ca3af;
    --blue:#4285f4;
}
*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}
html,
body{
    width:100%;
    height:100%;
    font-family:'Inter',sans-serif;
    background:var(--bg);
    color:var(--text);
    overflow:hidden;
}
/* ===========================================
   BACKGROUND GLOW
=========================================== */
body::before{
    content:"";
    position:fixed;
    left:50%;
    top:42%;
    width:900px;
    height:900px;
    transform:translate(-50%,-50%);
    background:radial-gradient(circle,
    rgba(66,133,244,.18) 0%,
    rgba(66,133,244,.05) 40%,
    transparent 70%);
    pointer-events:none;
    z-index:0;
}
/* ===========================================
HEADER
=========================================== */
.header{
    position:fixed;
    top:0;
    left:0;
    right:0;
    height:70px;
    display:flex;
    justify-content:center;
    align-items:center;
    z-index:100;
}
.logo{
    display:flex;
    align-items:center;
    gap:12px;
    font-size:30px;
    font-weight:700;
}
.logo i{
    color:var(--blue);
}
.logo span{
    color:white;
}
/* ===========================================
LANDING
=========================================== */
#landing{
    position:absolute;
    inset:0;
    display:flex;
    justify-content:center;
    align-items:center;
    transition:.45s;
    z-index:5;
}
.landing-content{
    width:100%;
    max-width:900px;
    padding:20px;
    text-align:center;
}
.landing-content h1{
    font-size:56px;
    font-weight:300;
    margin-bottom:20px;
}
.landing-content p{
    color:var(--muted);
    font-size:20px;
    margin-bottom:40px;
}
/* ===========================================
SEARCH
=========================================== */
.hero-search{
    width:100%;
    display:flex;
    align-items:center;
    background:#242424;
    border-radius:50px;
    padding:12px 18px;
    border:1px solid #303030;
    transition:.3s;
}
.hero-search:hover{
    border-color:#4b5563;
}
.hero-search:focus-within{
    border-color:var(--blue);
}
.hero-search textarea{
    flex:1;
    border:none;
    resize:none;
    outline:none;
    background:transparent;
    color:white;
    font-size:18px;
    min-height:32px;
    max-height:120px;
    overflow-y:auto;
}
.hero-search textarea::placeholder{
    color:#9ca3af;
}
.hero-search button{
    width:48px;
    height:48px;
    border:none;
    border-radius:50%;
    background:var(--blue);
    color:white;
    cursor:pointer;
    font-size:18px;
    transition:.25s;
}
.hero-search button:hover{
    transform:scale(1.08);
}
/* ===========================================
CHIPS
=========================================== */
.chips{
    display:flex;
    flex-wrap:wrap;
    justify-content:center;
    gap:12px;
    margin-top:35px;
}
.chip{
    border:none;
    background:#20242e;
    color:#d1d5db;
    padding:12px 20px;
    border-radius:30px;
    cursor:pointer;
    font-size:15px;
    transition:.25s;
}
.chip:hover{
    background:var(--blue);
    color:white;
}
/* ===========================================
CHAT
=========================================== */
#chatScreen{
    display:none;
    position:absolute;
    top:70px;
    left:0;
    right:0;
    bottom:95px;
    overflow-y:auto;
    padding:30px;
}
#chatMessages{
    max-width:900px;
    margin:auto;
}
/* ===========================================
MESSAGES
=========================================== */
.message{
    margin-bottom:30px;
    animation:fade .35s;
}
.user{
    text-align:right;
}
.ai{
    text-align:left;
}
.message .bubble{
    display:inline-block;
    padding:16px 22px;
    border-radius:20px;
    line-height:1.8;
    font-size:16px;
    max-width:80%;
}
.user .bubble{
    background:var(--blue);
    color:white;
}
.ai .bubble{
    background:#1e232d;
    border:1px solid #303846;
    color:white;
}
/* ===========================================
BOTTOM INPUT
=========================================== */
#bottomBar{
    position:fixed;
    left:0;
    right:0;
    bottom:0;
    padding:20px;
    display:none;
    z-index:100;
}
.bottom-input{
    max-width:900px;
    margin:auto;
    display:flex;
    align-items:center;
    gap:10px;
    background:#242424;
    border-radius:40px;
    padding:12px 18px;
    border:1px solid #333;
}
.bottom-input textarea{
    flex:1;
    border:none;
    background:transparent;
    resize:none;
    outline:none;
    color:white;
    font-size:17px;
    min-height:30px;
    max-height:120px;
}
.bottom-input textarea::placeholder{
    color:#9ca3af;
}
.bottom-input button{
    width:46px;
    height:46px;
    border:none;
    border-radius:50%;
    cursor:pointer;
    font-size:18px;
    transition:.2s;
}
#micBtn{
    background:transparent;
    color:white;
}
#micBtn:hover{
    background:#333;
}
#sendBtn{
    background:var(--blue);
    color:white;
}
#sendBtn:hover{
    transform:scale(1.08);
}
/* ===========================================
SCROLLBAR
=========================================== */
::-webkit-scrollbar{
    width:8px;
}
::-webkit-scrollbar-thumb{
    background:#444;
    border-radius:10px;
}
/* ===========================================
ANIMATION
=========================================== */
@keyframes fade{
    from{
        opacity:0;
        transform:translateY(20px);
    }
    to{
        opacity:1;
        transform:translateY(0);
    }
}
/*==========================
SERVICE CARD
===========================*/
.results-wrapper{
    margin-top:30px;
}
.result-card{
    display:flex;
    background:#1d212b;
    border:1px solid #2e3545;
    border-radius:20px;
    overflow:hidden;
    margin-bottom:30px;
    transition:.3s;
}
.result-card:hover{
    transform:translateY(-3px);
    border-color:#4285f4;
    box-shadow:0 10px 35px rgba(66,133,244,.18);
}
.result-image{
    width:260px;
    flex-shrink:0;
}
.result-image img{
    width:100%;
    height:100%;
    object-fit:cover;
}
.result-content{
    padding:25px;
    flex:1;
}
.result-category{
    color:#5ea0ff;
    font-size:14px;
    margin-bottom:8px;
    font-weight:600;
}
.result-content h2{
    font-size:28px;
    color:white;
    margin-bottom:15px;
}
.provider{
    color:#d1d5db;
    margin-bottom:8px;
}
.location{
    color:#9ca3af;
    margin-bottom:18px;
}
.result-content p{
    color:#c9d0d9;
    line-height:1.8;
    margin-bottom:25px;
}
.bottom-row{
    display:flex;
    justify-content:space-between;
    align-items:center;
}
.price{
    color:#4ade80;
    font-size:20px;
    font-weight:700;
}
.details-btn{
    display:inline-block;
    background:#4285f4;
    color:white;
    text-decoration:none;
    padding:12px 25px;
    border-radius:30px;
    transition:.3s;
}
.details-btn:hover{
    background:#2d74ea;
}
/* .service-card{
    display:flex;
    gap:20px;
    background:#1b1f27;
    border:1px solid #2d3443;
    border-radius:18px;
    overflow:hidden;
    margin:20px 0;
    transition:.3s;
}
.service-card:hover{
    border-color:#4285f4;
    transform:translateY(-3px);
    box-shadow:0 12px 35px rgba(66,133,244,.15);
}
.service-image{
    width:220px;
    height:220px;
    object-fit:cover;
    background:#111;
}
.service-body{
    flex:1;
    padding:20px;
}
.service-category{
    color:#4285f4;
    font-size:14px;
    font-weight:600;
    margin-bottom:10px;
}
.service-title{
    font-size:28px;
    font-weight:700;
    color:#fff;
    margin-bottom:12px;
}
.service-provider{
    color:#d1d5db;
    margin-bottom:10px;
}
.service-location{
    color:#9ca3af;
    margin-bottom:15px;
}
.service-description{
    color:#c5cad3;
    line-height:1.8;
    margin-bottom:20px;
}
.service-footer{
    display:flex;
    justify-content:space-between;
    align-items:center;
}
.price{
    color:#4ade80;
    font-size:20px;
    font-weight:700;
}
.book-btn{
    background:#4285f4;
    color:#fff;
    text-decoration:none;
    padding:12px 24px;
    border-radius:30px;
    transition:.3s;
}
.book-btn:hover{
    background:#2f6de0;
}
@media(max-width:768px){
.service-card{
    flex-direction:column;
}
.service-image{
    width:100%;
    height:220px;
}
.service-title{
    font-size:22px;
}
.service-footer{
    flex-direction:column;
    gap:15px;
    align-items:flex-start;
}
} */ 
/* ===========================================
MOBILE
=========================================== */
@media(max-width:768px){
.logo{
    font-size:22px;
}
.landing-content h1{
    font-size:38px;
}
.landing-content p{
    font-size:16px;
}
.hero-search{
    padding:10px 14px;
}
.hero-search textarea{
    font-size:16px;
}
.hero-search button{
    width:42px;
    height:42px;
}
.bottom-input{
    padding:10px 14px;
}
.bottom-input textarea{
    font-size:16px;
}
.message .bubble{
    max-width:95%;
}
}
@media(max-width:900px){
.result-card{
    flex-direction:column;
}
.result-image{
    width:100%;
    height:220px;
}
.result-image img{
    height:220px;
}
.result-content{
    padding:18px;
}
.result-content h2{
    font-size:22px;
}
.bottom-row{
    flex-direction:column;
    align-items:flex-start;
    gap:15px;
}
}
