/* Custom styles for DT&FG General Construction */

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

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

.geo-circle-1 {
    top: 15%;
    left: 5%;
    width: 120px;
    height: 120px;
    border: 3px solid rgba(82, 183, 136, 0.15);
    border-radius: 50%;
}

.geo-square-1 {
    top: 60%;
    right: 8%;
    width: 80px;
    height: 80px;
    background: rgba(231, 111, 81, 0.08);
    border-radius: 16px;
    transform: rotate(15deg);
}

.geo-triangle-1 {
    bottom: 20%;
    left: 10%;
    width: 0;
    height: 0;
    border-left: 40px solid transparent;
    border-right: 40px solid transparent;
    border-bottom: 70px solid rgba(82, 183, 136, 0.1);
}

.geo-circle-2 {
    top: 40%;
    right: 15%;
    width: 60px;
    height: 60px;
    background: rgba(244, 162, 97, 0.1);
    border-radius: 50%;
}

.geo-dots {
    top: 25%;
    right: 25%;
    width: 100px;
    height: 100px;
    background-image: radial-gradient(circle, rgba(82, 183, 136, 0.2) 2px, transparent 2px);
    background-size: 15px 15px;
    opacity: 0.5;
}

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

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

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

.animate-float-delayed {
    animation: float-delayed 3.5s ease-in-out infinite;
    animation-delay: 0.5s;
}

/* Reveal animations (progressive enhancement - only apply when JS runs) */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.6s ease-out, transform 0.6s ease-out;
    }
    
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile menu transitions */
.menu-line {
    transition: all 0.3s ease;
}

#menuBtn.active .menu-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

#menuBtn.active .menu-line:nth-child(2) {
    opacity: 0;
}

#menuBtn.active .menu-line:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Navbar scroll effect */
.navbar-scrolled {
    background: rgba(253, 252, 248, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

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

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

::-webkit-scrollbar-thumb {
    background: #52B788;
    border-radius: 5px;
}

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

/* Form focus styles */
input:focus,
select:focus,
textarea:focus {
    outline: none;
}

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

/* Card hover effects */
.group:hover .group-hover\\:scale-110 {
    transform: scale(1.1);
}

/* Selection color */
::selection {
    background: #52B788;
    color: white;
}
