======= ==============================
   MAISON NOIR REALTY — Custom Styles
   ============================== */

/* === Base === */
::selection {
  background-color: rgba(201, 168, 76, 0.3);
  color: #fff;
}

html {
  scroll-padding-top: 80px;
}

body {
  overflow-x: hidden;
}

/* === Navigation Links === */
.nav-link {
  @apply relative text-sm text-noir-300 hover:text-white transition-colors duration-300 px-3 py-2 tracking-wide;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 1px;
  background-color: #c9a84c;
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 60%;
}

/* Nav scrolled state */
.nav-scrolled {
  background-color: rgba(10, 10, 10, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* === Mobile Nav Links === */
.mobile-nav-link {
  @apply font-display text-3xl text-noir-300 hover:text-white transition-colors duration-300;
}

.mobile-nav-link:hover {
  @apply text-gold-400;
}

/* === Buttons === */
.btn-primary {
  @apply inline-flex items-center gap-2 bg-gold-500 text-noir-950 font-medium px-7 py-3.5 text-sm tracking-wide hover:bg-gold-400 transition-all duration-300;
}

.btn-primary:hover {
  @apply shadow-lg shadow-gold-500/20;
}

.btn-secondary {
  @apply inline-flex items-center gap-2 border border-noir-500 text-white font-medium px-7 py-3.5 text-sm tracking-wide hover:border-gold-500/50 hover:text-gold-400 transition-all duration-300;
}

/* === Property Cards === */
.property-card {
  @apply bg-noir-900 border border-noir-800 hover:border-noir-600 transition-all duration-500;
}

.property-card:hover {
  @apply shadow-xl shadow-black/30;
  transform: translateY(-4px);
}

/* === Testimonial Cards === */
.testimonial-card {
  @apply bg-noir-900/50 border border-noir-800 p-6 lg:p-8 hover:border-noir-600 transition-all duration-300;
}

/* === Form Styles === */
.form-label {
  @apply block text-xs uppercase tracking-[0.15em] text-noir-300 mb-2 font-medium;
}

.form-input {
  @apply w-full bg-noir-950 border border-noir-700 text-white px-4 py-3 text-sm placeholder-noir-500 focus:outline-none focus:border-gold-500/50 focus:ring-1 focus:ring-gold-500/30 transition-all duration-300;
}

.form-input:focus {
  @apply shadow-[0_0_0_1px_rgba(201,168,76,0.15)];
}

.form-input option {
  @apply bg-noir-950 text-white;
}

.form-input.error {
  @apply border-red-500/60 focus:border-red-500/60 focus:ring-red-500/20;
}

.form-error {
  @apply text-[11px] text-red-400 mt-1 hidden;
}

/* === Social Icons === */
.social-icon {
  @apply w-11 h-11 border border-noir-700 flex items-center justify-center text-noir-400 hover:text-gold-400 hover:border-gold-500/40 hover:bg-gold-500/5 transition-all duration-300;
}

/* === Animations === */
@keyframes float {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(-8px); }
}

.animate-float {
  animation: float 3s ease-in-out infinite;
}

/* Reveal animations */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-left.active {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-right.active {
  opacity: 1;
  transform: translateX(0);
}

/* Stagger children */
.stagger-children .reveal,
.stagger-children .reveal-right {
  transition-delay: calc(var(--stagger-index, 0) * 0.1s);
}

/* === Scrollbar === */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: #0a0a0a;
}

::-webkit-scrollbar-thumb {
  background: #333;
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: #555;
}

/* === Loading shimmer for images === */
img {
  background-color: #1a1a1a;
}

/* === Responsive adjustments === */
@media (max-width: 640px) {
  .property-card:hover {
    transform: translateY(0);
  }
}

/* Print styles */
@media print {
  nav, .animate-float { display: none; }
  body { background: white; color: black; }
}