/* 
 * Rental Property Theme
 * Primary colors and variables
 */
 :root {
  --primary-green: #61a419;
  --primary-blue: #0994d7;
  --dark-green: #4e8314;
  --dark-blue: #0777ac;
  --light-green: #e8f4df;
  --light-blue: #e1f2fa;
  --text-color: #333;
  --secondary-text: #666;
  --bg-color: #f7f7f7;
  --light-gray: #f5f5f5;
  --medium-gray: #e0e0e0;
  --border-color: #ddd;
  --warning-color: #e74c3c;
  --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Reset & Base Styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  height: 100%;
  overflow-x: hidden;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  margin: 0;
  padding: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--bg-color);
}

a {
  color: var(--primary-blue);
  text-decoration: none;
  transition: color 0.3s;
}

a:hover {
  color: var(--dark-blue);
}

img {
  max-width: 100%;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  margin-bottom: 1rem;
  line-height: 1.3;
  color: var(--text-color);
}

.section-title {
  font-size: 2.2rem;
  padding-top: 2rem;
  padding-bottom: 0.5rem;
  margin-bottom: 30px;
  position: relative;
}

.section-title:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 80px;
  height: 3px;
  background: linear-gradient(to right, var(--primary-green), var(--primary-blue));
  
}

.section-title.centered {
  text-align: center;
  margin: 2rem auto;
  position: relative;
  z-index: 1;
  clear: both;
  display: block;
  width: 100%;
}

.section-title.centered:after {
  content: "";
  display: block;
  height: 3px;
  width: 80px;
  background-color: #4CAF50;
  margin: 15px auto 0;
}

.section-subtitle {
  font-size: 1.5rem;
  color: var(--primary-blue);
  margin-top: 2rem;
  margin-bottom: 1rem;
}

/* Layout Components */
main {
  flex: 1 0 auto;
  padding: 0;
}

/* HEADER */
header {
  background: linear-gradient(to right, #3e6e0e, #0670a0);
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
  margin: 0;
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 15px;
}

.logo {
  display: flex;
  align-items: center;
  font-size: 1.5rem;
  font-weight: bold;
  color: white;
  text-decoration: none;
}

.logo-image {
  height: 40px;
  margin-right: 10px;
  width: auto;
}

/* Navigation */
.main-nav ul,
nav ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}

.main-nav li,
nav li {
  margin-left: 1.5rem;
}

.main-nav a,
nav a {
  color: white;
  font-weight: 500;
  padding: 0.5rem 0.75rem;
  border-radius: 4px;
  transition: background-color 0.2s;
  text-decoration: none;
}

.main-nav a:hover,
nav a:hover {
  background-color: rgba(255, 255, 255, 0.2);
  color: white;
}

/* Mobile menu button */
.menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: white;
}

/* FOOTER */
footer {
  flex-shrink: 0;
  background-color: #333;
  color: #fff;
  width: 100%;
  position: relative;
  bottom: auto;
  left: auto;
  right: auto;
  padding: 40px 0 20px;
  margin-top: 40px;
  clear: both;
  z-index: 10;
}

footer .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  overflow: hidden;
}

.footer-section {
  flex: 0 0 30%;
  margin-bottom: 20px;
  box-sizing: border-box;
  padding: 0 15px;
}

.footer-section h3 {
  color: #fff;
  margin-top: 0;
  margin-bottom: 15px;
  border-bottom: 2px solid #0080ff;
  padding-bottom: 10px;
  display: inline-block;
}

.footer-section p, 
.footer-section a {
  color: #ccc;
  margin: 0 0 10px 0;
  line-height: 1.6;
}

.footer-section a {
  text-decoration: none;
  display: inline-block;
}

.footer-section a:hover {
  color: #fff;
  text-decoration: underline;
}

.footer-bottom {
  flex: 0 0 100%;
  text-align: center;
  padding-top: 20px;
  margin-top: 20px;
  border-top: 1px solid #555;
}

