/* Custom styles for Ybarra Drywall website */

/* Smooth scrolling is handled in HTML */

/* Additional utility classes */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Image zoom effect */
.img-zoom {
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.img-zoom:hover {
    transform: scale(1.05);
}

/* Service card hover */
.service-card {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* Button styles */
.btn-primary {
    background: linear-gradient(135deg, #ee5a2f 0%, #e04424 100%);
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(238, 90, 47, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(238, 90, 47, 0.4);
}

.btn-secondary {
    border: 2px solid #ee5a2f;
    color: #ee5a2f;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: #ee5a2f;
    color: #ffffff;
}

/* Navigation link hover */
.nav-link {
    position: relative;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background: #ee5a2f;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Mobile menu */
.mobile-menu {
    transform: translateX(100%);
    transition: transform 0.3s ease-in-out;
}

.mobile-menu.active {
    transform: translateX(0);
}

/* Form focus states */
.form-input:focus {
    border-color: #ee5a2f;
    box-shadow: 0 0 0 3px rgba(238, 90, 47, 0.1);
}

/* Pattern background */
.pattern-bg {
    background-image: radial-gradient(circle at 25% 25%, rgba(238, 90, 47, 0.05) 0%, transparent 50%),
                      radial-gradient(circle at 75% 75%, rgba(238, 90, 47, 0.03) 0%, transparent 50%);
}

/* Accent line */
.accent-line {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #ee5a2f, #f37d50);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .fade-in {
        opacity: 1;
        transform: none;
    }
}
