/* Google Font */
@charset "UTF-8";

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:'Poppins',sans-serif;
}

body{
    background:#f8f9fc;
}

a{
    text-decoration:none;
}

.section-title{
    font-size:34px;
    font-weight:700;
    color:#2d2d2d;
}

.btn-theme{
    background:#6A1B9A;
    color:white;
    border:none;
    border-radius:10px;
    padding:12px 28px;
    transition:.3s;
}

.btn-theme:hover{
    background:#4A148C;
    color:white;
}

.card{
    border:none;
    border-radius:18px;
    overflow:hidden;
    transition:.3s;
}

.card:hover{
    transform:translateY(-8px);
    box-shadow:0 18px 35px rgba(0,0,0,.15);
}

.shadow-custom{
    box-shadow:0 12px 30px rgba(0,0,0,.08);
}

.rounded-20{
    border-radius:20px;
}

.btn-tour{
    background:#6A1B9A;
    color:#fff;
    border:none;
    border-radius:30px;
    padding:10px 25px;
    font-weight:600;
    transition:.3s;
}

.btn-tour:hover{
    background:#4A148C;
    color:#fff;
    transform:translateY(-2px);
    box-shadow:0 8px 18px rgba(106,27,154,.35);
}

.btn-tour-outline{
    background:#fff;
    color:#6A1B9A;
    border:2px solid #6A1B9A;
    border-radius:30px;
    padding:10px 25px;
    font-weight:600;
    transition:.3s;
}

.btn-tour-outline:hover{
    background:#6A1B9A;
    color:#fff;
}

.place-card,
.hotel-card,
.restaurant-card{
    height:100%;
    display:flex;
    flex-direction:column;
}



/* ===== Hero Section ===== */
@media(max-width:576px){
    .hero-title{
        font-size:22px !important;
        line-height:1.3;
        text-align:center;
    }

    .hero-subtitle{
        font-size:13px !important;
        text-align:center;
    }

    .hero-section{
        padding:20px 10px;
    }
}

/* ===== RESPONSIVE ===== */

@media(max-width:991px){
    .weather-mini-card,
    .plan-trip-card-v2{
        width: 100%;
        margin: 0;
    }
}

@media(max-width:576px){
    .weather-mini-card,
    .plan-trip-card-v2{
        width: 90%;
        margin: 12px auto;
    }
}

/* ===========================
   Dark mode text & card styles
=========================== */

[data-theme="dark"] .place-title,
[data-theme="dark"] .hotel-name,
[data-theme="dark"] .hotel-info h6,
[data-theme="dark"] .city-body h5,
[data-theme="dark"] .section-title {
    color: #ffffff !important;
}

[data-theme="dark"] .place-card,
[data-theme="dark"] .hotel-card,
[data-theme="dark"] .restaurant-card {
    background: #161226 !important;
    color: #f1f5f9 !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
}

/* =========================================================
   UNIVERSAL FORM CONTROLS & CARDS DARK MODE
   ========================================================= */
[data-theme="dark"] .form-label,
[data-theme="dark"] label {
    color: #e2e8f0 !important;
}

[data-theme="dark"] .form-control,
[data-theme="dark"] .form-select,
[data-theme="dark"] textarea {
    background-color: #1e1933 !important;
    border-color: rgba(255, 255, 255, 0.14) !important;
    color: #ffffff !important;
}

[data-theme="dark"] .form-control::placeholder,
[data-theme="dark"] textarea::placeholder {
    color: #64748b !important;
}

[data-theme="dark"] .form-control:focus,
[data-theme="dark"] .form-select:focus,
[data-theme="dark"] textarea:focus {
    background-color: #241e3d !important;
    border-color: #8b5cf6 !important;
    box-shadow: 0 0 0 0.25rem rgba(139, 92, 246, 0.25) !important;
    color: #ffffff !important;
}

[data-theme="dark"] .input-group-text,
[data-theme="dark"] .input-group-text.bg-light {
    background-color: #241e3d !important;
    border-color: rgba(255, 255, 255, 0.14) !important;
    color: #cbd5e1 !important;
}

