/* Garden villa detail layout. Interior slots can be replaced with
   .gallery-cover buttons containing an img and .photo-caption. */
.container { max-width: 1200px; }
.breadcrumb { padding-top: 116px; }
.hero { padding: 36px 24px 32px; }
.hero-badge { margin-bottom: 12px; }
.hero-title { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 12px; }
.hero-meta { margin-bottom: 20px; gap: 16px; }
.hero-meta span { text-align: left; }
.hero-meta svg { flex-shrink: 0; }
.section-heading { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 16px; }
.section-heading h2 { font-size: 1.2rem; }
.section-heading > span { color: var(--text-secondary); font-size: .85rem; }
.photo-gallery { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: repeat(2, 180px); gap: 12px; }
.gallery-cover { position: relative; display: block; width: 100%; min-width: 0; overflow: hidden; border: 1px solid var(--border-subtle); border-radius: 16px; padding: 0; cursor: zoom-in; background: var(--bg-card); color: white; font: inherit; }
.gallery-cover:first-child { grid-row: span 2; }
.gallery-cover img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .25s ease; }
.gallery-cover:hover img { transform: scale(1.03); }
.photo-caption { position: absolute; bottom: 0; left: 0; right: 0; display: flex; justify-content: space-between; gap: 8px; padding: 30px 18px 16px; background: linear-gradient(transparent, rgba(0,0,0,.8)); text-align: left; font-size: .85rem; }
.photo-caption > span { white-space: nowrap; }
.gallery-pending { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 8px; border: 1px dashed var(--border-active); border-radius: 16px; background: linear-gradient(135deg, var(--bg-card), var(--bg-secondary)); color: var(--text-secondary); font-size: .9rem; }
.gallery-pending svg { width: 26px; height: 26px; color: var(--gold-primary); opacity: .65; }
.gallery-pending small { color: var(--text-secondary); font-size: .75rem; }
.details-section { padding: 24px 0 44px; }
.quick-info { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-bottom: 24px; }
.info-card { padding: 24px; min-width: 0; }
.info-label { color: var(--text-secondary); font-size: .9rem; margin-bottom: 12px; }
.info-label svg { width: 18px; height: 18px; color: var(--gold-primary); }
.info-value { font-size: 1rem; overflow-wrap: anywhere; }
.card-note { color: var(--text-secondary); font-size: .9rem; line-height: 1.8; }
.quick-info .card-note { margin-top: 8px; }
.text-link { display: inline-block; color: var(--gold-primary); text-decoration: none; font-size: .85rem; padding: 8px 0; }
.text-link:hover { text-decoration: underline; }
.contact-links { display: flex; flex-direction: column; align-items: flex-start; margin-top: 4px; }
.contact-links > span { padding: 4px 0; color: var(--text-secondary); font-size: .85rem; }
.overview-grid { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); gap: 24px; margin-bottom: 24px; align-items: start; }
.section-title { font-size: 1.25rem; margin-bottom: 18px; }
.feature-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.feature-tags span { color: var(--gold-primary); background: rgba(212,175,55,.08); border: 1px solid var(--border-subtle); padding: 6px 12px; border-radius: 50px; font-size: .85rem; }
.description-copy { color: var(--text-secondary); line-height: 1.95; word-break: keep-all; overflow-wrap: anywhere; }
.description-copy p + p { margin-top: 16px; }
.price-amount { font-size: 2.5rem; font-weight: 700; color: var(--gold-primary); margin-bottom: 16px; }
.price-amount span { font-size: 1rem; }
.weekend-price { display: flex; justify-content: space-between; gap: 12px; padding: 16px 0; border-top: 1px solid var(--border-subtle); border-bottom: 1px solid var(--border-subtle); margin-bottom: 16px; font-size: .95rem; }
.price-card .btn { width: 100%; justify-content: center; margin-top: 20px; }
.location-faq-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; align-items: start; }
#directions { scroll-margin-top: 116px; }
.map-frame { overflow: hidden; border-radius: 12px; background: var(--bg-secondary); margin: 16px 0 4px; }
.map-frame iframe { display: block; width: 100%; height: 320px; }
.faq-item { border-top: 1px solid var(--border-subtle); }
.faq-item summary { padding: 18px 0; cursor: pointer; font-weight: 500; font-size: .95rem; }
.faq-item summary::marker { color: var(--gold-primary); }
.faq-item p { padding-bottom: 18px; font-size: .9rem; line-height: 1.9; color: var(--text-secondary); }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid var(--gold-light); outline-offset: 4px; }
.photo-dialog { margin: auto; padding: 20px; width: min(1000px, 94vw); max-height: 92dvh; border: 1px solid var(--border-active); border-radius: 16px; background: var(--bg-secondary); color: white; }
.photo-dialog::backdrop { background: rgba(0,0,0,.85); }
.photo-dialog img { display: block; width: 100%; height: auto; max-height: 72dvh; object-fit: contain; }
.photo-dialog p { text-align: center; margin-top: 12px; }
.photo-close { display: block; margin: 0 0 12px auto; border: 1px solid var(--border-active); border-radius: 8px; background: var(--bg-card); color: white; padding: 10px 16px; cursor: pointer; font: inherit; }
.photo-open { overflow: hidden; }
@media (max-width: 900px) {
  .photo-gallery { grid-template-columns: 2fr 1fr 1fr; grid-template-rows: repeat(2, 140px); }
  .quick-info { gap: 12px; }
  .quick-info .info-card { padding: 18px; }
  .overview-grid { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); }
  .location-faq-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .container { padding-left: 16px; padding-right: 16px; }
  .header { padding: 12px 0; }
  .header .btn { padding: 10px 14px; font-size: .85rem; }
  .breadcrumb { padding-top: 96px; }
  .hero { padding: 28px 16px; }
  .hero-meta { font-size: .85rem; gap: 10px; }
  .section-heading > span { font-size: .75rem; }
  .photo-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: auto; gap: 8px; }
  .gallery-cover:first-child { grid-column: 1 / -1; grid-row: auto; aspect-ratio: 835 / 500; }
  .gallery-pending { min-height: 112px; font-size: .8rem; border-radius: 12px; }
  .quick-info { grid-template-columns: 1fr; gap: 10px; }
  .quick-info .info-card { padding: 18px 20px; }
  .quick-info .info-value br { display: none; }
  .contact-links { flex-direction: row; flex-wrap: wrap; gap: 4px 16px; }
  .overview-grid { grid-template-columns: 1fr; }
  .overview-grid, .location-faq-grid { gap: 16px; }
  .info-card { padding: 20px; }
  .description-copy { font-size: .95rem; }
  .map-frame iframe { height: 280px; }
  .floating-buttons { right: 10px; bottom: 12px; gap: 8px; }
  .floating-btn { width: 44px; height: 44px; }
  .footer { padding-bottom: 116px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}
