/* Additional animations and custom styles */

/* Keyframe animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

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

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

/* Hero content entrance */
.hero-content h1 {
    animation: fadeInUp 1s ease 0.3s both;
}

.hero-content p {
    animation: fadeInUp 1s ease 0.6s both;
}

.hero-content .hero-btn {
    animation: fadeInUp 1s ease 0.9s both;
}

/* Gold shimmer on logo */
.site-logo .logo-title {
    background: linear-gradient(90deg, var(--gold) 0%, #e0cc8a 50%, var(--gold) 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 4s linear infinite;
}

/* Hover effects with transitions */
.stallion-card {
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
}

.breeding-card {
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), background 0.4s ease, border-color 0.4s ease;
}

/* Button hover glow */
.hero-btn,
.stallion-btn,
.submit-btn {
    position: relative;
    overflow: hidden;
}

.hero-btn::before,
.stallion-btn::before {
    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;
}

.hero-btn:hover::before,
.stallion-btn:hover::before {
    left: 100%;
}

/* Image hover zoom smooth */
.stallion-card .card-image img,
.sale-card .sale-image img {
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* About badge floating animation */
.about-badge {
    animation: float 3s ease-in-out infinite;
}

/* Slider dots pulse */
.slider-dot.active {
    animation: pulse 2s ease-in-out infinite;
}

/* Section line grow animation */
.section-line {
    transition: width 0.8s ease;
    width: 0;
}

.section-header.animated .section-line {
    width: 80px;
}

/* Contact icon hover */
.contact-item .ci-icon {
    transition: all 0.3s ease;
}

.contact-item:hover .ci-icon {
    background: var(--gold);
    color: var(--green-dark);
    transform: scale(1.1);
}

/* Social link rotation on hover */
.social-link {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.social-link:hover {
    transform: rotate(360deg) scale(1.1);
}

/* Slider arrow hover */
.slider-arrow {
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.slider-arrow:hover {
    transform: translateY(-50%) scale(1.1);
}

/* Card badge shine */
.card-badge {
    position: relative;
    overflow: hidden;
}

.card-badge::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    animation: shimmer 3s ease-in-out infinite;
}

/* Footer link underline animation */
.footer-col ul li a {
    position: relative;
}

.footer-col ul li a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--gold);
    transition: width 0.3s ease;
}

.footer-col ul li a:hover::after {
    width: 100%;
}

/* Loading state for form */
.contact-form .submit-btn:active {
    transform: scale(0.95);
}

/* Scroll indicator */
.scroll-indicator {
    position: absolute;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
    animation: float 2s ease-in-out infinite;
}

.scroll-indicator span {
    display: block;
    width: 24px;
    height: 24px;
    border-right: 2px solid var(--gold);
    border-bottom: 2px solid var(--gold);
    transform: rotate(45deg);
    opacity: 0.6;
}
