/* Custom styles for Wethered Concrete Pumping */

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

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

.shape-circle-1 {
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: #86c486;
    top: -100px;
    right: -100px;
    animation: float 8s ease-in-out infinite;
}

.shape-circle-2 {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: #b7dbb7;
    bottom: 10%;
    left: 5%;
    animation: float 6s ease-in-out infinite reverse;
}

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

.shape-square-1 {
    width: 150px;
    height: 150px;
    background: #86c486;
    top: 20%;
    left: 8%;
    transform: rotate(45deg);
    animation: rotate 20s linear infinite;
}

.shape-square-2 {
    width: 80px;
    height: 80px;
    background: #b7dbb7;
    bottom: 25%;
    right: 15%;
    transform: rotate(30deg);
    animation: rotate 15s linear infinite reverse;
}

.shape-triangle-1 {
    width: 0;
    height: 0;
    border-left: 75px solid transparent;
    border-right: 75px solid transparent;
    border-bottom: 130px solid #86c486;
    top: 60%;
    left: 15%;
    animation: float 7s ease-in-out infinite;
}

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

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

/* Service cards */
.service-card {
    transform: translateY(0);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.service-card:hover {
    transform: translateY(-4px);
}

/* Project cards */
.project-card {
    cursor: pointer;
}

/* Scroll reveal animations (progressive enhancement) */
.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(250, 250, 245, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: #86c486;
}

/* Focus styles */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid #2d7d2d;
    outline-offset: 2px;
    border-radius: 4px;
}
