/* Global Reset & Typography */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  background-color: #000;
  color: #fff;
  line-height: 1.6;
  overflow-x: hidden;
  /* Added fade-in transition */
  opacity: 0;
  animation: fadeIn 1s ease-in forwards;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}

ul {
  list-style: none;
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 2rem 4rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0) 100%);
  transition: all 0.3s ease;
}

/* Fixed navbar scroll behavior to prevent shifting */
.navbar.scrolled {
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(10px);
  padding: 1rem 4rem;
}

.logo {
  font-size: 1.2rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 300;
  position: relative;
  padding-left: 50px;
}

.logo::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 30px;
  height: 2px;
  background-color: #ff0000; /* Red accent line */
  transform: translateY(-50%);
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-links a {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #ccc;
}

.nav-links a:hover {
  color: #fff;
}

.nav-icons {
  display: flex;
  gap: 1.5rem;
  margin-left: 2rem;
}

/* Hero / Sections */
.section {
  position: relative;
  height: 100vh;
  width: 100%;
  display: flex;
  align-items: center;
  padding: 0 10%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Dark Overlay */
.section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.4) 50%, rgba(0, 0, 0, 0.1) 100%);
  z-index: 1;
}

.content {
  position: relative;
  z-index: 2;
  max-width: 600px;
}

.section-title {
  font-size: 3.5rem;
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 1.5rem;
  line-height: 1.1;
}

.section-desc {
  font-size: 1.1rem;
  color: #ddd;
  margin-bottom: 3rem;
  font-weight: 300;
}

/* Ghost Button */
.btn {
  display: inline-block;
  padding: 15px 40px;
  border: 1px solid #fff;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  background: transparent;
  cursor: pointer;
}

.btn:hover {
  background: #fff;
  color: #000;
}

/* Specific Backgrounds (Placeholders - User should replace) */
#yachts {
  background-image: url("../../public/luxury-yacht-ocean.jpg");
}

#jets {
  background-image: url("../../public/private-jet-interior.png");
}

#cars {
  background-image: url("../../public/rolls-royce-phantom-black.jpg");
}

#real-estate {
  /* Added background image for Real Estate section */
  background-image: url("../../public/luxury-modern-villa-pool.jpg");
  background-color: #111; /* Fallback */
}

/* Mobile Menu Styles */
.mobile-only {
  display: none;
}

.mobile-menu-overlay {
  position: fixed;
  top: 0;
  right: -100%; /* Start hidden off-screen, not visible by default */
  width: 300px;
  height: 100vh;
  background: #111;
  z-index: 2000;
  transition: right 0.4s cubic-bezier(0.77, 0, 0.175, 1);
  padding: 40px;
  box-shadow: -5px 0 15px rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
}

.mobile-menu-overlay.active {
  right: 0;
}

.close-menu {
  align-self: flex-end;
  font-size: 2rem;
  color: #fff;
  margin-bottom: 40px;
  cursor: pointer;
  transition: color 0.3s;
}

/* Added hover effect for close button */
.close-menu:hover {
  color: #ff0000;
}

.mobile-links a {
  display: block;
  font-size: 1.5rem;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #888;
  transition: all 0.3s;
}

.mobile-links a:hover {
  color: #fff;
  padding-left: 10px;
}

/* Responsive */
@media (max-width: 768px) {
  /* Fixed navbar to maintain consistent height and prevent shifting */
  .navbar {
    padding: 1.5rem;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
  }

  .navbar.scrolled {
    padding: 1.5rem; /* Keep same padding to prevent shift */
  }

  .desktop-only {
    display: none;
  }
  .mobile-only {
    display: block;
    font-size: 1.5rem;
    color: #fff;
  }

  .nav-links {
    display: none; /* Hide default links on mobile */
  }

  .section-title {
    font-size: 2.5rem;
  }

  .section {
    padding: 0 5%;
  }
}
