/* Public theme (DeepSite) - scrollbar, selection, animations, utilities */

/* CTA-with-image section: wide centered block (Tailwind arbitrary value fallback) */
.max-w-\[96rem\] {
    max-width: 96rem;
}

/* CTA-with-image: center the entire block (image + text) on the page */
.home-cta-with-image {
    width: 100%;
    display: block;
}
.home-cta-with-image-inner {
    display: block !important;
    width: 100% !important;
    max-width: 96rem !important;
    margin-left: auto !important;
    margin-right: auto !important;
    box-sizing: border-box;
}

::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

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

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

::-webkit-scrollbar-thumb:hover {
    background: #10b981;
}

html {
    scroll-behavior: smooth;
}

::selection {
    background: rgba(16, 185, 129, 0.3);
    color: white;
}

@keyframes gradient {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

.animate-gradient {
    background-size: 200% 200%;
    animation: gradient 3s ease infinite;
}

.glass {
    background: rgba(30, 41, 59, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.property-card {
    transform-style: preserve-3d;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.property-card:hover {
    transform: translateY(-8px);
}

.property-image {
    transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.property-card:hover .property-image {
    transform: scale(1.05);
}

.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.faq-content.active {
    max-height: 500px;
}

.faq-icon {
    transition: transform 0.3s ease;
}

.faq-icon.active {
    transform: rotate(180deg);
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
select:-webkit-autofill,
select:-webkit-autofill:hover,
select:-webkit-autofill:focus {
    -webkit-text-fill-color: #e2e8f0;
    -webkit-box-shadow: 0 0 0px 1000px #1e293b inset;
    transition: background-color 5000s ease-in-out 0s;
}

.shimmer {
    background: linear-gradient(90deg, #1e293b 25%, #334155 50%, #1e293b 75%);
    background-size: 1000px 100%;
    animation: shimmer 2s infinite linear;
}

.img-blur {
    filter: blur(10px);
    transition: filter 0.3s;
}

.img-blur.loaded {
    filter: blur(0);
}

*:focus-visible {
    outline: 2px solid #10b981;
    outline-offset: 2px;
}

.no-scrollbar::-webkit-scrollbar {
    display: none;
}

.no-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.region-card {
    position: relative;
    overflow: hidden;
}

.region-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    transition: left 0.5s;
}

.region-card:hover::before {
    left: 100%;
}

.nav-scrolled {
    background: rgba(2, 6, 23, 0.95) !important;
    border-bottom-color: rgba(255, 255, 255, 0.1) !important;
}

.premium-badge {
    position: relative;
}

.premium-badge::after {
    content: '';
    position: absolute;
    inset: -2px;
    background: linear-gradient(45deg, #10b981, #06b6d4, #10b981);
    border-radius: inherit;
    z-index: -1;
    animation: pulse-glow 2s ease-in-out infinite;
    filter: blur(8px);
    opacity: 0.5;
}

@keyframes pulse-glow {
    0%, 100% {
        opacity: 0.5;
    }
    50% {
        opacity: 0.8;
    }
}

#mobile-menu {
    transition: all 0.3s ease-in-out;
}

#mobile-menu.hidden {
    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
}

#mobile-menu:not(.hidden) {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

@media (max-width: 640px) {
    .hero-title {
        font-size: 2.5rem;
        line-height: 1.1;
    }
}

@media print {
    .no-print {
        display: none !important;
    }

    body {
        background: white;
        color: black;
    }
}