/* BUTTONS */
.btn, .button {
  display: inline-block;
  background-color: var(--primary-green);
  color: white;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 600;
  text-align: center;
  transition: background-color 0.3s, transform 0.2s;
}

.btn:hover, .button:hover {
  background-color: var(--dark-green);
  color: white;
  transform: translateY(-2px);
}

.btn-secondary, .contact-btn {
  background-color: var(--primary-blue);
}

.btn-secondary:hover, .contact-btn:hover {
  background-color: var(--dark-blue);
}

/* Submit button */
button[type="submit"] {
  display: inline-block;
  background-color: #0056b3;
  color: white;
  font-weight: 500;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.2s;
}

button[type="submit"]:hover {
  background-color: #004494;
}

button[type="submit"]:disabled {
  background-color: var(--bg-color);
  cursor: not-allowed;
}

button.submitted {
  background-color: #28a745;
}

/* HERO SECTION */
.fullpage-hero {
  height: 100vh;
  width: 100%;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  position: relative;
  margin: 0;
  padding: 0;
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('/hero.jpeg');
}

.hero-content {
  background-color: rgba(0, 0, 0, 0.5);
  padding: 40px;
  border-radius: 8px;
  max-width: 600px;
  margin: 0 auto;
  z-index: 2;
}

.hero-tagline {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.hero-buttons {
  margin-bottom: 2rem;
}

.hero-buttons a {
  margin: 0 8px;
  display: inline-block;
}

.scroll-indicator {
  position: absolute;
  bottom: 60px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.scroll-text {
  display: block;
  margin-bottom: 10px;
  font-size: 0.9rem;
  color: #fff;
}

.scroll-arrow {
  font-size: 1.5rem;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-15px);
  }
  60% {
    transform: translateY(-7px);
  }
}

/* PROPERTIES LIST STYLES */
.properties-section {
  padding: 2rem 0;
  clear: both;
}

.properties-list {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  margin-top: 30px;
}

.properties-list h2,
.content h2 {
  margin-top: 2rem;
  margin-bottom: 1rem;
  color: #0080ff;
}

.property-card {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--bg-color);
  border: 1px solid var(--medium-gray);
  clear: both;
  margin-bottom: 40px;
}

.property-header {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 1.5rem;
  padding: 1.5rem;
  background-color: var(--light-gray);
}

.property-image {
  overflow: hidden;
  border-radius: 8px;
  margin-bottom: 1rem;
}

.property-image img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.5s;
}

.property-image:hover img {
  transform: scale(1.05);
}

.property-header-content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.property-title {
  color: var(--primary-green);
  margin-bottom: 1rem;
  font-size: 1.8rem;
}

.property-info {
  margin-bottom: 1rem;
}

.property-specs, .property-availability, .property-address {
  margin-bottom: 0.5rem;
}

.property-description {
  padding: 1.5rem;
  border-bottom: 1px solid var(--medium-gray);
}

.property-description ul {
  padding-left: 20px;
  margin-bottom: 20px;
}

.property-description li {
  margin-bottom: 10px;
  line-height: 1.6;
}

.rooms-title {
  margin: 1.5rem;
  margin-bottom: 1rem;
  font-size: 1.4rem;
  color: var(--primary-blue);
}

.unavailable-title {
  color: var(--secondary-text);
  margin-top: 2rem;
}

/* ROOM CARDS IN PROPERTY LIST */
.rooms-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
  padding: 0 1.5rem 1.5rem;
}

.room-card {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
  background-color: var(--bg-color);
  border: 1px solid var(--medium-gray);
  height: 100%;
  transition: transform 0.3s, box-shadow 0.3s;
}

.room-card.available:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

.room-card.unavailable {
  opacity: 0.7;
  filter: grayscale(50%);
}

.room-link {
  display: block;
  color: inherit;
  height: 100%;
}

.room-image {
  height: 180px;
  overflow: hidden;
}

.room-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.room-card.available:hover .room-image img {
  transform: scale(1.1);
}

.room-content {
  padding: 1.2rem;
}

.room-title {
  font-size: 1.2rem;
  margin-bottom: 0.8rem;
}

