/* Simple Landing Page Styles - V2 (Mobile-First & Visually Refined) */

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: #f8fafc;
    color: #1f2937;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }
  
  /* Container */
  .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
  }
  
  /* Navigation Styles */
  .nav-container {
    background: white;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.07);
    position: sticky;
    top: 0;
    z-index: 50;
  }
  
  .nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    max-width: 1200px;
    margin: 0 auto;
  }
  
  .logo {
    font-size: 1.25rem;
    font-weight: 700;
    color: #3b82f6;
  }
  
  /* Hide desktop nav buttons on mobile */
  .nav-buttons-desktop {
    display: none;
  }
  
  /* Mobile Menu Toggle (Hamburger) */
  .mobile-menu-toggle {
      background: transparent;
      border: none;
      cursor: pointer;
      padding: 0.5rem;
      color: #374151;
  }
  
  .mobile-menu-toggle svg {
      width: 1.75rem;
      height: 1.75rem;
  }
  
  /* Hero Section */
  .hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
  }
  
  .hero h1 {
    font-size: 2.25rem;
    font-weight: 800;
    margin-bottom: 1rem;
  }
  
  .hero p {
    font-size: 1.125rem;
    opacity: 0.9;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
  }
  
  .search-bar {
    background: white;
    border-radius: 2rem;
    padding: 0.5rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    width: 90%;
    max-width: 500px;
  }
  
  .search-input {
    border: none;
    outline: none;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    width: 100%;
  }
  
  .search-button {
    background: #3b82f6;
    color: white;
    border: none;
    border-radius: 1.5rem;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s ease;
    white-space: nowrap;
  }
  
  .search-button:hover {
    background: #2563eb;
  }
  
  /* General Section Styles */
  .section {
    padding: 3rem 0;
  }
  
  .section-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 2rem;
    text-align: center;
  }
  
  /* Properties Section */
  .properties-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  /* Property Card */
  .property-card {
    background: white;
    border-radius: 1rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  
  .property-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
  }
  
  .property-image {
    width: 100%;
    height: 220px;
    background-color: #e5e7eb;
    position: relative;
  }
  
  .property-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  
  .property-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: rgba(16, 185, 129, 0.9);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.875rem;
    font-weight: 600;
    backdrop-filter: blur(5px);
  }
  
  .property-content { padding: 1.5rem; }
  .property-title { font-size: 1.25rem; font-weight: 600; margin-bottom: 0.5rem; color: #1f2937; }
  .property-location { color: #6b7280; margin-bottom: 1rem; display: flex; align-items: center; gap: 0.5rem; }
  .property-location svg { width: 1rem; height: 1rem; }
  .property-amenities { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1rem; }
  .amenity-tag { background: #f3f4f6; color: #374151; padding: 0.25rem 0.75rem; border-radius: 1rem; font-size: 0.75rem; }
  .property-footer { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid #e5e7eb; padding-top: 1rem; margin-top: 1rem; }
  .property-price { font-size: 1.5rem; font-weight: 700; color: #3b82f6; }
  .price-period { font-size: 0.875rem; color: #6b7280; }
  
  /* Analytics Section */
  .analytics-section { background: #f0f4f8; }
  .analytics-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
  .analytics-card { background: white; padding: 1.5rem; border-radius: 1rem; box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05); }
  .card-title { display: flex; align-items: center; margin-bottom: 1rem; }
  .card-icon { width: 2.5rem; height: 2.5rem; background: #10b981; border-radius: 0.75rem; display: flex; align-items: center; justify-content: center; margin-right: 1rem; }
  .card-icon svg { color: white; width: 1.25rem; height: 1.25rem; }
  .title-text { font-size: 1rem; font-weight: 600; color: #374151; }
  .percent { margin-left: auto; color: #059669; font-weight: 600; background-color: #dcfce7; padding: 0.1rem 0.5rem; border-radius: 0.5rem; font-size: 0.8rem; }
  .card-data p { font-size: 2rem; font-weight: 700; color: #1f2937; margin-bottom: 1rem; }
  .range { background: #e5e7eb; width: 100%; height: 0.5rem; border-radius: 0.25rem; overflow: hidden; }
  .fill { background: #10b981; height: 100%; border-radius: 0.25rem; }
  
  /* 3D Cards Section */
  .cards-3d-section { display: none; /* Hiding for a cleaner mobile experience, can be enabled */ }
  
  /* Recent Bookings Section */
  .bookings-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
  .booking-card { background: white; border-radius: 1rem; padding: 1.5rem; box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.07); transition: transform 0.2s ease; }
  .booking-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1rem; }
  .booking-status { padding: 0.25rem 0.75rem; border-radius: 1rem; font-size: 0.875rem; font-weight: 600; }
  .status-confirmed { background: #dcfce7; color: #166534; }
  .status-pending { background: #fef3c7; color: #92400e; }
  .status-cancelled { background: #fee2e2; color: #991b1b; }
  .booking-details { color: #6b7280; margin-bottom: 1rem; font-size: 0.9rem; }
  .booking-amount { font-size: 1.25rem; font-weight: 700; color: #1f2937; }
  
  
  /* Sidebar (Mobile Navigation) */
  .sidebar {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: white;
      z-index: 100;
      padding: 1.5rem;
      transform: translateX(-100%);
      transition: transform 0.3s ease-in-out;
  }
  
  .sidebar.open {
      transform: translateX(0);
  }
  
  .sidebar-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding-bottom: 1rem;
      border-bottom: 1px solid #e5e7eb;
  }
  
  .sidebar-close-btn {
      background: transparent;
      border: none;
      cursor: pointer;
      padding: 0.5rem;
      color: #374151;
  }
  .sidebar-close-btn svg { width: 1.75rem; height: 1.75rem; }
  
  .sidebar-nav { list-style: none; margin-top: 2rem; }
  .sidebar-nav li { margin-bottom: 0.5rem; }
  .sidebar-nav a, .sidebar-nav button {
      display: flex; align-items: center; gap: 1rem; padding: 1rem;
      border: none; background: transparent; border-radius: 0.75rem;
      font-weight: 600; font-size: 1.125rem; color: #374151;
      cursor: pointer; transition: all 0.2s ease; text-align: left;
      width: 100%; text-decoration: none;
  }
  .sidebar-nav a:hover, .sidebar-nav button:hover { background: #f3f4f6; }
  .sidebar-nav svg { width: 1.5rem; height: 1.5rem; }
  
  
  /* Bottom Navigation (Mobile) */
  .bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    border-top: 1px solid #e5e7eb;
    padding: 0.5rem 1rem;
    z-index: 40;
    box-shadow: 0 -2px 5px rgba(0,0,0,0.05);
  }
  
  .bottom-nav-content {
    display: flex;
    justify-content: space-around;
    align-items: center;
    max-width: 500px;
    margin: 0 auto;
  }
  
  .bottom-nav-button {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    color: #6b7280;
    text-decoration: none;
    font-size: 0.75rem;
    font-weight: 500;
    padding: 0.5rem;
    border-radius: 0.5rem;
    transition: color 0.2s, background-color 0.2s;
  }
  
  .bottom-nav-button:hover {
    color: #3b82f6;
    background-color: #eff6ff;
  }
  
  .bottom-nav-button svg {
    width: 1.5rem;
    height: 1.5rem;
  }
  
  
  /* Tablet & Small Desktop Styles */
  @media (min-width: 768px) {
    .container {
      padding: 0 2rem;
    }
    
    .mobile-menu-toggle {
      display: none;
    }
    
    .nav-content {
      padding: 1rem 2rem;
    }
  
    /* Show desktop navigation items */
    .nav-buttons-desktop {
      display: flex;
      gap: 1rem;
      align-items: center;
    }
    
    .nav-button-group {
      display: flex;
      background: white;
      padding: 0.5rem;
      box-shadow: 0 4px 6px -1px rgba(0,0,0,0.07);
      border-radius: 1rem;
    }
  
    .nav-button {
      border: 2px solid transparent;
      background: #f3f4f6;
      border-radius: 0.75rem;
      padding: 0.75rem 1.5rem;
      display: inline-flex;
      align-items: center;
      font-weight: 500;
      font-size: 0.875rem;
      color: #6b7280;
      transition: all 0.2s ease;
      cursor: pointer;
      text-decoration: none;
    }
    .nav-button:not(:last-child) { margin-right: 0.5rem; }
    .nav-button:hover { border-color: #d1d5db; color: #1f2937; }
    .nav-button svg { width: 1.25rem; height: 1.25rem; margin-right: 0.5rem; }
  
    .hero h1 { font-size: 3rem; }
    .hero p { font-size: 1.25rem; }
    
    .search-bar { max-width: 600px; gap: 1rem; }
    .search-input { padding: 1rem 1.5rem; }
    .search-button { padding: 1rem 2rem; }
  
    .section { padding: 4rem 0; }
    .section-title { font-size: 2.5rem; }
    
    .properties-grid {
      grid-template-columns: repeat(2, 1fr);
    }
    
    .analytics-grid {
      grid-template-columns: repeat(3, 1fr);
    }
  
    .bookings-grid {
      grid-template-columns: repeat(2, 1fr);
    }
  
    .sidebar {
        display: none;
    }
  
    .bottom-nav {
        display: none;
    }
  }
  
  /* Large Desktop Styles */
  @media (min-width: 1024px) {
      .properties-grid {
          grid-template-columns: repeat(3, 1fr);
      }
  
      .bookings-grid {
          grid-template-columns: repeat(4, 1fr);
      }
  }