/* assets/css/style.css
   Theme: orange / white / black
   Simple, responsive grid + sidebar.
*/

:root{
  --orange:#ff6a00;
  --black:#111;
  --white:#fff;
  --muted:#666;
  --gap:14px;
  --max-width:1200px;
  font-family: Arial, sans-serif;
}

*{box-sizing:border-box}
body{margin:0;background:#f6f6f6;color:var(--black);font-size:15px}
.container{max-width:var(--max-width);margin:0 auto;padding:18px}
.header{background:var(--white);border-bottom:1px solid #eee;padding:14px 18px;display:flex;align-items:center;justify-content:space-between}
.brand{display:flex;align-items:center;gap:12px}
.brand h1{margin:0;color:var(--orange);font-size:20px}
.nav{display:flex;gap:12px;align-items:center}
.nav a{color:var(--muted);text-decoration:none;padding:6px 8px;border-radius:6px}
.nav a.cta{background:var(--orange);color:var(--white)}
.searchbar{flex:1;margin:0 18px}
.searchbar input{width:100%;padding:10px;border:1px solid #ddd;border-radius:6px}

/* top sliders */
.sliders{display:flex;gap:12px;margin-top:18px}
.slider-big{flex:2;background:#ddd;height:320px;border-radius:8px;overflow:hidden;position:relative}
.slider-small{flex:1;display:flex;flex-direction:column;gap:12px}
.small-slide{background:#eee;height:156px;border-radius:8px;overflow:hidden;display:flex;align-items:center;justify-content:center}

/* YouTube embed block */
.youtube-block{margin:18px 0;padding:12px;background:#fff;border-radius:8px;display:flex;gap:12px;align-items:center}
.youtube-embed{flex:1}
.youtube-embed iframe{width:100%;height:240px;border:0;border-radius:6px}
.youtube-cta{width:220px;text-align:center}

/* busy rows */
.row-title{display:flex;justify-content:space-between;align-items:center;margin:12px 0}
.card-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}
.card{background:#fff;padding:10px;border-radius:6px;border:1px solid #eee}
.card img{width:100%;height:160px;object-fit:cover;border-radius:4px}
.card .title{font-weight:700;margin:8px 0;font-size:14px}
.card .price{color:var(--orange);font-weight:800}
.badge{display:inline-block;background:#e6f7ef;color:#086; padding:4px 6px;border-radius:4px;font-size:12px;margin-top:6px}

/* marketplace layout */
.layout{display:grid;grid-template-columns:260px 1fr;gap:18px;margin-top:18px}
.sidebar{background:#fff;padding:12px;border-radius:6px;border:1px solid #eee}
.filter-group{margin-bottom:12px}
.filter-group label{display:block;font-weight:600;margin-bottom:6px}
.filter-group input, .filter-group select{width:100%;padding:8px;border:1px solid #ddd;border-radius:6px}

/* listing grid */
.list-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}
.listing{background:#fff;border:1px solid #eee;padding:10px;border-radius:6px;display:flex;gap:10px}
.listing img{width:220px;height:140px;object-fit:cover;border-radius:6px}
.list-body{flex:1}
.list-title{font-weight:700;font-size:16px;margin-bottom:6px}
.meta{color:var(--muted);font-size:13px}

/* property page */
.property-wrap{display:grid;grid-template-columns:1fr 360px;gap:18px;margin-top:18px}
.gallery{background:#fff;padding:12px;border-radius:6px}
.gallery .big{width:100%;height:420px;object-fit:cover;border-radius:6px}
.gallery .thumbs{display:flex;gap:8px;margin-top:8px}
.gallery .thumbs img{width:80px;height:60px;object-fit:cover;border-radius:4px;cursor:pointer;border:2px solid transparent}
.gallery .thumbs img.active{border-color:var(--orange)}

/* sidebar contact block */
.contact-box{background:#fff;padding:12px;border-radius:6px;border:1px solid #eee}
.contact-box .phone{display:block;font-size:18px;color:var(--orange);font-weight:800;margin:8px 0}
.whatsapp-btn{display:inline-block;background:#25D366;color:#fff;padding:10px 14px;border-radius:6px;text-decoration:none}

/* responsive */
@media (max-width: 992px){
  .card-grid{grid-template-columns:repeat(2,1fr)}
  .list-grid{grid-template-columns:repeat(2,1fr)}
  .layout{grid-template-columns:1fr}
  .property-wrap{grid-template-columns:1fr}
}
@media (max-width:600px){
  .card-grid{grid-template-columns:1fr}
  .listing img{display:none}
  .youtube-embed iframe{height:200px}
}


.text-centerrr {
  text-align: center;
  width: 100%;
}


/* ===================
   Base Styles
=================== */
:root {
  --orange: #f97316;
  --black: #111;
  --white: #fff;
  --muted: #777;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  background: #fafafa;
  color: var(--black);
  line-height: 1.5;
}

a {
  text-decoration: none;
  color: var(--black);
}

a:hover {
  color: var(--orange);
}

/* ===================
   Header
=================== */
.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  background: var(--white);
  border-bottom: 1px solid #eee;
  flex-wrap: wrap;
}

.header .brand img.logo {
  height: 40px;
}

.header .categories {
  display: flex;
  gap: 15px;
  margin-left: 20px;
}

.header .categories a {
  font-size: 14px;
  font-weight: 600;
  color: var(--black);
}

.header .searchbar {
  flex: 1;
  margin: 0 20px;
}

.header .searchbar input {
  width: 100%;
  max-width: 400px;
  padding: 8px 12px;
  border: 1px solid #ddd;
  border-radius: 20px;
}

.header .nav {
  display: flex;
  gap: 15px;
}

.header .nav a {
  font-size: 14px;
  color: var(--black);
  font-weight: 600;
}

.header .nav .cta {
  background: var(--orange);
  color: var(--white);
  padding: 6px 12px;
  border-radius: 5px;
}

/* ===================
   Sliders & Widgets
=================== */
.sliders {
  display: flex;
  gap: 15px;
  margin: 20px 0;
}

.slider-big {
  flex: 2;
  height: 300px;
  background: #eee;
}

.slider-big img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slider-small {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.slider-small .small-slide {
  background: #eee;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 145px;
}

.slider-small img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ===================
   YouTube Block
=================== */
.youtube-block {
  display: flex;
  gap: 20px;
  margin: 30px 0;
  flex-wrap: wrap;
}

.youtube-block iframe {
  width: 500px;
  height: 280px;
  max-width: 100%;
}

.youtube-cta {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* ===================
   Featured Cards
=================== */
.row-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 25px 0 15px;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 15px;
}

.card {
  background: var(--white);
  border: 1px solid #eee;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
}

.card .title {
  padding: 8px 10px;
  font-size: 15px;
  font-weight: bold;
}

.card .price {
  padding: 0 10px 10px;
  color: var(--orange);
  font-weight: 600;
}

.card .badge {
  margin: 0 10px 10px;
  font-size: 12px;
  color: green;
  font-weight: bold;
}

.card .unverified {
  margin: 0 10px 10px;
  font-size: 12px;
  color: var(--muted);
}

/* ===================
   Footer
=================== */
.footer {
  background: var(--black);
  color: var(--white);
  padding: 25px 20px;
  margin-top: 40px;
}

.footer-menus {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  margin-bottom: 15px;
}

.footer .menu-section {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.footer .menu-section strong {
  margin-right: 8px;
}

.footer .menu-section a {
  color: var(--white);
  font-size: 14px;
}

.footer-bottom {
  text-align: center;
  font-size: 13px;
  color: #bbb;
}

/* ===================
   Responsive
=================== */
@media(max-width: 768px) {
  .header {
    flex-direction: column;
    align-items: flex-start;
  }

  .header .searchbar {
    margin: 10px 0;
    width: 100%;
  }

  .sliders {
    flex-direction: column;
  }

  .youtube-block {
    flex-direction: column;
  }

  .footer-menus {
    flex-direction: column;
    gap: 15px;
  }
}

/* ===================
   Marketplace Layout
=================== */
.layout {
  display: flex;
  gap: 20px;
  margin: 25px 0;
}

.sidebar {
  flex: 0 0 250px;
  background: #fff;
  border: 1px solid #eee;
  padding: 15px;
  border-radius: 8px;
  height: fit-content;
}

.sidebar h3 {
  margin-bottom: 12px;
  font-size: 16px;
  color: var(--black);
}

.filter-group {
  margin-bottom: 12px;
}

.filter-group label {
  display: block;
  font-size: 14px;
  margin-bottom: 5px;
  color: var(--muted);
}

.filter-group input,
.filter-group select {
  width: 100%;
  padding: 6px 8px;
  border: 1px solid #ddd;
  border-radius: 4px;
}

.sidebar button {
  width: 100%;
  background: var(--orange);
  color: var(--white);
  border: none;
  padding: 8px;
  font-weight: bold;
  cursor: pointer;
  border-radius: 4px;
}

.sidebar button:hover {
  background: #e25e10;
}

main {
  flex: 1;
}

/* Listings Grid */
.list-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.listing {
  background: var(--white);
  border: 1px solid #eee;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.listing img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.list-body {
  padding: 12px;
}

.list-title {
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 5px;
}

.meta {
  font-size: 13px;
  color: var(--muted);
}

.price {
  font-size: 16px;
  font-weight: bold;
  color: var(--orange);
}

.badge {
  display: inline-block;
  margin-top: 5px;
  font-size: 12px;
  color: green;
  font-weight: bold;
}

/* Pagination */
.pagination {
  margin-top: 20px;
  text-align: center;
}

.pagination a {
  margin: 0 5px;
  padding: 5px 10px;
  border: 1px solid #ddd;
  border-radius: 4px;
  color: var(--black);
}

.pagination a:hover {
  background: var(--orange);
  color: var(--white);
  border-color: var(--orange);
}

.pagination a.active {
  background: var(--orange);
  color: var(--white);
  border-color: var(--orange);
}

/* Responsive for Marketplace */
@media(max-width: 768px) {
  .layout {
    flex-direction: column;
  }

  .sidebar {
    width: 100%;
  }
}


/* ===================
   Property Page
=================== */
.property-view {
  display: flex;
  gap: 20px;
  margin: 25px 0;
}

.gallery {
  flex: 1;
}

.gallery-main img {
  width: 100%;
  height: 350px;
  object-fit: cover;
  border-radius: 8px;
}

.gallery-thumbs {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}

.gallery-thumbs img {
  width: 80px;
  height: 60px;
  object-fit: cover;
  border-radius: 4px;
  cursor: pointer;
  border: 2px solid transparent;
}

.gallery-thumbs img:hover {
  border-color: var(--orange);
}

.details {
  flex: 1;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 8px;
  padding: 15px;
}

.details h2 {
  margin-bottom: 10px;
}

.seller-box {
  margin-top: 20px;
  padding: 12px;
  background: #f9f9f9;
  border-radius: 6px;
  border: 1px solid #eee;
}

.seller-box h3 {
  margin-bottom: 8px;
}

@media(max-width: 768px) {
  .property-view {
    flex-direction: column;
  }
}




/* ===================
   Property Page
=================== */
.property-view {
  display: flex;
  gap: 20px;
  margin: 25px 0;
}

.gallery {
  flex: 1;
}

.gallery-main img {
  width: 100%;
  height: 350px;
  object-fit: cover;
  border-radius: 8px;
}

.gallery-thumbs {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}

.gallery-thumbs img {
  width: 80px;
  height: 60px;
  object-fit: cover;
  border-radius: 4px;
  cursor: pointer;
  border: 2px solid transparent;
}

.gallery-thumbs img:hover {
  border-color: var(--orange);
}

.details {
  flex: 1;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 8px;
  padding: 15px;
}

.details h2 {
  margin-bottom: 10px;
}

.seller-box {
  margin-top: 20px;
  padding: 12px;
  background: #f9f9f9;
  border-radius: 6px;
  border: 1px solid #eee;
}

.seller-box h3 {
  margin-bottom: 8px;
}

@media(max-width: 768px) {
  .property-view {
    flex-direction: column;
  }
}


/* Global styles */
:root {
  --primary: #ff6600;   /* Orange */
  --dark: #000000;      /* Black */
  --light: #ffffff;     /* White */
  --muted: #666666;     /* Grey text */
  --bg: #f9f9f9;        /* Background */
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

body {
  background: var(--bg);
  color: var(--dark);
  line-height: 1.5;
}

/* Header */
.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  background: var(--light);
  border-bottom: 1px solid #ddd;
}

.header .brand img {
  height: 40px;
  cursor: pointer;
}

.header .searchbar {
  flex: 1;
  margin: 0 20px;
}

.header .searchbar input {
  width: 100%;
  padding: 8px 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.nav {
  display: flex;
  gap: 15px;
  align-items: center;
}

.nav a {
  text-decoration: none;
  color: var(--dark);
  font-weight: 500;
}

.nav a.cta {
  background: var(--primary);
  color: var(--light);
  padding: 8px 14px;
  border-radius: 4px;
}

/* Sliders */
.sliders {
  display: flex;
  gap: 20px;
  margin: 20px 0;
}

.slider-big {
  flex: 2;
  height: 300px;
  background: #eee;
}

.slider-small {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.small-slide {
  height: 140px;
  background: #f0f0f0;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Cards */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
  margin: 20px 0;
}

.card {
  background: var(--light);
  border: 1px solid #ddd;
  border-radius: 6px;
  overflow: hidden;
  transition: 0.2s;
}

.card:hover {
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
}

.card .title {
  padding: 10px;
  font-weight: bold;
}

.card .price {
  padding: 0 10px 10px;
  color: var(--primary);
  font-weight: bold;
}

.badge {
  display: inline-block;
  background: var(--primary);
  color: var(--light);
  font-size: 12px;
  padding: 2px 6px;
  margin: 0 10px 10px;
  border-radius: 4px;
}

/* Listing Grid */
.list-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}

.listing {
  background: var(--light);
  border: 1px solid #ddd;
  border-radius: 6px;
  overflow: hidden;
}

.listing img {
  width: 100%;
  height: 160px;
  object-fit: cover;
}

.list-body {
  padding: 10px;
}

.list-title {
  font-weight: bold;
}

.meta {
  font-size: 13px;
  color: var(--muted);
}

.price {
  color: var(--primary);
  font-weight: bold;
}

/* YouTube block */
.youtube-block iframe {
  border-radius: 6px;
  max-width: 100%;
}

/* Footer */
.footer {
  background: var(--dark);
  color: var(--light);
  padding: 20px;
}

.footer .menus {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.footer .menus div {
  flex: 1;
  min-width: 150px;
  margin: 10px;
}

.footer h4 {
  margin-bottom: 10px;
  font-size: 14px;
  color: var(--primary);
}

.footer a {
  display: block;
  text-decoration: none;
  color: var(--light);
  font-size: 13px;
  margin: 4px 0;
}

.footer a:hover {
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
  .header {
    flex-wrap: wrap;
  }
  .header .searchbar {
    order: 3;
    width: 100%;
    margin: 10px 0 0;
  }
  .sliders {
    flex-direction: column;
  }
  .slider-big {
    height: 200px;
  }
}

/* PropertyMarket Global Styles */
/* Theme: Orange (#f68b1e), Black (#000), White (#fff) */

:root {
  --primary: #f68b1e;
  --primary-dark: #d87212;
  --black: #000;
  --white: #fff;
  --muted: #888;
  --bg: #f9f9f9;
  --danger: #e53935;
  --success: #43a047;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: "Segoe UI", Tahoma, sans-serif;
}

body {
  background: var(--bg);
  color: var(--black);
  font-size: 15px;
  line-height: 1.5;
}

a {
  text-decoration: none;
  color: var(--primary);
}

a:hover {
  color: var(--primary-dark);
}

.container {
  max-width: 1200px;
  margin: auto;
  padding: 15px;
}

/* ---------- HEADER ---------- */
.header {
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  border-bottom: 1px solid #ddd;
  flex-wrap: wrap;
}

.header .brand img {
  height: 40px;
  cursor: pointer;
}

.searchbar {
  flex: 1;
  margin: 0 20px;
}

.searchbar input {
  width: 100%;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 20px;
}

.nav a {
  margin: 0 10px;
  font-weight: 600;
}

.nav .cta {
  background: var(--primary);
  color: var(--white);
  padding: 8px 16px;
  border-radius: 20px;
}

/* ---------- FORMS ---------- */
form {
  background: var(--white);
  padding: 20px;
  border-radius: 6px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

form .form-group {
  margin-bottom: 15px;
}

form label {
  display: block;
  font-weight: 600;
  margin-bottom: 5px;
}

form input,
form select,
form textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

form button, .btn, .cta, .btn-danger {
  display: inline-block;
  padding: 10px 16px;
  border-radius: 4px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  text-align: center;
}

.btn { background: var(--primary); color: var(--white); }
.btn:hover { background: var(--primary-dark); }

.btn-danger { background: var(--danger); color: var(--white); }
.btn-danger:hover { opacity: 0.9; }

.cta { background: var(--success); color: var(--white); }
.cta:hover { opacity: 0.9; }

/* Image preview for uploads */
.image-preview {
  margin-top: 10px;
  max-height: 200px;
}
.image-preview img {
  max-width: 100%;
  border: 1px solid #ccc;
  border-radius: 6px;
}

/* ---------- TABLES ---------- */
.table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
}

.table th,
.table td {
  border: 1px solid #ddd;
  padding: 10px;
  text-align: left;
}

.table th {
  background: #f2f2f2;
  font-weight: 700;
}

.badge {
  background: var(--primary);
  color: var(--white);
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 12px;
}

/* ---------- FOOTER ---------- */
.footer {
  background: var(--black);
  color: var(--white);
  padding: 20px;
  margin-top: 40px;
}

.footer .footer-row {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.footer .footer-col {
  flex: 1;
  margin: 10px;
}

.footer h4 {
  margin-bottom: 10px;
  color: var(--primary);
}

.footer ul {
  list-style: none;
}

.footer ul li {
  margin: 6px 0;
}

.footer ul li a {
  color: var(--white);
  font-size: 14px;
}

.footer ul li a:hover {
  text-decoration: underline;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 768px) {
  .header { flex-direction: column; align-items: flex-start; }
  .searchbar { margin: 10px 0; width: 100%; }
  .footer .footer-row { flex-direction: column; }
}