.room-price {
  font-size: 1.4rem;
  font-weight: bold;
  color: var(--primary-green);
  margin-bottom: 0.8rem;
}

.room-details {
  display: flex;
  justify-content: space-between;
  margin-bottom: 1rem;
  color: var(--secondary-text);
  font-size: 0.9rem;
}

.room-more {
  display: inline-block;
  color: var(--primary-blue);
  font-weight: 600;
  margin-top: 0.5rem;
}

.room-unavailable {
  display: inline-block;
  color: var(--warning-color);
  font-weight: 600;
  margin-top: 0.5rem;
}

/* INDIVIDUAL ROOM PAGE STYLES */
.room-details {
  padding: 2rem 0;
}

.breadcrumb {
  margin-bottom: 2rem;
}

.breadcrumb a {
  display: inline-flex;
  align-items: center;
  color: var(--primary-blue);
  font-weight: 600;
}

.room-property-grid {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 2rem;
}

.room-info-section {
  margin-bottom: 2rem;
}

.room-gallery {
  margin-bottom: 2rem;
}

.main-image {
  margin-bottom: 0.5rem;
  border-radius: 8px;
  overflow: hidden;
}

.main-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.thumbnail-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
}

.thumbnail {
  cursor: pointer;
  border-radius: 4px;
  overflow: hidden;
  height: 100px;
}

.thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.3s;
}

.thumbnail:hover img {
  opacity: 0.8;
}

.room-info {
  background-color: var(--light-blue);
  padding: 1.5rem;
  border-radius: 8px;
  margin-bottom: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.room-type, .room-size, .room-availability {
  margin-bottom: 0.5rem;
}

.room-description {
  margin-bottom: 2rem;
  line-height: 1.7;
}

.room-amenities {
  margin-bottom: 2rem;
}

.amenities-list {
  list-style-type: disc;
  padding-left: 1.5rem;
}

.amenity-item {
  margin-bottom: 0.5rem;
}

.room-cta {
  background-color: var(--light-green);
  padding: 1.5rem;
  border-radius: 8px;
  margin-top: 2rem;
  text-align: center;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 1rem;
}

/* PROPERTY INFO SECTION ON ROOM PAGE */
.property-info-section {
  padding: 1.5rem;
  background-color: var(--light-gray);
  border-radius: 8px;
  height: fit-content;
}

.property-amenities {
  margin-bottom: 1.5rem;
}

.amenities-title {
  margin-bottom: 0.8rem;
  color: var(--primary-blue);
}

.other-rooms {
  margin-top: 2rem;
  border-top: 1px solid var(--medium-gray);
  padding-top: 1.5rem;
}

.other-rooms-title {
  margin-bottom: 1rem;
  color: var(--primary-blue);
}

.other-rooms-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.other-room-card {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.3s;
}

.other-room-card:hover {
  transform: translateY(-5px);
}

.other-room-image {
  height: 100px;
  overflow: hidden;
}

.other-room-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.other-room-content {
  padding: 0.8rem;
}

.other-room-title {
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.other-room-price {
  font-size: 1rem;
  font-weight: bold;
  color: var(--primary-green);
}

.no-other-rooms {
  color: var(--secondary-text);
  font-style: italic;
}

/* Main content section */
.main-section {
  padding: 40px 0;
  padding-top: 60px;
  clear: both;
}

.content {
  clear: both;
  position: relative;
  z-index: 2;
}

.content ul,
.main-section .content ul {
  display: block !important;
  margin: 1rem 0 1.5rem 1.5rem !important;
  list-style-type: disc !important;
}

.content ul li,
.main-section .content ul li {
  display: list-item !important;
  margin-bottom: 0.5rem !important;
}

/* Form styles */
form {
  max-width: 600px;
  margin: 2rem 0;
  margin-bottom: 40px;
  background-color: var(--light-gray);
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.form-group {
  margin-bottom: 20px;
}

label {
  display: block;
  margin-bottom: 5px;
  font-weight: bold;
}

input, textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-family: inherit;
  font-size: 1rem;
  transition: border-color 0.2s, background-color 0.2s;
}

input:focus, textarea:focus {
  outline: none;
  border-color: var(--primary-green);
  box-shadow: 0 0 0 2px rgba(97, 164, 25, 0.2);
}

textarea {
  min-height: 120px;
}

/* Styles for submitted state */
input.submitted,
textarea.submitted {
  background-color: var(--bg-color);
  border-color: #ddd;
  color: #777;
}

/* Form result message */
.form-result {
  margin-top: 1.5rem;
  padding: 0.75rem;
  border-radius: 4px;
  font-weight: 500;
  display: none;
}

.form-result.sending {
  display: block;
  background-color: var(--bg-color);
  color: #555;
}

.form-result.success {
  display: block;
  background-color: var(--bg-color);
  color: #2e7d32;
  border: 1px solid #c8e6c9;
}

.form-result.error {
  display: block;
  background-color: var(--bg-color);
  color: #c62828;
  border: 1px solid #ffcdd2;
}

/* Fix specific content that appears below copyright */
#main-content + .container ul,
.footer-bottom + ul,
body > ul:last-of-type {
  display: none;
}

/* Ensure content sections don't overlap */
.main-section,
.properties-section,
section.container {
  clear: both;
  padding: 30px 0;
}

/* Fix for "Contact Us" section that appears after footer */
body > .footer-bottom + * {
  clear: both;
  padding-top: 40px;
  margin-top: 20px;
}

/* Fix for list items in the "Why Choose Our Properties" section */
#why-choose-our-properties + ul {
  display: block !important;
  margin: 1rem 0 1.5rem 1.5rem !important;
  list-style-type: disc !important;
  opacity: 1 !important;
  visibility: visible !important;
}

#why-choose-our-properties + ul li {
  display: list-item !important;
  margin-bottom: 0.5rem !important;
  color: inherit !important;
  visibility: visible !important;
}

