/* Reset & Base */
* { margin:0; padding:0; box-sizing:border-box; }
body { font-family: 'Roboto', sans-serif; background:#0f0f0f; color:#fff; }

/* Gradient Text (Gold & White) */
.gradient-text {
  background: linear-gradient(135deg, #ffd700, #ffffff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 500;
}

/* =========================
   Floating Glassy Gold Header
========================= */
header {
  position: absolute; /* floating */
  top:20px;
  left:0;
  width:100%;
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:15px 30px;
  background: rgba(255, 215, 0, 0.12); /* soft gold glass */
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255,215,0,0.3);
  box-shadow: 0 8px 20px rgba(255,215,0,0.1);
  z-index: 1100;
  border-radius: 15px; /* rounded edges */
  transition: transform 0.5s ease; /* smooth slide on scroll */
}
/* Logo */
.logo {
  font-family:'Orbitron', sans-serif;
  font-size:1.8rem;
}

/* Hamburger */
.hamburger {
  display:flex;
  flex-direction:column;
  gap:5px;
  cursor:pointer;
  z-index: 1200;
}
.hamburger div {
  width:28px; height:3px;
  background:#ffd700;
  border-radius:2px;
  transition:0.3s;
}

/* Mobile Tray */
.mobile-nav {
  position: fixed;
  top:0; left:0; width:100%;
  max-height:0;
  overflow:hidden;
  display:flex; flex-direction:column;
  justify-content:flex-start;
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(25px);
  padding:20px;
  gap:15px;
  transition: max-height 3s ease-in-out;
  z-index:1050;
  box-shadow: 0 0 35px rgba(255,215,0,0.15);
  border-bottom-left-radius:20px;
  border-bottom-right-radius:20px;
}

/* Menu Links */
.mobile-nav nav {
  display:flex; flex-direction:column;
  gap:15px;
  margin-top:60px;
  border-top: 1px solid rgba(255,255,255,0.2);
  padding-top: 15px;
}
.mobile-nav a {
  font-size:1.3rem;
  padding:12px 15px;
  border-radius:12px;
  text-decoration:none;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  transition:0.3s;
}
.mobile-nav a:hover {
  background: rgba(255,255,255,0.1);
}

/* Connect Wallet Button (in tray) */
.mobile-nav .wallet-btn {
  padding:14px 20px;
  background:#ffd700; /* solid gold button */
  color:#0f0f0f;
  border-radius:35px;
  font-weight:700;
  display:flex; align-items:center; justify-content:center;
  gap:10px;
  margin-top:30px;
  transition:0.3s;
  box-shadow: 0 0 15px rgba(255,215,0,0.4);
}
.mobile-nav .wallet-btn:hover {
  background:#e6c200;
}

/* Active Tray */
.mobile-nav.active {
  max-height:1000px;
}

/* Hamburger Animation */
.hamburger.open div:nth-child(1){ transform: rotate(45deg) translate(5px,5px);}
.hamburger.open div:nth-child(2){ opacity:0;}
.hamburger.open div:nth-child(3){ transform: rotate(-45deg) translate(6px,-6px);}

/* Wallet Modal */
.wallet-modal {
  position: fixed;
  top:0; left:0; width:100%; height:100%;
  background: rgba(0,0,0,0.7);
  display:none;
  justify-content:center; align-items:center;
  z-index:2000;
}
.wallet-modal.active { display:flex; }
.wallet-popup {
  background: rgba(255,215,0,0.08);
  backdrop-filter: blur(25px);
  padding:30px;
  border-radius:20px;
  text-align:center;
  color:#fff;
  max-width:400px;
  width:90%;
}
.wallet-popup h2 {
  background: linear-gradient(135deg,#ffd700,#ffffff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom:15px;
}
.wallet-popup button {
  padding:12px 25px;
  border:none;
  border-radius:30px;
  background:#ffd700;
  color:#0f0f0f;
  font-weight:700;
  cursor:pointer;
  margin-top:20px;
}
.wallet-popup button:hover { background:#e6c200; }

/* Desktop Enhancements (NOT layout switching) */
@media (min-width: 769px) {
  .hamburger {
    display: flex; /* keep visible */
  }

  .mobile-nav nav {
    margin-top: 80px; /* more breathing room on desktop */
  }

  .mobile-nav a {
    font-size: 1.4rem;
  }

  .mobile-nav .wallet-btn {
    max-width: 320px;
    align-self: center;
  }
}


/* Hero Section */
.hero {
  width: 100%;
  min-height: 90vh;
  position: relative;
  background: url('scr/meta1.jpg') center/cover no-repeat;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 25px;
  padding: 50px 20px;
}

/* Top button */
.hero-top-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  background: rgba(255, 215, 0, 0.2);
  border: none;
  border-radius: 25px;
  font-weight: 600;
  color: #fff;
  text-decoration: none; /* REMOVE underline */
  backdrop-filter: blur(10px);
  cursor: pointer;
  font-size: 1rem;
  transition: 0.3s;
}
.hero-top-btn i { color: #ffd700; }
.hero-top-btn:hover { background: rgba(255, 215, 0, 0.35); }

/* Main headline */
.hero-title {
  font-size: 3rem;
}

/* Paragraph */
.hero-paragraph {
  font-size: 1.2rem;
  color: #ffffff; /* brighter for visibility on bright image */
  text-shadow: 0 0 8px rgba(0,0,0,0.7); /* subtle shadow for contrast */
  line-height: 1.6;
  max-width: 800px;
}

/* Buttons container */
.hero-buttons {
  display: flex;
  flex-direction: column; /* stacked vertically */
  gap: 20px; /* space between buttons */
  justify-content: center;
  align-items: center;
}

/* Hero buttons */
.hero-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 30px;
  background: #ffd700;
  color: #0f0f0f;
  border-radius: 35px;
  font-weight: 700;
  text-decoration: none;
  transition: 0.3s;
  box-shadow: 0 0 15px rgba(255,215,0,0.4);
}
.hero-btn i { font-size: 1.1rem; color: #0f0f0f; }
.hero-btn:hover { background: #e6c200; }

/* Responsive */
@media(max-width:768px){
  .hero-title { font-size: 2.2rem; }
  .hero-paragraph { font-size: 1rem; }
  .hero-btn { padding: 12px 25px; font-size: 0.95rem; }
  .hero-top-btn { font-size: 0.9rem; padding: 8px 16px; }
}


/* Hero animations: initial state */
.hero-top-btn,
.hero-title,
.hero-paragraph,
.hero-buttons {
  opacity: 0;
  transform: translateY(20px);
  animation-fill-mode: forwards;
}

/* Animation keyframes */
@keyframes fadeSlideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Staggered animation timing */
.hero-top-btn {
  animation: fadeSlideUp 1.2s ease-out 0.3s forwards;
}
.hero-title {
  animation: fadeSlideUp 1.2s ease-out 0.6s forwards;
}
.hero-paragraph {
  animation: fadeSlideUp 1.2s ease-out 0.9s forwards;
}
.hero-buttons {
  animation: fadeSlideUp 1.2s ease-out 1.2s forwards;
}


/* Hero stats */
.hero-stats {
  width: 100%;
  display: flex;
  justify-content: center; /* side by side */
  gap: 80px; /* space between stats */
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  color: #ffffff;
  text-align: center;
  font-weight: 600;
  z-index: 10;
}

.hero-stats .stat h2 {
  font-size: 2rem;
  background: linear-gradient(135deg, #ffd700, #ffffff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 5px;
}

.hero-stats .stat p {
  font-size: 1rem;
  color: rgba(255,255,255,0.9);
}

/* Animate stats on load (fade + slide up) */
.hero-stats .stat {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeSlideUp 1.2s ease-out 1.5s forwards; /* delayed after hero buttons */
}

/* Keep side by side even on mobile */
@media(max-width:768px){
  .hero-stats {
    flex-direction: row; /* side by side */
    gap: 40px; /* smaller gap for mobile */
    bottom: 20px;
  }
  .hero-stats .stat h2 { font-size: 1.5rem; }
  .hero-stats .stat p { font-size: 0.9rem; }
}

/* Featured Properties Section */
.featured-properties {
  width: 100%;
  padding: 80px 20px;
  text-align: center;
  background: #0f0f0f;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

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

.section-subtitle {
  font-size: 1.2rem;
  color: rgba(255,255,255,0.85);
  max-width: 700px;
  margin: 0 auto;
}

/* Cards Container */
.cards-container {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
  width: 100%;
}

/* Property Card - wide and free */
.property-card {
  position: relative;
  flex: 1 1 380px; /* flexible width */
  max-width: 480px; /* cap max width */
  height: 450px;
  border-radius: 20px;
  background-size: cover;
  background-position: center;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
  color: #fff;
  transition: transform 0.4s ease, box-shadow 0.4s ease, opacity 0.8s ease, transform 0.8s ease;
  border: 1px solid rgba(255,255,255,0.3);
  opacity: 0; /* start hidden for animation */
  transform: translateY(40px); /* start slightly down */
}

.property-card.in-view {
  opacity: 1;
  transform: translateY(0); /* slide up */
}

.property-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(255,215,0,0.35);
}

/* Card Tags (top-left, two buttons) */
.card-tags {
  position: absolute;
  top: 15px;
  left: 15px;
  display: flex;
  gap: 10px;
}

.card-tag {
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
  cursor: default;
}

.card-tag.premium { background: rgba(255,215,0,0.3); color: #0f0f0f; }
.card-tag.new { background: rgba(255,255,255,0.2); color: #ffd700; }

/* White line above property name - full width */
.property-info::before {
  content: '';
  display: block;
  width: 100%; /* full width */
  height: 1px;
  background: rgba(255,255,255,0.6);
  margin-bottom: 8px;
}

/* Card Footer */
.card-footer {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

/* Property Info (bottom-left) - fully left-aligned */
.property-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start; /* start from left edge */
}

.property-info h3 {
  font-size: 1.3rem;
  margin: 0;
}
.property-info p {
  font-size: 1.1rem;
  color: #ffd700;
  margin: 3px 0 0 0;
}

/* Extra Property Details (district, land size, builders) */
.property-details {
  display: flex;
  gap: 12px;
  margin-top: 6px;
  flex-wrap: wrap;
}

.property-details span {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.85);
}

.property-details i {
  color: #ffd700; /* gold icons */
  font-size: 0.9rem;
}

/* View Details (bottom-right) */
.view-details {
  padding: 8px 14px;
  border-radius: 25px;
  background: rgba(255,215,0,0.9);
  color: #0f0f0f;
  font-weight: 700;
  text-decoration: none;
  font-size: 0.95rem;
  transition: 0.3s;
}
.view-details:hover {
  background: #e6c200;
}

/* Responsive */
@media(max-width:1024px){
  .cards-container { gap: 25px; }
  .property-card { flex: 1 1 320px; height: 420px; padding: 18px; }
  .property-info h3 { font-size: 1.2rem; }
  .property-info p { font-size: 1rem; }
  .view-details { font-size: 0.9rem; padding: 7px 13px; }
  .property-details span { font-size: 0.8rem; }
}

@media(max-width:768px){
  .cards-container { gap: 20px; }
  .property-card { flex: 1 1 100%; height: 350px; padding: 15px; }
  .card-footer { flex-direction: column; align-items: flex-start; gap: 10px; }
  .view-details { align-self: flex-end; font-size: 0.85rem; padding: 6px 12px; }
  .property-details span { font-size: 0.75rem; }
}


/* How It Works Section */
.how-it-works {
  width: 100%;
  padding: 80px 20px;
  text-align: center;
  background: #0f0f0f;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

/* Section Title & Subtitle */
.how-it-works .section-title {
  font-size: 2.8rem;
}

.how-it-works .section-subtitle {
  font-size: 1.2rem;
  color: rgba(255,255,255,0.85);
  max-width: 700px;
  margin: 0 auto;
}

/* Cards Container */
.how-it-works .cards-container {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
  width: 100%;
}

/* Step Card */
.step-card {
  position: relative;
  flex: 1 1 380px;
  max-width: 480px;
  height: 350px;
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.3);
  transition: transform 0.5s ease, box-shadow 0.5s ease;
  opacity: 0;
  transform: translateY(40px);
  backdrop-filter: blur(15px);
}

/* Different glassy colors for each card */
.step-card:nth-child(1) {
  background: rgba(255, 215, 0, 0.15); /* gold-ish glass */
}
.step-card:nth-child(2) {
  background: rgba(0, 191, 255, 0.15); /* blue glass */
}
.step-card:nth-child(3) {
  background: rgba(255, 69, 0, 0.15); /* red-orange glass */
}
.step-card:nth-child(4) {
  background: rgba(75, 0, 130, 0.15); /* purple glass */
}

/* Card Image Zoom on Hover */
.step-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(255,215,0,0.35);
}

/* Slide In Animation */
.step-card.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* Card Tags (Icon at top-left) */
.step-card .card-tags {
  position: absolute;
  top: 15px;
  left: 15px;
  z-index: 2;
}

.step-card .card-tag {
  padding: 10px;
  border-radius: 50%;
  background: rgba(255,215,0,0.8);
  color: #0f0f0f;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Bottom Info Overlay */
.step-card .card-footer {
  position: relative;
  z-index: 2;
  width: 100%;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(10px);
  padding: 15px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-top: 1px solid rgba(255,255,255,0.2);
  border-bottom-left-radius: 20px;
  border-bottom-right-radius: 20px;
}

/* Step Info (text inside overlay) */
.step-card .step-info {
  text-align: left;
}

.step-card .step-info h3 {
  font-size: 1.3rem;
  margin: 0 0 6px 0;
}

.step-card .step-info p {
  font-size: 1rem;
  color: rgba(255,255,255,0.85);
  margin: 0;
}

/* Get Started Button inside card */
.step-card .get-started-btn {
  padding: 10px 22px;
  background: rgba(255,255,255,0.2); /* transparent glass effect */
  color: #fff;
  font-weight: 700;
  border-radius: 35px;
  text-decoration: none;
  font-size: 0.95rem;
  transition: 0.3s;
  align-self: flex-start;
  border: 1px solid rgba(255,255,255,0.3);
}
.step-card .get-started-btn:hover {
  background: rgba(255,215,0,0.9);
  color: #0f0f0f;
  border-color: rgba(255,215,0,0.9);
}

/* Responsive */
@media(max-width:1024px){
  .step-card { flex: 1 1 320px; }
}

@media(max-width:768px){
  .step-card { flex: 1 1 100%; height: 300px; }
  .how-it-works .cards-container { gap: 20px; }
}


/* Marketplace Section */
.marketplace {
  width: 100%;
  padding: 80px 20px;
  text-align: center;
  background: #0f0f0f; /* same as How It Works */
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

/* Section Title & Subtitle */
.marketplace .section-title {
  font-size: 2.8rem;
}

.marketplace .section-subtitle {
  font-size: 1.2rem;
  color: rgba(255,255,255,0.85);
  max-width: 700px;
  margin: 0 auto;
}

/* Buttons Container */
.marketplace-buttons {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 20px;
  width: 100%;
  max-width: 300px;
}

/* Marketplace Buttons */
.marketplace-btn {
  padding: 14px 28px;
  background: rgba(255,255,255,0.1); /* glassy effect */
  color: #fff;
  font-weight: 700;
  border-radius: 35px;
  text-decoration: none;
  font-size: 1rem;
  border: 1px solid rgba(255,255,255,0.3);
  transition: 0.3s;
  text-align: center;
}

.marketplace-btn:hover {
  background: rgba(255,215,0,0.9);
  color: #0f0f0f;
  border-color: rgba(255,215,0,0.9);
}

/* Responsive */
@media(max-width:768px){
  .marketplace-buttons {
    max-width: 100%;
    gap: 15px;
  }
  .marketplace-btn {
    font-size: 0.95rem;
    padding: 12px 25px;
  }
}


/* Marketplace Stats Section */
.marketplace-stats {
  width: 100%;
  padding: 60px 20px;
  background: #0f0f0f; /* matches How It Works */
  display: flex;
  justify-content: center;
}

.stats-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 25px;
  width: 100%;
  max-width: 900px;
}

/* Stat Card */
.stat-card {
  background: rgba(255,255,255,0.05); /* glassy effect */
  border: 1px solid rgba(255,255,255,0.3); /* thin outline */
  border-radius: 20px;
  padding: 25px 20px;
  color: #fff;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.stat-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(255,215,0,0.25);
}

/* Header with Icon + Title inline */
.stat-card .stat-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

/* Stat Icon */
.stat-card .stat-icon {
  font-size: 1.8rem;
  color: #ffd700;
}

/* Titles */
.stat-card h3 {
  font-size: 1.2rem;
  text-transform: uppercase;
  color: #ffd700;
  margin: 0;
}

/* Values */
.stat-value {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 5px 0;
}

/* Percentage Change */
.stat-change {
  font-size: 1rem;
  margin: 0;
}

/* Positive & Negative */
.stat-change.positive { color: #00ff7f; }
.stat-change.negative { color: #ff4c4c; }

/* Responsive */
@media(max-width:768px){
  .stats-container {
    grid-template-columns: 1fr 1fr; /* 2x2 grid on mobile */
    gap: 15px;
  }

  .stat-card {
    padding: 20px 15px;
  }

  .stat-value { font-size: 1.3rem; }
  .stat-card .stat-icon { font-size: 1.5rem; }
  .stat-card h3 { font-size: 1.1rem; }
}

/* Footer Section */
.site-footer {
  width: 100%;
  background: #0f0f0f;
  color: #fff;
  padding: 60px 20px 30px 20px;
  display: flex;
  flex-direction: column;
  gap: 40px;
  border-top: 1px solid rgba(255,255,255,0.2);
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: flex-start; /* align columns to the left edge */
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.footer-column {
  flex: 1 1 220px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  text-align: left; /* force left alignment inside columns */
}

/* Footer Logo */
.footer-logo {
  font-size: 2rem;
  margin: 0;
  text-align: center; /* logo centered */
}

/* First column paragraph stays centered */
.footer-column:first-child p {
  text-align: center;
}

/* Footer Headings */
.footer-column h3 {
  font-size: 1.2rem;
  color: #ffd700;
  margin-bottom: 10px;
}

/* Links */
.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-column ul li {
  margin-bottom: 8px;
}

.footer-column ul li a {
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  transition: 0.3s;
}

.footer-column ul li a:hover {
  color: #ffd700;
}

/* Contact Info */
.footer-column p {
  margin: 4px 0;
  color: rgba(255,255,255,0.85);
}

.footer-column i {
  margin-right: 8px;
  color: #ffd700;
}

/* Newsletter Form */
.newsletter-form {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}

.newsletter-form input {
  flex: 1;
  padding: 8px 12px;
  border-radius: 25px;
  border: 1px solid rgba(255,255,255,0.3);
  background: transparent;
  color: #fff;
}

.newsletter-form input::placeholder {
  color: rgba(255,255,255,0.6);
}

.newsletter-form button {
  padding: 8px 16px;
  border-radius: 25px;
  border: none;
  background: #ffd700;
  color: #0f0f0f;
  font-weight: 700;
  cursor: pointer;
  transition: 0.3s;
}

.newsletter-form button:hover {
  background: #e6c200;
}

/* Social Icons */
.social-icons {
  display: flex;
  gap: 15px;
  margin-top: 15px;
}

.social-icons a {
  color: #fff;
  font-size: 1.2rem;
  transition: 0.3s;
}

.social-icons a:hover {
  color: #ffd700;
}

/* Footer Bottom */
.footer-bottom {
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.2);
  padding-top: 20px;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
}

/* Responsive */
@media(max-width:1024px){
  .footer-container { gap: 25px; justify-content: flex-start; }
}

@media(max-width:768px){
  .footer-container { flex-direction: column; align-items: flex-start; text-align: left; }
  .footer-column { flex: 1 1 100%; text-align: left; }
  .footer-column:first-child p { text-align: center; }
  .newsletter-form { flex-direction: column; width: 100%; }
  .newsletter-form input, .newsletter-form button { width: 100%; }
  .social-icons { justify-content: flex-start; }
}