/* Custom Styles for Gilbert Trucking */

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

/* Geometric shape animations */
.geo-shape {
    position: absolute;
    opacity: 0.1;
}

.shape-circle-1 {
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    top: 10%;
    right: -100px;
    animation: float 8s ease-in-out infinite;
}

.shape-circle-2 {
    width: 200px;
    height: 200px;
    background: rgba(74, 224, 145, 0.2);
    border-radius: 50%;
    bottom: 20%;
    left: -50px;
    animation: float 6s ease-in-out infinite reverse;
}

.shape-square-1 {
    width: 150px;
    height: 150px;
    background: rgba(255, 255, 255, 0.05);
    top: 30%;
    left: 10%;
    transform: rotate(45deg);
    animation: rotate 12s linear infinite;
}

.shape-square-2 {
    width: 100px;
    height: 100px;
    background: rgba(74, 224, 145, 0.15);
    bottom: 30%;
    right: 15%;
    transform: rotate(30deg);
    animation: rotate 15s linear infinite reverse;
}

.shape-triangle-1 {
    width: 0;
    height: 0;
    border-left: 60px solid transparent;
    border-right: 60px solid transparent;
    border-bottom: 100px solid rgba(255, 255, 255, 0.08);
    top: 60%;
    left: 5%;
    animation: float 7s ease-in-out infinite;
}

.shape-dots {
    width: 100px;
    height: 100px;
    background-image: radial-gradient(circle, rgba(255,255,255,0.3) 2px, transparent 2px);
    background-size: 15px 15px;
    top: 20%;
    left: 20%;
    animation: float 9s ease-in-out infinite;
}

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

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

/* Service card hover effect */
.service-card {
    transform: translateY(0);
    transition: all 0.3s ease;
}

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

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

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

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

::-webkit-scrollbar-thumb {
    background: #2D5016;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #3d6625;
}

/* Mobile menu animations */
#mobileMenu {
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .geo-shape {
        display: none;
    }
    
    .shape-circle-1,
    .shape-circle-2 {
        display: block;
        opacity: 0.05;
    }
}