/* If the content is being loaded dynamically, ensure it's visible */
.main-section .content {
  opacity: 1 !important;
  visibility: visible !important;
  height: auto !important;
  overflow: visible !important;
}

/* Additional fix for the specific section if it has a class */
.why-choose-section ul,
section:has(h2:contains("Why Choose Our Properties")) ul {
  display: block !important;
  margin-left: 1.5rem !important;
  list-style-type: disc !important;
}

/* RESPONSIVE STYLES */
@media (max-width: 992px) {
  .room-property-grid {
    grid-template-columns: 1fr;
  }
  
  .property-info-section {
    order: -1;
  }
  
  .property-header {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .rooms-grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  }
  
  .hero-tagline {
    font-size: 2.5rem;
  }
  
  footer .container {
    flex-direction: column;
  }
  
  .footer-section {
    width: 100%;
    flex: 0 0 100%;
    float: none;
    margin-bottom: 30px;
  }
  
  .other-rooms-list {
    grid-template-columns: repeat(2, 1fr);
  }
  
  /* Mobile navigation */
  .menu-btn {
    display: block;
  }
  
  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: linear-gradient(to right, #3e6e0e, #0670a0);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    z-index: 100;
  }
  
  .main-nav.active {
    display: block;
  }
  
  .main-nav ul {
    flex-direction: column;
    padding: 1rem;
  }
  
  .main-nav li {
    margin: 0.5rem 0;
    margin-left: 0;
  }
  
  .main-nav a {
    display: block;
    color: white;
    text-align: right;
    padding: 0.5rem 0;
  }
}

@media (max-width: 576px) {
  .section-title {
    font-size: 1.8rem;
  }
  
  .rooms-grid {
    grid-template-columns: 1fr;
  }
  
  .property-card {
    margin-left: -20px;
    margin-right: -20px;
    border-radius: 0;
  }
  
  .cta-buttons {
    flex-direction: column;
  }
  
  .cta-buttons .button {
    margin-bottom: 1rem;
  }
  
  .hero-buttons {
    display: flex;
    flex-direction: column;
  }
  
  .hero-buttons .btn {
    margin: 0.5rem;
  }
}

