/* Service Card Animation */
.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-card:hover .service-img img {
    transform: scale(1.1);
}

/* Gallery Item Animation */
.gallery-item {
    overflow: hidden;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-item:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(200, 169, 126, 0.3);
    opacity: 0;
    transition: var(--transition);
}

.gallery-item:hover:after {
    opacity: 1;
}

/* Fade-in Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.section-header,
.services-grid,
.about-content,
.gallery-grid,
.contact-section .container {
    animation: fadeIn 0.8s ease forwards;
}

.services-grid {
    animation-delay: 0.2s;
}

.about-content {
    animation-delay: 0.4s;
}

.gallery-grid {
    animation-delay: 0.6s;
}

.contact-section .container {
    animation-delay: 0.8s;
}

/* Pulse Animation for Button */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(200, 169, 126, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(200, 169, 126, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(200, 169, 126, 0);
    }
}

.sticky-contact-btn {
    animation: pulse 2s infinite;
}

/* Loading Animation */
.loading-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: var(--white);
    animation: spin 1s ease-in-out infinite;
    margin-left: 10px;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}