/* Custom CSS for Equinos Elite Landing Page */

/* Global Styles */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    padding-top: 80px; /* Increased padding to prevent navbar overlap */
}

/* Section spacing to prevent navbar overlap */
section {
    scroll-margin-top: 80px; /* Ensures proper scroll positioning */
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="stars" patternUnits="userSpaceOnUse" width="100" height="100"><circle cx="20" cy="20" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="80" cy="40" r="1.5" fill="rgba(255,255,255,0.08)"/><circle cx="60" cy="80" r="1" fill="rgba(255,255,255,0.12)"/><circle cx="40" cy="60" r="0.8" fill="rgba(255,255,255,0.06)"/></pattern></defs><rect width="100" height="100" fill="url(%23stars)"/></svg>') repeat;
    opacity: 0.4;
}

.hero-image {
    text-align: center;
    position: relative;
    z-index: 2;
}

/* Hero Image Animation (DISABLED) */
.hero-image i {
    font-size: 8rem !important;
    opacity: 0.9;
    /* animation: gallop 2s ease-in-out infinite; */
}

/*
@keyframes gallop {
    0%, 100% { transform: translateX(0px) rotate(0deg); }
    25% { transform: translateX(10px) rotate(2deg); }
    75% { transform: translateX(-10px) rotate(-2deg); }
}
*/

/* Feature Icons */
.feature-icon i {
    font-size: 3rem;
    color: #0d6efd;
    margin-bottom: 1rem;
}

/* Service Items */
.service-item {
    background: white;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border-left: 4px solid #0d6efd;
    position: relative;
    overflow: hidden;
}

/* Price Badge for Services */
.price-badge {
    margin-top: 1rem;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, #0d6efd, #6610f2);
    border-radius: 20px;
    text-align: center;
}

.price-badge span {
    color: white;
    font-size: 1.1rem;
}

.service-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(13, 110, 253, 0.1), transparent);
    transition: left 0.5s ease;
}

.service-item:hover::before {
    left: 100%;
}

.service-item:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.service-icon i {
    font-size: 2.8rem;
    color: #0d6efd;
    transition: transform 0.3s ease;
}

.service-item:hover .service-icon i {
    transform: scale(1.1);
}

/* Card Styles */
.card {
    transition: all 0.3s ease;
    border-radius: 15px;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.2) !important;
}

/* Card Image Styles */
.card-img-top {
    width: 100%;
    height: 250px;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
}

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

/* Training Section */
.training-visual {
    text-align: center;
    position: relative;
}

.training-circle {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0d6efd, #6610f2);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

/* Training Circle Animation (DISABLED) */
.training-circle::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: conic-gradient(from 0deg, #0d6efd, #6610f2, #0d6efd);
    border-radius: 50%;
    z-index: -1;
    /* animation: rotate 3s linear infinite; */
}

.training-item {
    padding: 1rem;
    border-radius: 10px;
    background: rgba(13, 110, 253, 0.05);
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.training-item:hover {
    background: rgba(13, 110, 253, 0.1);
    transform: translateX(10px);
}

/* Testimonials */
.testimonial-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    position: relative;
}

.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #0d6efd, #6610f2);
    border-radius: 20px 20px 0 0;
}

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

.testimonial-avatar i {
    transition: transform 0.3s ease;
}

.testimonial-card:hover .testimonial-avatar i {
    transform: scale(1.1);
}

/* Contact Icons */
.contact-icon i {
    font-size: 2.8rem;
    color: #0d6efd;
    transition: all 0.3s ease;
}

.contact-item:hover .contact-icon i {
    transform: scale(1.1) rotate(5deg);
}

/* Stats Section */
.stat-item {
    padding: 2rem 0;
    position: relative;
}

.stat-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: #ffc107;
    border-radius: 2px;
}

.stat-item h2 {
    margin-bottom: 0.5rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
}

/* Navigation */
.navbar-brand {
    font-size: 1.6rem;
    font-weight: 700;
}

.navbar-nav .nav-link {
    font-weight: 500;
    margin: 0 0.5rem;
    transition: all 0.3s ease;
    position: relative;
}

.navbar-nav .nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: #ffc107;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.navbar-nav .nav-link:hover::before,
.navbar-nav .nav-link.active::before {
    width: 100%;
}

.navbar-nav .nav-link:hover {
    color: #ffc107 !important;
}

/* Buttons */
.btn-warning {
    background-color: #ffc107;
    border-color: #ffc107;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 193, 7, 0.3);
}

.btn-warning:hover {
    background-color: #ffb300;
    border-color: #ffb300;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 193, 7, 0.4);
}

.btn-primary {
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(13, 110, 253, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(13, 110, 253, 0.4);
}

.btn-outline-light:hover,
.btn-outline-primary:hover {
    transform: translateY(-3px);
}

/* Badges */
.badge {
    font-size: 0.8rem;
    padding: 0.5rem 1rem;
    border-radius: 20px;
}

/* Social Links */
.social-links a {
    font-size: 1.3rem;
    transition: all 0.3s ease;
    display: inline-block;
}

.social-links a:hover {
    color: #ffc107 !important;
    transform: translateY(-3px) scale(1.1);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section {
        min-height: 80vh;
        text-align: center;
    }
    
    .hero-image i {
        font-size: 4rem !important;
        margin-top: 2rem;
    }
    
    .display-4 {
        font-size: 2.5rem;
    }
    
    .stat-item {
        margin-bottom: 2rem;
    }
    
    .training-circle {
        width: 200px;
        height: 200px;
    }
    
    .training-circle i {
        font-size: 4rem !important;
    }
    
    /* Ajustar altura de imágenes en móvil */
    .card-img-top {
        height: 200px;
    }
}

@media (max-width: 576px) {
    .card-img-placeholder {
        height: 150px;
    }
    
    .service-item {
        margin-bottom: 1rem;
    }
    
    .btn-lg {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }
    
    /* Imágenes más pequeñas en pantallas muy pequeñas */
    .card-img-top {
        height: 180px;
    }
    
    .card-body {
        padding: 1rem 0.75rem;
    }
}

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

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

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

.animate-on-scroll {
    animation: fadeInUp 0.8s ease-out;
}

.animate-left {
    animation: fadeInLeft 0.8s ease-out;
}

.animate-right {
    animation: fadeInRight 0.8s ease-out;
}
*/

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #0d6efd, #6610f2);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #0a5ac7, #5a0db8);
}

/* Loading Animation */
.page-loader {
    background: linear-gradient(135deg, #0d6efd, #6610f2);
}

.page-loader .spinner-border {
    width: 3rem;
    height: 3rem;
}

/* Scroll to Top Button */
.btn-scroll-top {
    background: linear-gradient(135deg, #0d6efd, #6610f2) !important;
    border: none !important;
    transition: all 0.3s ease;
}

.btn-scroll-top:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 8px 20px rgba(13, 110, 253, 0.4);
}