/* Mobile-First CSS for Relytical LLC */

/* Variables */
:root {
  --primary-color: #32a0a8;
  --secondary-color: #4caf50;
  --text-color: #333;
  --text-light: #666;
  --background-color: #f9f9f9;
  --white: #ffffff;
  --gray-light: #f5f5f5;
  --gray-medium: #e0e0e0;
  --border-color: #dddddd;
  --cta-green: #4caf50;
  --cta-blue: #2196f3;
}

/* Base Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--background-color);
  font-size: 16px;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--primary-color);
  text-decoration: none;
}

ul {
  list-style: none;
}

/* Header Styles */
header {
  background-color: var(--primary-color);
  color: var(--white);
  padding: 0.75rem;
  position: sticky;
  top: 0;
  z-index: 100;
}

.logo {
  display: flex;
  align-items: center;
  color: var(--white);
  font-weight: bold;
  font-size: 1.2rem;
}

.logo-image {
  height: 24px;
  margin-right: 0.5rem;
}

.menu-btn {
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.5rem;
  cursor: pointer;
  float: right;
}

.container {
  width: 100%;
  padding: 0 1rem;
}

/* Navigation (Mobile First - Hidden by Default) */
.main-nav {
  display: none;
}

.main-nav.active {
  display: block;
  background-color: var(--white);
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  width: 80%;
  max-width: 300px;
  z-index: 200;
  padding: 2rem 1rem;
  box-shadow: -2px 0 5px rgba(0,0,0,0.2);
}

.main-nav ul {
  margin-top: 1rem;
}

.main-nav li {
  margin-bottom: 1rem;
}

.main-nav a {
  font-size: 1.1rem;
  display: block;
  padding: 0.5rem 0;
}


.back-link {
  padding: 1rem;
  font-size: 0.9rem;
}

.back-link a {
  color: var(--primary-color);
}

/* Main Image */
.main-image {
  width: 100%;
  margin-bottom: 0.25rem;
}

.main-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* Thumbnail Gallery */
.thumbnail-gallery {
  display: flex;
  overflow-x: auto;
  padding: 0.5rem;
  gap: 0.5rem;
  scrollbar-width: none; /* Firefox */
}

.thumbnail-gallery::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Edge */
}

.thumbnail {
  flex: 0 0 80px;
  height: 60px;
  border-radius: 4px;
  overflow: hidden;
}

.thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Call-to-Action Section */
.interest-section {
  background-color: var(--gray-light);
  padding: 1rem;
  margin: 0.5rem 0;
  text-align: center;
}

.interest-section h3 {
  margin-bottom: 0.75rem;
  font-size: 1rem;
  font-weight: normal;
}

.cta-buttons {
  display: flex;
  gap: 0.5rem;
}

.apply-btn, .contact-btn {
  flex: 1;
  padding: 0.6rem 0;
  text-align: center;
  border-radius: 4px;
  font-weight: 500;
  font-size: 0.9rem;
}

.apply-btn {
  background-color: var(--cta-green);
  color: var(--white);
}

.contact-btn {
  background-color: var(--cta-blue);
  color: var(--white);
}

/* Room Info Card */
.room-info-card {
  background-color: var(--white);
  margin-bottom: 1rem;
  padding: 1rem;
  border-bottom: 1px solid var(--gray-medium);
}

.price-section {
  margin-bottom: 1rem;
}

.price {
  font-size: 1.2rem;
  font-weight: bold;
  color: var(--primary-color);
}

.room-meta {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-top: 0.25rem;
}

.room-specs {
  margin-bottom: 1rem;
}

.spec-item {
  display: flex;
  margin-bottom: 0.5rem;
}

.spec-label {
  font-weight: 500;
  margin-right: 0.5rem;
}

.amenities-list {
  padding-left: 1.25rem;
}

.amenity-item {
  margin-bottom: 0.5rem;
  position: relative;
}

.amenity-item::before {
  content: "•";
  position: absolute;
  left: -1rem;
  color: var(--primary-color);
}

