/* Global */ * { box-sizing: border-box; margin: 0; padding: 0; } /* Nuevo color de fondo inspirado en el logo */ body { font-family: "Oswald", sans-serif; background-color: #f4f6f8; color: #333; font-size: 16px; line-height: 1.6; overflow-x: hidden; padding-top: 70px; } a { color: #007bff; text-decoration: none; transition: color 0.3s ease; } a:hover { color: #0056b3; } ul { list-style: none; } .container { width: 90%; max-width: 1200px; margin: auto; padding: 20px 0; } /* --- ESTILOS DE LA BARRA DE NAVEGACIÓN MEJORADA --- */ .nav-main { position: fixed; top: 0; left: 0; width: 100%; z-index: 1000; display: flex; justify-content: space-between; align-items: center; height: 70px; padding: 15px 40px; background: #fff; box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05); transition: background-color 0.3s ease, box-shadow 0.3s ease, height 0.3s ease, padding 0.3s ease; } .nav-brand { width: 50px; transition: transform 0.3s ease; } .nav-brand:hover { transform: scale(1.05); } .nav-main ul { display: flex; } .nav-main ul li { padding: 10px 15px; } .nav-main ul li a { color: #333; font-weight: 500; position: relative; padding: 5px 0; transition: color 0.3s ease; } .nav-main ul li a::after { content: ''; position: absolute; width: 0; height: 2px; bottom: -5px; left: 50%; background-color: #007bff; transition: all 0.3s ease-out; transform: translateX(-50%); } .nav-main ul li a:hover { color: #007bff; } .nav-main ul li a:hover::after { width: 100%; } .nav-main ul.nav-menu { flex: 1; margin-left: 20px; justify-content: flex-end; } .nav-main ul.nav-menu li:nth-child(3) a { color: #007bff; } hr { margin: 20px 0; border: 0; border-top: 1px solid #eee; } /* Responsive Button */ .menu-btn { cursor: pointer; position: fixed; /* Posición absoluta con respecto al contenedor posicionado */ top: 20px; right: 30px; z-index: 1001; /* Asegura que el botón esté sobre otros elementos */ display: none; /* Oculto por defecto, se muestra en media query */ color: #333; } .menu-btn:hover { opacity: 0.7; } /* Follow */ .social { margin: 50px 0; padding: 30px 20px; background-color: #e9ecef; border-radius: 10px; box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05); text-align: center; } .social p { font-size: 1.5em; margin-bottom: 20px; color: #555; } .links { display: flex; align-items: center; justify-content: center; } .links a { margin: 0 20px; background-color: #fff; border-radius: 50%; width: 50px; height: 50px; display: flex; justify-content: center; align-items: center; color: #333; font-size: 1.5rem; box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); transition: transform 0.3s ease, background-color 0.3s ease, color 0.3s ease; } .links a:hover, .links a.hovered { background-color: #007bff; color: #fff; transform: scale(1.1); box-shadow: 0 5px 10px rgba(0, 123, 255, 0.3); } /* Links del Footer */ .main-footer { background: #343a40; color: #fff; padding: 40px 0; } .main-footer .footer-container { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 30px; max-width: 1200px; margin: 0 auto; padding: 0 20px; } .main-footer h3 { color: #007bff; margin-bottom: 15px; font-size: 1.1em; border-bottom: 2px solid #007bff; padding-bottom: 5px; } .main-footer ul { padding: 0; list-style: none; } .main-footer ul li { margin-bottom: 10px; } .main-footer ul li a { color: #eee; text-decoration: none; transition: color 0.3s ease; } .main-footer ul li a:hover { color: #007bff; } .main-footer .footer-info { text-align: center; } .main-footer .footer-info img { max-width: 150px; height: auto; margin-bottom: 15px; } .main-footer .footer-info p { color: #ccc; line-height: 1.8; } .main-footer .footer-social a { color: #fff; font-size: 1.3rem; margin-right: 15px; transition: color 0.3s ease, transform 0.3s ease; } .main-footer .footer-social a:hover { color: #007bff; transform: translateY(-3px); } .footer-bottom { background: #212529; color: #999; padding: 15px 0; text-align: center; font-size: 0.9em; border-top: 1px solid #444; margin-top: 30px; } /* Estilos específicos para la página de Asesoramiento Jurídico */ .container-full { width: 100%; } main { padding-top: 70px; /* Evita solapamiento con la barra de navegación */ } /* Títulos de sección estandarizados */ .section-title { font-size: 2.8rem; margin-bottom: 40px; color: #0056b3; text-align: center; font-weight: 600; } .section-subtitle { text-align: center; font-size: 1.1rem; color: #555; max-width: 600px; margin: -20px auto 40px; } /* Sección Principal (Hero) */ .hero { background: linear-gradient(rgba(0, 29, 61, 0.7), rgba(0, 29, 61, 0.7)), url('img_asesoriajuridica/ASESORAMIENTO\ JURIDICO.png') no-repeat center center/cover; height: 100vh; display: flex; justify-content: center; align-items: center; text-align: center; color: #fff; } .hero-content { max-width: 800px; padding: 20px; } .hero-content h2 { font-size: 3.5rem; margin-bottom: 1rem; font-weight: 700; } .hero-content p { font-size: 1.2rem; margin-bottom: 2rem; font-weight: 300; } .btn-primary { background: #007bff; color: #fff; padding: 15px 30px; border-radius: 50px; font-weight: 500; transition: all 0.3s ease; text-transform: uppercase; } .btn-primary:hover { background: #0056b3; transform: translateY(-3px); box-shadow: 0 8px 15px rgba(0, 123, 255, 0.3); } /* Sección de Servicios (Áreas de Práctica) - 2 Columnas */ .services { padding: 80px 0; background-color: #f4f6f8; } .service-cards-grid { display: grid; /* Dos columnas en escritorio y una en móvil */ grid-template-columns: repeat(2, 1fr); gap: 30px; max-width: 900px; /* Ancho máximo para centrar */ margin: 0 auto; /* Centrado */ } .service-card { background-color: #fff; padding: 40px 30px; border-radius: 12px; box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08); transition: transform 0.3s ease, box-shadow 0.3s ease; text-align: center; border-top: 5px solid #007bff; } .service-card:hover { transform: translateY(-10px); box-shadow: 0 10px 30px rgba(0, 123, 255, 0.15); } .card-icon { font-size: 3rem; color: #007bff; margin-bottom: 20px; } .service-card h4 { font-size: 1.5rem; margin-bottom: 15px; color: #333; } .service-card p { font-size: 1rem; color: #555; line-height: 1.7; } /* NUEVA SECCIÓN: ¿Por Qué Elegirnos? */ .why-us-section { padding: 80px 0; background: #fff; } .why-us-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 40px; text-align: center; } .why-us-item { padding: 30px; border-radius: 10px; transition: all 0.3s ease; } .item-icon { font-size: 3.5rem; color: #007bff; margin-bottom: 20px; background: #eef3ff; width: 90px; height: 90px; line-height: 90px; border-radius: 50%; margin-left: auto; margin-right: auto; transition: all 0.3s ease; } .why-us-item:hover .item-icon { background: #007bff; color: #fff; transform: rotate(15deg); } .why-us-item h4 { font-size: 1.4rem; color: #333; margin-bottom: 10px; } .why-us-item p { color: #555; font-size: 1rem; line-height: 1.6; } /* Sección de servicios detallados */ .section-services-detailed { padding: 60px 0; background-color: #f8f9fa; } .services-container { display: flex; flex-wrap: wrap; justify-content: center; gap: 30px; max-width: 1200px; margin: 0 auto; padding: 0 20px; } .service-box { background-color: #fff; border-radius: 10px; box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05); padding: 30px; text-align: center; max-width: 350px; flex: 1 1 300px; transition: transform 0.3s ease, box-shadow 0.3s ease; } .service-box:hover { transform: translateY(-10px); box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1); } .service-title { font-size: 1.5em; color: #343a40; margin-bottom: 15px; font-weight: 500; } .service-description { font-size: 1em; color: #6c757d; line-height: 1.6; } /* Media Queries para responsividad */ @media (max-width: 768px) { .services-container { flex-direction: column; align-items: center; } } /* NUEVA SECCIÓN: Galería de Videos */ .video-gallery-section { padding: 80px 0; background-color: #f4f6f8; } .video-gallery-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; } .video-item { background-color: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 5px 15px rgba(0,0,0,0.1); transition: transform 0.3s ease, box-shadow 0.3s ease; } .video-item:hover { transform: translateY(-8px); box-shadow: 12px 25px rgba(0,0,0,0.15); } .video-item iframe { width: 100%; height: 200px; border: none; } .video-item h5 { padding: 15px 20px; font-size: 1.1rem; color: #333; margin: 0; } /* Media Queries para Responsive Design */ @media (max-width: 768px) { .menu-btn { display: block; } .menu-btn:hover { opacity: 0.7; } .nav-main ul.nav-menu { display: block; position: fixed; top: 70px; right: 0; /* Cambio a 'right' para que se desplace desde la derecha */ background: #343a40; width: 60%; height: auto; max-height: calc(100vh - 70px); overflow-y: auto; opacity: 0.95; padding: 20px; transform: translateX(100%); /* Ocultar el menú por defecto */ transition: transform 0.3s ease-in-out; } .nav-main ul.nav-menu.show { transform: translateX(0); /* Mostrar el menú */ } .nav-main ul.nav-menu li { padding: 15px; border-bottom: #555 1px solid; width: 100%; } .nav-main ul.nav-menu li a { color: #fff; display: block; } .nav-main ul.nav-menu li a:hover { color: #007bff; } .nav-main ul.nav-menu li a::after { content: none; } .section-title { font-size: 2.2rem; } .hero { height: 60vh; } .hero-content h2 { font-size: 2.5rem; } .hero-content p { font-size: 1rem; } /* Cambia a una columna en pantallas pequeñas */ .service-cards-grid { grid-template-columns: 1fr; } } @media (max-width: 500px) { .service-cards-grid { grid-template-columns: 1fr; } } /* --- Botón de WhatsApp Fixed --- */ #whatsapp-button { position: fixed; bottom: 20px; right: 20px; z-index: 1000; /* Asegura que esté por encima de otros elementos */ } #whatsapp-button img { width: 60px; /* Puedes ajustar el tamaño */ height: 60px; border-radius: 50%; /* Para hacerlo circular */ box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3); /* Sutil sombra */ } #whatsapp-button:hover img { transform: scale(1.1); /* Pequeña animación al pasar el ratón */ transition: transform 0.2s ease-in-out; } /* Ajuste para evitar solapamiento con el menú móvil si es necesario */ @media (max-width: 768px) { .nav-main ul.nav-menu { /* ... otros estilos del menú móvil ... */ margin-bottom: 70px; /* Ajusta el margen inferior si el botón de WhatsApp solapa el menú */ } #whatsapp-button img { width: 50px; height: 50px; } }