/* ===================================
   Website Design & Development Animations
   Custom CSS for Enhanced UI/UX
   =================================== */

/* ===== Keyframe Animations ===== */

/* Float Animation */
@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

/* Pulse Animation */
@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

/* Glow Animation */
@keyframes glow {
    0%, 100% {
        box-shadow: 0 10px 30px rgba(219, 155, 30, 0.4);
    }
    50% {
        box-shadow: 0 10px 40px rgba(219, 155, 30, 0.6), 0 0 20px rgba(219, 155, 30, 0.3);
    }
}

/* Shine Animation */
@keyframes shine {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

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

/* Rotate Animation */
@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* Bounce Animation */
@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-15px);
    }
}

/* ===== Website Development Process Section ===== */

.process-step-card {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.process-step-card:hover {
    transform: translateY(-10px);
    border-color: #DB9B1E !important;
    box-shadow: 0 15px 40px rgba(219, 155, 30, 0.3);
}

.process-visual {
    transition: all 0.3s ease;
}

.process-step-card:hover .process-visual {
    animation: bounce 1s ease-in-out infinite;
}

/* ===== Website Gallery Section ===== */

.gallery-item {
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-item:hover {
    transform: scale(1.03);
    box-shadow: 0 20px 50px rgba(219, 155, 30, 0.3);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1 !important;
}

.gallery-item:hover .gallery-image-wrapper > div {
    transform: scale(1.1) rotate(2deg);
}

.gallery-overlay {
    backdrop-filter: blur(5px);
}

.gallery-overlay .btn {
    background: #fff;
    color: #031521;
    font-weight: 600;
    transition: all 0.3s ease;
}

.gallery-overlay .btn:hover {
    background: #DB9B1E;
    color: #fff;
    transform: scale(1.1);
}

/* ===== Website Technologies Section ===== */

.tech-card {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.tech-card:hover {
    transform: translateY(-15px) scale(1.05);
    border-color: #DB9B1E !important;
    box-shadow: 0 20px 50px rgba(219, 155, 30, 0.4);
}

.tech-card:hover .tech-shine {
    animation: shine 0.6s ease forwards;
}

.tech-card:hover .tech-icon {
    animation: bounce 0.6s ease-in-out;
}

.tech-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 10px;
    height: 10px;
    background: rgba(219, 155, 30, 0.3);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.particle-1 {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.particle-2 {
    top: 60%;
    left: 80%;
    animation-delay: 1s;
}

.particle-3 {
    top: 40%;
    left: 50%;
    animation-delay: 2s;
}

.particle-4 {
    top: 80%;
    left: 20%;
    animation-delay: 3s;
}

.particle-5 {
    top: 30%;
    left: 90%;
    animation-delay: 4s;
}

.feature-item {
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: translateX(10px);
}

.feature-item:hover .feature-icon {
    animation: pulse 0.6s ease;
}

/* ===== Website Pricing Teaser Section ===== */

.pricing-card {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.pricing-card:hover {
    transform: translateY(-15px);
    border-color: #DB9B1E !important;
    box-shadow: 0 25px 60px rgba(219, 155, 30, 0.4);
}

.pricing-card:hover .pricing-shine {
    animation: shine 0.8s ease forwards;
}

.pricing-featured {
    z-index: 10;
}

.pricing-featured:hover {
    transform: scale(1.08) translateY(-15px);
}

.price-amount {
    transition: all 0.3s ease;
}

.pricing-card:hover .price-amount {
    transform: scale(1.1);
}

.trust-badge {
    transition: all 0.3s ease;
}

.trust-badge:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(219, 155, 30, 0.3);
}

/* ===== Website Testimonials Section ===== */

.testimonial-card {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.testimonial-card:hover {
    transform: translateY(-10px);
    border-color: #DB9B1E !important;
    box-shadow: 0 20px 50px rgba(219, 155, 30, 0.3);
}

.testimonial-card:hover .testimonial-shine {
    animation: shine 0.6s ease forwards;
}

.testimonial-card:hover .star-rating {
    animation: pulse 0.6s ease;
}

.client-avatar {
    transition: all 0.3s ease;
}

.testimonial-card:hover .client-avatar {
    transform: scale(1.1) rotate(5deg);
}

.trust-indicator {
    transition: all 0.3s ease;
}

.trust-indicator:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(219, 155, 30, 0.3);
}

/* ===== Website CTA Section ===== */

.cta-content {
    transition: all 0.4s ease;
}

.cta-content:hover {
    box-shadow: 0 25px 70px rgba(219, 155, 30, 0.3);
}

.cta-benefit {
    transition: all 0.3s ease;
}

.cta-benefit:hover {
    background: rgba(219, 155, 30, 0.2) !important;
    transform: scale(1.05);
}

.cta-bg-animation {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
}

.cta-circle {
    position: absolute;
    border-radius: 50%;
    background: rgba(219, 155, 30, 0.05);
    animation: float 8s ease-in-out infinite;
}

.cta-circle-1 {
    width: 300px;
    height: 300px;
    top: -100px;
    left: -100px;
    animation-delay: 0s;
}

.cta-circle-2 {
    width: 400px;
    height: 400px;
    bottom: -150px;
    right: -150px;
    animation-delay: 2s;
}

.cta-circle-3 {
    width: 200px;
    height: 200px;
    top: 50%;
    left: 50%;
    animation-delay: 4s;
}

.corner-decoration {
    transition: all 0.4s ease;
}

.cta-content:hover .corner-decoration {
    border-color: rgba(219, 155, 30, 0.8);
}

.cta-shine-effect {
    pointer-events: none;
}

/* ===== Responsive Adjustments ===== */

@media (max-width: 991.98px) {
    .pricing-featured {
        transform: scale(1);
    }
    
    .pricing-featured:hover {
        transform: translateY(-15px);
    }
}

@media (max-width: 767.98px) {
    .process-step-card:hover {
        transform: translateY(-5px);
    }
    
    .gallery-item:hover {
        transform: scale(1.02);
    }
    
    .tech-card:hover {
        transform: translateY(-10px) scale(1.02);
    }
}

/* ===== Accessibility: Reduced Motion ===== */

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ===== Performance Optimizations ===== */

.gallery-image-wrapper > div,
.tech-icon,
.client-avatar {
    will-change: transform;
}

.gallery-overlay,
.testimonial-shine,
.tech-shine,
.pricing-shine,
.cta-shine-effect {
    will-change: opacity, transform;
}
