/* Jones Estates — Custom Styles */

/* Base */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    overflow-x: hidden;
}

/* Geometric Shapes */
.geo-shape {
    position: absolute;
    opacity: 0.12;
    pointer-events: none;
}

.shape-circle-1 {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: #F5E8CC;
    top: 10%;
    left: -5%;
    animation: float 8s ease-in-out infinite;
}

.shape-circle-2 {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: #FFFFFF;
    top: 60%;
    right: 5%;
    animation: float 6s ease-in-out infinite reverse;
}

.shape-circle-3 {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: #D4A255;
    top: 25%;
    right: 15%;
    animation: float 10s ease-in-out infinite;
}

.shape-square-1 {
    width: 100px;
    height: 100px;
    background: #FFFFFF;
    top: 70%;
    left: 10%;
    transform: rotate(45deg);
    animation: spin-slow 20s linear infinite;
}

.shape-square-2 {
    width: 60px;
    height: 60px;
    background: #F5E8CC;
    bottom: 20%;
    right: 20%;
    transform: rotate(30deg);
    animation: spin-slow 15s linear infinite reverse;
}

.shape-triangle {
    width: 0;
    height: 0;
    border-left: 60px solid transparent;
    border-right: 60px solid transparent;
    border-bottom: 104px solid #FFFFFF;
    top: 15%;
    right: 30%;
    opacity: 0.08;
    animation: float 7s ease-in-out infinite;
}

.shape-dots {
    width: 120px;
    height: 120px;
    bottom: 15%;
    left: 20%;
    background-image: radial-gradient(circle, #FFFFFF 2px, transparent 2px);
    background-size: 16px 16px;
    opacity: 0.2;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

@keyframes spin-slow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Scroll Reveal */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal[data-reveal] {
    opacity: 0;
    transform: translateY(30px);
}

.reveal[data-reveal].revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Navbar */
#navbar {
    background: transparent;
}

#navbar.scrolled {
    background: rgba(168, 79, 48, 0.95);
    backdrop-filter: blur(12px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

#nav-logo-text {
    color: white;
}

/* Service Cards */
.service-card {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.service-card[data-reveal] {
    opacity: 0;
    transform: translateY(30px);
}

.service-card[data-reveal].revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Mobile Menu */
.mobile-link {
    display: block;
    width: 100%;
}

/* Button Hover Effects */
a, button {
    -webkit-tap-highlight-color: transparent;
}

/* Selection Color */
::selection {
    background: #C0603A;
    color: #FFFFFF;
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
    
    .reveal[data-reveal],
    .service-card[data-reveal] {
        opacity: 1;
        transform: none;
    }
}

/* Focus Visible */
:focus-visible {
    outline: 3px solid #C0603A;
    outline-offset: 2px;
    border-radius: 4px;
}

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

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

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

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