/* style.css */

/* Reset defaults */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f4f4f4;
  }
  
  /* Sidebar (Aside Menu) */
  .sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: 200px;
    height: 100%;
    background-color: #222;
    padding-top: 20px;
    z-index: 1000;
  }
  
  .sidebar nav ul {
    list-style: none;
  }
  
  .sidebar nav ul li {
    margin: 15px 0;
    text-align: center;
  }
  
  .sidebar nav ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 16px;
  }
  
  .sidebar nav ul li a:hover {
    color: #ffcc00;
  }
  
  /* Main Content */
  .main-content {
    margin-left: 220px; /* Leave space for the sidebar */
  }
  
  /* Header */
  header {
    background-color: #333;
    color: #fff;
  }
  
  .header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
  }
  
  .logo {
    font-size: 24px;
  }
  
  .top-nav ul {
    list-style: none;
    display: flex;
  }
  
  .top-nav ul li {
    margin: 0 15px;
  }
  
  .top-nav ul li a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
  }
  
  .top-nav ul li a.active,
  .top-nav ul li a:hover {
    color: #ffcc00;
  }
  
  /* Hero Section */
  .hero {
    background: url('https://images.pexels.com/photos/1571460/pexels-photo-1571460.jpeg?auto=compress&cs=tinysrgb&w=1600') no-repeat center center/cover;
    color: #fff;
    text-align: center;
    padding: 120px 20px;
  }
  
  .hero-content h2 {
    font-size: 48px;
    margin-bottom: 20px;
  }
  
  .hero-content p {
    font-size: 20px;
  }
  
  /* Search Section */
  .search-section {
    text-align: center;
    padding: 20px;
    background-color: #fff;
  }
  
  .search-section input[type="text"] {
    padding: 10px;
    width: 80%;
    max-width: 500px;
    border: 1px solid #ccc;
    border-radius: 5px;
  }
  
  /* Property Listings */
  .property-listings {
    padding: 40px 20px;
    background-color: #fff;
  }
  
  .property-listings h2 {
    text-align: center;
    margin-bottom: 20px;
  }
  
  .properties-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
  }
  
  .property-card {
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    width: 300px;
    border-radius: 5px;
    overflow: hidden;
    transition: transform 0.3s ease;
  }
  
  .property-card:hover {
    transform: scale(1.03);
  }
  
  .property-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    cursor: pointer;
  }
  
  .property-card h3 {
    margin: 15px;
  }
  
  .property-card p {
    margin: 15px;
  }
  
  .property-card .price {
    font-weight: bold;
    color: #ff6600;
  }
  
  /* Image Gallery */
  .image-gallery {
    padding: 40px 20px;
    background-color: #fff;
    text-align: center;
  }
  
  .image-gallery h2 {
    margin-bottom: 20px;
  }
  
  .gallery-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
  }
  
  .gallery-item {
    width: 300px;
    height: 200px;
    object-fit: cover;
    border: 2px solid #ddd;
    cursor: pointer;
  }
  
  /* Modal Slider */
  .modal {
    display: none;
    position: fixed;
    z-index: 2000;
    padding-top: 100px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.9);
  }
  
  .modal-content {
    position: relative;
    margin: auto;
    max-width: 800px;
    text-align: center;
  }
  
  .modal-content .slider {
    position: relative;
  }
  
  .modal-content img {
    width: 100%;
    height: auto;
  }
  
  .close {
    position: absolute;
    top: 30px;
    right: 45px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
  }
  
  .prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    padding: 16px;
    color: #fff;
    font-weight: bold;
    font-size: 30px;
    user-select: none;
    transition: 0.3s;
  }
  
  .prev:hover, .next:hover {
    color: #ffcc00;
  }
  
  .prev {
    left: 0;
  }
  
  .next {
    right: 0;
  }
  
  /* Testimonials */
  .testimonials {
    padding: 40px 20px;
    background-color: #e9e9e9;
    text-align: center;
  }
  
  .testimonials h2 {
    margin-bottom: 20px;
  }
  
  .testimonial {
    max-width: 600px;
    margin: 0 auto 20px;
    font-style: italic;
  }
  
  /* Blog Preview */
  .blog-preview {
    padding: 40px 20px;
    background-color: #e9e9e9;
  }
  
  .blog-preview h2 {
    text-align: center;
    margin-bottom: 20px;
  }
  
  .blog-preview article {
    max-width: 600px;
    margin: 0 auto 20px;
    background-color: #fff;
    padding: 20px;
    border: 1px solid #ddd;
  }
  
  .blog-preview article h3 {
    margin-bottom: 10px;
  }
  
  /* Contact Page */
  .contact {
    padding: 40px 20px;
    background-color: #fff;
    max-width: 600px;
    margin: 0 auto;
  }
  
  .contact h1 {
    text-align: center;
    margin-bottom: 20px;
  }
  
  .contact form {
    display: flex;
    flex-direction: column;
  }
  
  .contact form label {
    margin: 10px 0 5px;
  }
  
  .contact form input[type="text"],
  .contact form input[type="email"],
  .contact form textarea {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
  }
  
  .contact form button {
    margin-top: 20px;
    padding: 10px;
    background-color: #333;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
  }
  
  .contact form button:hover {
    background-color: #ff6600;
  }
  
  /* Footer */
  footer {
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 20px;
  }
  
  /* Responsive Design */
  @media (max-width: 768px) {
    .properties-container, .gallery-container {
      flex-direction: column;
      align-items: center;
    }
    .sidebar {
      width: 100%;
      height: auto;
      position: relative;
    }
    .main-content {
      margin-left: 0;
    }
    .header-container {
      flex-direction: column;
    }
  }
  