/**
 * Custom CSS for INX theme
 */
/* Importar fuente Poppins de Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

/* Estilos base con Poppins */
body, html {
    font-family: 'Poppins', sans-serif;
}

/* Header Transparente */
.site-header {
    background-color: transparent;
    transition: all 0.3s ease;
    z-index: 1000;
    padding: 0;
}

.site-header .navbar {
    padding: 0;
}

.site-header .container-fluid {
    display: flex;
    flex-direction: row;
    padding: 0;
}

.site-header-mobile {
    background-color: transparent;
    transition: all 0.3s ease;
    z-index: 1000;
}

/* Home Page Hero */
.home-hero {
    padding: 2rem 0;
    background-color: #f8f9fa;
}

.home-hero h1 {
    font-weight: 700;
    color: #212529;
}

.home-hero p.lead {
    color: #6c757d;
}

/* Feature Icons */
.feature-icon {
    width: 64px;
    height: 64px;
    transition: all 0.3s ease;
}

.card:hover .feature-icon {
    transform: scale(1.1);
    background-color: #0d6efd !important;
}

/* Cards */
.card {
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 .125rem .25rem rgba(0,0,0,.075);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 .5rem 1rem rgba(0,0,0,.15);
}

/* Blog Cards */
.card-img-top img {
    transition: all 0.3s ease;
}

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

.card-img-top {
    overflow: hidden;
}

/* Testimonials */
.testimonial-avatar img {
    border: 3px solid #fff;
    box-shadow: 0 .125rem .25rem rgba(0,0,0,.075);
}

/* CTA Section */
.home-cta {
    background: linear-gradient(135deg, #0d6efd 0%, #0a58ca 100%);
}

/* Animations */
[data-animate] {
    opacity: 0;
}

.animate__animated {
    opacity: 1;
}

/* Global spacing */
.py-5 {
    padding-top: 3rem !important;
    padding-bottom: 3rem !important;
}

.py-4 {
    padding-top: 2rem !important;
    padding-bottom: 2rem !important;
}

/* Custom Button Styles */
.btn-primary, .btn-outline-primary {
    border-radius: 50px;
    padding: 0.5rem 1.5rem;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 .5rem 1rem rgba(13,110,253,.15);
}

/* Footer Styling */
.site-footer {
    background-color: #7EC23A !important;
    padding-top: 3rem;

}

.site-footer .social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.1);
    transition: all 0.3s ease;
}

.site-footer .social-icons a:hover {
    background-color: #0d6efd;
    transform: translateY(-3px);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .home-hero {
        text-align: center;
    }
    
    .home-hero .col-lg-6:first-child {
        margin-bottom: 2rem;
    }
    
    .home-about {
        text-align: center;
    }
    
    .home-about .col-lg-6:first-child {
        margin-bottom: 2rem;
    }
    
    .feature-icon {
        margin-bottom: 1rem;
    }
}

/* Fix for Font Awesome and Bootstrap */
.nav-link.dropdown-toggle::after {
    display: inline-block;
    margin-left: 0.255em;
    vertical-align: 0.255em;
    content: "";
    border-top: 0.3em solid;
    border-right: 0.3em solid transparent;
    border-bottom: 0;
    border-left: 0.3em solid transparent;
}
.imagen_pie_pagina img {
    max-width: 1200px;
    margin: 0 auto;
    height: 500px;
    width: 100%;
}
.imagen_pie_pagina {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}
.img-pie-pagina {
    height: 280px;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: top;
    width: 100%;
}

/* Enhance form elements */
.form-control:focus {
    border-color: #0d6efd;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

/* Add smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Ocultar barra de administración de WordPress */
#wpadminbar {
    display: none !important;
}

.titulo-quienes-somos {
    color: #F15A2B;
    font-size: 54px;
}
.img-quienes-somos {
    margin: 0 auto;
    max-width: 400px;
    text-align: center;
    display: flex
;
    object-fit: cover;
}
.btn-quienes-somos {
    background: #F15A2B;
    border: none;
    width: 320px;
    padding: 15px 0px;
    font: normal normal bold 15px / 23px Poppins;
    letter-spacing: 2.25px;
    color: #FFFFFF;
    text-transform: uppercase;
    opacity: 1;
    transition: 0.5s;
}

.btn-quienes-somos:hover {
    background: #79B82B;
}

.descripcion-quienes-somos {
    color: #707070;
    font-size: 20px;
    text-align: justify;
}
html {
    margin-top: 0 !important;
}

