/* ============================================
   Inner Page Styles
   Product · About · Contact · Gallery · Rentals
   ============================================ */

/* ————— PRODUCT DETAIL ————— */
.product-hero {
  position: relative;
  overflow: hidden;
}

.product-hero-img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
  border-radius: 0 0 var(--r-xl) var(--r-xl);
}

.product-hero-placeholder {
  width: 100%;
  height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  background: var(--gray);
  border-radius: 0 0 var(--r-xl) var(--r-xl);
}

.product-info { padding: 0 var(--s6); margin-bottom: var(--s5); }

.product-info h1 {
  font-size: var(--fs-xl);
  margin-bottom: var(--s3);
}

.product-info-meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s3);
  margin-bottom: var(--s4);
}

.product-info-meta span {
  display: inline-flex;
  align-items: center;
  gap: var(--s1);
  font-size: var(--fs-xs);
  color: var(--text-muted);
  font-weight: var(--fw-normal);
}

.product-description {
  padding: 0 var(--s6);
  margin-bottom: var(--s6);
}

.product-description p {
  font-size: var(--fs-sm);
  line-height: 1.75;
  margin-bottom: var(--s4);
}

.product-details { padding: 0 var(--s6); margin-bottom: var(--s8); }

.related-section { padding: 0 0 var(--s8); }
.related-section h3 {
  padding: 0 var(--s6);
  margin-bottom: var(--s4);
  font-size: var(--fs-md);
}

.back-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--s2);
  padding: var(--s3) var(--s6);
  font-size: var(--fs-xs);
  font-weight: var(--fw-medium);
  color: var(--text-muted);
  text-decoration: none;
}

/* ————— ABOUT PAGE ————— */
.hero-inner {
  padding: var(--s10) var(--s6) var(--s8);
  text-align: left;
  background: var(--black);
  color: var(--white);
  border-radius: 0 0 var(--r-2xl) var(--r-2xl);
  margin: 0 var(--s3);
}

.hero-inner .hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--s2);
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  padding: 4px var(--s4);
  border-radius: var(--r-full);
  font-size: var(--fs-xs);
  font-weight: var(--fw-normal);
  color: rgba(255,255,255,0.8);
  margin-bottom: var(--s4);
}

.hero-inner h1 { color: var(--white); margin-bottom: var(--s3); }
.hero-inner p  { color: rgba(255,255,255,0.6); }

.about-intro { margin-bottom: var(--s6); }

.about-intro p {
  font-size: var(--fs-sm);
  line-height: 1.75;
  margin-bottom: var(--s4);
}

.timeline {
  padding: 0 var(--s6);
  position: relative;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 38px; top: 0; bottom: 0;
  width: 1px;
  background: var(--gray-mid);
}

.timeline-item {
  display: flex;
  gap: var(--s4);
  margin-bottom: var(--s6);
  position: relative;
}

.timeline-dot {
  width: 12px; height: 12px;
  border-radius: var(--r-full);
  background: var(--black);
  border: 2px solid var(--white);
  outline: 2px solid var(--black);
  flex-shrink: 0;
  margin-top: 4px;
  margin-left: 27px;
  z-index: 1;
}

.timeline-content h4 { font-size: var(--fs-sm); margin-bottom: 2px; }
.timeline-content p  { font-size: var(--fs-xs); }

/* ————— CONTACT PAGE ————— */
.contact-options {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--s4);
  padding: 0 var(--s6);
  margin-bottom: var(--s6);
}

.contact-opt {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--s3);
  padding: var(--s5);
  text-align: center;
  text-decoration: none;
  background: var(--bg-card);
  border-radius: var(--r-lg);
  border: 1px solid var(--gray-mid);
  transition: transform var(--duration-slow) var(--ease);
}

.contact-opt:hover { transform: translateY(-3px); }
.contact-opt:active { transform: scale(0.97); }
.contact-opt .icon { font-size: 1.5rem; }
.contact-opt h4 { font-size: var(--fs-sm); }
.contact-opt p { font-size: var(--fs-xs); color: var(--text-muted); }

/* ————— BOOKING FORM ————— */
.booking-form { padding: 0 var(--s6); }

.form-group { margin-bottom: var(--s5); }

.form-group label {
  display: block;
  font-size: var(--fs-xs);
  font-weight: var(--fw-medium);
  margin-bottom: var(--s2);
  color: var(--text);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: var(--s3) var(--s5);
  border-radius: var(--r-md);
  background: var(--bg-card);
  font-size: var(--fs-sm);
  color: var(--text);
  border: 1.5px solid var(--gray-mid);
  min-height: 48px;
  transition: border-color var(--duration) var(--ease);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--black);
  outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-muted); }

.form-group textarea { resize: vertical; min-height: 100px; }

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23888' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s4);
}

/* ————— GALLERY PAGE ————— */
.gallery-page-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s3);
  padding: 0 var(--s6);
}

.gallery-page-tile {
  border-radius: var(--r-lg);
  overflow: hidden;
  position: relative;
  aspect-ratio: 1;
  background: var(--gray);
  background-size: cover;
  background-position: center;
  cursor: pointer;
  transition: transform var(--duration-slow) var(--ease);
}

.gallery-page-tile:hover { transform: scale(1.02); }
.gallery-page-tile:active { transform: scale(0.98); }

.gallery-page-tile-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.5) 0%, transparent 50%);
}

.gallery-page-tile-label {
  position: absolute;
  bottom: var(--s4); left: var(--s4);
  font-size: var(--fs-xs);
  font-weight: var(--fw-medium);
  color: var(--white);
}

/* ————— RENTALS PAGE ————— */
.rental-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s4);
  padding: 0 var(--s6);
}

.rental-card {
  background: var(--bg-card);
  border-radius: var(--r-xl);
  border: 1px solid var(--gray-mid);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform var(--duration-slow) var(--ease);
  display: flex;
  flex-direction: column;
}

.rental-card:hover { transform: translateY(-3px); }
.rental-card:active { transform: scale(0.97); }

.rental-card-img {
  height: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  background: var(--gray);
}

.rental-card-body { padding: var(--s4); }

.rental-card-body h4 {
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  margin-bottom: 3px;
  color: var(--text);
}

.rental-card-body p {
  font-size: var(--fs-xs);
  color: var(--text-muted);
  line-height: 1.5;
}

.rental-price {
  font-size: var(--fs-sm);
  font-weight: var(--fw-semi);
  color: var(--text);
  padding: 0 var(--s4) var(--s4);
}

/* ————— RESPONSIVE: INNER PAGES ————— */
@media (min-width: 641px) {
  .contact-options { grid-template-columns: repeat(4, 1fr); }
  .rental-grid { grid-template-columns: repeat(3, 1fr); }
  .gallery-page-grid { grid-template-columns: repeat(3, 1fr); }
  .cta-box { padding: var(--s11) var(--s9); }
  .cta-box h3 { font-size: var(--fs-3xl); }
}

@media (min-width: 1025px) {
  .rental-grid { grid-template-columns: repeat(4, 1fr); }
  .gallery-page-grid { grid-template-columns: repeat(4, 1fr); }
}
