/* Custom styles complementing Tailwind */

/* Smooth scroll offset for fixed nav */
section[id] {
    scroll-margin-top: 80px;
}

/* Selection color */
::selection {
    background: #c98a13;
    color: #fff;
}

/* Subtle body background texture */
body {
    background-image: radial-gradient(circle at 1px 1px, rgba(16, 42, 67, 0.03) 1px, transparent 0);
    background-size: 24px 24px;
}

/* Navbar scroll state */
.nav-scrolled {
    background: rgba(255, 255, 255, 0.97) !important;
    box-shadow: 0 1px 0 rgba(16, 42, 67, 0.08);
}

.nav-scrolled .nav-link {
    color: #102a43 !important;
}

.nav-scrolled .font-serif {
    color: #102a43 !important;
}

.nav-scrolled .text-navy-500 {
    color: #627d98 !important;
}

/* Mobile menu active state */
.mobile-menu.active {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
}

/* Hamburger animation */
.menu-line {
    transition: all 0.3s ease;
}

#menuBtn.active .menu-line:nth-child(1) {
    transform: rotate(45deg) translate(3px, 3px);
}

#menuBtn.active .menu-line:nth-child(2) {
    opacity: 0;
}

#menuBtn.active .menu-line:nth-child(3) {
    width: 24px;
    transform: rotate(-45deg) translate(3px, -3px);
}

/* Property card image overlay */
.property-card .relative::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 60%, rgba(16, 42, 67, 0.4) 100%);
    z-index: 1;
    pointer-events: none;
}

/* Testimonial quote styling */
.testimonial-card blockquote::before {
    content: '\201C';
    font-family: 'Cormorant Garamond', serif;
    font-size: 4rem;
    color: #c98a13;
    opacity: 0.2;
    line-height: 1;
    position: absolute;
    top: -0.5rem;
    left: 0.5rem;
}

/* Input autofill styling */
input:-webkit-autofill,
textarea:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 30px white inset !important;
}

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

/* Print styles */
@media print {
    nav, .float-card-1, .float-card-2, .float-card-3 {
        display: none;
    }
    body {
        color: #000;
        background: #fff;
    }
}
