/* ================= ROOT THEME ================= */
:root{
    --green:#2e7d32;
    --light-green:hsl(126, 10%, 81%);
    --soft:#f6fff7;
    --glass: rgba(255,255,255,0.18);
    --shadow: 0 10px 30px rgba(0,0,0,0.08);
}

/* ================= GLOBAL ================= */
body{
    margin:0;
    font-family: 'Segoe UI', sans-serif;
    background: linear-gradient(135deg, #729174, #f6fff7);
    color:#1f2d1f;
}

/* ================= NAVBAR CLEAN SOLID ================= */
.navbar{
    background: #ffffff !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    border-bottom: 1px solid #eaeaea;
}

.navbar-brand{
    font-weight: 800;
    color: #2e7d32 !important;
}

/* LINKS */
.navbar .nav-link{
    color: #333 !important;
    font-weight: 500;
    transition: 0.2s;
}

.navbar .nav-link:hover{
    color: #2e7d32 !important;
}

/* LOGIN/LOGOUT BUTTON */
.navbar .btn-success{
    border-radius: 10px;
    padding: 6px 14px;
}

/* ================= HERO ================= */
.hero{
    height:100vh;
    display:flex;
    align-items:center;
    justify-content:center;
    text-align:center;
    color:white;
    position:relative;

    /* 🔥 FIXED BACKGROUND */
    background:
        linear-gradient(rgba(0,0,0,0.45), rgba(0,0,0,0.55)),
        url('../images/hero1.jpg');

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* HERO CONTENT BOX */
/* ================= HERO PREMIUM DESIGN ================= */
.hero{
    height:100vh;
    position:relative;
    display:flex;
    align-items:center;
    justify-content:center;
    text-align:center;
    color:white;
    background:url('../images/hero1.jpg') center/cover no-repeat;
}

/* DARK OVERLAY */
.hero-overlay{
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background: linear-gradient(
        rgba(0,0,0,0.55),
        rgba(0,0,0,0.65)
    );
}

/* CONTENT */
.hero-content{
    position:relative;
    z-index:2;
    max-width:900px;
}

/* TITLE */
.hero h1{
    font-size:4.2rem;
    font-weight:800;
    letter-spacing:1px;
    text-shadow:0 10px 30px rgba(0,0,0,0.5);
    margin-bottom:10px;
}

/* SUBTEXT */
.hero p{
    font-size:1.2rem;
    opacity:0.9;
    margin-bottom:25px;
}

/* ================= SEARCH BOX GLASS ================= */
.search-box{
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(18px);
    border: 1px solid rgba(255,255,255,0.25);
    border-radius:18px;
    padding:20px;
}

/* INPUTS */
.search-box .form-control{
    height:45px;
    border-radius:10px;
    border:none;
}

/* BUTTON */
.search-box .btn-success{
    height:45px;
    border-radius:10px;
    font-weight:600;
}

/* ================= ANIMATION ================= */
.hero h1,
.hero p,
.search-box{
    animation: fadeUp 1s ease;
}

@keyframes fadeUp{
    from{
        opacity:0;
        transform:translateY(20px);
    }
    to{
        opacity:1;
        transform:translateY(0);
    }
}
/* ================= GLASS SEARCH BOX ================= */
.search-box{
    margin-top:20px;
    background: rgba(255,255,255,0.18);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255,255,255,0.25);
    border-radius:18px;

    /* 🔥 SMALLER SIZE */
    padding:15px 18px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;

    box-shadow: var(--shadow);
}

/* ================= CARDS (AIRBNB STYLE) ================= */
.card{
    border:none;
    border-radius:20px;
    overflow:hidden;
    background: rgba(227, 250, 221, 0.6);
    backdrop-filter: blur(12px);
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.card:hover{
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

/* CARD IMAGE */
.card img{
    height:250px;
    object-fit:cover;
}

/* ================= BUTTONS ================= */
.btn-success{
    background: linear-gradient(135deg, #2e7d32, #43a047);
    border:none;
    border-radius:10px;
    font-weight:600;
}

.btn-success:hover{
    background: linear-gradient(135deg, #256428, #2e7d32);
}

/* ================= SECTION TITLE ================= */
.section-title{
    font-size:2rem;
    font-weight:800;
    color: var(--green);
    margin-bottom:25px;
}

/* ================= STATS ================= */
.stats-card{
    background: rgba(255,255,255,0.6);
    backdrop-filter: blur(12px);
    border-radius:18px;
    padding:25px;
    text-align:center;
    box-shadow: var(--shadow);
}

/* ================= INPUTS ================= */
.form-control{
    border-radius:10px;
    padding:12px;
    border:1px solid #dcefdc;
}

.form-control:focus{
    border-color: var(--green);
    box-shadow: 0 0 0 0.2rem rgba(46,125,50,0.2);
}

/* ================= LINKS ================= */
a{
    text-decoration:none;
}

.nav-link{
    font-weight:500;
}

.nav-link:hover{
    color: var(--green) !important;
}
.sidebar{
min-height:100vh;
background:#198754;
color:white;
padding:20px;
}

.menu-link{
display:block;
color:white;
text-decoration:none;
padding:12px 15px;
margin-bottom:8px;
border-radius:10px;
transition:.3s;
}

.menu-link:hover{
background:rgba(255,255,255,.15);
color:white;
padding-left:20px;
}

.menu-link.active{
background:white;
color:#198754;
font-weight:bold;
}
