/* ===== PHOTO GALLERY ===== */
.gallery-section { padding: 20px 20px 0; }
.gallery-grid {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 8px;
  max-width: 1280px;
  margin: 0 auto;
}
.gallery-main {
  position: relative;
  border-radius: var(--radius-large);
  overflow: hidden;
  height: 480px;
}
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.gallery-btn {
  position: absolute;
  bottom: 20px;
  right: 20px;
  background: white;
  color: var(--navy);
  font-size: 14px;
  font-weight: 700;
  padding: 12px 24px;
  border-radius: 50px;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.12);
  transition: transform 0.2s, box-shadow 0.2s;
  cursor: pointer;
  border: none;
  font-family: 'Satoshi', sans-serif;
}
.gallery-btn:hover {
  transform: scale(1.03);
  box-shadow: 0 6px 24px rgba(0,0,0,0.16);
}
.gallery-btn svg { width: 18px; height: 18px; }
.gallery-side { display: flex; flex-direction: column; gap: 8px; }
.gallery-side-img {
  flex: 1;
  border-radius: var(--radius-large);
  overflow: hidden;
}
.gallery-side-img img { width: 100%; height: 100%; object-fit: cover; }

/* ===== PROPERTY HEADER ===== */
.property-header {
  max-width: 1280px;
  margin: 0 auto;
  padding: 32px 20px 0;
}
.property-header-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  margin-bottom: 16px;
}
.property-header-left h1 {
  font-size: 36px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 4px;
}
.property-header-left .address { font-size: 18px; opacity: 0.6; }
.property-header-right { text-align: right; flex-shrink: 0; }
.property-header-price {
  font-size: 32px;
  font-weight: 700;
  font-family: 'Roboto', sans-serif;
  margin-bottom: 8px;
}
.property-header-badge {
  display: inline-block;
  background: var(--navy);
  color: var(--background);
  font-size: 12px;
  font-weight: 700;
  padding: 6px 20px;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ===== SPECS STRIP ===== */
.specs-strip {
  background: var(--beige);
  border-radius: var(--radius-large);
  padding: 24px 32px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  max-width: 1280px;
  margin: 32px auto 0;
  flex-wrap: wrap;
}
.spec-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  text-align: center;
  min-width: 100px;
}
.spec-item svg { width: 28px; height: 28px; color: var(--navy); margin-bottom: 4px; }
.spec-value { font-size: 18px; font-weight: 700; }
.spec-label {
  font-size: 12px;
  opacity: 0.5;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

/* ===== DESCRIPTION + SIDEBAR ===== */
.detail-content {
  max-width: 1280px;
  margin: 0 auto;
  padding: 48px 20px 0;
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 48px;
  align-items: start;
}
.detail-main h2 { font-size: 28px; font-weight: 700; margin-bottom: 20px; }
.detail-main p { font-size: 16px; line-height: 1.7; margin-bottom: 16px; opacity: 0.8; }
.detail-main h3 { font-size: 22px; font-weight: 700; margin-top: 40px; margin-bottom: 20px; }

/* Feature table */
.feature-table { width: 100%; border-collapse: collapse; border-radius: var(--radius-large); overflow: hidden; }
.feature-row { display: grid; grid-template-columns: 1fr 1fr; }
.feature-row:nth-child(odd) { background: white; }
.feature-row:nth-child(even) { background: var(--beige); }
.feature-label, .feature-value { padding: 14px 20px; font-size: 15px; }
.feature-label { font-weight: 500; opacity: 0.6; }
.feature-value { font-weight: 600; }

/* Agent card */
.agent-card {
  border: 1px solid var(--grey);
  border-radius: var(--radius-large);
  padding: 32px;
  background: white;
  position: sticky;
  top: 90px;
}
.agent-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--background);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 16px;
}
.agent-name { font-size: 20px; font-weight: 700; margin-bottom: 4px; }
.agent-role { font-size: 14px; opacity: 0.5; margin-bottom: 20px; }
.agent-contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  font-size: 15px;
  font-weight: 500;
  transition: color 0.2s;
}
.agent-contact-item:hover { color: var(--orange); }
.agent-contact-item svg { width: 20px; height: 20px; flex-shrink: 0; }
.agent-cta {
  display: block;
  width: 100%;
  text-align: center;
  margin-top: 24px;
  background: var(--orange);
  color: var(--background);
  font-weight: 700;
  padding: 16px 24px;
  border-radius: 50px;
  font-size: 16px;
  transition: opacity 0.2s, transform 0.2s;
}
.agent-cta:hover { opacity: 0.9; transform: scale(1.02); }
.agent-call-text {
  text-align: center;
  margin-top: 16px;
  font-size: 14px;
  opacity: 0.5;
}
.agent-call-text a { font-weight: 700; opacity: 1; color: var(--navy); }

/* Map */
.map-section { max-width: 1280px; margin: 0 auto; padding: 48px 20px; }
.map-section h2 { font-size: 28px; font-weight: 700; margin-bottom: 20px; }
.map-container {
  border-radius: var(--radius-large);
  overflow: hidden;
  height: 400px;
  background: var(--beige);
}
.map-container iframe { width: 100%; height: 100%; border: 0; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .detail-content {
    grid-template-columns: 1fr;
  }
  .agent-card {
    position: static;
  }
}
@media (max-width: 768px) {
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-main { height: 300px; }
  .gallery-side { flex-direction: row; }
  .gallery-side-img { height: 150px; }
  .property-header-top { flex-direction: column; }
  .property-header-right { text-align: left; }
  .property-header-left h1 { font-size: 28px; }
  .specs-strip { justify-content: center; }
}
