/* Custom styles for Galassi Steven Land Surveying */

/* Smooth scroll offset for fixed nav */
html {
    scroll-padding-top: 80px;
}

/* Hero gradient overlay */
.hero-gradient {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.8) 0%, rgba(138, 52, 34, 0.6) 100%);
}

/* Service card hover effect */
.service-card {
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #c45a35, #d4724e);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
}

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

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

/* Fade in animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeInUp 0.8s ease forwards;
}

/* Button hover effects */
.cta-gradient {
    position: relative;
    overflow: hidden;
}

.cta-gradient::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.cta-gradient:hover::after {
    left: 100%;
}

/* Input focus styles */
input:focus,
select:focus,
textarea:focus {
    box-shadow: 0 0 0 3px rgba(196, 90, 53, 0.1);
}

/* Stat counter animation */
.stat-number {
    background: linear-gradient(135deg, #c45a35, #d4724e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Process step hover */
.text-center > div:hover .w-16 {
    transform: scale(1.1);
    transition: transform 0.3s ease;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-content {
        padding: 2rem 1.5rem;
    }
    
    h1 {
        font-size: 2.5rem !important;
    }
    
    .stat-number {
        font-size: 2.5rem !important;
    }
}

/* Print styles */
@media print {
    nav, #contact, footer {
        display: none;
    }
    
    .hero-asymmetric {
        min-height: auto;
    }
}
