/* Global Body Styling */
body {
    margin: 0;
    padding: 0;
    font-family: 'Arial', sans-serif;
    background-color: #0d1117; /* Gaming vibe background */
    color: #ffffff;
    overflow-x: hidden; /* Prevent horizontal scroll from animations */
  }
  
  h2, p {
    margin: 0;
    padding: 0;
  }
  
  /* General Styles */
.container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
  }
  
  /* Navbar Styles */
  .header {
    background: #161b22;
    padding: 1rem 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
  }
  
  .logo {
    font-size: 1.8rem;
    color: #00d8ff;
    text-transform: uppercase;
    letter-spacing: 2px;
  }
  
  .nav-links {
    list-style: none;
    display: flex;
    gap: 1.5rem;
  }
  
  .nav-links a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    font-size: 1rem;
    transition: color 0.3s;
  }
  
  .nav-links a:hover {
    color: #ff6f61;
  }
  
  /* Right Section Styles */
  .header-right {
    display: flex;
    align-items: center;
    gap: 1.5rem;
  }
  
  .search-bar {
    display: flex;
    align-items: center;
    background: #0d1117;
    border: 1px solid #444;
    border-radius: 5px;
    overflow: hidden;
  }
  
  .search-bar input {
    border: none;
    padding: 0.5rem;
    background: none;
    color: #fff;
    outline: none;
  }
  
  .search-bar button {
    background: #00d8ff;
    border: none;
    padding: 0.5rem 1rem;
    color: #0d1117;
    cursor: pointer;
    transition: background 0.3s;
  }
  
  .search-bar button:hover {
    background: #ff6f61;
  }
  
  .location-dropdown select {
    background: #0d1117;
    border: 1px solid #444;
    border-radius: 5px;
    padding: 0.5rem;
    color: #fff;
    outline: none;
  }
  
  .auth-buttons {
    display: flex;
    gap: 0.5rem;
  }
  
  .auth-buttons a {
    color: #00d8ff;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border: 1px solid #00d8ff;
    border-radius: 5px;
    font-size: 0.9rem;
    transition: background 0.3s, color 0.3s;
  }
  
  .auth-buttons .signin:hover {
    background: #ff6f61;
    color: #fff;
    border-color: #ff6f61;
  }
  
  .auth-buttons .signup {
    background: #00d8ff;
    color: #0d1117;
  }
  
  .auth-buttons .signup:hover {
    background: #ff6f61;
    color: #fff;
    border-color: #ff6f61;
  }
  
  .profile-menu-container {
    position: relative;
    display: inline-block;
    z-index: 1000; /* Ensures menu is above other content */
  }
  
  .profile-icon img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    border: 2px solid #ff6f61;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  
  .profile-icon img:hover {
    transform: scale(1.1);
    box-shadow: 0 0 10px #ff6f61;
  }
  
  .dropdown-menu {
    position: absolute;
    top: 60px;
    right: 0;
    background-color: #161b22;
    border: 1px solid #ff6f61;
    border-radius: 8px;
    width: 180px;
    display: none;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.5);
    z-index: 1001; /* Layered above all other sections */
  }
  
  .dropdown-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
  }
  
  .dropdown-menu ul li {
    border-bottom: 1px solid #ff6f61;
  }
  
  .dropdown-menu ul li:last-child {
    border-bottom: none;
  }
  
  .dropdown-menu ul li a {
    text-decoration: none;
    color: white;
    display: block;
    padding: 10px 15px;
    font-size: 1rem;
    transition: background-color 0.3s ease;
  }
  
  .dropdown-menu ul li a:hover {
    background-color: #ff6f61;
    color: #161b22;
  }
  
  /* Show dropdown on hover */
  .profile-menu-container:hover .dropdown-menu {
    display: block;
  }
  

  /* Hero Section */
  .hero {
    position: relative;
    width: 100%;
    height: 100vh; /* Full viewport height for a striking hero section */
    overflow: hidden;
  }
  
  .carousel {
    width: 100%;
    height: 100%;
    position: relative;
  }
  
  .carousel-track {
    display: flex;
    animation: slide 20s infinite; /* Loop through slides */
  }
  
  .carousel-slide {
    min-width: 100%;
    height: 100%;
  }
  
  .carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures full image visibility without distortion */
  }
  
  /* Sliding Animation */
  @keyframes slide {
    0% { transform: translateX(0); }
    20% { transform: translateX(0); }
    25% { transform: translateX(-100%); }
    45% { transform: translateX(-100%); }
    50% { transform: translateX(-200%); }
    70% { transform: translateX(-200%); }
    75% { transform: translateX(-300%); }
    95% { transform: translateX(-300%); }
    100% { transform: translateX(-400%); }
  }
  
  /* Hero Overlay */
  .hero-overlay {
    position:absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Semi-transparent overlay for readability */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
  }
  
  .hero-content {
    color: #ffffff;
  }
  
  .hero-content h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #00d8ff; /* Neon gaming blue */
  }
  
  .hero-content p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
  }
  
  .cta-button {
    background: #00d8ff;
    color: #0d1117;
    padding: 1rem 2rem;
    text-decoration: none;
    font-size: 1.2rem;
    border-radius: 5px;
    transition: all 0.3s ease;
  }
  
  .cta-button:hover {
    background: #ff6f61;
    color: #ffffff;
  }
  /* General Section Styling */
