/* Estilos personalizados para Gextuy con Bootstrap */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

:root {
    --gextuy-primary: #1abc9c;
    --gextuy-secondary: #2c3e50;
    --gextuy-accent: #3498db;
    --gextuy-success: #27ae60;
    --gextuy-warning: #f39c12;
    --gextuy-info: #17a2b8;
    --gextuy-light: #f8f9fa;
    --gextuy-dark: #343a40;
}

/* Aplicar fuente Inter a toda la web */
* {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

/* Preservar fuentes de íconos Font Awesome */
.fas, .far, .fal, .fab, .fa, i[class^="fa-"], i[class*=" fa-"] {
    font-family: "Font Awesome 6 Free", "Font Awesome 6 Pro", "Font Awesome 6 Brands";
    font-weight: 900;
    font-style: normal;
}

/* Personalización de colores Bootstrap */
.bg-primary {
    background: linear-gradient(135deg, var(--gextuy-primary) 0%, var(--gextuy-accent) 100%) !important;
}

.btn-primary {
    background: linear-gradient(135deg, var(--gextuy-primary) 0%, var(--gextuy-accent) 100%);
    border: none;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #16a085 0%, #2980b9 100%);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.text-primary {
    color: var(--gextuy-primary) !important;
}

/* Navbar personalizada */
.navbar {
    backdrop-filter: blur(10px);
    background: rgba(26, 188, 156, 0.95) !important;
}

.navbar-brand {
    color: white !important;
    font-weight: bold;
    transition: all 0.3s ease;
    display: flex !important;
    align-items: center;
}

.navbar-brand:hover {
    transform: scale(1.05);
}

.navbar-brand img {
    height: 40px;
    width: auto;
    margin-right: 12px;
}

.navbar-brand .brand-text {
    font-size: 1.8rem;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
}

.navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.9) !important;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: white !important;
}

.navbar-nav .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 3px;
    background: var(--gextuy-warning);
    border-radius: 2px;
}

/* Hero section */
.hero-section {
    background: url('../images/pexels-kaushal-moradiya-4683543_1752664253963.jpg') center/cover no-repeat fixed;
    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: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

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

/* Page header */
.page-header {
    padding: 120px 0 80px 0;
    background: linear-gradient(135deg, var(--gextuy-primary) 0%, var(--gextuy-accent) 100%);
}

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

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1) !important;
}

.service-card:hover {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.project-card:hover {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
}

.team-card:hover {
    background: linear-gradient(135deg, #ffffff 0%, #f1f8ff 100%);
}

/* Iconos de servicios */
.service-icon {
    transition: all 0.3s ease;
}

.service-card:hover .service-icon i {
    transform: scale(1.2);
    color: var(--gextuy-accent) !important;
}

/* Avatares del equipo */
.team-avatar img {
    transition: all 0.3s ease;
    border: 4px solid transparent;
}

.team-card:hover .team-avatar img {
    border-color: var(--gextuy-primary);
    transform: scale(1.05);
}

/* Badges */
.badge {
    border-radius: 20px;
    padding: 8px 16px;
    font-weight: 500;
}

/* Formularios */
.form-control,
.form-select {
    border-radius: 10px;
    border: 2px solid #e9ecef;
    transition: all 0.3s ease;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--gextuy-primary);
    box-shadow: 0 0 0 0.2rem rgba(26, 188, 156, 0.25);
}

/* Contacto */
.contact-item {
    transition: all 0.3s ease;
}

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

.contact-icon {
    transition: all 0.3s ease;
}

.contact-item:hover .contact-icon i {
    color: var(--gextuy-accent) !important;
}

/* Acordeón */
.accordion-button {
    border-radius: 10px;
    font-weight: 600;
}

.accordion-button:not(.collapsed) {
    background: linear-gradient(135deg, var(--gextuy-primary) 0%, var(--gextuy-accent) 100%);
    color: white;
}

/* Botones */
.btn {
    border-radius: 25px;
    font-weight: 600;
    padding: 12px 24px;
    transition: all 0.3s ease;
}

.btn-lg {
    padding: 15px 30px;
    font-size: 1.1rem;
}

.btn-warning {
    background: linear-gradient(135deg, var(--gextuy-warning) 0%, #e67e22 100%);
    border: none;
    color: white;
}

.btn-warning:hover {
    background: linear-gradient(135deg, #e67e22 0%, #d35400 100%);
    color: white;
    transform: translateY(-2px);
}

.btn-outline-light:hover {
    transform: translateY(-2px);
}

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

.card,
.service-card,
.project-card,
.team-card {
    animation: fadeInUp 0.6s ease-out;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-section {
        background-attachment: scroll;
        padding-top: 100px;
        text-align: center;
    }

    .page-header {
        padding: 100px 0 60px 0;
    }

    .display-4 {
        font-size: 2.5rem;
    }

    .display-5 {
        font-size: 2rem;
    }

    .display-6 {
        font-size: 1.75rem;
    }
}

/* Parallax effect para proyectos */
.project-parallax-section {
    background-image: url('../../images/pexels-kaushal-moradiya-4683543_1752664253963.jpg');
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    min-height: 100vh;
    position: relative;
    padding-top: 100px;
}

.project-parallax-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

.project-parallax-section .container {
    position: relative;
    z-index: 2;
}

.project-content {
    background: rgba(255, 255, 255, 0.95);
    padding: 30px;
    border-radius: 15px;
    backdrop-filter: blur(10px);
}

.project-list-item {
    padding: 20px;
    margin-bottom: 15px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.9);
    cursor: pointer;
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
}

.project-list-item:hover,
.project-list-item.active {
    background: rgba(26, 188, 156, 0.1);
    border-left-color: var(--gextuy-primary);
    transform: translateX(10px);
}

.project-card {
    display: none;
}

.project-card.active {
    display: block;
    animation: fadeInUp 0.6s ease-out;
}

/* Footer */
footer {
    background: linear-gradient(135deg, var(--gextuy-dark) 0%, #2c3e50 100%) !important;
}

footer a:hover {
    color: var(--gextuy-primary) !important;
    transition: color 0.3s ease;
}

/* Project Carousel Styles */
.carousel-logo {
    max-height: 80px;
    max-width: 120px;
    object-fit: contain;
    filter: grayscale(0.8);
    transition: all 0.3s ease;
    opacity: 0.8;
}

.carousel-logo:hover {
    filter: grayscale(0);
    opacity: 1;
    transform: scale(1.1);
}

#projectsCarousel .carousel-item {
    padding: 2rem 0;
}

#projectsCarousel .carousel-indicators {
    bottom: -50px;
}

#projectsCarousel .carousel-indicators button {
    background-color: var(--gextuy-primary);
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: none;
    margin: 0 5px;
}

#projectsCarousel .carousel-indicators button.active {
    background-color: var(--gextuy-secondary);
}

/* Utilidades */
.shadow-lg {
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.175) !important;
}

.rounded-3 {
    border-radius: 15px !important;
}