
body {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
html{
    scroll-behavior: smooth;
}
section[id]{
    scroll-margin-top: 80px;
}
  body {
        scroll-behavior: smooth;
        color: #1a1a1a;
        font-family: 'Inter', sans-serif;
    }


 h1, h2, h3, h4, h5, h6 {
        
        font-family: 'Inter', sans-serif;
        font-weight: 700;
    }

    header.hero .container {
        max-width: 800px;
    }

    header.hero h1 {
        font-size: 3.5rem;
        margin-bottom: 1.5rem;
        letter-spacing: 2px;
    }

    header.hero p {
        font-size: 1.25rem;
        margin-bottom: 0.5rem;
        letter-spacing: 1px;
    }

     header.hero {
        background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)), 
                    url('../img/img_rs/Header_Footer/Home(CapaOpaca).jpg') center/cover no-repeat;
        min-height: 100vh;
        display: flex;
        justify-content: center;
        align-items: center;
        color: white;
        text-align: center;
        position: relative;
        padding-top: 100px;
        padding-bottom: 100px;
    }

    .Span {
        display:block; 
        width: 60px; 
        height: 2px; 
        background-color:#dc5124 ; 
        margin: 0px auto 2rem;
    }

    .WSpan {
        display:block; 
        width: 60px; 
        height: 2px;
        background-color: white; 
        margin: 20px auto 1.5rem;
    }

    .Naranja {
    color: #dc5124;
    text-transform: uppercase;
    }

    .h5Style{
        color: white; 
        font-weight: bold; 
        text-transform: uppercase; 
        letter-spacing: 1px; 
        position: relative; 
        display: inline-block; 
        margin-bottom: 1.5rem;
    }

    .FooterStyle{
        background-color: #1a1a1a; 
        color: white; 
        padding: 40px 0;
    }

    .SomosServicios{
        max-width: 1000px; 
        margin: auto;
    }
    
    .LineH{
        line-height: 1.8;
    }

  #nosotros {
        background-color: #1f1f1f;
        color: white;
    }
    
    #servicios h5 {
        color: #dc5124;
    }

    #servicios{
        background-color: #F2F2F2;
    }

    #servicios .col-md-4 {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .tab-content .tab-pane {
        opacity: 0;
        transition: opacity 0.4s ease-in-out;
    }

    .tab-content .tab-pane.active.show {
        opacity: 1;
    }

    .tab-content .card {
        border-radius: 16px;
        overflow: hidden;
        transition: transform 0.3s ease, box-shadow 0.3s ease;
        
    }

    .card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background-color: transparent !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05); /* más sutil */
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.2s ease;
    
    }

    .card-body {
    background-color: white;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    }

    .card-text {
    margin: 0;
    }

    .card-img-top {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
    object-position: center;
    }

    .image-wrapper {
    width: 100%;
    aspect-ratio: 3/4; /* Proporción vertical elegante */
    overflow: hidden;
    background-color: #f8f8f8;
    display: flex;
    align-items: center;
    justify-content: center;
    
    }

    .image-wrapper img {
    height: 100%;
    width: auto;
    object-fit: cover;
    }

    .image-wrapper img[src*="Moldes3083.jpg"],
    .image-wrapper img[src*="Soler3453.jpeg"] {
    object-fit: contain !important;
    height: 100% !important;
    width: auto !important;
    }


  


    .tab-content .card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 20px rgba(0,0,0,0.2);
    }

    .tab-content .card-body {
        padding-top: 1rem;

    }

    .tab-content .card-text {
        margin-top: 0.5rem;
    
    }

    #proyectos {
        background-color: #EDEDED;
    }

    #proyectosTabs {
    display: inline-flex;
    background-color: #F2F2F2;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: inset 0 0 0 1px #e0e0e0;
    }

    #proyectosTabs .nav-link {
    border: none;
    padding: 0.6rem 2rem;
    font-size: 0.95rem;
    color: #333;
    background-color: #F2F2F2;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    transition: background-color 0.2s ease, color 0.2s ease;
    border-radius: 0;
    }

    #proyectosTabs .nav-link:hover {
    background-color: #efefef;
    color: #111;
    }

    #proyectosTabs .nav-link.active {
    background-color: #FCFCFC;
    color:  #2f2f2f;
    font-weight: 500;
    box-shadow: inset 0 -2px 0  #2f2f2f;
    }

    #proyectosTabs .nav-item:not(:last-child) .nav-link {
    border-right: 1px solid #eaeaea;
    }

    .feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    }
  

    .feature-icon-wrapper {
        background-color: #2f2f2f;
        border-radius: 50%;
        width: 80px;
        height: 80px;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0 auto 15px;
    }
    .feature-icon-wrapper i {
        font-size: 32px;
        color: #ffffff;
    }
        

    #contacto .ratio {
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
        border-radius: 8px;
        overflow: hidden;
    }

    #contacto form .form-control {
        margin-bottom: 1.5rem;
        padding: 1rem;
        font-size: 1rem;
    }

    #contacto button.btn {
        background-color: #dc5124;
        border: none;
        padding: 0.75rem 2rem;
        font-weight: bold;
        text-transform: uppercase;
        letter-spacing: 1px;
        color: white;
    }

    #contacto button.btn:hover {
        background-color: #DB3123 !important;
    }

    .whatsapp-float {
        position: fixed;
        bottom: 20px;
        right: 20px;
        z-index: 1000;
        width: 64px;
        height: 64px;
        box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
        border-radius: 50%;
        transition: all 0.3s ease;
    }

    .whatsapp-float img {
        width: 100%;
        height: 100%;
        border-radius: 50%;
    }


 

    .navbar {
        transition: background-color 0.3s, color 0.3s;
        background-color: transparent;
    }

    .navbar .nav-link {
        color: #cccccc;
        transition: color 0.3s ease;
    }

    .navbar .nav-link:hover {
        color: #dc5124;
    }

    .navbar-scrolled {
        background-color: rgba(0, 0, 0, 0.8) !important;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    }

    .navbar-scrolled .nav-link {
        color: white !important;
    }

    .navbar-scrolled .nav-link.active {
        color: #dc5124 !important;
        font-weight: bold;
    }

    .navbar-scrolled .nav-link:hover {
        color: #dc5124 !important;
        font-weight: bold;
    }

    .navbar-brand img {
        height: 60px;
    }

  

    .footer-social a {
       text-decoration: none;
        color: #e0e0e0;
        font-size: 20px;
        transition: color 0.3s ease, transform 0.3s ease;
        display: inline-block;
        
    }


    .footer-social a:hover {
        color: #dc5124;  /* tu naranja corporativo */
        transform: scale(1.2);
    }
    
     footer {
        background-color: #000;
        color: #fff;
        padding: 60px 0;
        text-align: center;
    }