/* ===== CUSTOM STYLES ===== */

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Navbar scroll effect */
header.scrolled {
  background: rgba(16, 36, 49, 0.95);
  backdrop-filter: blur(20px);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
}

header.scrolled .nav-link {
  color: rgba(255, 255, 255, 0.9) !important;
}

/* Hero parallax-like effect */
#accueil {
  background-attachment: fixed;
}

@media (max-width: 768px) {
  #accueil {
    background-attachment: scroll;
  }
}

/* Mobile menu transitions */
#mobile-menu {
  animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

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

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #f7f5f2;
}

::-webkit-scrollbar-thumb {
  background: #c78d42;
  border-radius: 4px;
}

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

/* Focus styles */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid #c78d42;
  outline-offset: 2px;
  border-radius: 4px;
}

/* Property card hover image zoom */
.group:hover .group-hover\:scale-110 {
  transform: scale(1.1);
}

/* Subtle pattern overlay for sections */
.bg-pattern {
  background-image: radial-gradient(circle at 1px 1px, rgba(199, 141, 66, 0.05) 1px, transparent 0);
  background-size: 24px 24px;
}
