* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Arial, sans-serif;
  background: #05070d;
  color: #ffffff;
  overflow-x: hidden;
}

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 22px 0;
  background: linear-gradient(to bottom, rgba(5, 7, 13, 0.88), rgba(5, 7, 13, 0.08));
  backdrop-filter: blur(8px);
}

.nav-container {
  width: 90%;
  max-width: 1400px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  text-decoration: none;
  color: #d4a85d;
  display: flex;
  flex-direction: column;
  letter-spacing: 2px;
}

.logo span {
  font-size: 1.5rem;
  font-weight: 700;
}

.logo small {
  font-size: 0.7rem;
  letter-spacing: 5px;
}

.nav-links {
  display: flex;
  gap: 36px;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: #ffffff;
  font-size: 0.95rem;
  transition: 0.3s ease;
  position: relative;
}

.nav-links a:hover {
  color: #d4a85d;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 0;
  height: 2px;
  background: #d4a85d;
  transition: 0.3s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

.contact-btn {
  text-decoration: none;
  background: #d4a85d;
  color: #0b1020;
  padding: 14px 28px;
  border-radius: 6px;
  font-weight: 700;
  transition: 0.3s ease;
}

.contact-btn:hover {
  transform: translateY(-2px);
  background: #e5bb73;
  box-shadow: 0 10px 25px rgba(212, 168, 93, 0.25);
}

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 100px 8% 80px;
  background:
    linear-gradient(
      to right,
      rgba(3, 6, 15, 0.88),
      rgba(3, 6, 15, 0.72),
      rgba(3, 6, 15, 0.35)
    ),
    url("images/1.png") center/cover no-repeat;
    background-attachment: fixed;
    overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;

  background:
    linear-gradient(
      to right,
      rgba(3, 6, 15, 0.88),
      rgba(3, 6, 15, 0.72),
      rgba(3, 6, 15, 0.35)
    ),
    url("images/1.png") center/cover no-repeat;

  transform: scale(1.08);
  will-change: transform;
  z-index: 0;
}

.hero-parallax {
  position: absolute;
  inset: 0;

  background:
    linear-gradient(
      to right,
      rgba(3, 6, 15, 0.88),
      rgba(3, 6, 15, 0.72),
      rgba(3, 6, 15, 0.35)
    ),
    url("images/1.png") center/cover no-repeat;

  transform: scale(1.08);
  z-index: 0;
  will-change: transform;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      circle at top right,
      rgba(212, 168, 93, 0.08),
      transparent 25%
    );
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 650px;

  opacity: 0;
  transform: translateY(40px);
  animation: heroReveal 1.1s ease forwards;
  animation-delay: 0.2s;
}

@keyframes heroReveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-label,
.section-label {
  color: #d4a85d;
  letter-spacing: 5px;
  font-size: 0.85rem;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.hero h1 {
  font-size: clamp(4rem, 8vw, 7rem);
  line-height: 0.95;
  font-weight: 300;
  margin-bottom: 28px;
}

.hero h1 span {
  display: block;
  color: #d4a85d;
}

.hero-text {
  font-size: 1.15rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 40px;
}

.hero-buttons {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  text-decoration: none;
  padding: 16px 34px;
  border-radius: 6px;
  font-weight: 700;
  letter-spacing: 1px;
  transition: 0.3s ease;
}

.primary-btn {
  background: #d4a85d;
  color: #0b1020;
}

.primary-btn:hover {
  background: #e5bb73;
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(212, 168, 93, 0.25);
}

.secondary-btn {
  border: 1px solid rgba(212, 168, 93, 0.6);
  color: #ffffff;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(8px);
}

.secondary-btn:hover {
  background: rgba(212, 168, 93, 0.08);
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(212, 168, 93, 0.18);
}

.scroll-indicator {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 60px;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 3px;
  font-size: 0.8rem;
}

.scroll-indicator span {
  width: 12px;
  height: 12px;
  border: 2px solid #ffffff;
  border-radius: 50%;
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 1;
  }

  50% {
    transform: scale(1.4);
    opacity: 0.4;
  }

  100% {
    transform: scale(1);
    opacity: 1;
  }
}

