/* ========== VARIABLES Y COLORES ========== */
@import url('https://ejemplo.com/fonts/aitech-smooth.css');

:root {
    --color-primary: #17A2B8;
    --color-primary-dark: #138496;
    --color-dark: #1A1A1A;
    --color-light: #F8F9FA;
    --color-white: #FFFFFF;
    --color-muted: #6C757D;
    --color-success: #28A745;
}

/* ========== ESTILOS GLOBALES ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    /*font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;*/
    font-family: 'AItech Smooth', 'Segoe UI', Tahoma, Geneva, Verdana, Arial, sans-serif;
    color: var(--color-dark);
    overflow-x: hidden;
}

h2,h1,h3,h4,h5,a,strong{
    font-family: 'aiTech';
    font-weight: bold;
    font-style: normal;
}

/* ========== NAVBAR ========== */
.navbar {
    background: linear-gradient(90deg, var(--color-dark) 0%, var(--color-primary) 100%);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.navbar-brand {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--color-white) !important;
}

.logo-nav {
    height: 40px;
    width: auto;
}

.navbar-nav .nav-link {
    color: var(--color-white) !important;
    margin: 0 10px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.navbar-nav .nav-link:hover {
    color: var(--color-primary) !important;
    transform: translateY(-2px);
}

/* ========== SECCIÓN HERO ========== */
.hero-section {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    color: var(--color-white);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    margin-top: 60px;
}

.hero-section::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    top: -50px;
    right: -50px;
    z-index: 0;
}

.hero-section::after {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    bottom: 50px;
    left: -100px;
    z-index: 0;
}

.hero-section .container {
    position: relative;
    z-index: 1;
}

.logo-hero {
    height: 150px;
    width: auto;
    /* filter: brightness(0) invert(1); */
    animation: float 3s ease-in-out infinite;
}

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

.hero-section h1 {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
    margin-bottom: 10px;
}

.hero-section h2 {
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.hero-section .btn-primary {
    background-color: var(--color-white);
    border-color: var(--color-white);
    color: var(--color-primary);
    font-weight: bold;
    padding: 15px 40px;
    transition: all 0.3s ease;
}

.hero-section .btn-primary:hover {
    background-color: var(--color-dark);
    border-color: var(--color-dark);
    color: var(--color-white);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* ========== SECCIONES GENERALES ========== */
section {
    scroll-margin-top: 60px;
}

section:not(.hero-section) {
    scroll-snap-align: start;
}

.section-title {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--color-dark);
    position: relative;
    display: inline-block;
    margin-bottom: 3rem;
}

.section-title::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 4px;
    background: var(--color-primary);
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

/* ========== SECCIÓN NOSOTROS ========== */
#nosotros {
    background-color: var(--color-white);
}

#nosotros .list-unstyled li {
    transition: all 0.3s ease;
    padding: 8px 0;
}

#nosotros .list-unstyled li:hover {
    padding-left: 10px;
}

#nosotros .fa-check-circle {
    margin-right: 10px;
}

.about-image {
    box-shadow: 0 10px 30px rgba(23, 162, 184, 0.2);
    animation: slideIn 0.8s ease-out;
}

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

/* ========== SECCIÓN PRODUCTOS ========== */
#productos {
    background-color: var(--color-light);
}

.product-card {
    background: var(--color-white);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(23, 162, 184, 0.2);
}

.product-icon {
    font-size: 3rem;
    color: var(--color-primary);
    margin-bottom: 20px;
}

.product-card h4 {
    color: var(--color-dark);
    margin-bottom: 15px;
    font-weight: bold;
}

/* ========== SECCIÓN GALERÍA ========== */
#galeria {
    background-color: var(--color-white);
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 250px;
	 /* Imagen de fondo */
    /*background: url("../img/marco-img.png") center center no-repeat;*/
    background-size: cover;

    display: flex;
    justify-content: center;
    align-items: center;
    
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(23, 162, 184, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    color: var(--color-white);
    text-align: center;
    padding: 20px;
}

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

.gallery-item .overlay h5 {
    margin: 0;
    font-weight: bold;
    font-size: 1.2rem;
}


/* ========== SECCIÓN CONTACTO ========== */
#contacto {
    background-color: var(--color-light);
}

#contacto .form-control {
    border: 2px solid #E0E0E0;
    padding: 12px 15px;
    border-radius: 5px;
    transition: all 0.3s ease;
}

#contacto .form-control:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 0.2rem rgba(23, 162, 184, 0.25);
}

#contacto .form-label {
    color: var(--color-dark);
    font-weight: 500;
    margin-bottom: 8px;
}

.btn-primary {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
    font-weight: bold;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: var(--color-primary-dark);
    border-color: var(--color-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(23, 162, 184, 0.3);
}

.contact-info {
    background: var(--color-white);
    padding: 20px;
    border-radius: 10px;
    border-left: 4px solid var(--color-primary);
}

.contact-info p {
    margin-bottom: 15px;
    color: var(--color-dark);
}

/* Social Links */
.social-links {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    color: var(--color-white);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.2rem;
}

.social-icon.facebook {
    background-color: #1877F2;
}

.social-icon.instagram {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}

.social-icon.linkedin {
    background-color: #0A66C2;
}

.social-icon.tiktok {
    background-color: #0b0b0b;
}
.social-icon:hover {
    transform: translateY(-5px) scale(1.1);
}

.whatsapp-link {
    margin-top: 20px;
}

.btn-success {
    background-color: var(--color-success);
    border-color: var(--color-success);
    font-weight: bold;
    transition: all 0.3s ease;
}

.btn-success:hover {
    background-color: #20C997;
    border-color: #20C997;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(40, 167, 69, 0.3);
}

/* Alert */
.alert {
    border-radius: 5px;
    margin-bottom: 15px;
}

.alert.alert-success {
    background-color: #D4EDDA;
    color: #155724;
    border: 1px solid #C3E6CB;
}

.alert.alert-danger {
    background-color: #F8D7DA;
    color: #721C24;
    border: 1px solid #F5C6CB;
}

/* ========== FOOTER ========== */
footer {
    background: linear-gradient(90deg, var(--color-dark) 0%, var(--color-primary) 100%);
    color: var(--color-white);
    margin-top: 5rem;
    border-top: 3px solid var(--color-primary);
}

footer h5 {
    color: var(--color-primary);
    font-weight: bold;
    margin-bottom: 15px;
}

footer a {
    transition: all 0.3s ease;
}

footer a:hover {
    color: var(--color-primary) !important;
}

footer p, footer a {
    color: var(--color-light) !important;
}

.text-decoration-none.text-muted{
    color: var(--color-light) !important;
}


/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
    .section-title {
        font-size: 1.8rem;
    }

    .hero-section h1 {
        font-size: 2rem;
    }

    .navbar {
        padding: 0.5rem 0;
    }

    .logo-nav {
        height: 30px;
    }

    .logo-hero {
        height: 100px;
    }

    .hero-section .lead {
        font-size: 1rem;
    }

    .gallery-item {
        height: 200px;
    }
}

@media (max-width: 576px) {
    .hero-section {
        margin-top: 50px;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .hero-section h1 {
        font-size: 1.5rem;
    }

    .navbar {
        padding: 0.3rem 0;
    }

    .btn-lg {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }

    .social-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}

/* ========== SCROLL ANIMATIONS ========== */
@media (prefers-reduced-motion: no-preference) {
    html {
        scroll-behavior: smooth;
    }
}

/* Animación de carga */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

section {
    animation: fadeIn 0.6s ease-out;
}
