/* Reset and Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
  line-height: 1.6;
  color: #222;
  background: #fff;
}

/* Container */
.container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
header {
  padding: 32px 0 24px;
  border-bottom: 1px solid #eee;
}

header h1 {
  font-size: 28px;
  font-weight: 600;
  margin-bottom: 8px;
}

.location {
  color: #666;
  font-size: 16px;
  margin-bottom: 16px;
}

.quick-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  font-size: 15px;
  color: #444;
}

.quick-stats span::before {
  content: '·';
  margin-right: 8px;
  color: #999;
}

.quick-stats span:first-child::before {
  content: '';
  margin-right: 0;
}

/* Photo Gallery */
.gallery {
  padding: 32px 0;
}

.hero-image {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 16px;
  background: #f0f0f0;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.gallery-grid img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  background: #f0f0f0;
  cursor: pointer;
  transition: opacity 0.2s;
}

.gallery-grid img:hover {
  opacity: 0.9;
}

/* Section Styling */
section {
  padding: 32px 0;
  border-bottom: 1px solid #eee;
}

section:last-of-type {
  border-bottom: none;
}

section h2 {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 20px;
}

/* Overview */
.overview {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
}

.rating-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #f7f7f7;
  padding: 12px 20px;
  border-radius: 12px;
  font-size: 15px;
}

.rating-badge .stars {
  color: #ff385c;
  font-weight: 600;
}

.badge {
  background: linear-gradient(135deg, #ff385c, #e31c5f);
  color: white;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 500;
}

/* Description */
.description p {
  margin-bottom: 16px;
  color: #333;
}

.description p:last-child {
  margin-bottom: 0;
}

/* Amenities */
.amenities-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.amenity {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
}

.amenity-icon {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #666;
}

/* Location Section */
.location-info p {
  margin-bottom: 12px;
  color: #333;
}

.metro-lines {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.metro-line {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  font-size: 13px;
  font-weight: 600;
  color: white;
}

.metro-line.line-3 { background: #9b993a; }
.metro-line.line-5 { background: #f28e42; }
.metro-line.line-8 { background: #c5a3ca; }
.metro-line.line-9 { background: #cec92a; }
.metro-line.line-11 { background: #8d5e2a; }

/* House Rules */
.rules-list {
  list-style: none;
}

.rules-list li {
  padding: 12px 0;
  border-bottom: 1px solid #f0f0f0;
  display: flex;
  align-items: center;
  gap: 12px;
}

.rules-list li:last-child {
  border-bottom: none;
}

.rule-icon {
  font-size: 18px;
}

/* Host Section */
.host-info {
  display: flex;
  align-items: center;
  gap: 20px;
}

.host-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, #667eea, #764ba2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 24px;
  font-weight: 600;
}

.host-details h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 4px;
}

.host-details p {
  color: #666;
  font-size: 14px;
}

.superhost-badge {
  display: inline-block;
  background: #f7f7f7;
  padding: 4px 12px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 500;
  color: #222;
  margin-top: 8px;
}

/* Contact Footer */
.contact-footer {
  padding: 48px 0;
  background: #f7f7f7;
  margin-top: 32px;
}

.contact-content {
  text-align: center;
}

.contact-content h2 {
  margin-bottom: 24px;
}

.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-bottom: 24px;
}

.btn {
  display: inline-block;
  padding: 16px 32px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
  border: none;
  cursor: pointer;
  font-family: inherit;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: #ff385c;
  color: white;
}

.btn-primary:hover {
  box-shadow: 0 4px 12px rgba(255, 56, 92, 0.4);
}

.btn-secondary {
  background: white;
  color: #222;
  border: 1px solid #ddd;
}

.btn-secondary:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.contact-email {
  color: #666;
  font-size: 14px;
}

.contact-email a {
  color: #222;
  text-decoration: none;
}

.contact-email a:hover {
  text-decoration: underline;
}

/* Footer */
footer {
  padding: 24px 0;
  text-align: center;
  color: #999;
  font-size: 13px;
}

/* Responsive */
@media (max-width: 768px) {
  header h1 {
    font-size: 24px;
  }

  .hero-image {
    height: 280px;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-grid img {
    height: 150px;
  }

  .amenities-grid {
    grid-template-columns: 1fr;
  }

  .overview {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  header h1 {
    font-size: 20px;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .quick-stats {
    flex-direction: column;
    gap: 4px;
  }

  .quick-stats span::before {
    content: '';
    margin-right: 0;
  }

  .cta-buttons {
    flex-direction: column;
  }

  .btn {
    width: 100%;
    text-align: center;
  }
}

/* Language Toggle */
.lang-toggle {
  position: fixed;
  top: 16px;
  right: 16px;
  z-index: 1000;
}

.lang-toggle button {
  background: white;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: all 0.2s;
  font-family: inherit;
}

.lang-toggle button:hover {
  background: #f7f7f7;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Read More / Description Extended */
.description-extended {
  display: none;
  margin-top: 24px;
}

.description-extended.expanded {
  display: block;
}

.description-extended h3 {
  font-size: 18px;
  font-weight: 600;
  margin: 24px 0 12px;
  color: #222;
}

.description-extended h3:first-child {
  margin-top: 0;
}

.description-extended p {
  margin-bottom: 12px;
}

.registration-number {
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid #eee;
  font-size: 13px;
  color: #666;
}

.read-more-btn {
  background: none;
  border: none;
  padding: 0;
  margin-top: 16px;
  font-size: 16px;
  font-weight: 600;
  color: #222;
  cursor: pointer;
  text-decoration: underline;
  font-family: inherit;
}

.read-more-btn:hover {
  color: #666;
}