/* GLOBAL SECTIONS */

section:not(.hero) {
  position: relative;
  padding: 120px 8%;
  background: #05070d;
}

section:not(.hero)::before {
  content: "";
  position: absolute;
  top: 0;
  left: 8%;
  width: 84%;
  height: 1px;
  background: linear-gradient(
    to right,
    transparent,
    rgba(212, 168, 93, 0.22),
    transparent
  );
}

.section-header {
  max-width: 760px;
  margin-bottom: 55px;
}

.section-header h2,
.content-section h2,
.contact-section h2,
.property-details h2 {
  font-size: clamp(2rem, 4vw, 3.6rem);
  font-weight: 300;
  margin-bottom: 18px;
}

.section-header p,
.content-section p,
.contact-section p,
.property-description {
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.8;
  font-size: 1rem;
}

/* PROPERTY LISTING */

.property-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.property-card {
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 22px;
  overflow: hidden;
  transition: 0.35s ease;
}

.property-card:hover {
  transform: translateY(-8px);
  border-color: rgba(212, 168, 93, 0.35);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

.property-image {
  height: 260px;
  position: relative;
  background-size: cover;
  background-position: center;
}

.main-preview,
.property-image {
  transition: background-position 0.2s ease-out;
}


.img-1 {
  background-image:
    linear-gradient(rgba(5, 7, 13, 0.1), rgba(5, 7, 13, 0.45)),
    url("images/Modern-Apartment.png");
}

.img-2 {
  background-image:
    linear-gradient(rgba(5, 7, 13, 0.1), rgba(5, 7, 13, 0.45)),
    url("images/Luxury Penthouse with Sea View.png");
}

.img-3 {
  background-image:
    linear-gradient(rgba(5, 7, 13, 0.1), rgba(5, 7, 13, 0.45)),
    url("images/Townhouse with Private Yard.png");
}

.property-image span {
  position: absolute;
  top: 18px;
  left: 18px;
  background: #d4a85d;
  color: #0b1020;
  padding: 8px 14px;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 700;
}

.property-info {
  padding: 26px;
}

.property-info h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
}

.location {
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 12px;
}

.price {
  color: #d4a85d;
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 18px;
}

.price.large {
  font-size: 2rem;
}

.property-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 22px;
}

.property-meta span {
  padding: 8px 12px;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.82rem;
}

.property-link {
  color: #d4a85d;
  text-decoration: none;
  font-weight: 700;
}

/* SINGLE PROPERTY */

.single-property {
  background:
    radial-gradient(circle at top left, rgba(212, 168, 93, 0.08), transparent 30%),
    #060914;
}

.single-property-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 45px;
  align-items: center;
}

.main-preview {
  min-height: 470px;
  border-radius: 28px;
  background:
    linear-gradient(rgba(5, 7, 13, 0.05), rgba(5, 7, 13, 0.45)),
    url("images/Modern-Apartment.png") center/cover no-repeat;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.thumbnail-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 18px;
}

