/* Custom styles for Bertolini Contracting */

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', sans-serif;
}

.font-serif {
    font-family: 'Playfair Display', serif;
}

/* Geometric shapes animation */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}

.animate-float {
    animation: float 6s ease-in-out infinite;
}

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

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

::-webkit-scrollbar-thumb {
    background: #0d9488;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #0f766e;
}

/* Mobile menu animation */
#mobile-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

#mobile-menu.open {
    max-height: 400px;
}

/* Service card hover effect */
.service-card {
    transition: all 0.3s ease;
}

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

/* Button shadow animation */
.btn-shadow {
    transition: all 0.2s ease;
}

.btn-shadow:hover {
    box-shadow: 4px 4px 0px 0px rgba(13, 116, 110, 1) !important;
    transform: translate(-2px, -2px);
}

/* Image grid animation */
.project-card {
    overflow: hidden;
}

.project-card img {
    transition: transform 0.5s ease;
}

.project-card:hover img {
    transform: scale(1.1);
}

/* Form focus styles */
input:focus,
select:focus,
textarea:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(13, 116, 110, 0.2);
}

/* Section reveal animation */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

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

/* Geometric decorative elements */
.geo-shape {
    position: absolute;
    z-index: 0;
    pointer-events: none;
}
