@import url('https://fonts.googleapis.com/css2?family=Fahkwang:wght@300;400;600;700&display=swap');

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Fahkwang', sans-serif; line-height: 1.6; color: #333; }

nav {
  background: #1a1a1a;
  box-shadow: 0 2px 10px rgba(0,0,0,0.3);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.8rem;
  font-weight: bold;
  color: #D4AF37;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-star {
  width: 24px;
  height: 24px;
  fill: #D4AF37;
}

.nav-links {
  display: flex;
  gap: 30px;
  list-style: none;
  align-items: center;
}

.nav-links li {
  position: relative;
}

.nav-links a {
  text-decoration: none;
  color: #fff;
  font-weight: 600;
  transition: color 0.3s;
}

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

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
  background: none;
  border: none;
  padding: 5px;
}

.hamburger span {
  width: 28px;
  height: 3px;
  background: #D4AF37;
  border-radius: 2px;
  transition: all 0.3s;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(8px, -8px);
}

.dropdown {
  position: relative;
}

.dropdown > a {
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 5px;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #1a1a1a;
  border: 2px solid #D4AF37;
  border-top: none;
  min-width: 200px;
  padding: 10px 0;
  margin-top: 20px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.5);
  z-index: 1001;
}

.dropdown:hover .dropdown-menu,
.dropdown.active .dropdown-menu {
  display: block;
}

.dropdown-menu a {
  display: block;
  padding: 12px 20px;
  color: #fff;
  transition: background 0.3s, color 0.3s;
}

.dropdown-menu a:hover {
  background: #2d2d2d;
  color: #D4AF37;
}

.dropdown-arrow {
  font-size: 0.7rem;
  transition: transform 0.3s;
}

.dropdown:hover .dropdown-arrow {
  transform: rotate(180deg);
}

.hero {
  background: #1a1a1a;
  color: white;
  text-align: center;
  padding: 120px 20px 80px;
  position: relative;
  overflow: hidden;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-slideshow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
}

.hero-slide::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
}

.hero-slide.active {
  opacity: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: bold;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #D4AF37;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
}

.hero p {
  font-size: 1.3rem;
  margin-bottom: 10px;
  opacity: 0.95;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
}

.hero .subtitle {
  font-size: 1rem;
  font-style: italic;
  opacity: 0.85;
  margin-bottom: 30px;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
}

.btn {
  display: inline-block;
  padding: 15px 40px;
  background: #D4AF37;
  color: #1a1a1a;
  text-decoration: none;
  border-radius: 30px;
  font-weight: bold;
  font-size: 1.1rem;
  transition: transform 0.3s, box-shadow 0.3s;
  cursor: pointer;
  border: none;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(212, 175, 55, 0.4);
  background: #C5A572;
}

.ticker-wrap {
  background: #0a0a0a;
  color: #D4AF37;
  overflow: hidden;
  padding: 15px 0;
}

.ticker {
  display: flex;
  animation: scroll 20s linear infinite;
  white-space: nowrap;
}

.ticker-item {
  font-size: 1rem;
  font-style: italic;
  padding: 0 50px;
}

@keyframes scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 20px;
}

.section h2 {
  font-size: 2.5rem;
  font-weight: bold;
  text-align: center;
  margin-bottom: 50px;
  color: #1a1a1a;
}

.featured-homes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}

.home-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  transition: transform 0.3s;
  text-decoration: none;
  color: inherit;
  display: block;
  border: 2px solid transparent;
}

.home-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(212, 175, 55, 0.3);
  border-color: #D4AF37;
}

.home-card img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

.home-card-content {
  padding: 25px;
}

.home-card h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
  color: #1a1a1a;
}

.home-card .price {
  color: #D4AF37;
  font-size: 1.3rem;
  font-weight: bold;
}

.testimonials {
  background: #f8f9fa;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.testimonial {
  background: white;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
  text-align: center;
  border: 2px solid #f0f0f0;
  transition: border-color 0.3s;
}

.testimonial:hover {
  border-color: #D4AF37;
}

.testimonial-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin: 0 auto 20px;
  object-fit: cover;
  border: 3px solid #D4AF37;
}

.testimonial blockquote {
  font-style: italic;
  font-size: 1.1rem;
  margin-bottom: 15px;
  line-height: 1.8;
}

.testimonial cite {
  font-style: normal;
  font-weight: bold;
  color: #D4AF37;
  display: block;
  margin-top: 10px;
}