/* Section Blocks */
.section-block {
  padding: 1rem;
  border-bottom: 1px solid var(--gray-medium);
  background-color: var(--white);
}

.section-title {
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
  color: var(--primary-color);
}

.shared-amenities, .neighborhood-list {
  padding-left: 1.25rem;
}

.shared-amenity-item, .neighborhood-item {
  margin-bottom: 0.5rem;
  position: relative;
}

.shared-amenity-item::before, .neighborhood-item::before {
  content: "•";
  position: absolute;
  left: -1rem;
  color: var(--primary-color);
}

/* About Property Section */
.about-property {
  padding: 1rem;
  margin-top: 1rem;
  background-color: var(--white);
}

.property-card {
  margin-top: 0.5rem;
}

.property-card img {
  width: 100%;
  border-radius: 4px;
  margin-bottom: 0.75rem;
}

.property-title {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: var(--text-color);
}

.property-details {
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
}

.amenities-subtitle {
  font-size: 1rem;
  margin: 0.75rem 0 0.5rem;
}

.property-amenities {
  padding-left: 1.25rem;
}

.property-amenities li {
  margin-bottom: 0.5rem;
  position: relative;
}

.property-amenities li::before {
  content: "•";
  position: absolute;
  left: -1rem;
  color: var(--primary-color);
}

/* Other Rooms Section */
.other-rooms {
  padding: 1rem;
  margin-top: 1rem;
  background-color: var(--white);
}

.other-rooms-list {
  margin-top: 0.75rem;
}

.other-room-card {
  margin-bottom: 1rem;
  border-bottom: 1px solid var(--gray-medium);
  padding-bottom: 1rem;
}

.other-room-card:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

.other-room-card a {
  display: flex;
  color: var(--text-color);
}

.other-room-img {
  width: 80px;
  height: 60px;
  object-fit: cover;
  border-radius: 4px;
}

.other-room-info {
  flex: 1;
  padding-left: 0.75rem;
}

.other-room-title {
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.other-room-price {
  font-size: 0.9rem;
  color: var(--primary-color);
  font-weight: 500;
}

.no-other-rooms {
  font-style: italic;
  color: var(--text-light);
}

/* Bottom Interest Section */
.interest-section.bottom {
  margin-top: 1rem;
}

/* Footer Styles */
footer {
  background-color: #333;
  color: var(--white);
  padding: 2rem 1rem 1rem;
}

.footer-section {
  margin-bottom: 1.5rem;
}

.footer-section h3 {
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid #444;
}

.footer-section a {
  color: #ccc;
}

.footer-section a:hover {
  color: var(--white);
}

.footer-bottom {
  padding-top: 1rem;
  border-top: 1px solid #444;
  text-align: center;
  font-size: 0.9rem;
}

/* Media Queries for larger screens */
@media (min-width: 768px) {
  .container {
    max-width: 750px;
    margin: 0 auto;
  }
  
  .menu-btn {
    display: none;
  }
  
  .main-nav {
    display: block;
    float: right;
  }
  
  .main-nav ul {
    display: flex;
    margin-top: 0;
  }
  
  .main-nav li {
    margin-left: 1.5rem;
    margin-bottom: 0;
  }
  
  .main-nav a {
    color: var(--white);
    font-size: 1rem;
    padding: 0;
  }
  

  
  .back-link, 
  .main-image,
  .thumbnail-gallery,
  .interest-section,
  .room-info-card,
  .section-block {
    grid-column: 1 / 2;
  }
  
  .about-property,
  .other-rooms {
    grid-column: 2 / 3;
    grid-row: span 4;
  }
  
  .interest-section.bottom {
    grid-column: 1 / -1;
  }
  
  .thumbnail {
    flex: 0 0 100px;
    height: 75px;
  }
}

@media (min-width: 992px) {
  .container {
    max-width: 800px; /* Changed from 970px to 800px */
  }
  
  .thumbnail {
    flex: 0 0 120px;
    height: 90px;
  }
}

@media (min-width: 1200px) {
  .container {
    max-width: 800px; /* Changed from 1170px to 800px */
  }
}