/* Rental Section */
.rental-section {
  min-height: 100vh;
  background: #FAF9F6;
  padding: 60px 20px 40px 20px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Logo positioning (consistent with other sections) */
.rental-section .logo-container {
  position: absolute;
  top: 28px;
  left: 38px;
  z-index: 30;
}

.rental-section .site-logo {
  height: 48px;
  width: auto;
  display: block;
}

/* Main Page Container */
.rental-page-container {
  display: flex;
  flex-direction: row;
  padding: 20px 40px 10px 40px;
  gap: 40px;
  max-width: 1300px;
  margin: 0 auto;
  width: 100%;
  position: relative;
  z-index: 2;
}

/* Left Column: Images */
.rental-images-column {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0; /* Allow shrinking */
}

/* Main Large Image */
.rental-main-image {
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
}

.rental-main-image a {
  display: block;
  cursor: pointer;
}

.rental-main-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.rental-main-image a:hover img {
  transform: scale(1.02);
}

/* Gallery Grid (6 smaller images) */
.rental-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.rental-gallery-item {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  aspect-ratio: 4 / 3;
}

.rental-gallery-item a {
  display: block;
  width: 100%;
  height: 100%;
  cursor: pointer;
}

.rental-gallery-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.rental-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Right Column: Content */
.rental-content-column {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 20px 0 10px 0;
  min-width: 0; /* Allow shrinking */
}

/* Title */
.rental-title {
  font-size: 2rem;
  font-weight: 700;
  margin: 0;
  line-height: 1.2;
  color: #000000;
  font-family: 'Poppins', sans-serif;
}

/* Description */
.rental-description {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.rental-description p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #000000;
  margin: 0;
  font-family: 'Poppins', sans-serif;
  font-weight: 400;
}

.rental-description em {
  font-style: italic;
  font-weight: 500;
}

/* Buttons Container */
.rental-buttons {
  display: flex;
  flex-direction: row;
  gap: 12px;
  margin-top: 8px;
  flex-wrap: wrap;
}

.rental-btn {
  display: inline-block;
  padding: 10px 24px;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 600;
  font-family: 'Poppins', sans-serif;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  border: 2px solid transparent;
  text-align: center;
}

.btn-vrbo {
  background: #ffffff;
  color: #2B2D42;
  border-color: #2B2D42;
}

.btn-vrbo:hover {
  background: #2B2D42;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(43, 45, 66, 0.2);
}

.btn-airbnb {
  background: #ffffff;
  color: #2B2D42;
  border-color: #2B2D42;
}

.btn-airbnb:hover {
  background: #2B2D42;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(43, 45, 66, 0.2);
}

.btn-tour {
  background: #ffffff;
  color: #2B2D42;
  border-color: #2B2D42;
}

.btn-tour:hover {
  background: #2B2D42;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(43, 45, 66, 0.2);
}

/* Tablet Responsive (Landscape & Portrait) */
@media (max-width: 1200px) {
  .rental-page-container {
    padding: 70px 40px 50px 40px;
    gap: 50px;
  }

  .rental-title {
    font-size: 2.2rem;
  }

  .rental-description p {
    font-size: 1.05rem;
  }
}

@media (max-width: 1024px) {
  .rental-page-container {
    flex-direction: column;
    padding: 70px 30px 50px 30px;
    gap: 40px;
  }

  .rental-images-column,
  .rental-content-column {
    flex: none;
    width: 100%;
  }

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

  .rental-title {
    font-size: 2rem;
  }
}

/* Mobile Responsive (Vertical) */
@media (max-width: 768px) {
  .rental-section {
    padding: 60px 15px 40px 15px;
    min-height: auto;
  }

  .rental-section .logo-container {
    top: 10px;
    left: 10px;
  }

  .rental-section .site-logo {
    height: 32px;
  }

  .rental-page-container {
    padding: 20px 0;
    gap: 32px;
  }

  .rental-content-column {
    padding: 20px 0;
  }

  .rental-images-column {
    gap: 20px;
  }

  .rental-main-image {
    border-radius: 16px;
  }

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

  .rental-gallery-item {
    border-radius: 12px;
  }

  .rental-title {
    font-size: 1.8rem;
  }

  .rental-description p {
    font-size: 0.95rem;
    line-height: 1.6;
  }

  .rental-buttons {
    flex-direction: column;
    gap: 12px;
  }

  .rental-btn {
    padding: 12px 24px;
    font-size: 0.95rem;
    width: 100%;
  }
}

/* Mobile Landscape (Horizontal Screen) */
@media (max-width: 900px) and (orientation: landscape) {
  .rental-section {
    min-height: auto;
    padding: 60px 20px 40px 20px;
  }

  .rental-page-container {
    flex-direction: row;
    padding: 20px 30px;
    gap: 40px;
  }

  .rental-images-column {
    flex: 1;
  }

  .rental-content-column {
    flex: 1;
    max-height: calc(100vh - 100px);
    overflow-y: auto;
    padding: 20px 0;
  }

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

  .rental-title {
    font-size: 1.6rem;
  }

  .rental-description p {
    font-size: 0.9rem;
    line-height: 1.5;
  }

  .rental-buttons {
    flex-direction: row;
    gap: 12px;
  }

  .rental-btn {
    padding: 10px 20px;
    font-size: 0.9rem;
  }
}

/* Small Mobile (Portrait) */
@media (max-width: 480px) {
  .rental-section {
    padding: 50px 15px 30px 15px;
  }

  .rental-page-container {
    padding: 20px 0;
    gap: 24px;
  }

  .rental-content-column {
    padding: 20px 0;
  }

  .rental-images-column {
    gap: 16px;
  }

  .rental-main-image {
    border-radius: 12px;
  }

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

  .rental-gallery-item {
    border-radius: 10px;
  }

  .rental-title {
    font-size: 1.5rem;
  }

  .rental-description p {
    font-size: 0.9rem;
  }

  .rental-btn {
    padding: 11px 20px;
    font-size: 0.9rem;
  }
}

/* Very Small Mobile */
@media (max-width: 360px) {
  .rental-title {
    font-size: 1.3rem;
  }

  .rental-description p {
    font-size: 0.85rem;
  }

  .rental-btn {
    padding: 10px 18px;
    font-size: 0.85rem;
  }
}