.section {
    padding: 2rem 1rem;
    background-color: #0d1117;
    color: #fff;
    text-align: center;
  }
  
  .section-header h2 {
    font-size: 2.5rem;
    color: #00d8ff;
    margin-bottom: 1rem;
  }
  
  .section-header p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
  }
  
  /* Rent Section */
  .rent-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
  }
  
  .rent-item {
    background: #161b22;
    border-radius: 10px;
    padding: 1rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
  }
  
  .rent-item img {
    width: 100%;
    border-radius: 10px;
  }
  
  .rent-item h3 {
    margin-top: 1rem;
    color: #ff6f61;
  }
  
  /* Share & Earn Section */
/* Share Section */
.share-section {
  background-color: #1c1c1c;
  padding: 50px 20px;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

.share-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}

.share-text {
  max-width: 600px;
}

.share-text h2 {
  font-size: 2rem;
  color: #ff5a00;
  margin-bottom: 20px;
}

.share-text p {
  font-size: 1.2rem;
  margin-bottom: 20px;
  color: #bbb;
}

.share-text ul {
  list-style-type: none;
  margin-bottom: 30px;
}

.share-text ul li {
  font-size: 1.1rem;
  color: #aaa;
  margin: 10px 0;
}

.share-text .cta-button {
  display: inline-block;
  background-color: #ff5a00;
  color: #fff;
  padding: 10px 20px;
  text-decoration: none;
  font-size: 1.1rem;
  border-radius: 5px;
  transition: background-color 0.3s;
}

.share-text .cta-button:hover {
  background-color: #e14e00;
}

.share-image img {
  max-width: 100%;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

/* Responsive Styles */
@media (max-width: 768px) {
  .share-content {
    flex-direction: column;
    text-align: center;
  }

  .share-text {
    max-width: 100%;
  }

  .share-text h2 {
    font-size: 1.8rem;
  }

  .share-text p {
    font-size: 1rem;
  }

  .share-text ul li {
    font-size: 1rem;
  }

  .share-text .cta-button {
    font-size: 1rem;
  }
}
  /* Features Section */
  .features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
  }
  
  .feature-item {
    background: #161b22;
    border-radius: 10px;
    padding: 1rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
  }
  
  .feature-item img {
    width: 100%;
    border-radius: 10px;
  }
  
  .feature-item h3 {
    margin-top: 1rem;
    color: #ff6f61;
  }
  .footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    padding: 2rem;
    background: #161b22;
  }
  
  .footer-section {
    flex: 1;
    min-width: 250px;
    margin: 0.5rem;
  }
  
  .footer-section h3 {
    color: #00d8ff;
    margin-bottom: 1rem;
  }
  
  .footer-section p, .footer-section ul {
    color: #ccc;
    font-size: 0.9rem;
  }
  
  .footer-section ul {
    list-style: none;
    padding: 0;
  }
  
  .footer-section ul li {
    margin-bottom: 0.5rem;
  }
  
  .footer-section ul li a {
    color: #00d8ff;
    text-decoration: none;
  }
  
  .footer-section ul li a:hover {
    color: #ff6f61;
  }
  
  .social-icons a {
    margin-right: 1rem;
    display: inline-block;
  }
  
  .social-icons img {
    width: 24px;
    height: 24px;
    filter: brightness(0) invert(1);
  }
  
  .footer-bottom {
    text-align: center;
    padding: 1rem 0;
    background: #0d1117;
    color: #888;
    font-size: 0.8rem;
  }
  
  .footer-bottom a {
    color: #00d8ff;
    text-decoration: none;
    margin: 0 0.5rem;
  }
  
  .footer-bottom a:hover {
    color: #ff6f61;
  }