:root{
  --bg: #ffffff;
  --muted: #6b6b6b;
  --muted-2: #9b9b9b;
  --card: #f7f7f7;
  --surface: #ffffff;
  --border: #e9e9e9;
  --accent: #FF5A5F;         /* like coral */
  --accent-600: #E34B4F;
  --shadow: 0 6px 18px rgba(18,22,27,0.08);
  --radius: 12px;
  --radius-sm: 8px;
  --max-width: 1100px;
}



/* Reset / base */
*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  color: #222;
  background: linear-gradient(180deg,#fff 0%, #fbfbfb 100%);
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
  line-height:1.45;
  font-size:16px;
}


/* Layout wrapper */
.container{
  max-width: var(--max-width);
  margin: 28px auto;
  padding: 0 18px;
  width: 80%;
  justify-content: center;  
  max-width: 1400px;
  margin: 40px auto;
}

/* Header 
header{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  margin-bottom:18px;
}
header h1{
  margin:0;
  font-size:20px;
  letter-spacing: -0.2px;
}
header a.logo{
  color:var(--accent);
  text-decoration:none;
  font-weight:700;
} */

/* Nav small links 
nav a{
  color:var(--muted-2);
  text-decoration:none;
  margin-left:12px;
  font-size:14px;
}
nav a.primary{
  color:#fff;
  background:var(--accent);
  padding:8px 12px;
  border-radius:999px;
  text-decoration:none;
  font-weight:600;
  box-shadow: 0 4px 12px rgba(243,94,98,0.12);
}*/

/* Search bar */
.search-row{
  display:flex;
  gap:12px;
  margin: 18px 0 22px;
}
.search-row input[type="text"]{
  flex:1;
  padding:12px 14px;
  border-radius: 12px;
  border:1px solid var(--border);
  background:var(--surface);
  outline:none;
}
.search-row button{
  background:var(--accent);
  color:white;
  border:0;
  padding: 10px 16px;
  border-radius: 10px;
  font-weight:600;
  cursor:pointer;
  box-shadow: 0 6px 14px rgba(255,165,0,1);
}

/* Listings grid */
.listings{
  display:grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap:18px;
}

/* Listing card */
.listing{
  background:var(--surface);
  border-radius: var(--radius);
  overflow:hidden;
  box-shadow: var(--shadow);
  border:1px solid var(--border);
  transition: transform .18s ease, box-shadow .18s ease;
  display:flex;
  flex-direction:column;
}
.listing:hover{
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(18,22,27,0.12);
}
.listing .thumb{
  width:100%;
  height:160px;
  object-fit:cover;
  display:block;
  background:#eee;
}
.card-body{
  padding:14px;
  flex:1;
}
.card-title{
  margin:0 0 6px;
  font-size:16px;
  font-weight:600;
  color:#111;
}
.card-desc{
  margin:0 0 10px;
  color:var(--muted);
  font-size:14px;
}
.card-meta{
  display:flex;
  justify-content:space-between;
  align-items:center;
  font-size:14px;
  color:var(--muted-2);
}

/* Form styles */
form{
  background:var(--surface);
  border-radius:12px;
  padding:16px;
  border:1px solid var(--border);
  box-shadow: var(--shadow);
  max-width:760px;
}
label{font-weight:600; font-size:14px; color:#222;}
input[type="text"], input[type="email"], input[type="password"],
input[type="number"], input[type="date"], textarea, select {
  width:100%;
  padding:10px 12px;
  margin-top:8px;
  margin-bottom:14px;
  border-radius:10px;
  border:1px solid var(--border);
  background: #fff;
  font-size:15px;
  outline:none;
  transition: box-shadow .12s ease, border-color .12s ease;
}
input:focus, textarea:focus, select:focus{
  border-color: var(--accent);
  box-shadow: 0 6px 18px rgba(255,90,95,0.08);
}
textarea{ min-height:120px; resize:vertical; }
button{
  background:var(--accent);
  color:#fff;
  padding:10px 14px;
  border-radius:10px;
  border:0;
  font-weight:600;
  cursor:pointer;
  box-shadow: 0 6px 14px rgba(255,90,95,0.12);
}
.small-btn{
  background:transparent;
  color:var(--muted);
  border:1px solid var(--border);
  padding:8px 10px;
  border-radius:8px;
}

/* Gallery */
.gallery{ display:flex; flex-wrap:wrap; gap:10px; margin-top:8px; }
.gallery img{ border-radius:8px; height:110px; object-fit:cover; box-shadow: 0 6px 20px rgba(20,20,20,0.06); }

/* My listings list */
.my-list-row{ display:flex; flex-direction:column; gap:12px; }
.my-list-item{
  display:flex; align-items:center; justify-content:space-between;
  padding:12px; border-radius:10px; background:var(--card); border:1px solid var(--border);
}

/* Utility */
.text-muted{ color:var(--muted); }
.center{ text-align:center; }
.row{ display:flex; gap:12px; align-items:center; }
.col{ flex:1; }

/* Responsive tweaks */
@media (max-width:700px){
  .search-row{ flex-direction:column; }
  header{ flex-direction:column; align-items:flex-start; gap:8px; }
  .listing .thumb{ height:140px; }
}

/* small helpers used in admin/edit pages */
.delete-link{
  color:var(--muted);
  text-decoration:none;
  font-size:14px;
  margin-top:6px;
}
.delete-link:hover{ color:var(--accent-600); text-decoration:underline; }


/* ===========================
   SEARCH BOX ( Style)
   =========================== */

.search-box {
    width: 90%;
    max-width: 900px;
    margin: 30px auto;
    background: #fff;
    padding: 24px;
    border-radius: 20px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.08);
}

.search-form {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 18px;
}

.search-field label {
    font-size: 14px;
    font-weight: 600;
    color: #444;
    display: block;
    margin-bottom: 6px;
}

.search-field input {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #ddd;
    border-radius: 12px;
    font-size: 14px;
}

.btn-search {
    background: #ff385c;
    color: white;
    border: none;
    border-radius: 14px;
    padding: 14px;
    font-size: 16px;
    cursor: pointer;
    align-self: end;
    transition: 0.2s ease;
}

.btn-search:hover {
    background: #e61e4d;
    transform: translateY(-2px);
}

/* ===========================
   RESULTS GRID
   =========================== */
.results-grid {
    width: 90%;
    margin: 40px auto;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 24px;
}

/* ===========================
   LISTING CARDS (Airbnb)
   =========================== */
.listing-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    transition: 0.2s ease;
}

.listing-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 30px rgba(0,0,0,0.1);
}

.card-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.card-body {
    padding: 16px;
}

.card-body h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
}

.card-body .location {
    color: #777;
    margin: 6px 0;
}

.card-body .price {
    font-weight: 600;
    margin: 10px 0;
}

.btn-view {
    display: inline-block;
    padding: 10px 16px;
    border-radius: 12px;
    background: #ff385c;
    color: white;
    text-decoration: none;
    font-weight: 600;
    transition: 0.2s ease;
}

.btn-view:hover {
    background: #e61e4d;
    transform: translateY(-2px);
}
/*
.container {
    width: 80%;
    max-width: 1400px;
    margin: 40px auto;
}*/

/* COURSEL*/
.carousel-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    margin: 20px 0;
}

.carousel-track {
    display: flex !important;
    flex-direction: row !important;
    gap: 20px;
    transition: transform 0.3s ease-in-out;
    white-space: nowrap;
}

.carousel-item {
    flex: 0 0 250px !important;
    display: inline-block !important;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.carousel-item img {
    width: 100%;
    height: 160px;
    object-fit: cover;
}