/* -------------------------------
  GLOBAL RESET & BASE STYLES
-------------------------------- */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
}

body {
  line-height: 1.6;
  color: #333;
  background-color: #fafafa;
}

h1, h2, h3 {
  color: #222;
}

/* -------------------------------
  SITE HEADER
-------------------------------- */
.site-header {
  text-align: center;
  padding: 30px 20px;
  background-color: #fff;
  border-bottom: 1px solid #ddd;
}

.site-header h1 {
  font-size: 2rem;
}

/* -------------------------------
  LANDING PAGE GRID
-------------------------------- */
.property-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
  padding: 30px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.property-card {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.3s ease;
}

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

.property-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.property-info {
  padding: 16px;
}

.property-info h2 {
  font-size: 1.25rem;
  margin-bottom: 6px;
}

.property-info p {
  color: #666;
  font-size: 0.95rem;
}

/* -------------------------------
  DETAIL PAGE HERO SECTION
-------------------------------- */
header.hero {
  position: relative;
  overflow: hidden;
  height: 50vh;
  max-height: 500px;
}

.hero-carousel {
  display: flex;
  width: 300%;
  animation: slide 15s infinite;
}

.hero-carousel img {
  width: 100vw;
  height: 50vh;
  object-fit: cover;
  flex-shrink: 0;
}

.hero-title {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: rgba(255,255,255,0.85);
  padding: 12px 20px;
  border-radius: 8px;
  max-width: 80%;
}

.hero-title h1 {
  font-size: 1.75rem;
  margin-bottom: 4px;
}

.hero-title p {
  font-size: 1rem;
  color: #444;
}

/* -------------------------------
  DETAIL PAGE SECTIONS
-------------------------------- */
section {
  padding: 24px 20px;
  border-bottom: 1px solid #ddd;
  background-color: #fff;
  max-width: 800px;
  margin: 0 auto;
}

section h2 {
  margin-bottom: 12px;
  font-size: 1.5rem;
}

/* -------------------------------
  HOST INFO
-------------------------------- */
.host-info {
  display: flex;
  align-items: center;
  background-color: #fdf7f8; /* very light wine hint */
  gap: 8px;
}

.host-info img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
}

/* -------------------------------
  DETAILS LIST
-------------------------------- */
.details ul {
  list-style: none;
  padding-left: 0;
}

.details li {
  padding: 6px 0;
  font-size: 1rem;
}

/* -------------------------------
  DESCRIPTION
-------------------------------- */
.description p {
  font-size: 1rem;
  color: #555;
  line-height: 1.6;
}

/* -------------------------------
  ROOM GALLERY
-------------------------------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.gallery h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.gallery .room img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid #ddd;
}

/* -------------------------------
  AMENITIES
-------------------------------- */
.amenities ul {
  list-style: none;
  padding-left: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
}

.amenities li {
  padding: 6px 8px;
  background-color: #f5f5f5;
  border-radius: 4px;
  font-size: 0.95rem;
  color: #444;
}

/* -------------------------------
  FOOTER
-------------------------------- */
footer {
  text-align: center;
  padding: 20px;
  background-color: #fff;
  border-top: 1px solid #ddd;
  font-size: 0.9rem;
  color: #777;
}

/* -------------------------------
  HERO SLIDE ANIMATION
-------------------------------- */
@keyframes slide {
  0% { transform: translateX(0); }
  33% { transform: translateX(-100vw); }
  66% { transform: translateX(-200vw); }
  100% { transform: translateX(0); }
}

section {
  padding: 24px 20px;
  border-bottom: 1px solid #ddd;
  background-color: #fff;
  max-width: 800px;
  margin: 0 auto;
}

.alt-section {
  background-color: #f8f8f8;
}

.contact {
  padding: 8px;
  max-width: 800px;
  margin: 0 auto;
  background-color: #fdf7f8; /* very light wine hint */
  border-top: 1px solid #ddd;
  border-bottom: 1px solid #ddd;
  border-radius: 8px;
}

.contact h2 {
  font-size: 1.5rem;
  margin-bottom: 10px;
  color: #222;
}

.contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.contact-links a {
  color: #611f2b;
  text-decoration: none;
  font-size: 1rem;
  padding: 4px 8px;
  background-color: #fff;
  border-radius: 4px;
  border: 1px solid #ccc;
  transition: background-color 0.2s ease;
}

.contact-links a:hover {
  background-color: #f4d6db;
}