.testimonial .role {
  font-size: 0.9rem;
  color: #666;
  margin-top: 5px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.gallery-grid img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 12px;
  transition: transform 0.3s;
  border: 2px solid transparent;
}

.gallery-grid img:hover {
  transform: scale(1.05);
  border-color: #D4AF37;
}

.gallery-section {
  overflow: hidden;
  padding-bottom: 60px;
}

.gallery-scroll-wrapper {
  width: 100%;
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
}

.gallery-scroll {
  display: flex;
  gap: 20px;
  animation: scroll-gallery 40s linear infinite;
  width: max-content;
}

.gallery-scroll:hover {
  animation-play-state: paused;
}

.gallery-scroll img {
  width: 350px;
  height: 280px;
  object-fit: cover;
  border-radius: 12px;
  border: 2px solid transparent;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.gallery-scroll img:hover {
  border-color: #D4AF37;
  transform: scale(1.02);
  box-shadow: 0 10px 30px rgba(212, 175, 55, 0.3);
}

@keyframes scroll-gallery {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-350px * 11 - 20px * 11));
  }
}

.listing-detail {
  max-width: 1000px;
  margin: 40px auto;
  padding: 20px;
}

.listing-hero {
  width: 100%;
  height: 500px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 30px;
  border: 3px solid #D4AF37;
}

.listing-info {
  margin-bottom: 40px;
}

.listing-info h1 {
  font-size: 3rem;
  margin-bottom: 15px;
  color: #1a1a1a;
}

.listing-price {
  font-size: 2rem;
  color: #D4AF37;
  font-weight: bold;
  margin-bottom: 20px;
}

.listing-description {
  font-size: 1.2rem;
  line-height: 1.8;
  margin-bottom: 30px;
}

.listing-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin: 40px 0;
}

.feature-box {
  background: #f8f9fa;
  padding: 25px;
  border-radius: 12px;
  border: 2px solid #e0e0e0;
  transition: border-color 0.3s;
}

.feature-box:hover {
  border-color: #D4AF37;
}

.feature-box h3 {
  color: #D4AF37;
  margin-bottom: 15px;
}

.feature-box ul {
  list-style: none;
  padding: 0;
}

.feature-box li {
  padding: 8px 0;
  border-bottom: 1px solid #e0e0e0;
}

.feature-box li:last-child {
  border-bottom: none;
}

.listing-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin: 40px 0;
}

.listing-gallery img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 12px;
  transition: transform 0.3s;
  border: 2px solid transparent;
}

.listing-gallery img:hover {
  transform: scale(1.05);
  border-color: #D4AF37;
}

.team-section {
  background: #1a1a1a;
  color: white;
  padding: 80px 20px;
}

.team-section h2 {
  color: #D4AF37;
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 50px;
}

.team-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
}

.team-member {
  text-align: center;
  padding: 30px;
  background: #2d2d2d;
  border-radius: 12px;
  border: 2px solid #3d3d3d;
  transition: border-color 0.3s, transform 0.3s;
}

.team-member:hover {
  border-color: #D4AF37;
  transform: translateY(-5px);
}

.team-photo {
  width: 200px;
  height: 200px;
  margin: 0 auto 20px;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid #D4AF37;
}

.team-member h3 {
  color: #D4AF37;
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.team-member .title {
  color: #C5A572;
  font-size: 1.1rem;
  margin-bottom: 15px;
}

.team-member p {
  color: #ccc;
  line-height: 1.6;
  font-size: 0.95rem;
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: #1a1a1a;
    flex-direction: column;
    gap: 0;
    padding: 20px 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    border-bottom: 3px solid #D4AF37;
    box-shadow: 0 4px 10px rgba(0,0,0,0.5);
  }

  .nav-links.active {
    max-height: 500px;
  }

  .nav-links li {
    width: 100%;
    text-align: center;
    border-bottom: 1px solid #2d2d2d;
  }

  .nav-links li:last-child {
    border-bottom: none;
  }

  .nav-links a {
    display: block;
    padding: 15px 20px;
    width: 100%;
  }

  .dropdown-menu {
    position: static;
    border: none;
    border-top: 1px solid #2d2d2d;
    margin-top: 0;
    padding: 0;
    box-shadow: none;
    background: #0d0d0d;
  }

  .dropdown-menu a {
    padding: 12px 20px 12px 40px;
    border-bottom: 1px solid #1a1a1a;
  }

  .dropdown-menu a:last-child {
    border-bottom: none;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .cta-button {
    font-size: 1rem;
    padding: 12px 30px;
  }
}