.thumbnail-row div {
  height: 120px;
  border-radius: 18px;
  background-size: cover;
  background-position: center;
  opacity: 0.82;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.thumbnail-row div:nth-child(1) {
  background-image:
    linear-gradient(rgba(5, 7, 13, 0.05), rgba(5, 7, 13, 0.35)),
    url("images/Modern-Apartment.png");
}

.thumbnail-row div:nth-child(2) {
  background-image:
    linear-gradient(rgba(5, 7, 13, 0.05), rgba(5, 7, 13, 0.35)),
    url("images/Luxury Penthouse with Sea View.png");
}

.thumbnail-row div:nth-child(3) {
  background-image:
    linear-gradient(rgba(5, 7, 13, 0.05), rgba(5, 7, 13, 0.35)),
    url("images/Townhouse with Private Yard.png");
}

.detail-meta {
  margin: 28px 0;
}

.property-description {
  margin-bottom: 32px;
}

/* ADMIN MOCKUP */

.admin-section {
  background: linear-gradient(135deg, #05070d, #080d19);
}

.admin-mockup {
  display: grid;
  grid-template-columns: 250px 1fr;
  overflow: hidden;
  min-height: 520px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 35px 90px rgba(0, 0, 0, 0.35);
}

.admin-sidebar {
  padding: 30px;
  background: rgba(255, 255, 255, 0.04);
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.admin-sidebar h3 {
  color: #d4a85d;
  margin-bottom: 30px;
}

.admin-sidebar ul {
  list-style: none;
  display: grid;
  gap: 12px;
}

.admin-sidebar li {
  padding: 13px 15px;
  border-radius: 12px;
  color: rgba(255, 255, 255, 0.7);
}

.admin-sidebar li.active,
.admin-sidebar li:hover {
  background: rgba(212, 168, 93, 0.12);
  color: #d4a85d;
}

.admin-content {
  padding: 34px;
}

.admin-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 28px;
}

.admin-top button {
  border: none;
  background: #d4a85d;
  color: #0b1020;
  padding: 12px 18px;
  border-radius: 10px;
  font-weight: 700;
}

.admin-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-bottom: 28px;
}

.admin-stats div {
  padding: 22px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.admin-stats strong {
  display: block;
  font-size: 2rem;
  color: #d4a85d;
  margin-bottom: 8px;
}

.admin-stats span {
  color: rgba(255, 255, 255, 0.65);
}

.admin-table {
  display: grid;
  gap: 10px;
}

.table-row {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 0.6fr;
  gap: 12px;
  padding: 18px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.75);
}

.table-head {
  color: #ffffff;
  background: rgba(212, 168, 93, 0.12);
}

/* BASIC CONTENT SECTIONS */

.content-section,
.contact-section {
  min-height: auto;
  max-width: none;
}

.content-section > *,
.contact-section > * {
  max-width: 900px;
}

.contact-section .btn {
  margin-top: 30px;
}

/* RESPONSIVE */

@media (max-width: 1100px) {
  .property-grid,
  .single-property-grid,
  .admin-mockup {
    grid-template-columns: 1fr;
  }

  .admin-sidebar {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .admin-sidebar ul {
    grid-template-columns: repeat(5, max-content);
    overflow-x: auto;
  }
}

@media (max-width: 980px) {
  .nav-links {
    display: none;
  }

  .hero {
    padding-top: 120px;
  }

  .hero h1 {
    font-size: 4rem;
  }

  .hero-text {
    font-size: 1rem;
  }

  .property-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 700px) {
  section:not(.hero) {
    padding: 90px 7%;
  }

  section:not(.hero)::before {
    left: 7%;
    width: 86%;
  }

  .property-grid,
  .admin-stats,
  .table-row {
    grid-template-columns: 1fr;
  }

  .main-preview {
    min-height: 320px;
  }

  .thumbnail-row div {
    height: 85px;
  }

  .admin-content {
    padding: 24px;
  }

  .admin-top {
    align-items: flex-start;
    gap: 16px;
    flex-direction: column;
  }
}

@media (max-width: 600px) {
  .hero {
    padding: 130px 7% 70px;
    align-items: flex-start;
  }

  .hero h1 {
    font-size: 3.2rem;
  }

  .btn {
    width: 100%;
    text-align: center;
  }

  .contact-btn {
    display: none;
  }
}

@media (max-width: 768px) {
  .hero {
    background-attachment: scroll;
  }
}

@media (max-width: 700px) {
  .admin-mockup {
    min-height: auto;
    border-radius: 22px;
  }

  .admin-sidebar {
    padding: 22px;
  }

  .admin-sidebar ul {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 8px;
  }

  .admin-sidebar li {
    white-space: nowrap;
    flex: 0 0 auto;
  }

  .admin-content {
    padding: 22px;
    overflow-x: hidden;
  }

  .admin-stats {
    grid-template-columns: 1fr;
  }

  .admin-table {
    overflow-x: auto;
    padding-bottom: 8px;
  }

  .table-row {
    min-width: 620px;
    grid-template-columns: 1.4fr 1fr 1fr 0.6fr;
  }
}

.reveal {
  opacity: 0;
  transform: translateY(35px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.property-card:nth-child(2) {
  transition-delay: 0.12s;
}

.property-card:nth-child(3) {
  transition-delay: 0.24s;
}
