:root {
    --primary: #3498db;
    --accent: #e67e22;
    --dark: #2c3e50;
    --light: #ecf0f1;
    --success: #2ecc71;
    --warning: #f39c12;
    --danger: #e74c3c;
  }
  
  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  }
  
  body {
    background-color: #f5f7fa;
    color: #333;
    line-height: 1.6;
  }
  
  .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
  }
  
  header {
    background-color: white;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
  }
  
  .navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
  }
  
  .logo {
    font-size: 24px;
    font-weight: bold;
    color: var(--primary);
    display: flex;
    align-items: center;
  }
  
  .logo-icon {
    margin-right: 8px;
    font-size: 28px;
  }
  
  .nav-links {
    display: flex;
    list-style: none;
  }
  
  .nav-links li {
    margin-left: 25px;
  }
  
  .nav-links a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 500;
    transition: color 0.3s;
  }
  
  .nav-links a:hover {
    color: var(--primary);
  }
  
  .nav-links .active {
    color: var(--primary);
    border-bottom: 2px solid var(--primary);
  }
  
  .auth-buttons {
    display: flex;
    align-items: center;
  }
  
  .btn {
    padding: 8px 16px;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s;
  }
  
  .btn-primary {
    background-color: var(--primary);
    color: white;
  }
  
  .btn-outline {
    background-color: transparent;
    border: 1px solid var(--primary);
    color: var(--primary);
    margin-right: 10px;
  }
  
  .btn-primary:hover {
    background-color: #2980b9;
  }
  
  .btn-outline:hover {
    background-color: #eaf2f8;
  }
  
  .hero {
    background-image: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('/api/placeholder/1200/400');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    padding: 80px 0;
    margin-bottom: 40px;
  }
  
  .hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.8);
  }
  
  .hero p {
    font-size: 18px;
    max-width: 600px;
    margin: 0 auto 30px;
  }
  
  .search-container {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
  }
  
  .search-input {
    flex-grow: 1;
    padding: 12px 16px;
    border: none;
    border-radius: 4px 0 0 4px;
    font-size: 16px;
  }
  
  .search-btn {
    background-color: var(--accent);
    color: white;
    border: none;
    border-radius: 0 4px 4px 0;
    padding: 0 20px;
    cursor: pointer;
    transition: background-color 0.3s;
  }
  
  .search-btn:hover {
    background-color: #d35400;
  }
  
  .main-content {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 30px;
    margin-bottom: 40px;
  }
  
  .forum-content {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    overflow: hidden;
  }
  
  .tabs {
    display: flex;
    border-bottom: 1px solid #eee;
  }
  
  .tab {
    padding: 15px 25px;
    cursor: pointer;
    font-weight: 500;
  }
  
  .tab.active {
    color: var(--primary);
    border-bottom: 2px solid var(--primary);
  }
  
  .discussions {
    padding: 20px;
  }
  
  .discussion-item {
    border-bottom: 1px solid #eee;
    padding: 15px 0;
    display: flex;
    align-items: flex-start;
  }
  
  .discussion-item:last-child {
    border-bottom: none;
  }
  
  .user-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: 15px;
    background-color: #ddd;
    overflow: hidden;
  }
  
  .user-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  
  .discussion-content {
    flex-grow: 1;
  }
  
  .discussion-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 5px;
  }
  
  .user-name {
    font-weight: 600;
    color: var(--dark);
  }
  
  .post-time {
    color: #888;
    font-size: 14px;
  }
  
  .discussion-title {
    font-weight: 500;
    margin-bottom: 8px;
    font-size: 18px;
  }
  
  .discussion-title a {
    color: var(--dark);
    text-decoration: none;
  }
  
  .discussion-title a:hover {
    color: var(--primary);
  }
  
  .discussion-meta {
    display: flex;
    align-items: center;
    color: #777;
    font-size: 14px;
  }
  
  .meta-item {
    display: flex;
    align-items: center;
    margin-right: 15px;
  }
  
  .meta-icon {
    margin-right: 5px;
  }
  
  .tags {
    display: flex;
    flex-wrap: wrap;
    margin-top: 8px;
  }
  
  .tag {
    background-color: #f0f5fa;
    color: var(--primary);
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    margin-right: 8px;
    margin-bottom: 5px;
  }
  
  .pagination {
    display: flex;
    justify-content: center;
    margin-top: 20px;
    padding-bottom: 10px;
  }
  
  .page-link {
    display: inline-block;
    padding: 8px 12px;
    margin: 0 5px;
    border-radius: 4px;
    border: 1px solid #ddd;
    color: var(--dark);
    text-decoration: none;
  }
  
  .page-link:hover {
    background-color: #f8f9fa;
  }
  
  .page-link.active {
    background-color: var(--primary);
    color: white;
    border-color: var(--primary);
  }
  
  .sidebar {
    position: sticky;
    top: 100px;
  }
  
  .sidebar-widget {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    margin-bottom: 25px;
    overflow: hidden;
  }
  
  .widget-header {
    background-color: var(--primary);
    color: white;
    padding: 15px 20px;
    font-size: 18px;
    font-weight: 500;
  }
  
  .widget-content {
    padding: 20px;
  }
  
  .trending-topics {
    list-style: none;
  }
  
  .trending-topics li {
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid #eee;
  }
  
  .trending-topics li:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
  }
  
  .trending-topics a {
    color: var(--dark);
    text-decoration: none;
    display: flex;
    align-items: center;
    transition: color 0.3s;
  }
  
  .trending-topics a:hover {
    color: var(--primary);
  }
  
  .trending-topics .number {
    font-weight: bold;
    color: var(--primary);
    margin-right: 10px;
  }
  
  .topic-users {
    display: flex;
    flex-wrap: wrap;
    margin-top: 10px;
  }
  
  .topic-user {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    margin-right: -8px;
    border: 2px solid white;
    background-color: #ddd;
    overflow: hidden;
  }
  
  .topic-user img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  
  .featured-travelers {
    list-style: none;
  }
  
  .featured-traveler {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
  }
  
  .featured-traveler:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
  }
  
  .traveler-info {
    margin-left: 12px;
  }
  
  .traveler-name {
    font-weight: 500;
    color: var(--dark);
    margin-bottom: 2px;
  }
  
  .traveler-details {
    font-size: 13px;
    color: #777;
  }
  
  .stats {
    display: flex;
    margin-top: 5px;
    font-size: 12px;
    color: #777;
  }
  
  .stat {
    margin-right: 8px;
    display: flex;
    align-items: center;
  }
  
  .stat-icon {
    margin-right: 3px;
    color: var(--primary);
  }
  
  .action-buttons {
    margin-top: 20px;
  }
  
  .btn-block {
    display: block;
    width: 100%;
    padding: 12px;
    text-align: center;
    margin-bottom: 10px;
    font-size: 16px;
  }
  
  .btn-accent {
    background-color: var(--accent);
    color: white;
  }
  
  .btn-accent:hover {
    background-color: #d35400;
  }
  
  footer {
    background-color: var(--dark);
    color: white;
    padding: 40px 0 20px;
  }
  
  .footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 30px;
  }
  
  .footer-column h3 {
    margin-bottom: 20px;
    font-size: 18px;
  }
  
  .footer-links {
    list-style: none;
  }
  
  .footer-links li {
    margin-bottom: 10px;
  }
  
  .footer-links a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s;
  }
  
  .footer-links a:hover {
    color: white;
  }
  
  .social-links {
    display: flex;
    margin-top: 15px;
  }
  
  .social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: rgba(255,255,255,0.1);
    border-radius: 50%;
    margin-right: 10px;
    color: white;
    text-decoration: none;
    transition: background-color 0.3s;
  }
  
  .social-link:hover {
    background-color: var(--primary);
  }
  
  .footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: #bdc3c7;
    font-size: 14px;
  }

  @media (max-width: 900px) {
    .main-content {
      grid-template-columns: 1fr;
    }
    
    .footer-content {
      grid-template-columns: repeat(2, 1fr);
    }
  }
  
  @media (max-width: 600px) {
    .navbar {
      flex-direction: column;
    }
    
    .nav-links {
      margin-top: 15px;
      justify-content: center;
    }
    
    .auth-buttons {
      margin-top: 15px;
    }
    
    .hero h1 {
      font-size: 36px;
    }
    
    .footer-content {
      grid-template-columns: 1fr;
    }
  }