[data-theme="dark"] .input-group-text i {
    color: #a78bfa !important;
}

[data-theme="dark"] .form-text {
    color: #c4b5fd !important;
}

[data-theme="dark"] .card,
[data-theme="dark"] .card-custom,
[data-theme="dark"] .auth-card {
    background: #161226 !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
    color: #f1f5f9 !important;
}



/* ===========================
   HERO - EXTRA MOBILE FIX
   (sirf mobile, desktop untouched)
   !important use kiya kyunki home.css/placeCards.css
   is file ke BAAD load hoti hain aur override kar deti thi
=========================== */

@media (max-width: 576px){

    .hero{
        padding: 90px 0 30px !important;
    }

    .hero h1{
        font-size: 24px !important;
        line-height: 1.3 !important;
    }

    .hero p{
        font-size: 13px !important;
        line-height: 1.5 !important;
    }

    .hero-highlight,
    .hero-highlight-1,
    .hero-highlight-2{
        white-space: normal !important;
    }

    /* Explore Now / How it Works buttons ko stack karo */
    .hero-content .d-flex{
        flex-direction: column !important;
        gap: 10px !important;
        width: 100% !important;
    }

    .hero-content .btn{
        width: 100% !important;
        font-size: 14px !important;
        padding: 12px !important;
    }

    /* Search box thoda compact */
    .search-box-v2{
        padding: 12px !important;
        border-radius: 14px !important;
    }

    .search-tab{
        font-size: 11px !important;
        padding: 8px 10px !important;
    }

    /* Weather + Plan Trip cards ek line mein side-by-side rahein, chhote size mein */
    .hero-side-widgets-flow{
        flex-direction: row !important;
        gap: 10px !important;
    }

    .weather-mini-card,
    .plan-trip-card-v2{
        flex: 1 1 0 !important;
        width: auto !important;
        padding: 12px !important;
        min-height: 130px !important;
    }

    .weather-mini-temp{
        font-size: 26px !important;
    }

    .weather-mini-icon{
        font-size: 24px !important;
    }

    .weather-mini-location{
        font-size: 12px !important;
    }

    .plan-trip-title{
        font-size: 14px !important;
    }
}

/* ===========================
   Popular Places - Mobile Slider
   (sirf mobile, desktop untouched)
   !important use kiya taaki file-load-order
   ki wajah se koi aur CSS override na kare
=========================== */

@media (max-width: 576px){

    .places-header-row{
        flex-wrap: nowrap !important;
    }

    .places-header-row h3{
        font-size: 20px !important;
    }

    .places-header-row .btn{
        font-size: 13px !important;
        padding: 8px 16px !important;
        white-space: nowrap !important;
    }

    .places-row{
        display: flex !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        scroll-snap-type: x mandatory !important;
        gap: 14px !important;
        padding-bottom: 10px !important;
        margin: 0 !important;
        -webkit-overflow-scrolling: touch;
    }

    .places-row::-webkit-scrollbar{
        display: none;
    }

    .places-col{
        flex: 0 0 85% !important;
        max-width: 85% !important;
        width: 85% !important;
        scroll-snap-align: center;
        padding: 0 !important;
    }

}

/* ===========================
   Theme Purple Utilities (Auth & Actions)
=========================== */
.btn-theme-purple {
    background-color: #5b36c6 !important;
    border-color: #5b36c6 !important;
    color: #ffffff !important;
    transition: all 0.25s ease !important;
}

.btn-theme-purple:hover,
.btn-theme-purple:focus {
    background-color: #4c28b5 !important;
    border-color: #4c28b5 !important;
    color: #ffffff !important;
    box-shadow: 0 4px 14px rgba(91, 54, 198, 0.35) !important;
}

.auth-theme-link {
    color: #5b36c6 !important;
    transition: color 0.2s ease !important;
}

.auth-theme-link:hover,
.auth-theme-link:focus {
    color: #4c28b5 !important;
    text-decoration: underline !important;
}