body.admin-bar {
    margin-top: 0 !important;
} 

.current-menu-item {
    background: #5C575784 !important;
    border-radius: 50px;
    padding: 0px 20px;
}
.nav-item {
    background: #5C575733;
    border-radius: 50px;
    padding: 0px 10px;
    margin: 0px 5px;
}
.direccion {
    position: relative;
    left: 30%;
    top: 5rem;
}
.img-pie-pagina {
    margin-top: -10rem;
}
p.direccion-footer {
    background: #7ec23a;
    text-align: center;
    width: 300px;
    padding: 6px 0px;
    border-radius: 10px 0px 0px 10px;
}
.img-icono {
    max-width: 2rem;
}
.list-unstyled li {
    padding: 10px 0px;
}
.list-unstyled li a {
    text-decoration: none;
    color: #fff;
    font-weight: 600;
    margin-left: 1rem;
}

.instagram a img {
    width: 2.5rem;
    margin-right: 3rem;
    object-fit: contain;
}

.menu-item {
    transition: all 0.3s ease;
    transform-style: preserve-3d;
    perspective: 1000px;
}

.menu-item:hover {
    transform: translateX(-10px) translateY(-8px) rotateX(5deg);
    box-shadow: 0 15px 25px rgba(0, 0, 0, 0.15);
    background-color: #f7a444;
    color: #fff;
}

.btn-slider{
    transition: all 0.3s ease;
    transform-style: preserve-3d;
    pointer-events: visible;
}

.btn-slider:hover {
    transform: translateX(-10px) translateY(-8px) rotateX(5deg);
    box-shadow: 0 15px 25px rgba(0, 0, 0, 0.15);
    background-color: #fff !important;
    border: 2px solid #f7a444 !important;
    color: #f7a444 !important;
}

.titulo-cotizador{
    color:#F15A2B;
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 2rem;
}
@media only screen and (max-width: 600px) {
    .direccion {
        right: 13px;
        left: 0px !important;
    }
    p.direccion-footer {
        border-radius: 0px 10px 10px 0px;
    }
    footer#colophon .container .row {
        text-align: center;
    }
    
    
}


/* Navbar Toggler Icon */
.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255, 255, 255, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 4L26 26M4 26L26 4'/%3e%3c/svg%3e");
}

.navbar-toggler[aria-expanded="false"] .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255, 255, 255, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Mobile Sidebar Menu */
@media (max-width: 991.98px) {
    .navbar-collapse {
        position: fixed;
        top: 0;
        left: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background-color: #7EC23A;
        padding: 1rem;
        transition: left 0.3s ease-in-out;
        z-index: 1050;
        box-shadow: 2px 0 5px rgba(0,0,0,0.1);
    }

    .navbar-collapse.show {
        left: 0;
    }

    /* Logo en el menú lateral */
    .navbar-collapse .navbar-brand {
        display: block;
        padding: 1rem;
        text-align: center;
        border-bottom: 1px solid rgba(255,255,255,0.2);
        margin-bottom: 1rem;
    }

    .navbar-collapse .navbar-brand img {
        max-height: 50px;
        width: auto;
    }

    .navbar-nav {
        margin-top: 0;
    }

    .nav-item {
        margin: 0.5rem 0;
        background: transparent !important;
    }

    .nav-link {
        color: #fff !important;
        padding: 0.5rem 1rem;
        font-weight: 500;
    }

    .navbar-toggler {
        position: relative;
        z-index: 1051;
    }

    /* Overlay cuando el menú está abierto */
    .navbar-collapse.show::before {
        content: '';
        position: fixed;
        top: 0;
        right: 0;
        width: 100%;
        height: 100%;
        z-index: -1;
		background: transparent !important;
    }
}

.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
    transition: background-color .3s;
    z-index: 9999;
  }
  .whatsapp-float:hover {
    background-color: #20b358;
  }
  .whatsapp-float svg {
    width: 30px;
    height: 30px;
  }
  @media (max-width: 768px) {
    .whatsapp-float {
      width: 50px;
      height: 50px;
      bottom: 15px;
      right: 15px;
    }
    .whatsapp-float svg {
      width: 24px;
      height: 24px;
    }
  }
  @media (min-width: 769px) and (max-width: 1024px) {
    .whatsapp-float {
      width: 55px;
      height: 55px;
      bottom: 18px;
      right: 18px;
    }
    .whatsapp-float svg {
      width: 28px;
      height: 28px;
    }
  }
  