/* ====== LUXHOMES STYLES ====== */
:root {
  --gold: #d4af37;
  --dark: #111;
  --gray: #555;
  --light: #f9f9f9;
  --white: #fff;
  --radius: 12px;
}

body {
  font-family: "Poppins", sans-serif;
  margin: 0;
  background: var(--light);
  color: var(--dark);
  line-height: 1.6;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

/* Header */
.site-header {
  background: var(--dark);
  color: var(--white);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
}
.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--gold);
}
nav a {
  color: var(--white);
  margin-left: 1rem;
  text-decoration: none;
  font-weight: 500;
}
nav a.active,
nav a:hover {
  color: var(--gold);
}

/* Hero Section */
.hero {
  background: url('https://images.unsplash.com/photo-1600585154340-be6161a56a0c?auto=format&fit=crop&w=1600&q=60') center/cover;
  color: var(--white);
  padding: 120px 0;
  text-align: center;
}
.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}
.hero p {
  font-size: 1.1rem;
  margin-bottom: 1rem;
}
.quick-search select,
.quick-search button {
  padding: 0.6rem 1rem;
  margin: 0.3rem;
  border: none;
  border-radius: var(--radius);
  font-size: 1rem;
}
.quick-search button {
  background: var(--gold);
  color: var(--dark);
  cursor: pointer;
  transition: 0.3s;
}
.quick-search button:hover {
  background: #c19a28;
}

/* Cards */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}
.card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: transform 0.3s;
}
.card:hover {
  transform: translateY(-5px);
}
.card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.card-content {
  padding: 1rem;
}
.card-content h3 {
  margin: 0 0 0.3rem 0;
  font-size: 1.2rem;
  color: var(--dark);
}
.card-content p {
  margin: 0.3rem 0;
  color: var(--gray);
}
.price {
  color: var(--gold);
  font-weight: 600;
  font-size: 1.1rem;
}

/* Filters */
.filters {
  margin-top: 2rem;
}
.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}
.filter-row input,
.filter-row select {
  padding: 0.6rem 1rem;
  border-radius: var(--radius);
  border: 1px solid #ccc;
  flex: 1;
  min-width: 140px;
}

/* Property Detail */
.property-page {
  margin-top: 2rem;
}
.property-page img {
  width: 100%;
  border-radius: var(--radius);
  margin-bottom: 1rem;
}
.property-info {
  background: var(--white);
  padding: 1rem;
  border-radius: var(--radius);
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.property-info h2 {
  color: var(--gold);
}
.video-btn {
  display: inline-block;
  background: var(--gold);
  color: var(--dark);
  padding: 0.6rem 1rem;
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 600;
  margin-top: 1rem;
}
.video-btn:hover {
  background: #c19a28;
}

/* Admin Form */
.form-card label {
  display: block;
  margin-top: 0.8rem;
  font-weight: 500;
}
.form-card input,
.form-card textarea,
.form-card select {
  width: 100%;
  padding: 0.6rem;
  margin-top: 0.3rem;
  border: 1px solid #ccc;
  border-radius: var(--radius);
}
.form-actions {
  margin-top: 1rem;
}
.form-actions button {
  background: var(--gold);
  border: none;
  padding: 0.6rem 1.2rem;
  border-radius: var(--radius);
  cursor: pointer;
  font-weight: 600;
}
.form-actions button:hover {
  background: #c19a28;
}

/* Footer */
.site-footer {
  background: var(--dark);
  color: var(--white);
  padding: 1rem 0;
  text-align: center;
  margin-top: 3rem;
}

/* Responsive */
@media(max-width:700px){
  .header-inner { flex-direction: column; }
  .quick-search { display: flex; flex-direction: column; align-items: center; }
  .filter-row { flex-direction: column; }
}
