/* Gonextcity — supplementary frontend styles
   (Core design tokens & component styles live inline in layouts/frontend.php;
   this file holds extra polish that doesn't need to be inlined.) */

html {
    scroll-behavior: smooth;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: #f1f1f1;
}
::-webkit-scrollbar-thumb {
    background: #ff5a1f;
    border-radius: 6px;
}
::-webkit-scrollbar-thumb:hover {
    background: #e0470f;
}

/* Image loading shimmer placeholder */
img.placeholder-img {
    background: linear-gradient(110deg, #e8eef5 8%, #f4f7f9 18%, #e8eef5 33%);
    background-size: 200% 100%;
    animation: shimmer 1.5s linear infinite;
}
@keyframes shimmer {
    to { background-position-x: -200%; }
}

/* Carousel control sizing on property detail page */
.carousel-control-prev,
.carousel-control-next {
    width: 5%;
}

/* Subtle fade-in for cards as they enter the viewport (progressive enhancement,
   harmless if JS/IntersectionObserver isn't wired up) */
.property-card,
.category-card,
.agent-card {
    will-change: transform;
}

/* Better focus states for accessibility */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid #ff5a1f;
    outline-offset: 2px;
}

/* Blog article body typography */
.blog-content {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #444;
}
.blog-content p { margin-bottom: 1.25rem; }
.blog-content img { max-width: 100%; border-radius: 8px; }

/* Print-friendly tweak for property detail pages */
@media print {
    .navbar, .footer-dark, .btn, #propCarousel .carousel-control-prev, #propCarousel .carousel-control-next {
        display: none !important;
    }
}
