/* Custom Styles for J Y M Producciones Bancamiga */

:root {
    --primary-color: #0d6efd;
    --secondary-color: #fd7e14;
    --dark-color: #212529;
    --light-color: #f8f9fa;
}

/* Navbar */
.navbar {
    transition: all 0.3s ease;
    padding: 1rem 0;
}

.navbar.scrolled {
    background-color: rgba(13, 110, 253, 0.95) !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 0.5rem 0;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, #0a58ca 100%);
    min-height: 100vh;
    padding-top: 80px;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../images/pattern.png') repeat;
    opacity: 0.1;
}

.hero-section .container {
    position: relative;
    z-index: 1;
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, #0a58ca 100%);
    min-height: 300px;
    padding-top: 100px;
}

/* Stats Section */
.stats-section {
    background-color: var(--light-color);
}

.stat-item {
    transition: transform 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-10px);
}

/* Service Cards */
.service-card {
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15) !important;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, #0a58ca 100%);
}

/* Footer */
.footer {
    background-color: var(--dark-color);
}

.footer a:hover {
    color: var(--primary-color) !important;
}

/* Product Cards */
.product-card {
    transition: all 0.3s ease;
}

.product-card:hover {
    transform: translateY(-10px);
}

.product-card.popular {
    border: 3px solid var(--secondary-color);
    transform: scale(1.05);
}

.product-card.popular:hover {
    transform: scale(1.05) translateY(-10px);
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-on-scroll {
    animation: fadeInUp 0.6s ease forwards;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-section {
        text-align: center;
        padding-top: 100px;
    }
    
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .page-header {
        padding-top: 120px;
        min-height: 250px;
    }
    
    .product-card.popular {
        transform: scale(1);
    }
}

/* Form Styles */
.form-control:focus,
.form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

/* Buttons */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: #0a58ca;
    border-color: #0a58ca;
}

/* Social Links */
.social-links a {
    transition: all 0.3s ease;
}

.social-links a:hover {
    color: var(--primary-color) !important;
    transform: translateY(-3px);
    display: inline-block;
}

/* Object Fit */
.object-fit-cover {
    object-fit: cover;
}

/* Mission/Vision Sections */
.mission-text,
.vision-text {
    font-size: 1.1rem;
    line-height: 1.8;
}

.mission-text ul li,
.vision-text ul li {
    margin-bottom: 1rem;
}

/* Values Section */
.values-section .card {
    transition: all 0.3s ease;
}

.values-section .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1) !important;
}

/* Goals Section */
.goals-section i {
    transition: transform 0.3s ease;
}

.goals-section .text-center:hover i {
    transform: scale(1.2);
}