/* Custom styles for Hudlow Residence */

/* Geometric shapes for hero */
.geo-shape {
    position: absolute;
    opacity: 0.08;
}

.circle-1 {
    width: 400px;
    height: 400px;
    background: white;
    border-radius: 50%;
    top: -100px;
    right: -100px;
}

.circle-2 {
    width: 200px;
    height: 200px;
    background: #52B788;
    border-radius: 50%;
    bottom: 20%;
    left: 5%;
}

.circle-3 {
    width: 120px;
    height: 120px;
    background: white;
    border-radius: 50%;
    top: 40%;
    right: 10%;
}

.triangle-1 {
    width: 0;
    height: 0;
    border-left: 100px solid transparent;
    border-right: 100px solid transparent;
    border-bottom: 173px solid white;
    top: 30%;
    left: 8%;
    transform: rotate(15deg);
}

.rect-1 {
    width: 150px;
    height: 80px;
    background: #52B788;
    top: 60%;
    right: 5%;
    transform: rotate(-20deg);
    border-radius: 12px;
}

.rect-2 {
    width: 100px;
    height: 100px;
    background: white;
    bottom: 15%;
    left: 15%;
    transform: rotate(45deg);
    border-radius: 16px;
}

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

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

@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
    }
    
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Navbar scroll effect */
.nav-scrolled {
    background: rgba(254, 255, 254, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(27, 67, 50, 0.1);
}

.nav-scrolled .logo-text {
    color: #1B4332 !important;
}

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

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: #2D6A4F;
}

/* Form focus styles */
input:focus,
select:focus,
textarea:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(27, 67, 50, 0.1);
}

/* Button hover effects */
a, button {
    transition: all 0.2s ease;
}

/* Image loading placeholder */
img {
    background: linear-gradient(90deg, #F0F2E8 25%, #E8EBE0 50%, #F0F2E8 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

img[src] {
    animation: none;
    background: none;
}
